From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: bug#14968: Building guix on top of Ubuntu 13.04 Date: Mon, 29 Jul 2013 08:44:36 +0400 Message-ID: <8761vu7z63.fsf@karetnikov.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3fGd-0003oR-El for bug-guix@gnu.org; Mon, 29 Jul 2013 00:41:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3fGZ-00021b-52 for bug-guix@gnu.org; Mon, 29 Jul 2013 00:41:07 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:60949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3fGZ-00021X-1j for bug-guix@gnu.org; Mon, 29 Jul 2013 00:41:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V3fGY-0001aO-D6 for bug-guix@gnu.org; Mon, 29 Jul 2013 00:41:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Amirouche Boubekki's message of "Sat, 27 Jul 2013 16:50:14 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Amirouche Boubekki Cc: 14968@debbugs.gnu.org --=-=-= > 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" #] 384: 18 [thunk] In srfi/srfi-1.scm: 578: 17 [map # #] In guix/packages.scm: 346: 16 [expand-input # # # ...] 309: 15 [cache # "x86_64-linux" #] 384: 14 [thunk] In srfi/srfi-1.scm: 578: 13 [map # #] In guix/packages.scm: 346: 12 [expand-input # # # ...] 309: 11 [cache # "x86_64-linux" #] 384: 10 [thunk] In srfi/srfi-1.scm: 578: 9 [map # #] 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" #] 396: 5 [thunk] In gnu/packages/bootstrap.scm: 169: 4 [build # "guile-bootstrap-2.0" #f ...] In guix/store.scm: 478: 3 [# # ...] 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@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 [#] 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 [# # ...] 2981: 14 [try-module-autoload (guix derivations) #f] 2320: 13 [save-module-excursion #] 3001: 12 [#] In unknown file: ?: 11 [primitive-load-path "guix/derivations" ...] In guix/derivations.scm: 19: 10 [#] 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 [# # ...] 2981: 5 [try-module-autoload (guix hash) #f] 2320: 4 [save-module-excursion #] 3001: 3 [#] In unknown file: ?: 2 [primitive-load-path "guix/hash" ...] In guix/hash.scm: 48: 1 [#] 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 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJR9fM4AAoJEM+IQzI9IQ38uVAP/1wAXPYOrKtw5Rt8MsRtJgMR giAl/i9GmC7bOgcG7J1LyDh8j6Y8lc8RjWUt9SOvMt2trkvlS3FexFbPI1L2iycj YB7MDz952UW/lw5wo/vPSiaDFjktYitUTwB6UZfDBqBnAjVaiQsEpdV73PPq9tic 8xyfQUktZjgkNUmBUEAmhqQKGF8Wotd38WbbrzzeuoXIQtmFc12LUys5LjlOg4PN YHDvgLx9Oygud7K9Tqb/mQHxxria8mMI2sEAulT0L6CNf5kY7G7CGD0glnU2xNHG D9iiZzugTWM1YwDSMfp8aUSzQ52BYol5ypTxG4392oNGmk8n57ugMklwx8l6GoRh 4Vp+4la4HXhuvc6GmKMkOCc8PwM5sJdCu8AGuJhg1mTsiYimBPF0yecgX57MeKTL uwBt7i4kDGZm2HKsvYFNOIKjwTX0gwrg9hei/4GIKfvjJtnHEcZ65J5VBy+5iGbn 7K7mJWglDrgDSZeNTtOGiGXiGxihPvSPfRRFAFXNmImV99S7RL/PXVNX3DYqR23Q tZHzPXjnKBi4M2eDvph8pjtAbnMTR49yUjM3bgnprNhQ/02e9o53u784rD5dQySh Nf1uBOfnWNnIbOrN9xItk1mBthoEhSSf2Hp0n6JBSWGg/ccrue/znCC9a2yzqvui SxzZ4JLu+x4gryY0gouF =FBCO -----END PGP SIGNATURE----- --=-=-=--