GNU bug report logs - #28510
crash: guix build -S foo --with-source=bla

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; Reported by: Ricardo Wurmus <ricardo.wurmus@HIDDEN>; Keywords: easy; dated Tue, 19 Sep 2017 12:11:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) easy. Request was from zimoun <zimon.toutoune@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 28510) by debbugs.gnu.org; 25 Feb 2021 00:40:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 24 19:40:24 2021
Received: from localhost ([127.0.0.1]:36289 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lF4hb-0003pA-So
	for submit <at> debbugs.gnu.org; Wed, 24 Feb 2021 19:40:24 -0500
Received: from mail-wm1-f42.google.com ([209.85.128.42]:53249)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1lF4hZ-0003ot-Qg
 for 28510 <at> debbugs.gnu.org; Wed, 24 Feb 2021 19:40:22 -0500
Received: by mail-wm1-f42.google.com with SMTP id x16so3252718wmk.3
 for <28510 <at> debbugs.gnu.org>; Wed, 24 Feb 2021 16:40:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=ahHrdKhXneqetDnXldPALve7ynbmsVaL6u465jo9O1E=;
 b=JjDLDSOHExXgrb3QwrwnyzOegj8kB4bRHXGwLLlXX6+xM/pClfk0DJp0JGcE14ppd0
 a7Z/SgQVByKp26k3zxRw533JP18340PKcH7hbdrOv9XlrWem+XNp1zLT0r6eT+G0NPzo
 mRp61XoDHl9JsF547zUuhYhjDfCIb5c1L51b9LxyGg1JL/foix5NZUgbKam0PiNm7IxO
 Hf7IrUIMWrDwmDHW6IYPsLjXgllSfUb8MQrAiiyUnfR+Xo6rZKn4SLHkoferHdiOcqb8
 29zaq0ZDeyQWNx9vx/0rc8ayVT7Pj7/hSUJn8Qe6VbO39G8mcO0C470RDnUlSqfMTIH7
 M74A==
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:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=ahHrdKhXneqetDnXldPALve7ynbmsVaL6u465jo9O1E=;
 b=O34BNST6+l6hWbsFZBYJvf9a/aJRnHLdMw71+mD+uUrGT7KOqCFInvgW+tbeSfoc4p
 9/cPXZhcxocDKH6gHiygvaBQJpzd15wDi1BA/JWWL9BXt4Xj//QtaQFvWX7rzHt/L/FX
 2vKTbSl2OFP7sB4muNxD4wqGwIHLzCc5BE4BbPj/CkjuKh8x6g8WpXJbJa8Q0qbqE/Ol
 ZD3uk0A1frQ7UftFN6E7s4ijPOWfg2QJO7v3DGQ6UGFYBb+8UYDnBn8SCPh+SXdOJ5yW
 vMsPz7STQOi6sJLRpetOR8+DaNaq70p+z8FIluUd6vawFEU+/OU0MMlO5ZallOWlk1Ev
 6vlg==
X-Gm-Message-State: AOAM532QiNsGEFAGv7sZ+L06698KJtxJHZUhaL/CsomePdsUbw2eI7db
 4Kbugq9o7UK/qtHTLZlfM0ZmnkMF//g=
X-Google-Smtp-Source: ABdhPJx/wL+IZ6ZJcNaqvRAKDxrw4NqDemRI3uzkqq7CWVFetzGCNy78EC+/zjAM8JkIxuiL5/juZg==
X-Received: by 2002:a05:600c:203:: with SMTP id 3mr554741wmi.187.1614213615840; 
 Wed, 24 Feb 2021 16:40:15 -0800 (PST)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id f2sm2363816wrq.34.2021.02.24.16.40.14
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 24 Feb 2021 16:40:15 -0800 (PST)
From: zimoun <zimon.toutoune@HIDDEN>
To: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
References: <idjwp4uvqim.fsf@HIDDEN>
Date: Thu, 25 Feb 2021 01:34:38 +0100
In-Reply-To: <idjwp4uvqim.fsf@HIDDEN> (Ricardo Wurmus's
 message of "Tue, 19 Sep 2017 14:09:37 +0200")
Message-ID: <86a6rtkmsh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 28510
Cc: 28510 <at> debbugs.gnu.org
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: -1.0 (-)

Hi,

On Tue, 19 Sep 2017 at 14:09, Ricardo Wurmus <ricardo.wurmus@HIDDEN>=
 wrote:
> The command =E2=80=9Cguix build -S guile-git --with-source=3Dguile-git=E2=
=80=9D crashes
> instead of failing gracefully:
>
> rwurmus@bimsb-sys02 in code: git clone https://gitlab.com/guile-git/guile=
-git.git

[...]

> rwurmus@bimsb-sys02 in code: guix build -S guile-git --with-source=3Dguil=
e-git
> Backtrace:

Still failing.  In =E2=80=99compute-derivation=E2=80=99, this=20

              (s
               (list (package-source-derivation store s)))))

