From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#36333: Misleading hint for url-fetch Date: Mon, 24 Jun 2019 21:51:33 +0200 Message-ID: <875zou69tm.fsf@gnu.org> References: <87zhm9s72i.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53154) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfV0V-0001eq-AZ for bug-guix@gnu.org; Mon, 24 Jun 2019 15:52:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfV0U-0001Xz-Da for bug-guix@gnu.org; Mon, 24 Jun 2019 15:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44492) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hfV0U-0001Xm-9S for bug-guix@gnu.org; Mon, 24 Jun 2019 15:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hfV0U-0006pj-6x for bug-guix@gnu.org; Mon, 24 Jun 2019 15:52:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87zhm9s72i.fsf@nckx> (Tobias Geerinckx-Rice's message of "Sat, 22 Jun 2019 22:23:17 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Tobias Geerinckx-Rice Cc: 36333@debbugs.gnu.org Hello, Tobias Geerinckx-Rice 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 =E2=80=98url-fetch=E2=80= =99, only one makes sense. Should it search further and propose all the possible options? In general there won=E2=80=99t be more than a couple of options. Thanks, Ludo=E2=80=99.