unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: John Darrington <john@darrington.wattle.id.au>
Cc: guix-devel@gnu.org
Subject: Re: Clean build from Git HEAD fails
Date: Wed, 04 Dec 2013 22:05:17 +0100	[thread overview]
Message-ID: <87r49stjhu.fsf@gnu.org> (raw)
In-Reply-To: <20131203083938.GA7287@jocasta.intra> (John Darrington's message of "Tue, 3 Dec 2013 09:39:38 +0100")

[-- Attachment #1: Type: text/plain, Size: 652 bytes --]

John Darrington <john@darrington.wattle.id.au> 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?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1582 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]


It’s really a kludge, though, but I can’t think of any good fix.
Perhaps we’ll just end up requiring Guile-GnuTLS at some point.

Thanks,
Ludo’.

  reply	other threads:[~2013-12-04 21:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-01  9:04 Clean build from Git HEAD fails John Darrington
2013-12-02 12:56 ` Ludovic Courtès
2013-12-02 13:43   ` John Darrington
2013-12-02 22:22     ` Ludovic Courtès
2013-12-03  8:39       ` John Darrington
2013-12-04 21:05         ` Ludovic Courtès [this message]
2013-12-05  7:34           ` John Darrington
2013-12-05 21:51             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r49stjhu.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=john@darrington.wattle.id.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).