From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Problems with downloading from https Date: Mon, 27 Oct 2014 05:06:58 -0400 Message-ID: <87oasxj2z1.fsf@netris.org> References: <877fzogiq5.fsf@gmail.com> <20141025200250.675.55930@vulcan.local.tld> <87y4s348k1.fsf@gmail.com> <87fveboseq.fsf@gnu.org> <87k33m4ob9.fsf@gmail.com> <87vbn6h7f4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XigGd-0004MS-MT for guix-devel@gnu.org; Mon, 27 Oct 2014 05:07:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XigGX-0000Yn-P1 for guix-devel@gnu.org; Mon, 27 Oct 2014 05:07:11 -0400 In-Reply-To: <87vbn6h7f4.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 26 Oct 2014 22:01:35 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, Alex Kost ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Alex Kost skribis: > >> Ludovic Court=C3=A8s (2014-10-26 16:46 +0300) wrote: >> >>> Alex Kost skribis: >>> >>>> Yes, I installed gnutls, but it didn't work because I didn't set the >>>> right guile paths: =E2=80=9Cguix package --search-paths=E2=80=9D recom= mends >>>> "/usr/local/var/guix/profiles/per-user//guix-profile/share/guile= /site/2.0" >>>> but "gnutls.scm" is actually placed in >>>> "/usr/local/var/guix/profiles/per-user//guix-profile/share/guile= /site" >>>> so =E2=80=98(use-modules (gnutls))=E2=80=99 failed for me. >>> >>> Oh, that=E2=80=99s a bug of the GnuTLS package: we should pass the right >>> configure flag so that modules go to site/2.0. Could you do that? Alex committed this change, and it broke all https downloads in Guix, leading to hydra build failures. For example, see: http://hydra.gnu.org/build/132928/nixlog/1/raw The reason is that guix/download.scm contains this code: --8<---------------cut here---------------start------------->8--- ;; Add GnuTLS to the inputs and to the load path. #~(eval-when (load expand eval) (set! %load-path (cons (string-append #$(gnutls-package) "/share/guile/site") %load-path))) #~#t) --8<---------------cut here---------------end--------------->8--- For now, I think we should revert this commit and discuss it further before proceeding. >> Yes, but I'm a little concerned. Should it really be so? What about >> guile-1.8; isn't it supposed to use gnutls module as well? > > 1.8 has long been deprecated, so let=E2=80=99s not worry about it. I think Alex was right to be concerned. We'll have the same problem when Guile 2.2 comes around, and then again for 2.4. I'm reluctant to hardcode "2.0" into the code above. Think about what it implies for GnuTLS in the future. Will they be expected to install their modules into site/2.0, site/2.2, site/2.4, etc? Do we really want to advocate this practice to projects that install Guile modules? Mark