From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Clean build from Git HEAD fails Date: Wed, 04 Dec 2013 22:05:17 +0100 Message-ID: <87r49stjhu.fsf@gnu.org> References: <20131201090410.GA23080@jocasta.intra> <87zjojs97g.fsf@gnu.org> <20131202134352.GA17471@jocasta.intra> <878uw2hp0d.fsf@gnu.org> <20131203083938.GA7287@jocasta.intra> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoJdN-0001af-OD for guix-devel@gnu.org; Wed, 04 Dec 2013 16:05:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoJdH-000726-JW for guix-devel@gnu.org; Wed, 04 Dec 2013 16:05:25 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:63007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoJdH-00071e-Bv for guix-devel@gnu.org; Wed, 04 Dec 2013 16:05:19 -0500 In-Reply-To: <20131203083938.GA7287@jocasta.intra> (John Darrington's message of "Tue, 3 Dec 2013 09:39:38 +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: John Darrington Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain John Darrington skribis: > On Mon, Dec 02, 2013 at 11:22:26PM +0100, Ludovic Court??s wrote: > > > > Backtrace: > > [...] > > > ?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (gnutls)) #f] > > Does it work if you do: > > make clean-go && make guix/build/download.go && make > > > That command completed without error. Yes. Argh, this is annoying. The regression was introduced in 861693f3, which introduces a dependency from (guix download) to (guix build download), which in turn depends on (gnutls). Could you try if this patch helps? --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/Makefile.am b/Makefile.am index 9462878..a99f8c1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,25 +27,16 @@ nodist_noinst_SCRIPTS = \ include gnu-system.am MODULES = \ - guix/scripts/build.scm \ - guix/scripts/download.scm \ - guix/scripts/import.scm \ - guix/scripts/package.scm \ - guix/scripts/gc.scm \ - guix/scripts/hash.scm \ - guix/scripts/pull.scm \ - guix/scripts/substitute-binary.scm \ - guix/scripts/refresh.scm \ guix/base32.scm \ guix/records.scm \ guix/hash.scm \ guix/utils.scm \ + guix/download.scm \ guix/monads.scm \ guix/profiles.scm \ guix/serialization.scm \ guix/nar.scm \ guix/derivations.scm \ - guix/download.scm \ guix/gnu-maintenance.scm \ guix/licenses.scm \ guix/build-system.scm \ @@ -71,12 +62,22 @@ MODULES = \ guix/build/rpath.scm \ guix/packages.scm \ guix/snix.scm \ + guix/scripts/download.scm \ + guix/scripts/build.scm \ + guix/scripts/import.scm \ + guix/scripts/package.scm \ + guix/scripts/gc.scm \ + guix/scripts/hash.scm \ + guix/scripts/pull.scm \ + guix/scripts/substitute-binary.scm \ + guix/scripts/refresh.scm \ guix.scm \ $(GNU_SYSTEM_MODULES) # Because of the autoload hack in (guix build download), we must build it # first to avoid errors on systems where (gnutls) is unavailable. guix/scripts/download.go: guix/build/download.go +guix/download.go: guix/build/download.go GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable It=E2=80=99s really a kludge, though, but I can=E2=80=99t think of any good= fix. Perhaps we=E2=80=99ll just end up requiring Guile-GnuTLS at some point. Thanks, Ludo=E2=80=99. --=-=-=--