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

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 36333 <at> debbugs.gnu.org
Subject: 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 354 days ago.

Previous Next


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