GNU bug report logs - #14968
Building guix on top of Ubuntu 13.04

Previous Next

Package: guix;

Reported by: Amirouche Boubekki <amirouche.boubekki <at> gmail.com>

Date: Sat, 27 Jul 2013 19:06:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14968 in the body.
You can then email your comments to 14968 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#14968; Package guix. (Sat, 27 Jul 2013 19:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Amirouche Boubekki <amirouche.boubekki <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 27 Jul 2013 19:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Amirouche Boubekki <amirouche.boubekki <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Building guix on top of Ubuntu 13.04
Date: Sat, 27 Jul 2013 16:50:14 +0200
I tried to install guix on top of Ubuntu, downloaded guix 0.3 and
installed the required dependecies.

I tried to first run guix pull but failed with an error on /nix/store
with wrong rights, the error provided a command to run which I did.
After that I run again guix pull and try to install zile with the
command guix package -i zile

It fails with the following error:

http://paste.call-cc.org/paste?id=6fdc9664ba6f81cfc0e32d168502945e1d6c95f9

I can't install guile 2.0.9 on ubuntu because of some file clash regarding ffi.

Instead I looked in /nix/store and saw that guile 2.0.9 was installed by guix

so I symlinked it in ~/.guix-profile/bin/

replaced the shebang of /usr/local/bin/guix with  /usr/bin/env guile

Running guix package -i zile still fails with the following error:

http://paste.call-cc.org/paste?id=0372e8cc7d7e2849d1b57a2926e0b359b072fa05




Information forwarded to bug-guix <at> gnu.org:
bug#14968; Package guix. (Mon, 29 Jul 2013 04:41:02 GMT) Full text and rfc822 format available.

Message #8 received at 14968 <at> debbugs.gnu.org (full text, mbox):

From: Nikita Karetnikov <nikita <at> karetnikov.org>
To: Amirouche Boubekki <amirouche.boubekki <at> gmail.com>
Cc: 14968 <at> debbugs.gnu.org
Subject: Re: bug#14968: Building guix on top of Ubuntu 13.04
Date: Mon, 29 Jul 2013 08:44:36 +0400
[Message part 1 (text/plain, inline)]
> I tried to install guix on top of Ubuntu, downloaded guix 0.3 and
> installed the required dependecies.

What version of Guile did you use?

> I tried to first run guix pull but failed with an error on /nix/store
> with wrong rights, the error provided a command to run which I did.
> After that I run again guix pull and try to install zile with the
> command guix package -i zile

Could you specify all commands that you used (after you had fetched the
tarball)?  So I could try to reproduce the problem.

> It fails with the following error:

> http://paste.call-cc.org/paste?id=6fdc9664ba6f81cfc0e32d168502945e1d6c95f9

Please attach logs in the future.  We shouldn't rely on third party
services.

