From unknown Thu Jun 12 08:35:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#36333 <36333@debbugs.gnu.org> To: bug#36333 <36333@debbugs.gnu.org> Subject: Status: Misleading hint for url-fetch Reply-To: bug#36333 <36333@debbugs.gnu.org> Date: Thu, 12 Jun 2025 15:35:32 +0000 retitle 36333 Misleading hint for url-fetch reassign 36333 guix submitter 36333 Tobias Geerinckx-Rice severity 36333 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 22 16:23:28 2019 Received: (at submit) by debbugs.gnu.org; 22 Jun 2019 20:23:28 +0000 Received: from localhost ([127.0.0.1]:52552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hemXn-0003y9-Rm for submit@debbugs.gnu.org; Sat, 22 Jun 2019 16:23:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:36221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hemXl-0003y0-Hh for submit@debbugs.gnu.org; Sat, 22 Jun 2019 16:23:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38740) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hemXk-0002Py-NM for bug-guix@gnu.org; Sat, 22 Jun 2019 16:23:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hemXj-0007Sx-Jd for bug-guix@gnu.org; Sat, 22 Jun 2019 16:23:24 -0400 Received: from tobias.gr ([2001:470:7405::1]:41404) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hemXi-0007Og-VR for bug-guix@gnu.org; Sat, 22 Jun 2019 16:23:23 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 37b3e457 for ; Sat, 22 Jun 2019 20:23:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type; s=2018; i= me@tobias.gr; bh=AiqLcEyGv8uOxI5Gn+nX8yIKhTmpR5wn5iGDdMfCpfY=; b= SlLkgOGx/GgvFIo+cl0juC5IsOoGmZzvD/NKhlzyZlJ/r7vYycIlF+UGae+p0MI3 UzeHXt8OLTG3Il7PhmTcZIZyy5JmNy5WHxsWwnhI0UcCNcTcWa39mDv4d5uaJMEz +TDYDD2yUUTJN9kIbJZygsEpqUupZoXy0ojhj9eC28VZdfO9sBNi2ZkbyYTFSTmC SzVhicRBGFKfwqQBzX/sss+5wcLytvKTSRt3oNM8/nq2/G2AQKmbnzMg40B+1/96 uKImyq70DiIp4fm+iQXpd5SUT5MRScslEBJTWl4qEvH80B71qh43PyYz4Eo6OyS4 NjR4+23TP6Ni9nRCY90Bqw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 5565419d (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sat, 22 Jun 2019 20:23:17 +0000 (UTC) From: Tobias Geerinckx-Rice To: bug-guix@gnu.org Subject: Misleading hint for url-fetch Date: Sat, 22 Jun 2019 22:23:17 +0200 Message-ID: <87zhm9s72i.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:470:7405::1 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; format=flowed 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXQ6ONQAKCRANsP+IT1Vt efOOAQCrvRws/NZNl47TGtaeH4q25N8yEnBMcqH0WZ8mImYF8gEAqTvQHiXCxb24 uPQOneVYV7NZHG2CQJq4SD2i4x/YsA8= =ciSn -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 23 02:18:41 2019 Received: (at 36333) by debbugs.gnu.org; 23 Jun 2019 06:18:41 +0000 Received: from localhost ([127.0.0.1]:52840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hevpp-0002uS-Dx for submit@debbugs.gnu.org; Sun, 23 Jun 2019 02:18:41 -0400 Received: from mail-ed1-f45.google.com ([209.85.208.45]:46371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hevpk-0002uB-1T for 36333@debbugs.gnu.org; Sun, 23 Jun 2019 02:18:39 -0400 Received: by mail-ed1-f45.google.com with SMTP id d4so16306668edr.13 for <36333@debbugs.gnu.org>; Sat, 22 Jun 2019 23:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f/q6zM9BrboOu0oDmSVm9+PXutduEXl1RVkNi4GP6SI=; b=Fbe6Dw0YV5yyP9VLsscnds+De5LJDc+V2A/iehohILnhcJKcXf4F7gV8+REOvmInIB pxsx2R7Nm9QUsaT4W/+/RpHTM8dWMwPmE/h48RkvI+oLc4vG8q+sJg83fu/4+GMr5tN7 JbfjVNrhMvFCxzUblP6D7+JIjdfWRHBzEpYwt18fOiVMwSjBV6Mc/JNKyWZBi3kNNdD8 4X2pvOeXPR83BHYEbVerccjGSedWlyxo6UPUEc8peR0XQ5/R7TbEXnvZtJjyMAFgUkEP WxxddVBjD3ganHUgh6/n5J9mh4MVNuYtjXPRySh08KDuqGgtVQS92Dd8jYCGQS0Hp0V1 7lLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f/q6zM9BrboOu0oDmSVm9+PXutduEXl1RVkNi4GP6SI=; b=mBUY9+1sxhaC/2DF36cgnHMaKPkm2+Cn+UmRbHnJD+DFOYNaHdC7+2IgiyVf8yYmSp W954A0uDIyMIhidzlR8l0CCHEQhOX8DWufxTSvA2Q75D1RTeh2IVwpwljYp0pGdCsiKz J/RPXiuTCkcSYYon/DNf07jS7TDFEwf6jH6rnTFrjNvppcKhYkGYIfiHifDMwHVV3Yvy qGkRe2N2lrm9hyDD9TU6EwiYIToNMckK6d8qNRdP/HLM+DOV6y0YTkjFPH+fZkFQwiBk RFaBVfjoenpbqIGYvtX0kFMScyUYFWv23RkJA48yq0SIrM4lIRTbIi1BGHwxDrQFgZ2R Tklw== X-Gm-Message-State: APjAAAXr8daPmcP0/sSrkYovSY4mjHcdiZgRgwb6H+P93art/NZvG5ep 4IcKZ4psx297lE75FEn1NsviWXc6bsOaUkq81w== X-Google-Smtp-Source: APXvYqwqs0aqlyrgSWcGoLBge/EmAXoZLtzI2mr/KT6G9R4I5S6za+w4+MznrBPSyb6cm8hVS9I4XP9PrlMjFujkrpI= X-Received: by 2002:a50:ac68:: with SMTP id w37mr76592505edc.10.1561270710246; Sat, 22 Jun 2019 23:18:30 -0700 (PDT) MIME-Version: 1.0 References: <87zhm9s72i.fsf@nckx> In-Reply-To: <87zhm9s72i.fsf@nckx> From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Date: Sun, 23 Jun 2019 06:18:18 +0000 Message-ID: Subject: Re: bug#36333: Misleading hint for url-fetch To: Tobias Geerinckx-Rice Content-Type: multipart/alternative; boundary="0000000000001520e0058bf7aa86" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36333 Cc: 36333@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000001520e0058bf7aa86 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Tobias Geerinckx-Rice ezt =C3=ADrta (id=C5=91pont: 2019. j= =C3=BAn. 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 --0000000000001520e0058bf7aa86 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Tobias Geerinckx-Rice <= me@tobias.gr> ezt =C3=ADrta (id=C5= =91pont: 2019. j=C3=BAn. 22., Szo, 20:24):
Guix,

I just encountered the following:

=C2=A0
I've also seen that.
<= br>
=C2=A0 foo.scm:4:2: error: url-fetch: unbound variable
=C2=A0 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_b= or

--0000000000001520e0058bf7aa86-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 24 15:51:53 2019 Received: (at 36333) by debbugs.gnu.org; 24 Jun 2019 19:51:53 +0000 Received: from localhost ([127.0.0.1]:58036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfV0K-0006pL-Rj for submit@debbugs.gnu.org; Mon, 24 Jun 2019 15:51:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfV0I-0006p2-Aw for 36333@debbugs.gnu.org; Mon, 24 Jun 2019 15:51:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfV04-00014s-4E; Mon, 24 Jun 2019 15:51:36 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43708 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfV03-0006An-7t; Mon, 24 Jun 2019 15:51:36 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tobias Geerinckx-Rice Subject: Re: bug#36333: Misleading hint for url-fetch References: <87zhm9s72i.fsf@nckx> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 24 Jun 2019 21:51:33 +0200 In-Reply-To: <87zhm9s72i.fsf@nckx> (Tobias Geerinckx-Rice's message of "Sat, 22 Jun 2019 22:23:17 +0200") Message-ID: <875zou69tm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36333 Cc: 36333@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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.