GNU bug report logs - #56016
[BUG] Various confusing error messages.

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: "(" <paren@HIDDEN>; dated Thu, 16 Jun 2022 06:52:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 56016) by debbugs.gnu.org; 16 Jun 2022 14:44:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 16 10:44:02 2022
Received: from localhost ([127.0.0.1]:42792 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o1qj4-00054r-06
	for submit <at> debbugs.gnu.org; Thu, 16 Jun 2022 10:44:02 -0400
Received: from knopi.disroot.org ([178.21.23.139]:48286)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <paren@HIDDEN>) id 1o1qj0-00054S-2C
 for 56016 <at> debbugs.gnu.org; Thu, 16 Jun 2022 10:44:00 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 652A643FE6;
 Thu, 16 Jun 2022 16:43:56 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id UK9iXTUGtU6J; Thu, 16 Jun 2022 16:43:55 +0200 (CEST)
Mime-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1655390630; bh=m1OdFdPkj6l4nQd0kqdR2MFdXiNbVxpX75DEf7D7NHk=;
 h=Date:Subject:From:To:References:In-Reply-To;
 b=hBOKgBZsmjzx3XvreCaNhPotB0VxswlTpqi9LoKPZy1put5rEldcUy07Y0wqZTQ+z
 EGl3/krniaex3lpczRZwvFoFoOIQHNkRpKMRdFbCPpqxk2Yp7E3nU3kpEMm/U/rrix
 DgBs4ysq9gQvIe4TNoSnwHXLynjh21Suhjo75PiHVv+MaX/78hkkD6MIdcAI8LEMGu
 PGxOl5fBW3On8z9UBq7ZS0U7H5A12GT5rGi2iejboUAQ6aSURyc2YgR+Kv1gRYvVQP
 jGv/34J7HCp5Fx7QDxExYr/orkXnaveWDsO1jz0sgfUnyYHIgPOS0bwNMPRYyVDO6V
 PPX+46KCYPhdQ==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
Date: Thu, 16 Jun 2022 15:43:49 +0100
Message-Id: <CKRN04WRWKLD.3P1JZ4AUL9Q2L@guix-aspire>
Subject: Re: bug#56016: [BUG] Various confusing error messages.
From: "(" <paren@HIDDEN>
To: "Josselin Poiret" <dev@HIDDEN>, <56016 <at> debbugs.gnu.org>
References: <CKRCY1KT0JBE.1HXZ1XWBRA6XF@guix-aspire>
 <87ilp099tq.fsf@HIDDEN>
In-Reply-To: <87ilp099tq.fsf@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 56016
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 (-)

On Thu Jun 16, 2022 at 11:33 AM BST, Josselin Poiret wrote:
> For now, [1] should add more context to this error message by printing
> the whole backtrace.

Nice!




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

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


