GNU bug report logs - #36333
Misleading hint for url-fetch

Previous Next

Package: guix;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Sat, 22 Jun 2019 20:24:02 UTC

Severity: normal

To reply to this bug, email your comments to 36333 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#36333; Package guix. (Sat, 22 Jun 2019 20:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 22 Jun 2019 20:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: bug-guix <at> gnu.org
Subject: Misleading hint for url-fetch
Date: Sat, 22 Jun 2019 22:23:17 +0200
[Message part 1 (text/plain, inline)]
Guix,

I just encountered the following:

 foo.scm:4:2: error: url-fetch: unbound variable
 hint: Did you forget `(use-modules (guix build download))'?

Actually importing that module, instead of (guix download), will 
cause some other very hard-to-debug error that I can't remember 
but coincidentally helped someone fix on #guix the other day.

Now I understand how they got to that bad place.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36333; Package guix. (Sun, 23 Jun 2019 06:19:01 GMT) Full text and rfc822 format available.

Message #8 received at 36333 <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 36333 <at> debbugs.gnu.org
Subject: Re: bug#36333: Misleading hint for url-fetch
Date: Sun, 23 Jun 2019 06:18:18 +0000
[Message part 1 (text/plain, inline)]
Hello,

Tobias Geerinckx-Rice <me <at> tobias.gr> ezt írta (időpont: 2019. jún. 22.,
Szo, 20:24):

> Guix,
>
> I just encountered the following:
>
>
I've also seen that.

  foo.scm:4:2: error: url-fetch: unbound variable
>   hint: Did you forget `(use-modules (guix build download))'?
>
> Actually importing that module, instead of (guix download), will
> cause some other very hard-to-debug error that I can't remember
> but coincidentally helped someone fix on #guix the other day.
>
> Now I understand how they got to that bad place.
>
> Kind regards,
>
> T G-R
>

Best regards,
g_bor
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36333; Package guix. (Mon, 24 Jun 2019 19:52:02 GMT) Full text and rfc822 format available.

Message #11 received at 36333 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 36333 <at> debbugs.gnu.org
Subject: Re: bug#36333: Misleading hint for url-fetch
Date: Mon, 24 Jun 2019 21:51:33 +0200
Hello,

Tobias Geerinckx-Rice <me <at> tobias.gr> skribis:

> I just encountered the following:
>
>  foo.scm:4:2: error: url-fetch: unbound variable
>  hint: Did you forget `(use-modules (guix build download))'?
>
> Actually importing that module, instead of (guix download), will cause
> some other very hard-to-debug error that I can't remember but
> coincidentally helped someone fix on #guix the other day.

Oh, bad hint indeed.

Now, the program cannot determine that of the two ‘url-fetch’, only one
makes sense.

Should it search further and propose all the possible options?  In
general there won’t be more than a couple of options.

Thanks,
Ludo’.




This bug report was last modified 5 years and 353 days ago.

Previous Next


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