unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: maxim.cournoyer@gmail.com
To: Bengt Richter <bokr@bokr.com>
Cc: 42601@debbugs.gnu.org
Subject: bug#42601: Guix install bug: error: Unbound variable: ~S
Date: Mon, 03 Aug 2020 14:39:42 -0400	[thread overview]
Message-ID: <87imdzo9ox.fsf@hurd.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20200731080410.GA3470@LionPure> (Bengt Richter's message of "Fri, 31 Jul 2020 10:04:10 +0200")

Hi,

Bengt Richter <bokr@bokr.com> writes:

> Hi,
>
> On +2020-07-30 00:15:56 +0200, Ricardo Wurmus wrote:
>> 
>> Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl> writes:
>> 
>> > Dnia 2020-07-29, o godz. 22:17:01
>> > Ricardo Wurmus <rekado@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




  reply	other threads:[~2020-08-03 18:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29 16:09 bug#42601: Guix install bug: error: Unbound variable: ~S Jan Wielkiewicz
2020-07-29 16:16 ` Jan Wielkiewicz
2020-07-29 17:00   ` Leo Famulari
2020-07-29 17:18     ` Jan Wielkiewicz
2020-07-29 17:57   ` Ricardo Wurmus
2020-07-29 19:36     ` Jan Wielkiewicz
2020-07-29 19:44     ` Jan Wielkiewicz
2020-07-29 20:17       ` Ricardo Wurmus
2020-07-29 22:12         ` Jan Wielkiewicz
2020-07-29 22:15           ` Ricardo Wurmus
2020-07-29 22:33             ` Leo Famulari
2020-07-31  8:04             ` Bengt Richter
2020-08-03 18:39               ` maxim.cournoyer [this message]
2020-08-05 20:33                 ` Ludovic Courtès
2020-08-05 23:53                   ` Jan Wielkiewicz
2020-08-23 16:24                     ` Ludovic Courtès
2020-08-09 22:25 ` Jan Wielkiewicz
2022-06-11 21:27 ` bug#42601: Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imdzo9ox.fsf@hurd.i-did-not-set--mail-host-address--so-tickle-me \
    --to=maxim.cournoyer@gmail.com \
    --cc=42601@debbugs.gnu.org \
    --cc=bokr@bokr.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).