GNU bug report logs

#28510 crash: guix build -S foo --with-source=bla

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #25 received at 28510@debbugs.gnu.org (full text, mbox, reply):

Received: (at 28510) by debbugs.gnu.org; 20 Sep 2022 19:42:48 +0000
From debbugs-submit-bounces@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@debbugs.gnu.org>)
	id 1oaj8q-0000Kf-4g
	for submit@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@jpoiret.xyz>) id 1oaj8l-0000KU-UM
 for 28510@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@jpoiret.xyz>
To: zimoun <zimon.toutoune@gmail.com>, Maxime Devos
 <maximedevos@telenet.be>, Jérémy Korwin-Zmijowski
 <jeremy@korwin-zmijowski.fr>, 28510@debbugs.gnu.org
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
In-Reply-To: <86a66u0xhr.fsf@gmail.com>
References: <idjwp4uvqim.fsf@bimsb-sys02.mdc-berlin.net>
 <d566d759-38d7-849e-d067-35e207359210@korwin-zmijowski.fr>
 <229c1399-ce4b-b942-1bae-deea501f1c48@telenet.be>
 <87k05y2yjc.fsf@jpoiret.xyz> <86a66u0xhr.fsf@gmail.com>
Date: Tue, 20 Sep 2022 21:42:41 +0200
Message-ID: <87h7113k9a.fsf@jpoiret.xyz>
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@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz
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@gmail.com> 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@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@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@gmail.com> 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@gmail.com> 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,
-- 
Josselin Poiret




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 16:42:47 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.