GNU bug report logs - #48855
Segfault while attempting to use --with-git-url

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; dated Sat, 5 Jun 2021 23:46:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Jun 2021 23:45:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 05 19:45:30 2021
Received: from localhost ([127.0.0.1]:50294 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lpfys-0004Hl-DC
	for submit <at> debbugs.gnu.org; Sat, 05 Jun 2021 19:45:30 -0400
Received: from lists.gnu.org ([209.51.188.17]:46994)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1lpfyp-0004Hc-E9
 for submit <at> debbugs.gnu.org; Sat, 05 Jun 2021 19:45:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51842)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1lpfyp-0006WJ-5N
 for bug-guix@HIDDEN; Sat, 05 Jun 2021 19:45:27 -0400
Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]:45672)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1lpfyn-0006Bw-3p; Sat, 05 Jun 2021 19:45:26 -0400
Received: by mail-qv1-xf2b.google.com with SMTP id g12so6943130qvx.12;
 Sat, 05 Jun 2021 16:45:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:date:message-id:mime-version;
 bh=KiH+tnfyXLjdOg8ahzh4C+pX57iNifAc0Nyz2iRlytA=;
 b=YSpkR7bFXhgi4lIPtYEf8sjrjPMNjtT3tyJ/jpqLdIx/LAyXEO6LjqnD5BwIimKCDP
 fs/BL0yODizt3j2flNA0viM5ThCnL1iMcnbV9TO+9VsXPhTTOcThqhzOHDnmviJ+Szpb
 nGKxdeQyKXrbMC02/Z9ggOAp1u8QqTWqmLYZ+bNvMp2Jt+q7ES6ZWyMXXEms1wWpEI1B
 Bo78A6wNSzoqkzyXFE5tavPKw5+uwANheB1el1IB7kj/tkrho5jIS/OC+LHnOzzfy1Xa
 3FWBu6wEtgY9oaRFyKjik5uViexUWoZzit4oeGYgiUu3uSTCFgWuexKORwkSeF5HZJri
 h4mw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version;
 bh=KiH+tnfyXLjdOg8ahzh4C+pX57iNifAc0Nyz2iRlytA=;
 b=WatS5cuSOgOihJa8TxmBfT2AfTRsIoofdh4OugNhJpFOc+vC4zz3EF5XdnGxz+dPrk
 /BOOW1XXApwnrI1rTt4K/scv7ry9Xngo7aEoJu2Q2APM7tZJxJYdigEshz8kGRlrKn2+
 M6Downt5DdfrFy+MNV2qGwhowAWHRk7v/k6uBJgyp7njXxBwyyvFiDyDuLwPxqJlQj7v
 FquZhG6cUA1IYs9IQ6s6Ggv+KoxQ8EytDqT3rgGdJ7pxGNWDdArYhk+MI/nC/ww8PHC/
 Knv3N95YbXDYrn8WTjUmBfV6CsktVyCWUFvCGPBMSO72LW1VT5Szm+ATdwNzKyGVRCv8
 eurA==
X-Gm-Message-State: AOAM531fD5w65giL4JB3Xw3+GmtO1hk9m07j526pfdfOBrtJowyPv0pf
 8hfWcN4oSH1TGwc4Z7HpqWTfpyIDF/s=
X-Google-Smtp-Source: ABdhPJyNrryU4UXXJrTW2pL3ZqGTVh1IRj7+MJZjxELteDBbfIKEOMvxRdKuLQCiLt4vcBdgWcl4Zw==
X-Received: by 2002:a0c:ed46:: with SMTP id v6mr11300414qvq.47.1622936722221; 
 Sat, 05 Jun 2021 16:45:22 -0700 (PDT)
Received: from hurd (dsl-155-192.b2b2c.ca. [66.158.155.192])
 by smtp.gmail.com with ESMTPSA id m11sm3284049qkm.74.2021.06.05.16.45.20
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 05 Jun 2021 16:45:21 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: Segfault while attempting to use --with-git-url
Date: Sat, 05 Jun 2021 19:45:02 -0400
Message-ID: <878s3nkha9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::f2b;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qv1-xf2b.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi,

Trying to build our latest ppsspp package using:

$ ./pre-inst-env guix build ppsspp \
  --with-git-url=ppsspp=https://github.com/hrydgard/ppsspp

I get either

--8<---------------cut here---------------start------------->8---
updating submodule 'ext/SPIRV-Cross'...
indexing objects  91% [##########################################################################################################################################################################                 ]Segmentation fault
--8<---------------cut here---------------end--------------->8---

or

--8<---------------cut here---------------start------------->8---
updating checkout of 'https://github.com/hrydgard/ppsspp'...
updating submodule 'dx9sdk'...
updating submodule 'ext/SPIRV-Cross'...
updating submodule 'ext/armips'...
receiving objects  73% [########################################################################################################################################                                                  ]Illegal instruction
--8<---------------cut here---------------end--------------->8---

or

--8<---------------cut here---------------start------------->8---
updating checkout of 'https://github.com/hrydgard/ppsspp'...
updating submodule 'dx9sdk'...
updating submodule 'ext/SPIRV-Cross'...
updating submodule 'ext/armips'...
updating submodule 'ext/discord-rpc'...
updating submodule 'ext/glslang'...
updating submodule 'ext/miniupnp'...
updating submodule 'ext/native/tools/prebuilt'...
updating submodule 'ext/rapidjson'...
updating submodule 'thirdparty/gtest'...
Backtrace:
In guix/packages.scm:
  1244:18 19 (_)
In guix/store.scm:
  2068:24 18 (run-with-store #<store-connection 256.99 7fe81af09910> _ #:guile-for-build _ #:system _ #:target _)
   1902:8 17 (_ _)
In guix/gexp.scm:
   256:18 16 (_ _)
In ice-9/boot-9.scm:
  1747:15 15 (with-exception-handler #<procedure 7fe80c6ed060 at ice-9/boot-9.scm:1831:7 (exn)> _ #:unwind? _ #:unwind-for-type _)
In guix/git.scm:
   574:16 14 (_)
    473:8 13 (latest-repository-commit #<store-connection 256.99 7fe81af09910> "https://github.com/hrydgard/ppsspp" #:recursive? _ #:log-port _ #:cache-directory _ #:ref _)
    403:7 12 (update-cached-checkout _ #:ref _ #:recursive? _ #:check-out? _ #:starting-commit _ #:log-port _ #:cache-directory _)
In srfi/srfi-1.scm:
    634:9 11 (for-each #<procedure 7fe80c6f3db0 at guix/git.scm:289:12 (name)> _)
In guix/git.scm:
   301:20 10 (_ _)
In srfi/srfi-1.scm:
    634:9  9 (for-each #<procedure 7fe80c499a20 at guix/git.scm:289:12 (name)> ("thirdparty/gtest"))
In guix/git.scm:
   293:16  8 (_ _)
In git/submodule.scm:
   204:14  7 (_ . _)
In unknown file:
Exception thrown while printing backtrace:
In procedure primitive-call-ip: Wrong type argument in position 1 (expecting PRIMITIVE_P): #<procedure 7fe80b9a4fc0 (_ _ _)>

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure scm_from_stringn: NULL string pointer
--8<---------------cut here---------------end--------------->8---

It seems there's a bug in guile-git.

Thank you,

Maxim




Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#48855; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 6 Jun 2021 21:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.