Received: (at 56016) by debbugs.gnu.org; 16 Jun 2022 10:33:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 16 06:33:47 2022
Received: from localhost ([127.0.0.1]:40784 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o1mos-0004IS-IX
	for submit <at> debbugs.gnu.org; Thu, 16 Jun 2022 06:33:47 -0400
Received: from jpoiret.xyz ([206.189.101.64]:38308)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1o1mom-0004ID-SV
 for 56016 <at> debbugs.gnu.org; Thu, 16 Jun 2022 06:33:44 -0400
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id 4575D184F1E;
 Thu, 16 Jun 2022 10:33:38 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1655375618;
 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=0TGmqtlkoJscY97Dg2lZBDkOQvaRUJn30Eoj7yeD468=;
 b=WRZtR7WQvV+aUzqcct3efcaWUQj8uF4lMGWqcVMh/9n6uOOu5o++wxPLT+WWjwcfF2KCJL
 jxjgIoxNvPRlW29QsPNTbhOBG5AANJCQXZGSrmRloakgGCb5nqf6ijqJQko8KLyYg6B/gH
 KPMnoVRSfbnjXUB88jYz+BXshAlWU2rSsFsalW2GDT4J8JgoS/549V66sDII+v595/TiTD
 bgH3UpOcJwOjCK47vMegSHeXY7fO4bBe98g1IUkLydaLYtIrqqTgm+56bt50gJs8ukpRLk
 ZOuTRUf70ZXDoPKTMJHWhemCcxJfuWTjJmq+MeQOrYT8drLxjwrI5y98XLzlcQ==
From: Josselin Poiret <dev@HIDDEN>
To: "(" <paren@HIDDEN>, 56016 <at> debbugs.gnu.org
Subject: Re: bug#56016: [BUG] Various confusing error messages.
In-Reply-To: <CKRCY1KT0JBE.1HXZ1XWBRA6XF@guix-aspire>
References: <CKRCY1KT0JBE.1HXZ1XWBRA6XF@guix-aspire>
Date: Thu, 16 Jun 2022 12:33:37 +0200
Message-ID: <87ilp099tq.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.1 (++)
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:  Hello,
 paren--- via Bug reports for GNU Guix <bug-guix@HIDDEN>
 writes: > ~ Unbound variable while building package cache > > This might
 be a Guile or Guix thing, not sure which. Using the recent > libpng/gu [...]
 Content analysis details:   (2.1 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 1.6 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: jpoiret.xyz (xyz)]
 0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
X-Debbugs-Envelope-To: 56016
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.1 (++)
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:  Hello, paren--- via Bug reports for GNU Guix <bug-guix@HIDDEN>
    writes: > ~ Unbound variable while building package cache > > This might
   be a Guile or Guix thing, not sure which. Using the recent > libpng/gu [...]
    
 
 Content analysis details:   (2.1 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
  1.6 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: jpoiret.xyz (xyz)]
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Hello,

paren--- via Bug reports for GNU Guix <bug-guix@HIDDEN> writes:
> ~ Unbound variable while building package cache
>
> This might be a Guile or Guix thing, not sure which. Using the recent
> libpng/guix-gaming problem as an example:
>
> ---
> Generating package cache for
> '/gnu/store/1mzdd7rf9r34xiibcs1gpjsf7jkh6a0r-profile'...
> (exception unbound-variable (value #f) (value "Unbound variable: ~S")
> (value (libpng-1.2)) (value #f))
> ---

For now, [1] should add more context to this error message by printing
the whole backtrace.

You need the new `guix pull`'d guix first though before you can benefit
from it for future guix pulls (and time-machines) :)

[1] https://issues.guix.gnu.org/55911
    https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55911

Best,
-- 
Josselin Poiret




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

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


Received: (at submit) by debbugs.gnu.org; 16 Jun 2022 06:51:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 16 02:51:12 2022
Received: from localhost ([127.0.0.1]:40551 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o1jLU-0000Ht-4h
	for submit <at> debbugs.gnu.org; Thu, 16 Jun 2022 02:51:12 -0400
Received: from lists.gnu.org ([209.51.188.17]:37456)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <paren@HIDDEN>) id 1o1jLR-0000Hl-Nf
 for submit <at> debbugs.gnu.org; Thu, 16 Jun 2022 02:51:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45534)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <paren@HIDDEN>) id 1o1jLO-0004lr-4y
 for bug-guix@HIDDEN; Thu, 16 Jun 2022 02:51:09 -0400
Received: from knopi.disroot.org ([178.21.23.139]:38348)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <paren@HIDDEN>) id 1o1jLJ-0000sS-3T
 for bug-guix@HIDDEN; Thu, 16 Jun 2022 02:51:05 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 3E08F44180
 for <bug-guix@HIDDEN>; Thu, 16 Jun 2022 08:50:59 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 9Ioi5mtYIXTm for <bug-guix@HIDDEN>;
 Thu, 16 Jun 2022 08:50:58 +0200 (CEST)
Mime-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1655362255; bh=yuFn+vaAftYo8UyM0bny1gWixZjazGFB2NNIox3eXbY=;
 h=Date:To:Subject:From;
 b=KT8kaPpzAQZNd+Xsj+F7FTuTpwB64TwG/7STXylb2mNeJ4lxcIBYtvg13d95mm/vj
 iHy8h08fgweAs9vlBXwvRBlPW0Vl8AHDsBBFHLa31mhqzHhKUmKRP+/6+veYlY+Rjc
 oYjrBUh1ZVMLMlTIfM+aKmX4k1Rv8KDgUaCHUUxhnx8ls1Bxc9u33z5/frxC1NLf3r
 puj+S5oUzSU2DNrz1GrrO/FhdV66cul4PEWrgy0vI+otJDfuYlvdrQMUcHq1cEfz+R
 tQtsPOeZrejGEXMyOOJ2wP99EzaWCX3SL/3Sbv1uG4Gen2Y863/N7y7kPNn0g/HDXH
 emRAtKZMEzaYA==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
Date: Thu, 16 Jun 2022 07:50:54 +0100
Message-Id: <CKRCY1KT0JBE.1HXZ1XWBRA6XF@guix-aspire>
To: <bug-guix@HIDDEN>
Subject: [BUG] Various confusing error messages.
From: "(" <paren@HIDDEN>
Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@HIDDEN;
 helo=knopi.disroot.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
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: -2.4 (--)

This issue aims to document error messages in Guix that need to be
improved. If you get an error message and you have no idea what it's
trying to tell you, please send it here!

~ Unbound variable while building package cache

This might be a Guile or Guix thing, not sure which. Using the recent
libpng/guix-gaming problem as an example:

---
Generating package cache for
'/gnu/store/1mzdd7rf9r34xiibcs1gpjsf7jkh6a0r-profile'...
(exception unbound-variable (value #f) (value "Unbound variable: ~S")
(value (libpng-1.2)) (value #f))
---

This error message doesn't tell you *where* the unbound variable is,
which means people may (and have! <https://issues.guix.gnu.org/56012>)
report this as a Guix issue, not a guix-gaming issue.

This error should perhaps look something like

---
Error: Unbound variable `libpng-1.2' in gaming/packages/whatever.scm
---

~ Network disconnection while downloading things

When the network disconnects during a download, Guix usually either
hangs or says something like "corrupt archive while restoring input from
socket" (I haven't been able to reproduce this, so I don't remember the
exact message).

Guix should probably poll the network and check whether it's down, then
report an error and try to reconnect for perhaps 30 seconds before
giving up.




Acknowledgement sent to "(" <paren@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#56016; 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: Thu, 16 Jun 2022 15:00:02 UTC

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