Backtrace:
In guix/packages.scm:
 309: 19 [cache # "x86_64-linux" #<procedure thunk ()>]
 384: 18 [thunk]
In srfi/srfi-1.scm:
 578: 17 [map #<procedure 2701b40 at guix/packages.scm:385:39 (t-215469)> #]
In guix/packages.scm:
 346: 16 [expand-input # # # ...]
 309: 15 [cache # "x86_64-linux" #<procedure thunk ()>]
 384: 14 [thunk]
In srfi/srfi-1.scm:
 578: 13 [map #<procedure 274c000 at guix/packages.scm:385:39 (t-215469)> #]
In guix/packages.scm:
 346: 12 [expand-input # # # ...]
 309: 11 [cache # "x86_64-linux" #<procedure thunk ()>]
 384: 10 [thunk]
In srfi/srfi-1.scm:
 578: 9 [map #<procedure 2762690 at guix/packages.scm:385:39 (t-215469)> #]
In guix/packages.scm:
 361: 8 [expand-input # # # ...]
In guix/download.scm:
 189: 7 [url-fetch # "mirror://gnu/gmp/gmp-5.1.2.tar.xz" sha256 ...]
In guix/packages.scm:
 309: 6 [cache # "x86_64-linux" #<procedure thunk ()>]
 396: 5 [thunk]
In gnu/packages/bootstrap.scm:
 169: 4 [build # "guile-bootstrap-2.0" #f ...]
In guix/store.scm:
 478: 3 [#<procedure 2228440 at guix/store.scm:468:4 (server basename recursive? hash-algo file-name)> # ...]
 461: 2 [add-to-store # "tar" #t ...]
In guix/nar.scm:
 148: 1 [dump "/home/amirouche/.config/guix/latest/gnu/packages/bootstrap/x86_64-linux/tar"]
  79: 0 [write-contents "/home/amirouche/.config/guix/latest/gnu/packages/bootstrap/x86_64-linux/tar" ...]

guix/nar.scm:79:8: In procedure write-contents:
guix/nar.scm:79:8: In procedure module-lookup: Unbound variable: sendfile

> I can't install guile 2.0.9 on ubuntu because of some file clash
> regarding ffi.

Please send a message to bug-guile <at> gnu.org if you can't find anything
here [1].

> Instead I looked in /nix/store and saw that guile 2.0.9 was installed by guix

> so I symlinked it in ~/.guix-profile/bin/

> replaced the shebang of /usr/local/bin/guix with  /usr/bin/env guile

I think that the above might cause some problems.  Normally, you don't
have to touch the store (i.e., '/nix/store') at all.  Could you specify
the absolute location of that Guile 2.0.9 directory?

> Running guix package -i zile still fails with the following error:

> http://paste.call-cc.org/paste?id=0372e8cc7d7e2849d1b57a2926e0b359b072fa05

;;; note: source file /usr/local/bin/guix
;;;       newer than compiled /home/amirouche/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/bin/guix.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/local/bin/guix
;;; compiled /home/amirouche/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/bin/guix.go
Backtrace:
In guix/packages.scm:
  19: 19 [#<procedure 1125940 ()>]
In ice-9/boot-9.scm:
2870: 18 [define-module* (guix packages) #:filename ...]
2845: 17 [resolve-imports (((guix utils)) ((guix records)) ((guix store)) ...)]
2783: 16 [resolve-interface (guix derivations) #:select ...]
2708: 15 [#<procedure 99f2e0 at ice-9/boot-9.scm:2696:4 (name #:optional autoload version #:key ensure)> # ...]
2981: 14 [try-module-autoload (guix derivations) #f]
2320: 13 [save-module-excursion #<procedure 11365d0 at ice-9/boot-9.scm:2982:17 ()>]
3001: 12 [#<procedure 11365d0 at ice-9/boot-9.scm:2982:17 ()>]
In unknown file:
   ?: 11 [primitive-load-path "guix/derivations" ...]
In guix/derivations.scm:
  19: 10 [#<procedure 11815a0 ()>]
In ice-9/boot-9.scm:
2870: 9 [define-module* (guix derivations) #:filename ...]
2845: 8 [resolve-imports (((srfi srfi-1)) ((srfi srfi-9)) ((srfi srfi-26)) ...)]
2783: 7 [resolve-interface (guix hash) #:select ...]
2708: 6 [#<procedure 99f2e0 at ice-9/boot-9.scm:2696:4 (name #:optional autoload version #:key ensure)> # ...]
2981: 5 [try-module-autoload (guix hash) #f]
2320: 4 [save-module-excursion #<procedure 1186b70 at ice-9/boot-9.scm:2982:17 ()>]
3001: 3 [#<procedure 1186b70 at ice-9/boot-9.scm:2982:17 ()>]
In unknown file:
   ?: 2 [primitive-load-path "guix/hash" ...]
In guix/hash.scm:
  48: 1 [#<procedure 1187620 ()>]
In unknown file:
   ?: 0 [dynamic-link "libgcrypt"]

ERROR: In procedure dynamic-link:
ERROR: In procedure dynamic-link: file: "libgcrypt", message: "file not found"

Could you also try to install Guix from Git [2] and report any problems?

Finally, I hope that you'll switch to a free distro [3] instead of
Ubuntu that contains non-free [4] packages.

[1] https://lists.gnu.org/archive/html/bug-guile/
[2] http://git.savannah.gnu.org/cgit/guix.git/tree/HACKING#n13
[3] https://www.gnu.org/distros/free-distros.html
[4] https://www.gnu.org/philosophy/free-sw
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#14968; Package guix. (Mon, 29 Jul 2013 08:33:01 GMT) Full text and rfc822 format available.

Message #11 received at 14968 <at> debbugs.gnu.org (full text, mbox):

From: Amirouche Boubekki <amirouche.boubekki <at> gmail.com>
To: Nikita Karetnikov <nikita <at> karetnikov.org>
Cc: 14968 <at> debbugs.gnu.org
Subject: Re: bug#14968: Building guix on top of Ubuntu 13.04
Date: Mon, 29 Jul 2013 10:31:43 +0200
> Finally, I hope that you'll switch to a free distro [3] instead of
> Ubuntu that contains non-free [4] packages.


I switched to Debian, So I can (re)produce the steps from above.




Information forwarded to bug-guix <at> gnu.org:
bug#14968; Package guix. (Thu, 15 Aug 2013 11:29:01 GMT) Full text and rfc822 format available.

Message #14 received at 14968 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Amirouche Boubekki <amirouche.boubekki <at> gmail.com>
Cc: 14968 <at> debbugs.gnu.org
Subject: Re: bug#14968: Building guix on top of Ubuntu 13.04
Date: Thu, 15 Aug 2013 13:28:47 +0200
Hi,

Amirouche Boubekki <amirouche.boubekki <at> gmail.com> skribis:

> I tried to first run guix pull but failed with an error on /nix/store
> with wrong rights, the error provided a command to run which I did.
> After that I run again guix pull and try to install zile with the
> command guix package -i zile
>
> It fails with the following error:
>
> http://paste.call-cc.org/paste?id=6fdc9664ba6f81cfc0e32d168502945e1d6c95f9

That is:

> guix/nar.scm:79:8: In procedure write-contents:
> guix/nar.scm:79:8: In procedure module-lookup: Unbound variable: sendfile

> I can't install guile 2.0.9 on ubuntu because of some file clash regarding ffi.
>
> Instead I looked in /nix/store and saw that guile 2.0.9 was installed by guix
>
> so I symlinked it in ~/.guix-profile/bin/

Don’t ever do that: this directory is managed via the ‘guix package’
command exclusively.

> http://paste.call-cc.org/paste?id=0372e8cc7d7e2849d1b57a2926e0b359b072fa05

This one is:

> ERROR: In procedure dynamic-link:
> ERROR: In procedure dynamic-link: file: "libgcrypt", message: "file not found"

I believe your distro comes with Guile 2.0.5, right?

It’s OK to build Guix 0.3 with this Guile version, and it should work.

What’s not OK is to build it with that version, and then silently switch
to 2.0.9, or vice-versa (for instance because nar.scm checks at
compile-time if the ‘sendfile’ procedure is available, and 2.0.9 has it
whereas 2.0.5 doesn’t.)

So, what I would recommend is to start afresh with Guile 2.0.5:
configure, build, and install Guix (and run ‘make check’.)

From there, you can run ‘guix package -i guile’ to install 2.0.9 in your
profile.  And then, you can re-build Guix with 2.0.9, and run ‘guix pull’.

Can you try that and report back?

HTH,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#14968; Package guix. (Thu, 15 Aug 2013 14:12:01 GMT) Full text and rfc822 format available.

Message #17 received at 14968 <at> debbugs.gnu.org (full text, mbox):

From: Amirouche Boubekki <amirouche.boubekki <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 14968 <at> debbugs.gnu.org
Subject: Re: bug#14968: Building guix on top of Ubuntu 13.04
Date: Thu, 15 Aug 2013 16:11:11 +0200
[Message part 1 (text/plain, inline)]
>
> Can you try that and report back?
>

Sorry, I can't, I moved to debian sid and everything seems to work as
expected. I hope it will be useful for some else.

Amirouche
[Message part 2 (text/html, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Thu, 15 Aug 2013 15:54:02 GMT) Full text and rfc822 format available.

Notification sent to Amirouche Boubekki <amirouche.boubekki <at> gmail.com>:
bug acknowledged by developer. (Thu, 15 Aug 2013 15:54:03 GMT) Full text and rfc822 format available.

Message #22 received at 14968-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Amirouche Boubekki <amirouche.boubekki <at> gmail.com>
Cc: 14968-done <at> debbugs.gnu.org
Subject: Re: bug#14968: Building guix on top of Ubuntu 13.04
Date: Thu, 15 Aug 2013 17:53:27 +0200
Amirouche Boubekki <amirouche.boubekki <at> gmail.com> skribis:

>>
>> Can you try that and report back?
>>
>
> Sorry, I can't, I moved to debian sid and everything seems to work as
> expected.

Even better.  :-)

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Sep 2013 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.