unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Amirouche Boubekki <amirouche.boubekki@gmail.com>
Cc: 14968@debbugs.gnu.org
Subject: bug#14968: Building guix on top of Ubuntu 13.04
Date: Thu, 15 Aug 2013 13:28:47 +0200	[thread overview]
Message-ID: <87ob8zi45s.fsf@gnu.org> (raw)
In-Reply-To: <CAL7_Mo9h6A-kocKnvZBNe9XPw2BzThxC+q6oWop-fgtEoARUZg@mail.gmail.com> (Amirouche Boubekki's message of "Sat, 27 Jul 2013 16:50:14 +0200")

Hi,

Amirouche Boubekki <amirouche.boubekki@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’.

  parent reply	other threads:[~2013-08-15 11:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-27 14:50 bug#14968: Building guix on top of Ubuntu 13.04 Amirouche Boubekki
2013-07-29  4:44 ` Nikita Karetnikov
2013-07-29  8:31   ` Amirouche Boubekki
2013-08-15 11:28 ` Ludovic Courtès [this message]
2013-08-15 14:11   ` Amirouche Boubekki
2013-08-15 15:53     ` Ludovic Courtès

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=87ob8zi45s.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=14968@debbugs.gnu.org \
    --cc=amirouche.boubekki@gmail.com \
    /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).