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>; dated Tue, 19 Sep 2017 12:11:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 28510) by debbugs.gnu.org; 10 Jul 2024 18:42:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 10 14:42:10 2024
Received: from localhost ([127.0.0.1]:57161 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sRcGY-0005en-GS
	for submit <at> debbugs.gnu.org; Wed, 10 Jul 2024 14:42:10 -0400
Received: from mail-wm1-f47.google.com ([209.85.128.47]:40480)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1sRcGU-0005dL-LC
 for 28510 <at> debbugs.gnu.org; Wed, 10 Jul 2024 14:42:07 -0400
Received: by mail-wm1-f47.google.com with SMTP id
 5b1f17b1804b1-426659ff58bso100415e9.2
 for <28510 <at> debbugs.gnu.org>; Wed, 10 Jul 2024 11:42:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1720636855; x=1721241655; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=dVdhL/MBLTbVmgIzCbC5KgUj23BRlzQSwgDZcaZfd0M=;
 b=D+mdCm2EowEk6qrXL6CXx+U5fyZGZmCLNKmGEoYRHPeOMWcPscbCcB2ILKgHD3hKo6
 vw4gDTP4NeehaN5lwb35kU/UWSHmNkH7PZYSQuS0LVQhmlzam/xe+vc52v4zcPMWy8/G
 CIQkhQACeohZgQwOX1XKbv/gnPm/xkW3cR7bT704lZ/4ZK8f4wqZ33bJbF4k9vSFdIBc
 XraYYH6TAOpI5MteEvQRViMtIGLkzKflKwyV7orQoM8N0H5g0cgAuKx25JaehEFSMdOM
 lmKqEr5IPUFvxVfc/SwLceYDM0Y3l1N3jiQFpxTNAxfwlEMn11pzUljdsHuQp/wfvBGp
 gFFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1720636855; x=1721241655;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=dVdhL/MBLTbVmgIzCbC5KgUj23BRlzQSwgDZcaZfd0M=;
 b=pLiFZx4EJ3HK0H3zgKC6mqyTxh43kuR7Go4OauayTJVvBY7roX6O0dlMPnjupaYK2z
 GyNQsPN0JgUl/BlXghVZ0rvtXQPBBDlSIbZ6HidN6YUoZHPrgTyVcbX6F++KRSaXKyN2
 kfu8+YnJdOqefur5HJS7XWosyYJjeSriVYoTcgcZFuQtfSP4AH4uANVmLCCKSCqokrHx
 kypXOeaykIIx4Xs7qD9T7qRASJ73B5UfGsCXNK1RHr+8lFmARBJO3xL8iTzFk/PTgqun
 kbArNVY+LXko3stjim2Qgv9N7rZcjW4Tln4YRXUj6HDgsTLX4qpm8QqRnUSb0KtM66I9
 hGEA==
X-Gm-Message-State: AOJu0YyQBriLDfMbuQ7F/qlM3S6EBG6WJ+ATFnck9E2iRgX4VjcwDLTa
 +9v947+WMxUjt/yDNKafTBWBWNmJM5gg+mG7KKyNFa1prUtMTZ67c3vlqA==
X-Google-Smtp-Source: AGHT+IHqkuK1HKvtkFv+i+RIxQiEHJiQwZrq+D8CxfThIb4MKp0I3JFPRWucKwXTK6jwIf7RwBm5dA==
X-Received: by 2002:a5d:584a:0:b0:367:2da6:aa1b with SMTP id
 ffacd0b85a97d-367f05bacfbmr253451f8f.7.1720636854676; 
 Wed, 10 Jul 2024 11:40:54 -0700 (PDT)
Received: from lili (roam-nat-fw-prg-194-254-61-44.net.univ-paris-diderot.fr.
 [194.254.61.44]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-367cde89113sm5883685f8f.56.2024.07.10.11.40.54
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 10 Jul 2024 11:40:54 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Vincent Legoll <vincent.legoll@HIDDEN>
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
In-Reply-To: <CAEwRq=rchX9JfKo2M7pWUYtguNRrZGOeWQqSrcRZ9xNCr-fY7A@HIDDEN>
 (Vincent Legoll's message of "Sat, 22 Jun 2024 16:54:20 +0000")
References: <idjwp4uvqim.fsf@HIDDEN>
 <CAEwRq=rchX9JfKo2M7pWUYtguNRrZGOeWQqSrcRZ9xNCr-fY7A@HIDDEN>
Date: Wed, 10 Jul 2024 20:32:36 +0200
Message-ID: <8734ohgksb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
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 Vincent,

On Sat, 22 Jun 2024 at 16:54, Vincent Legoll <vincent.legoll@HIDDEN> wro=
te:

> Looking at the comments in this issue, and the commenters list,
> I propose to remove the "easy" tag, if the issue is still there.

I removed the tag easy.  Well, I still think it=E2=80=99s an easy fix becau=
se to
me the issue is not the failure of =E2=80=9Cguix build --source foo
--with-source=3Dbar=E2=80=9D but the poor error handling.  However, if the =
aim to
be able to pass such command-line, then indeed that=E2=80=99s not easy beca=
use
it=E2=80=99s about some guarantee that the transformation is sound and that=
=E2=80=99s
hard for the generic case, IMHO.

Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#28510; Package guix. Full text available.
Removed tag(s) easy. Request was from Simon Tournier <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; 10 Jul 2024 18:42:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 10 14:42:01 2024
Received: from localhost ([127.0.0.1]:57149 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sRcGP-0005dM-H0
	for submit <at> debbugs.gnu.org; Wed, 10 Jul 2024 14:42:01 -0400
Received: from mail-wm1-f50.google.com ([209.85.128.50]:38297)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>)
 id 1sRcGO-0005dB-AD; Wed, 10 Jul 2024 14:42:00 -0400
Received: by mail-wm1-f50.google.com with SMTP id
 5b1f17b1804b1-42673554402so107985e9.1; 
 Wed, 10 Jul 2024 11:41:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1720636853; x=1721241653; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=VHf4fZtiZ7OZ3xwYWF6OsUvJfOp0djzPVAZszo4IYOA=;
 b=lsIRaNdQJsb1NTi1BBv+QhhJPBu5ktHeEncyvGgqtAElFS7zvzskpFCxxRRkFwcXBq
 sGqeyk0D6DOlhy6FQ4FtcRMZQIPWD+A67B5jvURbJKfCM9kFofq8FiquqzxnbQfhjqAo
 FHmCtrLjAiGk7TX/WPQsb9pgRJi3JYtZB2jQH91rhfpKJDdj4oaALe6eFQQJOAspztLd
 EEbMPeVzbPZSPQST/8gw5IkT2uJvgOFSRwbIjv612KfW4iyXSptuQDeYJNn9CtZgr5pT
 VGRVgXnlgNYikhz7fbP27Nv6QDdjkZe48nXbX6gGRbdRWUll4nZHG5wwBzvqqwP2a51f
 HmMQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1720636853; x=1721241653;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=VHf4fZtiZ7OZ3xwYWF6OsUvJfOp0djzPVAZszo4IYOA=;
 b=NaWK3+fXY8tMwZ4E8RavP97eQtxWrM2Q7lAWz79kLjoaHrI42mXhLqm0zwPUYH4RLL
 8R2NF31t01L+Xx654WujjSUpeZ6fA68iwrjxIrADJ26uaY4u/AsPVvBenuRkPimTrJ3z
 f/URVIQpVzeGV9YLPZvU0kHUlVg9QRCkWG+0sRHBnWxV6YehcFLjNmKcxavZsdavRR8D
 8eRefZhKtZLSVjwlVQ0HcpHKf5GQK435ay/hoZtGYNQ2vbQaXs4PtKWHbki/qYipi8qq
 dc0H3UNgOkD1bKaNIxP5dVl6NCa5Zcd24oGcxtUVOZNDC1hqTieG2k4aD4etfos1FjqJ
 O06w==
X-Gm-Message-State: AOJu0Yy8hC4x0Ddgg8vzcRidNI3AADxj0JtDEadrY9aKDNSy6lC6QHee
 JyPOo2tdZgwe4xKPDc2DAR0+03vhS55k5C6rfxhLeuLqm+/oReuugTkUAg==
X-Google-Smtp-Source: AGHT+IG+rvTdd1g1to/WDUD4fGV1CVURQei7dCmaIHsnj0oImqzF7+HpeO4OUqlkgjMJYloPsXlhDw==
X-Received: by 2002:a05:600c:198c:b0:426:668f:5ed7 with SMTP id
 5b1f17b1804b1-427983426e2mr2071755e9.2.1720636853285; 
 Wed, 10 Jul 2024 11:40:53 -0700 (PDT)
Received: from lili (roam-nat-fw-prg-194-254-61-40.net.univ-paris-diderot.fr.
 [194.254.61.40]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4266f6e097bsm92573795e9.6.2024.07.10.11.40.52
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 10 Jul 2024 11:40:52 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
In-Reply-To: <864kh0b4d2.fsf@HIDDEN> (zimoun's message of "Wed, 24 Mar 2021
 22:59:05 +0100")
References: <864kh0b4d2.fsf@HIDDEN>
Date: Wed, 10 Jul 2024 20:26:52 +0200
Message-ID: <875xtdgl1v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
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 (-)


tags 28510 - easy
quit




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

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


Received: (at 28510) by debbugs.gnu.org; 22 Jun 2024 18:28:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 22 14:28:32 2024
Received: from localhost ([127.0.0.1]:55688 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sL5TU-0007bD-9F
	for submit <at> debbugs.gnu.org; Sat, 22 Jun 2024 14:28:32 -0400
Received: from mail-pf1-f179.google.com ([209.85.210.179]:52287)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vincent.legoll@HIDDEN>) id 1sL5TS-0007av-7a
 for 28510 <at> debbugs.gnu.org; Sat, 22 Jun 2024 14:28:30 -0400
Received: by mail-pf1-f179.google.com with SMTP id
 d2e1a72fcca58-70656b43fd4so1184939b3a.0
 for <28510 <at> debbugs.gnu.org>; Sat, 22 Jun 2024 11:28:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719080844; x=1719685644; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :from:to:cc:subject:date:message-id:reply-to;
 bh=mz++956ic/PwanhFCcs6YFf9zHQlKus7Mk8zO+2P4p4=;
 b=NicUfKeJxSakw0oRniX3pVcg+3XWjaMFBhzKByFzaHpMOm5z46Oa8hC9LqNocp743i
 PiqQwMaC7nI2dGOCrO02eggs4/JdX5HM4GlkgMEkg7hv/hZgSUM1H3VyJgjuHx6+tWb6
 wx9Xsf/lFsglGYt+02iZ5rmEQlssuENTFsIrtmSLQqcB9eJFUx6z5O1LLAzZPWMWs+ea
 rHDLyCn1avXz8G3iIqV6bzl/K2+cEhe1FCDtghWzBG5AeGP9cMxo6R/s92RACIAQkLDA
 GF++100zb84WLGNl7ALCWasO5hC5MiZRLnMiwnGnrqZ+GtDPa0RDZYlxdZfOccgkZxg0
 2n1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719080844; x=1719685644;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=mz++956ic/PwanhFCcs6YFf9zHQlKus7Mk8zO+2P4p4=;
 b=LCCHK5wpklTBPAy8ncuWwSXa19gj1jnIX/xrx61VGFliTjGKyHTWUnanUCTCuXHaT8
 724m6BeI0sX3QbE5vBQi+co3C8vy57RN5Z4KpNtasa5/dadJEYajvJfa9Dv5MslO+LFa
 tFEBXuIA/SCxR6FfCziVpruZ0VsHz1xgZ6+paIi5UQlsFnskTKPVqqUdZIQJh0bSygkm
 GJ8+F0bTwUR/AjpqtBWduiq9F8F+iswsEYNbpmplnbMCudJStRq5tEe9joLG3CFtYp6j
 58ncB3GOtI/DJvudi8iVeM15MCnlPrIylQ0SNIA9p7g1kdMQWPo5IepUkVzF7Bgt0uCr
 vTMA==
X-Gm-Message-State: AOJu0YwCIh/j3FoMuthAggAvSDAn4yL7LxYVR93dwZCD3n1Ma6calfuR
 BcnerlGUyHl75DzmrgiE5rErDJqj2bXoBzEiEhS+ZuuGGblDM6Rq+Oe/Dw+XyqYnkGXkEtjnDi6
 RNQqqDH1MK5Mz7oGP4qHQfydA6FnBEM8a
X-Google-Smtp-Source: AGHT+IFeDXMRW5pVeaOCXhtsvTCQ6M0TQliEoXZYqN42pMh/zU/qpesTPBclx1zpl2wnM76ojvWiikxZw3ugVXgJkr0=
X-Received: by 2002:a05:6a20:4d9a:b0:1b7:1ede:ce45 with SMTP id
 adf61e73a8af0-1bcf7ed5b22mr403387637.36.1719080844072; Sat, 22 Jun 2024
 11:27:24 -0700 (PDT)
MIME-Version: 1.0
References: <CAEwRq=rchX9JfKo2M7pWUYtguNRrZGOeWQqSrcRZ9xNCr-fY7A@HIDDEN>
In-Reply-To: <CAEwRq=rchX9JfKo2M7pWUYtguNRrZGOeWQqSrcRZ9xNCr-fY7A@HIDDEN>
From: Vincent Legoll <vincent.legoll@HIDDEN>
Date: Sat, 22 Jun 2024 18:27:12 +0000
Message-ID: <CAEwRq=qZAn9=dYsPhK0ijW1awzJR+BFnb7LWmKRkEKEjGgcMpw@HIDDEN>
Subject: Re: crash: guix build -S foo --with-source=bla
To: 28510 <at> debbugs.gnu.org, zimoun <zimon.toutoune@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000000d2270061b7eb32f"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 28510
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 (-)

--0000000000000d2270061b7eb32f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 22, 2024 at 4:54=E2=80=AFPM Vincent Legoll <vincent.legoll@gmai=
l.com>
wrote:

> Looking at the comments in this issue, and the commenters list,
> I propose to remove the "easy" tag, if the issue is still there.
>

Looks like it is, the above reproducer from Maxime is still failing:
[...]
Throw to key `match-error' with args `("match" "no matching pattern"
"/gnu/store/kp25y6nll418j0l5kissbbvynl47mzhz-a.scm")'.

--=20
Vincent Legoll

--0000000000000d2270061b7eb32f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"=
gmail_attr">On Sat, Jun 22, 2024 at 4:54=E2=80=AFPM Vincent Legoll &lt;<a h=
ref=3D"mailto:vincent.legoll@HIDDEN">vincent.legoll@HIDDEN</a>&gt; wr=
ote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D=
"ltr"><div>Looking at the comments in this issue, and the commenters list,<=
/div><div>I propose to remove the &quot;easy&quot; tag, if the issue is sti=
ll there.<br></div></div>
</blockquote></div><br clear=3D"all"><div dir=3D"ltr"><div>Looks like it is=
, the above reproducer from Maxime is still failing:</div><div>[...]<br></d=
iv><div>Throw to key `match-error&#39; with args `(&quot;match&quot; &quot;=
no matching pattern&quot; &quot;/gnu/store/kp25y6nll418j0l5kissbbvynl47mzhz=
-a.scm&quot;)&#39;.<br></div></div></div><div><div class=3D"gmail-block gma=
il-text"><div class=3D"gmail-line" id=3D"gmail-2-lineno0"><br></div></div><=
/div><div><span class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"=
ltr" class=3D"gmail_signature">Vincent Legoll</div></div></div>

--0000000000000d2270061b7eb32f--




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

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


Received: (at 28510) by debbugs.gnu.org; 22 Jun 2024 16:55:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 22 12:55:39 2024
Received: from localhost ([127.0.0.1]:52560 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sL41b-0004HW-8B
	for submit <at> debbugs.gnu.org; Sat, 22 Jun 2024 12:55:39 -0400
Received: from mail-pf1-f176.google.com ([209.85.210.176]:46329)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vincent.legoll@HIDDEN>) id 1sL41Z-0004HE-FI
 for 28510 <at> debbugs.gnu.org; Sat, 22 Jun 2024 12:55:37 -0400
Received: by mail-pf1-f176.google.com with SMTP id
 d2e1a72fcca58-706680d3a25so388460b3a.0
 for <28510 <at> debbugs.gnu.org>; Sat, 22 Jun 2024 09:55:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719075271; x=1719680071; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=SJgLEyhO2R3WWzxf5j7qk6ufNVcp7PwF/xnf94KsF1c=;
 b=HZcA4XZcZBtPk5To6LPF2uHbolaut3/k1TlSJoF1397uRqTkp8SHdBd8TVD8gX7AEZ
 M79sB87QdGR1VqxvoJSeuO2W7aFioU4o7Eowq/1pe4HvNwSEfP692DZXzvR7o33wNYrN
 n/Uj5wRLtjztUtvHeEAsrfiApjx0xxS90rvO+5lQqzjXas6Fj4rdcQZmPzpMgpx0mzle
 RmQk0ZFcj9b0TS+73tAEr6O8JXJ+qL9pr4KUKpnk/Zm4RPos8ihOoKpUMaLGrxSk9wLr
 GWjqjIZTST397+I0UnI+LgGOwXKR8N6r+CFJeGbnzRWh0xGrSkm2tym8n2dGdBOOfNxO
 GbdQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719075271; x=1719680071;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=SJgLEyhO2R3WWzxf5j7qk6ufNVcp7PwF/xnf94KsF1c=;
 b=hJXOw1zl56eoaZhnT3d+XwUg9/fwZUPNMEXYIDq0JBXcQRPbGGVfBKrYMMjdoUSZoE
 DpS7nmFUFQK/3puNOXBrNTRnu2LKq+9gd6KCX9xVYpoh0ASO1iGNKGjk8IO7KBo9X3ro
 nHqqextAQjGRpdLByULkvCxQKd7rno6Pi2VYsoB34MxrBqbvH/tWz31//h8zbNd9W55C
 pdAQV3UP9QN/szOiY0WEzyoLFTiDBmIiak4xGM9DZnevLyXnTwK164IFsEjbRPfDQUvo
 7ufHFJHzUIhc9Tjgz9xn9vQfAFMJuncwckZ05y4qqTXPK65He+M4hVDz0bLJvgD+YbUR
 OS1g==
X-Gm-Message-State: AOJu0YymFZ25i3Sj70U5zyNwRks+cR5/osD/uFNCQuCMnHviG51oGaKz
 jlj7FKI8LQBXhYs6Opb8Pk9LvJC2d/EdIy8EGs07mWRiiyhPDNejKvUGE0MHb2cYm5MCWiML5QT
 pHVKIgB15DtqBxUsGYqO8jNQ655c/mhnV
X-Google-Smtp-Source: AGHT+IHzoXn8FRhIwXmI+TePdx8uANKfRtqJY1GDWq7pl/xij1jrbeNUewlsOXOBDcz08ji0n2uF2iheptkQPxXZNYg=
X-Received: by 2002:a05:6a20:4f24:b0:1b2:3998:404 with SMTP id
 adf61e73a8af0-1bcf4446d1cmr756093637.4.1719075271388; Sat, 22 Jun 2024
 09:54:31 -0700 (PDT)
MIME-Version: 1.0
From: Vincent Legoll <vincent.legoll@HIDDEN>
Date: Sat, 22 Jun 2024 16:54:20 +0000
Message-ID: <CAEwRq=rchX9JfKo2M7pWUYtguNRrZGOeWQqSrcRZ9xNCr-fY7A@HIDDEN>
Subject: crash: guix build -S foo --with-source=bla
To: 28510 <at> debbugs.gnu.org, zimoun <zimon.toutoune@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000e4bc4d061b7d66ab"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 28510
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 (-)

--000000000000e4bc4d061b7d66ab
Content-Type: text/plain; charset="UTF-8"

Hello,

Looking at the comments in this issue, and the commenters list,
I propose to remove the "easy" tag, if the issue is still there.

WDYT ?

-- 
Vincent Legoll

--000000000000e4bc4d061b7d66ab
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>Looking at the commen=
ts in this issue, and the commenters list,</div><div>I propose to remove th=
e &quot;easy&quot; tag, if the issue is still there.<br></div><div><br></di=
v><div>WDYT ?<br></div><div><br><span class=3D"gmail_signature_prefix">-- <=
/span><br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmai=
l_signature">Vincent Legoll</div></div></div>

--000000000000e4bc4d061b7d66ab--




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

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


Received: (at 28510) by debbugs.gnu.org; 8 Oct 2022 15:16:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 08 11:16:48 2022
Received: from localhost ([127.0.0.1]:41182 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ohBZH-00040f-P6
	for submit <at> debbugs.gnu.org; Sat, 08 Oct 2022 11:16:48 -0400
Received: from mail-wr1-f54.google.com ([209.85.221.54]:34367)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1ohBZC-00040I-IQ
 for 28510 <at> debbugs.gnu.org; Sat, 08 Oct 2022 11:16:46 -0400
Received: by mail-wr1-f54.google.com with SMTP id b4so11166916wrs.1
 for <28510 <at> debbugs.gnu.org>; Sat, 08 Oct 2022 08:16:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=0kaViFz3Fw4ms7uOqOrNNNReBdrAy4J0PMzqmpqfDY8=;
 b=KPtc4xXtcUp9o5VFbqwru4vxY123aSgZenmXxSQ1CBO2u+YFhTg4MHu1jDrzx54Bgj
 putDjg1VrcEwETOTybVwfCBNtBOYDu0BfM7hu08vst89uTVgBOd9ZthbAqZjE4os6JeI
 qSaSFMLNCVqx2UW9eGso4yqjlcfLLiZ7AY5YUMZ2wKf9G8FhUyrKr1aSZMo0GmJT93yx
 B+iyB40S2nvZevGX2pQojLM0Vla9jFCE4lSv+GY2SMKdXXMlXRv4RzdIpLu3udHYj0fK
 ubsS0dWxV4Q9tCQp58wkItTdEHweEHMRuIY17JFfFkvxBSvM1SjqFjNhPKaX3wT6BXNm
 R5Nw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=0kaViFz3Fw4ms7uOqOrNNNReBdrAy4J0PMzqmpqfDY8=;
 b=2Oz6b7hRLttHpbWYeOASxepYunsXSiObSt4mrowDd3GxdDFjx3At8MX9uwrxHLuQA7
 MYQwj1QfLu7tFcBZ3OAUeSXJaMpFcakTxd0U/KOKoJc1JAMKh0hHNrLIHQ/OUmFFH1pZ
 nh8FSoW2yHfJ9lrwWp5ug29Y/+5JLJcNj0Fbjo15rhtlTc/H69rdqnWGKnhwvKRc5MGJ
 1wxYmF4DaJKu+H/3t91tuxdTp/sDXMPxSqRyxLUblWbrvOF7WUz7kMUAkv0BRegiEgkE
 Ribd1tbfuGw86/gN7vtgUzAr+oS3ECC3l68nhKZa8Sn6e01SMp9ij6ZwjAKXHKgPYHo7
 O+qA==
X-Gm-Message-State: ACrzQf2twfeXibNkXT+tQ5XCh+t+RG1vNNJDupb1ztlnfNGifh/LCZJH
 ggZqu2fF+zOuOgLipa6/CR8=
X-Google-Smtp-Source: AMsMyM5U9dnNMb9Ohwbw8XxaMf8xUIMu3v3j4R5po8mf/GS0r4y/nVBRHYr4vsVkhb93qNisxrem3g==
X-Received: by 2002:a05:6000:1886:b0:22e:3921:fdc2 with SMTP id
 a6-20020a056000188600b0022e3921fdc2mr6408429wri.565.1665242196517; 
 Sat, 08 Oct 2022 08:16:36 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id
 h4-20020a05600c350400b003c1a7ea3736sm6438715wmq.11.2022.10.08.08.16.35
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 08 Oct 2022 08:16:35 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: jeremy@HIDDEN, Josselin Poiret <dev@HIDDEN>
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
In-Reply-To: <565ee080af7ef230e1c769bcfed440c2@HIDDEN>
References: <idjwp4uvqim.fsf@HIDDEN>
 <d566d759-38d7-849e-d067-35e207359210@HIDDEN>
 <229c1399-ce4b-b942-1bae-deea501f1c48@HIDDEN>
 <87k05y2yjc.fsf@HIDDEN> <86a66u0xhr.fsf@HIDDEN>
 <87h7113k9a.fsf@HIDDEN>
 <565ee080af7ef230e1c769bcfed440c2@HIDDEN>
Date: Sat, 08 Oct 2022 15:52:46 +0200
Message-ID: <86mta6tob5.fsf@HIDDEN>
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, Maxime Devos <maximedevos@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: -1.0 (-)

Hi J=C3=A9r=C3=A9my,

On Fri, 07 Oct 2022 at 10:41, jeremy@HIDDEN wrote:

> I feel not able to take decision about the proper way right now.
> So as a step forward I wrote a test to capture the behavior expected.
> Please have a look at it as it's the starting point for me.
> Next, I can implement the error handler, making the previous test to=20
> pass.
> As the test checks the behaviour, it will let enough space to change=20
> implementation later without invalitating the test.

Nice to start by the test! :-)

> (define-module (tests scripts build)
>   #:use-module (srfi srfi-64)
>   #:use-module (ice-9 exceptions)
>   #:use-module (guix scripts build)
>   #:use-module (srfi srfi-34))
>
> (test-begin "scripts")
>
> (define DUMMY_DEFINITION_PATH "/tmp/a.scm")
>
> (define (create-dummy-definition)
>   (call-with-output-file DUMMY_DEFINITION_PATH
>     (lambda (port)
>       (format port
>               "(use-modules (gnu packages) (guix packages) (guix gexp)) (=
package (inherit (specification->package \"hello\")) (source (local-file \"=
a.scm\")))"))))
>
> (define (delete-dummy-definition)
>   (delete-file DUMMY_DEFINITION_PATH))
>
> (test-group-with-cleanup "build"
>
>   (create-dummy-definition)
>
>   (test-equal "package definition as only source"
>     "/gnu/store/7mnkrg9bmybgyf1dn5n67di6ng6qvhkz-a.scm"
>     (guard
>         (ex
>          ((exception? ex) #f))
>       (guix-build "-f" DUMMY_DEFINITION_PATH "--source")))

Well, this test looks good to me.  However, I would lower what the
procedure under test.  For instance, package-source-derivation in
guix/packages.scm or show-derivation-outputs, as Josselin pointed [1].

1: <https://yhetil.org/guix/87k05y2yjc.fsf@HIDDEN>

>
>   (delete-dummy-definition))
>
> (test-end "scripts")


Cheers,
simon




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

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


Received: (at 28510) by debbugs.gnu.org; 7 Oct 2022 08:41:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 07 04:41:59 2022
Received: from localhost ([127.0.0.1]:34312 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ogivf-0006jS-F3
	for submit <at> debbugs.gnu.org; Fri, 07 Oct 2022 04:41:59 -0400
Received: from relay11.mail.gandi.net ([217.70.178.231]:42355)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jeremy@HIDDEN>) id 1ogivd-0006jE-P5
 for 28510 <at> debbugs.gnu.org; Fri, 07 Oct 2022 04:41:58 -0400
Received: (Authenticated sender: jeremy@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPA id 709FB100005;
 Fri,  7 Oct 2022 08:41:50 +0000 (UTC)
MIME-Version: 1.0
Date: Fri, 07 Oct 2022 10:41:50 +0200
From: jeremy@HIDDEN
To: Josselin Poiret <dev@HIDDEN>
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
In-Reply-To: <87h7113k9a.fsf@HIDDEN>
References: <idjwp4uvqim.fsf@HIDDEN>
 <d566d759-38d7-849e-d067-35e207359210@HIDDEN>
 <229c1399-ce4b-b942-1bae-deea501f1c48@HIDDEN>
 <87k05y2yjc.fsf@HIDDEN> <86a66u0xhr.fsf@HIDDEN>
 <87h7113k9a.fsf@HIDDEN>
Message-ID: <565ee080af7ef230e1c769bcfed440c2@HIDDEN>
X-Sender: jeremy@HIDDEN
Content-Type: multipart/mixed;
 boundary="=_13936658fabfd420a0433caa4296d0b9"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 28510
Cc: 28510 <at> debbugs.gnu.org, Maxime Devos <maximedevos@HIDDEN>,
 zimoun <zimon.toutoune@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: -1.7 (-)

--=_13936658fabfd420a0433caa4296d0b9
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8;
 format=flowed

Le 2022-09-20 21:42, Josselin Poiret a écrit :
> Hi Simon,
> 
> zimoun <zimon.toutoune@HIDDEN> writes:
> 
>> Well, I would add an error handler; as proposed [1]. :-)  Because does
>> “guix build foo --source --with-source=bla” make sense?  What is the
>> use-case for such command?
> 
> My bad, I didn't see the previous discussion on the subject.  To me, 
> the
> lack of generality would be unexpected: if I have a package with a
> source, I expect to be able to get that source, whatever the source may
> be.  Maxime's minimal example shows that it could happen for a variety
> of different reasons, not just a --with-source= flag.  I don't know 
> what
> a proper fix for it would be though, since we're passing things around
> that we pretend are derivations but are not, and in many places.
> 
> Best,

Hi !

I feel not able to take decision about the proper way right now.
So as a step forward I wrote a test to capture the behavior expected.
Please have a look at it as it's the starting point for me.
Next, I can implement the error handler, making the previous test to 
pass.
As the test checks the behaviour, it will let enough space to change 
implementation later without invalitating the test.

Cheers,
Jérémy
--=_13936658fabfd420a0433caa4296d0b9
Content-Transfer-Encoding: base64
Content-Type: text/plain;
 name=guix-scripts.scm
Content-Disposition: attachment;
 filename=guix-scripts.scm;
 size=930

KGRlZmluZS1tb2R1bGUgKHRlc3RzIHNjcmlwdHMgYnVpbGQpCiAgIzp1c2UtbW9kdWxlIChzcmZp
IHNyZmktNjQpCiAgIzp1c2UtbW9kdWxlIChpY2UtOSBleGNlcHRpb25zKQogICM6dXNlLW1vZHVs
ZSAoZ3VpeCBzY3JpcHRzIGJ1aWxkKQogICM6dXNlLW1vZHVsZSAoc3JmaSBzcmZpLTM0KSkKCih0
ZXN0LWJlZ2luICJzY3JpcHRzIikKCihkZWZpbmUgRFVNTVlfREVGSU5JVElPTl9QQVRIICIvdG1w
L2Euc2NtIikKCihkZWZpbmUgKGNyZWF0ZS1kdW1teS1kZWZpbml0aW9uKQogIChjYWxsLXdpdGgt
b3V0cHV0LWZpbGUgRFVNTVlfREVGSU5JVElPTl9QQVRICiAgICAobGFtYmRhIChwb3J0KQogICAg
ICAoZm9ybWF0IHBvcnQKICAgICAgICAgICAgICAiKHVzZS1tb2R1bGVzIChnbnUgcGFja2FnZXMp
IChndWl4IHBhY2thZ2VzKSAoZ3VpeCBnZXhwKSkgKHBhY2thZ2UgKGluaGVyaXQgKHNwZWNpZmlj
YXRpb24tPnBhY2thZ2UgXCJoZWxsb1wiKSkgKHNvdXJjZSAobG9jYWwtZmlsZSBcImEuc2NtXCIp
KSkiKSkpKQoKKGRlZmluZSAoZGVsZXRlLWR1bW15LWRlZmluaXRpb24pCiAgKGRlbGV0ZS1maWxl
IERVTU1ZX0RFRklOSVRJT05fUEFUSCkpCgoodGVzdC1ncm91cC13aXRoLWNsZWFudXAgImJ1aWxk
IgoKICAoY3JlYXRlLWR1bW15LWRlZmluaXRpb24pCgogICh0ZXN0LWVxdWFsICJwYWNrYWdlIGRl
ZmluaXRpb24gYXMgb25seSBzb3VyY2UiCiAgICAiL2dudS9zdG9yZS83bW5rcmc5Ym15Ymd5ZjFk
bjVuNjdkaTZuZzZxdmhrei1hLnNjbSIKICAgIChndWFyZAogICAgICAgIChleAogICAgICAgICAo
KGV4Y2VwdGlvbj8gZXgpICNmKSkKICAgICAgKGd1aXgtYnVpbGQgIi1mIiBEVU1NWV9ERUZJTklU
SU9OX1BBVEggIi0tc291cmNlIikpKQoKICAoZGVsZXRlLWR1bW15LWRlZmluaXRpb24pKQoKKHRl
c3QtZW5kICJzY3JpcHRzIikK
--=_13936658fabfd420a0433caa4296d0b9--




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

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


Received: (at 28510) by debbugs.gnu.org; 20 Sep 2022 19:42:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 15:42:48 2022
Received: from localhost ([127.0.0.1]:59771 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaj8q-0000Kf-4g
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 15:42:48 -0400
Received: from jpoiret.xyz ([206.189.101.64]:60428)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1oaj8l-0000KU-UM
 for 28510 <at> debbugs.gnu.org; Tue, 20 Sep 2022 15:42:46 -0400
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id D944D184BCF;
 Tue, 20 Sep 2022 19:42:41 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1663702962;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=YL2VqyAY0VoBOXWfpxADWiCkOMd0cPEQ0qpT/TKoaIc=;
 b=FBLQrEY/OaWcVXLUYg/jeIDiuxLDnjW1YBryYwcwgf4Y2GMm2QdoZWGPF7RmSrSzb3SCJ1
 lDQZCV8qbQ/oOhb/b0oKJV5tLMauKComjxtCOfwzveseOkMUCmbRAhyEFwXDFSIF6VlCyf
 1w4g71PDDwWV611RqAcydHIOikDMGQCuEQjpZsYP3DGKN1pw9Qe/gL29YLRxzkDlEQooyW
 DY8vMGBPloEwdtxVmkZyXNWhamJo+h+c2QYwFlXHfB1rewaYyOMD9fy5dDLxFlw8EGZ9JK
 sEdLZSBgOklO09vU+0OoSKD0Jn5ziU5RASDTA6m9B465hrrYRbierj3XdYtMMQ==
From: Josselin Poiret <dev@HIDDEN>
To: zimoun <zimon.toutoune@HIDDEN>, Maxime Devos
 <maximedevos@HIDDEN>, =?utf-8?B?SsOpcsOpbXk=?= Korwin-Zmijowski
 <jeremy@HIDDEN>, 28510 <at> debbugs.gnu.org
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
In-Reply-To: <86a66u0xhr.fsf@HIDDEN>
References: <idjwp4uvqim.fsf@HIDDEN>
 <d566d759-38d7-849e-d067-35e207359210@HIDDEN>
 <229c1399-ce4b-b942-1bae-deea501f1c48@HIDDEN>
 <87k05y2yjc.fsf@HIDDEN> <86a66u0xhr.fsf@HIDDEN>
Date: Tue, 20 Sep 2022 21:42:41 +0200
Message-ID: <87h7113k9a.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
X-Spam-Level: *
X-Spamd-Bar: +
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi Simon, zimoun <zimon.toutoune@HIDDEN> writes: > Well,
    I would add an error handler; as proposed [1]. :-) Because does > “guix
    build foo --source --with-source=bla” make sense? What is the > use-case
    for such command? 
 
 Content analysis details:   (2.0 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: jpoiret.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: 28510
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.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi Simon, zimoun <zimon.toutoune@HIDDEN> writes: > Well,
    I would add an error handler; as proposed [1]. :-) Because does > “guix
    build foo --source --with-source=bla” make sense? What is the > use-case
    for such command? 
 
 Content analysis details:   (2.0 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: jpoiret.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
  0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Hi Simon,

zimoun <zimon.toutoune@HIDDEN> writes:

> Well, I would add an error handler; as proposed [1]. :-)  Because does
> =E2=80=9Cguix build foo --source --with-source=3Dbla=E2=80=9D make sense?=
  What is the
> use-case for such command?

My bad, I didn't see the previous discussion on the subject.  To me, the
lack of generality would be unexpected: if I have a package with a
source, I expect to be able to get that source, whatever the source may
be.  Maxime's minimal example shows that it could happen for a variety
of different reasons, not just a --with-source=3D flag.  I don't know what
a proper fix for it would be though, since we're passing things around
that we pretend are derivations but are not, and in many places.

Best,
--=20
Josselin Poiret




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

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


Received: (at 28510) by debbugs.gnu.org; 20 Sep 2022 17:35:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 13:35:29 2022
Received: from localhost ([127.0.0.1]:59546 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oah9c-0003B9-TY
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 13:35:29 -0400
Received: from mail-wm1-f52.google.com ([209.85.128.52]:33717)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1oah9Z-0003Ar-Il
 for 28510 <at> debbugs.gnu.org; Tue, 20 Sep 2022 13:35:27 -0400
Received: by mail-wm1-f52.google.com with SMTP id
 ay7-20020a05600c1e0700b003b49861bf48so1335736wmb.0
 for <28510 <at> debbugs.gnu.org>; Tue, 20 Sep 2022 10:35:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:to:from:from:to:cc:subject:date;
 bh=aQRAgPpgU64PZvYW2wWDSKJLX4P97FVhjR/CD2rUfJ0=;
 b=eeMijzdIG6M6FrEDGTfEEcvqYvXsjNHgzjTtlVvKDlg19vDcRX2i8j5ZCzEyPZhdgx
 0EFa3/QRZu4fnNBk0/xxkJLfBWCLgeTx3vWko5KVPUs+wxHaJdGvkpNYcxyzU1XwfUjU
 iYtWgS+7pN8bx1LDxeGBP7OVVNFBdtb1+UudX+H6A8hl5WLgZldYGTKsZSUnXbXKlLYT
 iKiHB5jBum/p+G48aUei+nZ3ZAGimjSASfoOT2zSfH+6iu+1sSH3r6sLZSAK/VC6bxsc
 CwhIk6Y3YzvGh9Ro86fJp1LHtSTyhGWVoOc8/5uygd9ZjvkYqdfKWQY9L5ghdYoCP/Np
 20GA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject
 :date;
 bh=aQRAgPpgU64PZvYW2wWDSKJLX4P97FVhjR/CD2rUfJ0=;
 b=RV76cFQxTpx56pit93BnXzo5/zK0qNiQKxwTPYc7R/76fM+Nwu62tLxVTnbVxhhUTD
 C2iacJ6CyCeVkj5BIy88Uj5AUzthLe/gmSnZTrfiQCt4Qx1FoYqet68dQW+la0/nHSre
 OTOK7ZpugSWXFTe4nvMlEVcgjg/7H63oK/2G2d9zEe8/FYQ+1b/NYPp69j8d8Dm47T+d
 QHCgdGnoxipNnZCZ9j9KbOVH/F740TsaEJ9DEKwCHkebBFr3jcYlrCTB89M3V+i758bB
 DF+7/dUlpoA2BmgPxVvR+gtOZ9GguKM/fCBxdNT77WSGuAGytFS+gjLUBbqvcz/pOQ2e
 kAOA==
X-Gm-Message-State: ACrzQf3ERhbidCJ9xFbcR/H9g5y3rl5ke5EIXy4mJ+Lq/PbChXRfqBX8
 psM5mtk8jgQmmxQer22VtnqNlejbtig=
X-Google-Smtp-Source: AMsMyM4OOzr2w3OtP7Es5mqa+ep4mO5MSR2MuTRLj+W08fzloa+n1kagysBlPK0+jjmN896+1uYF3w==
X-Received: by 2002:a05:600c:3d0e:b0:3b4:9bd1:10be with SMTP id
 bh14-20020a05600c3d0e00b003b49bd110bemr3224242wmb.101.1663695319125; 
 Tue, 20 Sep 2022 10:35:19 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id
 h2-20020adffa82000000b0022584c82c80sm437308wrr.19.2022.09.20.10.35.17
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 20 Sep 2022 10:35:18 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: Josselin Poiret <dev@HIDDEN>, Maxime Devos
 <maximedevos@HIDDEN>, =?utf-8?B?SsOpcsOpbXk=?= Korwin-Zmijowski
 <jeremy@HIDDEN>, 28510 <at> debbugs.gnu.org
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
In-Reply-To: <87k05y2yjc.fsf@HIDDEN>
References: <idjwp4uvqim.fsf@HIDDEN>
 <d566d759-38d7-849e-d067-35e207359210@HIDDEN>
 <229c1399-ce4b-b942-1bae-deea501f1c48@HIDDEN>
 <87k05y2yjc.fsf@HIDDEN>
Date: Tue, 20 Sep 2022 19:25:04 +0200
Message-ID: <86a66u0xhr.fsf@HIDDEN>
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
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, 20 Sep 2022 at 11:19, Josselin Poiret via Bug reports for GNU Guix =
<bug-guix@HIDDEN> wrote:

> The simple fix would be to add another band-aid cond at the
> show-derivation-outputs call in build.scm, but it doesn't seem to be
> enough in the long term.

Well, I would add an error handler; as proposed [1]. :-)  Because does
=E2=80=9Cguix build foo --source --with-source=3Dbla=E2=80=9D make sense?  =
What is the
use-case for such command?

1: <https://issues.guix.gnu.org/28510/#1>


Cheers,
simon




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

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


Received: (at 28510) by debbugs.gnu.org; 20 Sep 2022 09:19:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 05:19:41 2022
Received: from localhost ([127.0.0.1]:56083 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaZPp-0002t9-8L
	for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 05:19:41 -0400
Received: from jpoiret.xyz ([206.189.101.64]:60036)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1oaZPn-0002t0-D8
 for 28510 <at> debbugs.gnu.org; Tue, 20 Sep 2022 05:19:40 -0400
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id 2878C184BCF;
 Tue, 20 Sep 2022 09:19:36 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1663665576;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=was+lOdiCsW1NYT+V/FbuOX04brnrDwN29sZ00d6kqM=;
 b=gAMyn4F2kVI9J/u+Ykzm0dRO8RefsACRRcumJQwaTab29bZTLGapw6tzTC73N7wpDxGbII
 aKaDVuOrkzQJEBY5Is9JkE0XbV+kDReUsqXW/xVgeTpAwE/m2TbmK/y5l22yUj7n5Itv12
 4ysN0EO0SY192OBl2XGy1///ocd7ynyySHkX4TBnjMXMVhScpLVk0wwCx6IabaARrgAOhw
 5KGn+Ymn1bHeIERVHuY6Q+f/T+UqOFXXiRym0Svfu8roIMyNVJEwKA0+iEjDD6DC4runSM
 +6FqsDFJDJRS+9XxsML8ZJHASNT94jC/iGe5v6sSTyfkbAqjIp0Oc5+Ke5+TWA==
From: Josselin Poiret <dev@HIDDEN>
To: Maxime Devos <maximedevos@HIDDEN>, =?utf-8?B?SsOpcsOpbXk=?=
 Korwin-Zmijowski <jeremy@HIDDEN>, 28510 <at> debbugs.gnu.org
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
In-Reply-To: <229c1399-ce4b-b942-1bae-deea501f1c48@HIDDEN>
References: <idjwp4uvqim.fsf@HIDDEN>
 <d566d759-38d7-849e-d067-35e207359210@HIDDEN>
 <229c1399-ce4b-b942-1bae-deea501f1c48@HIDDEN>
Date: Tue, 20 Sep 2022 11:19:35 +0200
Message-ID: <87k05y2yjc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
X-Spamd-Bar: /
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hi everyone, Maxime Devos <maximedevos@HIDDEN> writes:
 > Here is a simpler reproducer for that error: > > file a.scm: > (use-modules
 (gnu packages) (guix packages) (guix gexp)) > (package > (inherit (specifica
 [...] Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: jpoiret.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: 28510
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.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi everyone, Maxime Devos <maximedevos@HIDDEN> writes:
    > Here is a simpler reproducer for that error: > > file a.scm: > (use-modules
    (gnu packages) (guix packages) (guix gexp)) > (package > (inherit (specifica
    [...] 
 
 Content analysis details:   (2.0 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: jpoiret.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
  0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Hi everyone,

Maxime Devos <maximedevos@HIDDEN> writes:
> Here is a simpler reproducer for that error:
>
> file a.scm:
> (use-modules (gnu packages) (guix packages) (guix gexp))
> (package
>    (inherit (specification->package "hello"))
>    (source (local-file "a.scm")))
>
> guix build -f a.scm --source

The issue is that package-source-derivation in guix/packages.scm doesn't
actually always yield a derivation, since lower-object isn't guaranteed
to do that: here the gexp compiler for local-file only returns a string
denoting the file path of the interned store file.  `guix build` relies
on the (wrong) assumption that everything that it will build will end up
being a derivation in some way or another, so just calls
show-derivation-outputs on that, which then errors as above.

build-derivations, contrary to its name, can also pass simple file names
to build-things, and since the file will already be interned in the
store at that point, it won't need to do anything, and there won't be
any errors there.

The simple fix would be to add another band-aid cond at the
show-derivation-outputs call in build.scm, but it doesn't seem to be
enough in the long term.

What do people think?

-- 
Josselin Poiret




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

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


Received: (at 28510) by debbugs.gnu.org; 19 Sep 2022 18:44:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 14:44:07 2022
Received: from localhost ([127.0.0.1]:55217 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaLkV-0005ML-7V
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 14:44:07 -0400
Received: from andre.telenet-ops.be ([195.130.132.53]:54340)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1oaLkT-0005MD-IJ
 for 28510 <at> debbugs.gnu.org; Mon, 19 Sep 2022 14:44:06 -0400
Received: from [192.168.81.79] ([213.251.124.117])
 by andre.telenet-ops.be with bizsmtp
 id Muk32800j2Y5aml01uk4zC; Mon, 19 Sep 2022 20:44:04 +0200
Message-ID: <229c1399-ce4b-b942-1bae-deea501f1c48@HIDDEN>
Date: Mon, 19 Sep 2022 20:44:03 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.12.0
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
Content-Language: en-US
To: =?UTF-8?Q?J=c3=a9r=c3=a9my_Korwin-Zmijowski?=
 <jeremy@HIDDEN>, 28510 <at> debbugs.gnu.org
References: <idjwp4uvqim.fsf@HIDDEN>
 <d566d759-38d7-849e-d067-35e207359210@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
In-Reply-To: <d566d759-38d7-849e-d067-35e207359210@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------PJlafg2a6qsRx0WNDEfxEwZC"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1663613044; bh=bmO88tu68mNJlWaJyZxRS+8sguC2945CxnSX12ACJk4=;
 h=Date:Subject:To:References:From:In-Reply-To;
 b=LkEMukBTsTJ/6qzIXlZ/vThhRu3fLTwf6SsFMVYJChhpg1JWNriyBZ86mBIM9SEyE
 0l6yXvDS9VPPC3vGJedvS3prky6Ky9RmyIR9z+UH4cwNOyTjHSI7wSkVCLXiXpu1iV
 DMaxwUPownLogUYhBbBfiR6TadP8IRyQ2uK5IJL3UJFblMKfopr5ayFwKQJ1O481sE
 s2S4AGg2fmqAqNeO/lkn7GATM09KzWQTYp1B6+zClSD2OqLLwDE2PlZbEmv+fuNnbL
 VU5VeB1IV8LVZHxc4lwBBiOH2pbKfY60TZRqi//2vHFjKYB2ZP6W4QpHj63Yhijmx+
 VLuIQNnehjzIw==
X-Spam-Score: -2.5 (--)
X-Debbugs-Envelope-To: 28510
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: -3.5 (---)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------PJlafg2a6qsRx0WNDEfxEwZC
Content-Type: multipart/mixed; boundary="------------oKj8VYC6lLILqhRrRxiAuz2T";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: =?UTF-8?Q?J=c3=a9r=c3=a9my_Korwin-Zmijowski?=
 <jeremy@HIDDEN>, 28510 <at> debbugs.gnu.org
Message-ID: <229c1399-ce4b-b942-1bae-deea501f1c48@HIDDEN>
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
References: <idjwp4uvqim.fsf@HIDDEN>
 <d566d759-38d7-849e-d067-35e207359210@HIDDEN>
In-Reply-To: <d566d759-38d7-849e-d067-35e207359210@HIDDEN>

--------------oKj8VYC6lLILqhRrRxiAuz2T
Content-Type: multipart/mixed; boundary="------------cxQra7nnI0kyujFW0Yk0vqnX"

--------------cxQra7nnI0kyujFW0Yk0vqnX
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

T24gMTktMDktMjAyMiAxOTozOCwgSsOpcsOpbXkgS29yd2luLVptaWpvd3NraSB3cm90ZToN
Cj4gSGVsbG8sDQo+IA0KPiBUb2RheSwgSSBmb2xsb3dlZCB0aGlzIHN0ZXBzIHRvIHRyeSB0
byByZXByb2R1Y2UgOiBbLi4uXScuDQo+IA0KPiBTbywgc3RpbGwgZmFpbGluZyBidXQgSSBk
b24ndCBnZXQgdGhlIHNhbWUgZXJyb3LigKYgSXMgaXQgdmFsaWQgYWNjb3JkaW5nIA0KPiB0
byB0aGUgYnVnIGRlY2xhcmF0aW9uID8gSSdtIG5vdCBzdXJlIGhhaGENCj4gDQoNCkhlcmUg
aXMgYSBzaW1wbGVyIHJlcHJvZHVjZXIgZm9yIHRoYXQgZXJyb3I6DQoNCmZpbGUgYS5zY206
DQoodXNlLW1vZHVsZXMgKGdudSBwYWNrYWdlcykgKGd1aXggcGFja2FnZXMpIChndWl4IGdl
eHApKQ0KKHBhY2thZ2UNCiAgIChpbmhlcml0IChzcGVjaWZpY2F0aW9uLT5wYWNrYWdlICJo
ZWxsbyIpKQ0KICAgKHNvdXJjZSAobG9jYWwtZmlsZSAiYS5zY20iKSkpDQoNCmd1aXggYnVp
bGQgLWYgYS5zY20gLS1zb3VyY2UNCg0KR3JlZXRpbmdzLA0KTWF4aW1lLg0K
--------------cxQra7nnI0kyujFW0Yk0vqnX
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------cxQra7nnI0kyujFW0Yk0vqnX--

--------------oKj8VYC6lLILqhRrRxiAuz2T--

--------------PJlafg2a6qsRx0WNDEfxEwZC
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYyi4cwUDAAAAAAAKCRBJ4+4iGRcl7luY
AQC9MI4BnuGCGnFKares7CwsiIjAwr6hskccRmwcraRvvQD/YOSCrF5Nh3KUz0qYCFXt6JCE/nSo
zq+QaHQkmVOrygU=
=4OQh
-----END PGP SIGNATURE-----

--------------PJlafg2a6qsRx0WNDEfxEwZC--




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

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


Received: (at 28510) by debbugs.gnu.org; 19 Sep 2022 17:38:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 19 13:38:16 2022
Received: from localhost ([127.0.0.1]:55129 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oaKil-0003Qn-Nm
	for submit <at> debbugs.gnu.org; Mon, 19 Sep 2022 13:38:16 -0400
Received: from relay10.mail.gandi.net ([217.70.178.230]:57307)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jeremy@HIDDEN>) id 1oaKij-0003QZ-Ly
 for 28510 <at> debbugs.gnu.org; Mon, 19 Sep 2022 13:38:14 -0400
Received: (Authenticated sender: jeremy@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id 132B424000B
 for <28510 <at> debbugs.gnu.org>; Mon, 19 Sep 2022 17:38:06 +0000 (UTC)
Content-Type: multipart/alternative;
 boundary="------------95QrARgW0poGece9j0HMeFi0"
Message-ID: <d566d759-38d7-849e-d067-35e207359210@HIDDEN>
Date: Mon, 19 Sep 2022 19:38:05 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.11.0
To: 28510 <at> debbugs.gnu.org
Subject: crash: guix build -S foo --with-source=bla
Content-Language: en-US
From: =?UTF-8?Q?J=c3=a9r=c3=a9my_Korwin-Zmijowski?=
 <jeremy@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 28510
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.7 (-)

This is a multi-part message in MIME format.
--------------95QrARgW0poGece9j0HMeFi0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hello,

Today, I followed this steps to try to reproduce :

jeko@slim guix ±|master ✗|→ git pull
jeko@slim guix ±|master ✗|→ guix shell -D guix help2man git strace --pure
[dev] jeko@slim guix ±|master ✗|→ make
[dev] jeko@slim guix ±|master ✗|→ git clone 
https://gitlab.com/guile-git/guile-git.git /tmp/guile-git
[dev] jeko@slim guix ±|master ✗|→ ./pre-inst-env guix build -S guile-git 
--with-source=/tmp/guile-git
Backtrace:
In ice-9/boot-9.scm:
   1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
           15 (apply-smob/0 #<thunk 7f7b1c56f2e0>)
In ice-9/boot-9.scm:
     724:2 14 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
     619:8 13 (_ #(#(#<directory (guile-user) 7f7b1c574c80>)))
In guix/ui.scm:
    2263:7 12 (run-guix . _)
   2226:10 11 (run-guix-command _ . _)
In ice-9/boot-9.scm:
   1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
     815:4  9 (call-with-status-report _ _)
In ice-9/boot-9.scm:
   1752:10  8 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
    656:37  7 (thunk)
    1295:8  6 (call-with-build-handler _ _)
    1295:8  5 (call-with-build-handler #<procedure 7f7b19ae5c90 at g?> ?)
In guix/scripts/build.scm:
    808:26  4 (_)
In srfi/srfi-1.scm:
     634:9  3 (for-each #<procedure show-derivation-outputs (derivat?> ?)
In guix/ui.scm:
     907:2  2 (show-derivation-outputs _)
In ice-9/boot-9.scm:
   1685:16  1 (raise-exception _ #:continuable? _)
   1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `match-error' with args `("match" "no matching pattern" 
"/gnu/store/wgxcw7j7d45n3z3g5rswjj1hf393abl0-guile-git")'.

So, still failing but I don't get the same error… Is it valid according 
to the bug declaration ? I'm not sure haha

-- 
Jérémy Korwin-Zmijowski

GPG: 036B 4D54 B7B4 D6C8 DA62 2746 700F 5E0C CBB2 E2D1

--------------95QrARgW0poGece9j0HMeFi0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,<br>
      <br>
      Today, I followed this steps to try to reproduce :<br>
      <br>
      jeko@slim guix ±|master ✗|→ git pull<br>
      jeko@slim guix ±|master ✗|→ guix shell -D guix help2man git strace
      --pure<br>
      [dev] jeko@slim guix ±|master ✗|→ make<br>
      [dev] jeko@slim guix ±|master ✗|→ git clone
      <a class="moz-txt-link-freetext" href="https://gitlab.com/guile-git/guile-git.git">https://gitlab.com/guile-git/guile-git.git</a> /tmp/guile-git<br>
      [dev] jeko@slim guix ±|master ✗|→ ./pre-inst-env guix build -S
      guile-git --with-source=/tmp/guile-git<br>
      Backtrace:<br>
      In ice-9/boot-9.scm:<br>
        1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)<br>
      In unknown file:<br>
                15 (apply-smob/0 #&lt;thunk 7f7b1c56f2e0&gt;)<br>
      In ice-9/boot-9.scm:<br>
          724:2 14 (call-with-prompt _ _ #&lt;procedure
      default-prompt-handle?&gt;)<br>
      In ice-9/eval.scm:<br>
          619:8 13 (_ #(#(#&lt;directory (guile-user)
      7f7b1c574c80&gt;)))<br>
      In guix/ui.scm:<br>
         2263:7 12 (run-guix . _)<br>
        2226:10 11 (run-guix-command _ . _)<br>
      In ice-9/boot-9.scm:<br>
        1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)<br>
      In guix/status.scm:<br>
          815:4  9 (call-with-status-report _ _)<br>
      In ice-9/boot-9.scm:<br>
        1752:10  8 (with-exception-handler _ _ #:unwind? _ # _)<br>
      In guix/store.scm:<br>
         656:37  7 (thunk)<br>
         1295:8  6 (call-with-build-handler _ _)<br>
         1295:8  5 (call-with-build-handler #&lt;procedure 7f7b19ae5c90
      at g?&gt; ?)<br>
      In guix/scripts/build.scm:<br>
         808:26  4 (_)<br>
      In srfi/srfi-1.scm:<br>
          634:9  3 (for-each #&lt;procedure show-derivation-outputs
      (derivat?&gt; ?)<br>
      In guix/ui.scm:<br>
          907:2  2 (show-derivation-outputs _)<br>
      In ice-9/boot-9.scm:<br>
        1685:16  1 (raise-exception _ #:continuable? _)<br>
        1685:16  0 (raise-exception _ #:continuable? _)<br>
      <br>
      ice-9/boot-9.scm:1685:16: In procedure raise-exception:<br>
      Throw to key `match-error' with args `("match" "no matching
      pattern"
      "/gnu/store/wgxcw7j7d45n3z3g5rswjj1hf393abl0-guile-git")'.<br>
      <br>
      So, still failing but I don't get the same error… Is it valid
      according to the bug declaration ? I'm not sure haha<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Jérémy Korwin-Zmijowski

GPG: 036B 4D54 B7B4 D6C8 DA62 2746 700F 5E0C CBB2 E2D1</pre>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
      0px; height: 0px;"></div>
  </body>
</html>

--------------95QrARgW0poGece9j0HMeFi0--




Information forwarded to bug-guix@HIDDEN:
bug#28510; Package guix. Full text available.
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, 10 Jul 2024 18:45:02 UTC

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