GNU bug report logs - #42601
Guix install bug: error: Unbound variable: ~S

Previous Next

Package: guix;

Reported by: Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>

Date: Wed, 29 Jul 2020 16:11:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: maxim.cournoyer <at> gmail.com
To: Bengt Richter <bokr <at> bokr.com>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 42601 <at> debbugs.gnu.org, Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>
Subject: bug#42601: Guix install bug: error: Unbound variable: ~S
Date: Mon, 03 Aug 2020 14:39:42 -0400
Hi,

Bengt Richter <bokr <at> bokr.com> writes:

> Hi,
>
> On +2020-07-30 00:15:56 +0200, Ricardo Wurmus wrote:
>> 
>> Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl> writes:
>> 
>> > Dnia 2020-07-29, o godz. 22:17:01
>> > Ricardo Wurmus <rekado <at> elephly.net> napisał(a):
>> >
>> >> 
>> >> “avr-toolchain” is a procedure, not a package.  Use
>> >> “avr-toolchain-4.9” or “avr-toolchain-5”.
>> >> 
>> >
>> > Success!
>> >
>> > What about the strange message though?
>> > "incorrect package definition" would be better.
>> 
>> “Unbound variable: ~S” looks like a format string with a placeholder
>> that didn’t get replaced with an actual value.  It would be marginally
>> better if it said “Unbound variable: avr-toolchain”.
>
> I suspect there are also bugs lurking in the exception-reporting chain between
> a (throw 'exception args ...) and the ultimate format statement that produces
> a message with "~S" in it. Perhaps one got fixed or avoided in the upgrade?

That would be my hunch too!  I had reported and tried to fix such problems
here: http://issues.guix.gnu.org/41956.  Still unresolved, it requires
more effort to be fixed properly (writing tests mostly).

Maxim




This bug report was last modified 3 years and 2 days ago.

Previous Next


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