returns a list of string instead of a derivation, so then

                          (for-each show-derivation-outputs drv)

fails because it expects a derivation or a derivation-input (see in
(guix ui)).

Well, I am not sure where the error should be handled.  In (guix ui) and
in (guix scripts build)?  WDYT?


Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#28510; Package guix. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 19 Sep 2017 12:10:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 19 08:10:04 2017
Received: from localhost ([127.0.0.1]:47407 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1duHLm-00004u-OA
	for submit <at> debbugs.gnu.org; Tue, 19 Sep 2017 08:10:03 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57533)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1duHLj-0008Vy-Dq
 for submit <at> debbugs.gnu.org; Tue, 19 Sep 2017 08:10:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1duHLd-0001PH-8n
 for submit <at> debbugs.gnu.org; Tue, 19 Sep 2017 08:09:54 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:59385)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <Ricardo.Wurmus@HIDDEN>)
 id 1duHLd-0001PC-5J
 for submit <at> debbugs.gnu.org; Tue, 19 Sep 2017 08:09:53 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48475)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1duHLb-0004zT-Ri
 for bug-guix@HIDDEN; Tue, 19 Sep 2017 08:09:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1duHLW-0001L4-QB
 for bug-guix@HIDDEN; Tue, 19 Sep 2017 08:09:51 -0400
Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:51197)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <Ricardo.Wurmus@HIDDEN>)
 id 1duHLW-0001Ir-Fm
 for bug-guix@HIDDEN; Tue, 19 Sep 2017 08:09:46 -0400
Received: from localhost (localhost [127.0.0.1])
 by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id A656E3809F2
 for <bug-guix@HIDDEN>; Tue, 19 Sep 2017 14:09:43 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h=
 content-transfer-encoding:content-type:content-type:mime-version
 :message-id:date:date:subject:subject:from:from:user-agent
 :received:received:received; s=mdc; t=1505822978; x=1507637379;
 bh=boGaToGhixdrF0LObYvSMwYbyuyzbQQsSPo2z70hPPQ=; b=HmffhtXkEDK5
 hKSL6KZDK0mVAxLDaMcDYB1v6T2TuHcgyPHvxD3uIRd3XMBpHtFn4vYagqGI0vTl
 mSZ+wthCF22RqSSkYvFfID9pmpxAgGolX95DV/12LyuoLXAiQTeTmyemfArZthjC
 eoLabj2gx7pg7/gLekuxNiYBE/tMLto=
X-Virus-Scanned: amavisd-new at mdc-berlin.de
Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1])
 by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id NeD8m5Setb_n for <bug-guix@HIDDEN>;
 Tue, 19 Sep 2017 14:09:38 +0200 (CEST)
Received: from HTCAONE.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by venus.bbbm.mdc-berlin.de (Postfix) with ESMTPS
 for <bug-guix@HIDDEN>; Tue, 19 Sep 2017 14:09:38 +0200 (CEST)
