guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clean build from Git HEAD fails


From: John Darrington
Subject: Re: Clean build from Git HEAD fails
Date: Thu, 5 Dec 2013 08:34:23 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

I can confirm, that your patch seems to fix the problem.  Thanks.

J'

On Wed, Dec 04, 2013 at 10:05:17PM +0100, Ludovic Court??s wrote:
     John Darrington <address@hidden> 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?
     

     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

     
     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???.


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]