all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cannot build from git
@ 2013-12-04 17:50 John Darrington
  2013-12-04 21:26 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: John Darrington @ 2013-12-04 17:50 UTC (permalink / raw)
  To: guix-devel

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

From Git HEAD, I get the error:

/bin/mkdir -p `dirname "gnu/packages/guile.go"` ;                       \
        LC_ALL=C                                                        \
        ./pre-inst-env                                  \
        /usr/bin/guild compile -L "." -L "/home/john/guix"      \
          -Wformat -Wunbound-variable -Warity-mismatch                  \
          --target="i686-pc-linux-gnu"                                          \
          -o "gnu/packages/guile.go" "/home/john/guix/gnu/packages/guile.scm"
Backtrace:
In gnu/packages/avahi.scm:
  19: 19 [#<procedure 8e24eb0 ()>]
In ice-9/boot-9.scm:
2667: 18 [define-module* (gnu packages avahi) #:filename ...]
2642: 17 [resolve-imports ((# # #) (#) (#) (#) ...)]
2580: 16 [resolve-interface (gnu packages glib) #:select ...]
2505: 15 [#<procedure 86cecf0 at ice-9/boot-9.scm:2493:4 (name #:optional autoload version #:key ensure)> # ...]
2772: 14 [try-module-autoload (gnu packages glib) #f]
2111: 13 [save-module-excursion #<procedure 8dd1618 at ice-9/boot-9.scm:2773:17 ()>]
2783: 12 [#<procedure 8dd1618 at ice-9/boot-9.scm:2773:17 ()>]
In unknown file:
   ?: 11 [primitive-load-path "gnu/packages/glib" #f]
In gnu/packages/glib.scm:
  21: 10 [#<procedure 8e2bad0 ()>]
In ice-9/boot-9.scm:
2667: 9 [define-module* (gnu packages glib) #:filename ...]
2642: 8 [resolve-imports (# # # # ...)]
2580: 7 [resolve-interface (gnu packages base) #:select ...]
2505: 6 [#<procedure 86cecf0 at ice-9/boot-9.scm:2493:4 (name #:optional autoload version #:key ensure)> # ...]
2772: 5 [try-module-autoload (gnu packages base) #f]
2111: 4 [save-module-excursion #<procedure 8dd1498 at ice-9/boot-9.scm:2773:17 ()>]
2783: 3 [#<procedure 8dd1498 at ice-9/boot-9.scm:2773:17 ()>]
In unknown file:
   ?: 2 [primitive-load-path "gnu/packages/base" #f]
In gnu/packages/base.scm:
1042: 1 [#<procedure 8e41280 ()>]
In ice-9/boot-9.scm:
 106: 0 [#<procedure 878b440 at ice-9/boot-9.scm:97:6 (thrown-k . args)> misc-error ...]

ice-9/boot-9.scm:106:20: In procedure #<procedure 878b440 at ice-9/boot-9.scm:97:6 (thrown-k . args)>:
ice-9/boot-9.scm:106:20: In procedure #<procedure 8e41280 ()>: Unbound variable: guile-2.0/fixed
make[2]: *** [gnu/packages/guile.go] Error 1
make[2]: Target `all-am' not remade because of errors.
make[2]: Leaving directory `/Scratch/john/guix-dev'


Git bisect revealed that the bad change was this one:


commit 595801e2f4736a7fc08484716adf3bc49432bfa9
Author: Ludovic Court<C3><A8>s <ludo@gnu.org>
Date:   Wed Dec 4 00:30:08 2013 +0100

    gnu: Add Guile-SSH.
    
    * gnu/packages/guile.scm (guile-ssh): New variable.



Reverting that change allows me to build again.

J'

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


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cannot build from git
  2013-12-04 17:50 Cannot build from git John Darrington
@ 2013-12-04 21:26 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2013-12-04 21:26 UTC (permalink / raw)
  To: John Darrington; +Cc: guix-devel

John Darrington <john@darrington.wattle.id.au> skribis:

> /bin/mkdir -p `dirname "gnu/packages/guile.go"` ;                       \
>         LC_ALL=C                                                        \
>         ./pre-inst-env                                  \
>         /usr/bin/guild compile -L "." -L "/home/john/guix"      \
>           -Wformat -Wunbound-variable -Warity-mismatch                  \
>           --target="i686-pc-linux-gnu"                                          \
>           -o "gnu/packages/guile.go" "/home/john/guix/gnu/packages/guile.scm"
> Backtrace:
> In gnu/packages/avahi.scm:
>   19: 19 [#<procedure 8e24eb0 ()>]
> In ice-9/boot-9.scm:
> 2667: 18 [define-module* (gnu packages avahi) #:filename ...]
> 2642: 17 [resolve-imports ((# # #) (#) (#) (#) ...)]
> 2580: 16 [resolve-interface (gnu packages glib) #:select ...]
> 2505: 15 [#<procedure 86cecf0 at ice-9/boot-9.scm:2493:4 (name #:optional autoload version #:key ensure)> # ...]
> 2772: 14 [try-module-autoload (gnu packages glib) #f]
> 2111: 13 [save-module-excursion #<procedure 8dd1618 at ice-9/boot-9.scm:2773:17 ()>]
> 2783: 12 [#<procedure 8dd1618 at ice-9/boot-9.scm:2773:17 ()>]
> In unknown file:
>    ?: 11 [primitive-load-path "gnu/packages/glib" #f]
> In gnu/packages/glib.scm:
>   21: 10 [#<procedure 8e2bad0 ()>]
> In ice-9/boot-9.scm:
> 2667: 9 [define-module* (gnu packages glib) #:filename ...]
> 2642: 8 [resolve-imports (# # # # ...)]
> 2580: 7 [resolve-interface (gnu packages base) #:select ...]
> 2505: 6 [#<procedure 86cecf0 at ice-9/boot-9.scm:2493:4 (name #:optional autoload version #:key ensure)> # ...]
> 2772: 5 [try-module-autoload (gnu packages base) #f]
> 2111: 4 [save-module-excursion #<procedure 8dd1498 at ice-9/boot-9.scm:2773:17 ()>]
> 2783: 3 [#<procedure 8dd1498 at ice-9/boot-9.scm:2773:17 ()>]
> In unknown file:
>    ?: 2 [primitive-load-path "gnu/packages/base" #f]
> In gnu/packages/base.scm:
> 1042: 1 [#<procedure 8e41280 ()>]
> In ice-9/boot-9.scm:
>  106: 0 [#<procedure 878b440 at ice-9/boot-9.scm:97:6 (thrown-k . args)> misc-error ...]
>
> ice-9/boot-9.scm:106:20: In procedure #<procedure 878b440 at ice-9/boot-9.scm:97:6 (thrown-k . args)>:
> ice-9/boot-9.scm:106:20: In procedure #<procedure 8e41280 ()>: Unbound variable: guile-2.0/fixed
> make[2]: *** [gnu/packages/guile.go] Error 1
> make[2]: Target `all-am' not remade because of errors.
> make[2]: Leaving directory `/Scratch/john/guix-dev'
>
>
> Git bisect revealed that the bad change was this one:
>
>
> commit 595801e2f4736a7fc08484716adf3bc49432bfa9
> Author: Ludovic Court<C3><A8>s <ludo@gnu.org>
> Date:   Wed Dec 4 00:30:08 2013 +0100
>
>     gnu: Add Guile-SSH.
>     
>     * gnu/packages/guile.scm (guile-ssh): New variable.
>
>
>
> Reverting that change allows me to build again.

This is a circular dependency + autoload issue that affects Guile
<= 2.0.9, because of <http://bugs.gnu.org/12202>.

Commit 49d294e sidesteps the issue by moving ‘guile-ssh’ to ssh.scm.

Can you confirm that it works for you?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-04 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-04 17:50 Cannot build from git John Darrington
2013-12-04 21:26 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.