From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#14968: Building guix on top of Ubuntu 13.04 Date: Thu, 15 Aug 2013 13:28:47 +0200 Message-ID: <87ob8zi45s.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9vjr-0003WF-Jr for bug-guix@gnu.org; Thu, 15 Aug 2013 07:29:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9vjl-0007ZM-TC for bug-guix@gnu.org; Thu, 15 Aug 2013 07:29:11 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:37373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9vjl-0007ZG-Q0 for bug-guix@gnu.org; Thu, 15 Aug 2013 07:29:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V9vjh-0006El-PD for bug-guix@gnu.org; Thu, 15 Aug 2013 07:29:04 -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 Hi, Amirouche Boubekki 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=3D6fdc9664ba6f81cfc0e32d168502945e1d6c9= 5f9 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 regardin= g 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=E2=80=99t ever do that: this directory is managed via the =E2=80=98guix= package=E2=80=99 command exclusively. > http://paste.call-cc.org/paste?id=3D0372e8cc7d7e2849d1b57a2926e0b359b072f= a05 This one is: > ERROR: In procedure dynamic-link: > ERROR: In procedure dynamic-link: file: "libgcrypt", message: "file not f= ound" I believe your distro comes with Guile 2.0.5, right? It=E2=80=99s OK to build Guix 0.3 with this Guile version, and it should wo= rk. What=E2=80=99s not OK is to build it with that version, and then silently s= witch to 2.0.9, or vice-versa (for instance because nar.scm checks at compile-time if the =E2=80=98sendfile=E2=80=99 procedure is available, and = 2.0.9 has it whereas 2.0.5 doesn=E2=80=99t.) So, what I would recommend is to start afresh with Guile 2.0.5: configure, build, and install Guix (and run =E2=80=98make check=E2=80=99.) >From there, you can run =E2=80=98guix package -i guile=E2=80=99 to install = 2.0.9 in your profile. And then, you can re-build Guix with 2.0.9, and run =E2=80=98guix= pull=E2=80=99. Can you try that and report back? HTH, Ludo=E2=80=99.