Received: from localhost (141.80.180.135) by HTCAONE.mdc-berlin.net
 (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 19 Sep
 2017 14:09:37 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1
From: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
To: "'bug-guix@HIDDEN'" <bug-guix@HIDDEN>
Subject: crash: guix build -S foo --with-source=bla
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Tue, 19 Sep 2017 14:09:37 +0200
Message-ID: <idjwp4uvqim.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
X-Originating-IP: [141.80.180.135]
X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.100.1062-23338.004
X-TM-AS-Result: No-2.076100-0.000000-31
X-TM-AS-MatchedID: 150673-707451-704496-105700-701604-707119-139705-188019-7
 04927-705450-701669-703440-703965-705075-700163-704473-702098-703486-703786
 -706249-187184-702106-702791-136070-711521-700416-703283-701252-148004-1481
 33-10010-42000-42003-63
X-TM-AS-User-Approved-Sender: Yes
X-TM-AS-User-Blocked-Sender: No
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
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: -5.0 (-----)

The command =E2=80=9Cguix build -S guile-git --with-source=3Dguile-git=E2=
=80=9D crashes
instead of failing gracefully:

--8<---------------cut here---------------start------------->8---
rwurmus@bimsb-sys02 in code: git clone https://gitlab.com/guile-git/guile=
-git.git
Cloning into 'guile-git'...
remote: Counting objects: 906, done.       =20
remote: Compressing objects: 100% (268/268), done.       =20
remote: Total 906 (delta 634), reused 895 (delta 630)       =20
Receiving objects: 100% (906/906), 243.62 KiB | 136.00 KiB/s, done.
Resolving deltas: 100% (634/634), done.
rwurmus@bimsb-sys02 in code: cd guile-git
rwurmus@bimsb-sys02 in guile-git: git reset --hard 969514a
HEAD is now at 969514a switch to using set-pointer-finalizer!
rwurmus@bimsb-sys02 in guile-git: cd ..
rwurmus@bimsb-sys02 in code: guix build -S guile-git --with-source=3Dguil=
e-git
Backtrace:
           9 (primitive-load "/gnu/store/04gdnvw7k8mnpzs9ig5kwmblzvgkxm4a=
-guix-0.13.0-1.a6d7=E2=80=A6")
In guix/ui.scm:
  1331:12  8 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    837:9  7 (catch _ _ #<procedure 7f11d55d88c0 at guix/ui.scm:448:2 (ke=
y c)> _)
    837:9  6 (catch _ _ #<procedure 7f11d55d88d8 at guix/ui.scm:536:6 (ke=
y proc format-stri=E2=80=A6> =E2=80=A6)
In guix/scripts/build.scm:
   725:14  5 (_)
In guix/ui.scm:
    633:8  4 (show-what-to-build #<build-daemon 256.97 2832e10> ("/gnu/st=
ore/07g069ka7l45f=E2=80=A6") =E2=80=A6)
In guix/derivations.scm:
   307:18  3 (substitution-oracle #<build-daemon 256.97 2832e10> ("/gnu/s=
tore/07g069ka7l45=E2=80=A6") =E2=80=A6)
In srfi/srfi-1.scm:
   466:18  2 (fold #<procedure 4028de0 at guix/derivations.scm:307:24 (dr=
v result)> () ("/g=E2=80=A6"))
In guix/derivations.scm:
   308:38  1 (_ "/gnu/store/07g069ka7l45f91npb8qv4j1kvi0y7m7-guile-git" (=
))
    606:7  0 (derivation->output-paths "/gnu/store/07g069ka7l45f91npb8qv4=
j1kvi0y7m7-guile-git")

guix/derivations.scm:606:7: In procedure derivation->output-paths:
guix/derivations.scm:606:7: In procedure struct_vtable: Wrong type argume=
nt in position 1 (expecting struct): "/gnu/store/07g069ka7l45f91npb8qv4j1=
kvi0y7m7-guile-git"
rwurmus@bimsb-sys02 in code:=20
--8<---------------cut here---------------end--------------->8---

-- Ricardo




Acknowledgement sent to Ricardo Wurmus <ricardo.wurmus@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#28510; 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: Wed, 24 Mar 2021 22:15:02 UTC

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