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: Cannot build from git
Date: Wed, 04 Dec 2013 22:26:58 +0100	[thread overview]
Message-ID: <87k3fktihp.fsf@gnu.org> (raw)
In-Reply-To: <20131204175039.GA6808@intra> (John Darrington's message of "Wed, 4 Dec 2013 18:50:40 +0100")

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

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-04 17:50 Cannot build from git John Darrington
2013-12-04 21:26 ` Ludovic Courtès [this message]

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=87k3fktihp.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).