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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Tobias Geerinckx-Rice <me@HIDDEN>; dated Sat, 22 Jun 2019 20:24:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 36333 <at> debbugs.gnu.org:


Received: (at 36333) by debbugs.gnu.org; 24 Jun 2019 19:51:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 24 15:51:53 2019
Received: from localhost ([127.0.0.1]:58036 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hfV0K-0006pL-Rj
	for submit <at> 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 <ludo@HIDDEN>) id 1hfV0I-0006p2-Aw
 for 36333 <at> 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 <ludo@HIDDEN>)
 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 <ludo@HIDDEN>)
 id 1hfV03-0006An-7t; Mon, 24 Jun 2019 15:51:36 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Tobias Geerinckx-Rice <me@HIDDEN>
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@HIDDEN>
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 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

Tobias Geerinckx-Rice <me@HIDDEN> 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.




Information forwarded to bug-guix@HIDDEN:
bug#36333; Package guix. Full text available.

Message received at 36333 <at> debbugs.gnu.org:


Received: (at 36333) by debbugs.gnu.org; 23 Jun 2019 06:18:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 23 02:18:41 2019
Received: from localhost ([127.0.0.1]:52840 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hevpp-0002uS-Dx
	for submit <at> 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 <boskovits@HIDDEN>) id 1hevpk-0002uB-1T
 for 36333 <at> 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 <at> 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?= <boskovits@HIDDEN>
Date: Sun, 23 Jun 2019 06:18:18 +0000
Message-ID: <CAE4v=piG4PaEsap7Osr07BKXh51Jo-88ezcLkZ2YM363nt9kNA@HIDDEN>
Subject: Re: bug#36333: Misleading hint for url-fetch
To: Tobias Geerinckx-Rice <me@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000001520e0058bf7aa86"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36333
Cc: 36333 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000001520e0058bf7aa86
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

Tobias Geerinckx-Rice <me@HIDDEN> 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

<div dir=3D"ltr"><div><div dir=3D"ltr">Hello,<br></div><br><div class=3D"gm=
ail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Tobias Geerinckx-Rice &lt;=
<a href=3D"mailto:me@HIDDEN">me@HIDDEN</a>&gt; ezt =C3=ADrta (id=C5=
=91pont: 2019. j=C3=BAn. 22., Szo, 20:24):<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">Guix,<br>
<br>
I just encountered the following:<br>
<br></blockquote><div>=C2=A0</div><div>I&#39;ve also seen that.</div><div><=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex">
=C2=A0 foo.scm:4:2: error: url-fetch: unbound variable<br>
=C2=A0 hint: Did you forget `(use-modules (guix build download))&#39;?<br>
<br>
Actually importing that module, instead of (guix download), will <br>
cause some other very hard-to-debug error that I can&#39;t remember <br>
but coincidentally helped someone fix on #guix the other day.<br>
<br>
Now I understand how they got to that bad place.<br>
<br>
Kind regards,<br>
<br>
T G-R<br>
</blockquote></div><br clear=3D"all"></div><div>Best regards,</div><div>g_b=
or</div><br></div>

--0000000000001520e0058bf7aa86--




Information forwarded to bug-guix@HIDDEN:
bug#36333; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Jun 2019 20:23:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 22 16:23:28 2019
Received: from localhost ([127.0.0.1]:52552 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hemXn-0003y9-Rm
	for submit <at> 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 <me@HIDDEN>) id 1hemXl-0003y0-Hh
 for submit <at> 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 <me@HIDDEN>) id 1hemXk-0002Py-NM
 for bug-guix@HIDDEN; 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 <me@HIDDEN>) id 1hemXj-0007Sx-Jd
 for bug-guix@HIDDEN; 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 <me@HIDDEN>) id 1hemXi-0007Og-VR
 for bug-guix@HIDDEN; Sat, 22 Jun 2019 16:23:23 -0400
Received: by tobias.gr (OpenSMTPD) with ESMTP id 37b3e457
 for <bug-guix@HIDDEN>; 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@HIDDEN; 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 <bug-guix@HIDDEN>;
 Sat, 22 Jun 2019 20:23:17 +0000 (UTC)
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: bug-guix@HIDDEN
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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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-----
--=-=-=--




Acknowledgement sent to Tobias Geerinckx-Rice <me@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#36333; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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