all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Adding idle3-tools while unable to run ‘guix lint’
Date: Wed, 17 Feb 2016 11:44:27 +0100	[thread overview]
Message-ID: <idjfuwr62gk.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <CAKFHe2TqcUzx3=N+J21dozTkA92Kx=XHpqSKzVvHvPKmmZ7J1w@mail.gmail.com>


Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> writes:

> Hmm,
>
> On 16 February 2016 at 17:22, Tobias Geerinckx-Rice
> <tobias.geerinckx.rice@gmail.com> wrote:
>>
>> /nix/store/k5m7fb4r3p71mkvaxgqh242aq8kr6h6s-guile-2.0.11/bin/guile:
>> symbol lookup error:
>> /gnu/store/rdi8195mysf340rm54xqjmxpl1qjq1wb-nettle-3.2/lib/libhogweed.so.4:
>> undefined symbol: __gmpz_limbs_read
>>
>> :-/
>
> My guix checkout was littered with hard-coded paths to Nix's Guile:
>
>   nix/scripts/list-runtime-roots:#!/nix/store/...-guile-2.0.11/bin/guile -ds
>   scripts/guix:#!/nix/store/...-guile-2.0.11/bin/guile --no-auto-compile
>   config.status:S["GUILE_CONFIG"]="/nix/store/...-guile-2.0.11/bin/guile-config"
>   config.status:S["GUILE"]="/nix/store/...-guile-2.0.11/bin/guile"
>
> Running
>
>   guix$ find -type f -exec sed
> 's@/nix/store/k5m7fb4r3p71mkvaxgqh242aq8kr6h6s-guile-2.0.11@/gnu/store/b44k6wx7nxn0kh2kchlazgas2ybc576v-guile-2.0.11@g'
> -i {} \;
>
> ‘solved’ that. Is this normal? Should't that have been bootstrapped out?

These paths are recorded at configure time.  The “./configure” script
checks for the full paths of dependencies and substitutes the
placeholders in the sources.

The error at the very top shows that your Guile (which happens to be in
Nix) is broken.  Maybe it is broken because of your environment.  It
doesn’t seem normal for a binary in Nix to load a library in the Guix
store.  (Do you have LD_LIBRARY_PATH set, or something similar that
could mess with where libraries are loaded from?)

Instead of using “find” and “sed” it would have been sufficient to rerun
“./configure” in a suitable environment containing Guile and the other
dependencies.

~~ Ricardo

      reply	other threads:[~2016-02-17 10:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16  3:56 Adding idle3-tools while unable to run ‘guix lint’ Tobias Geerinckx-Rice
2016-02-16  3:56 ` [PATCH] gnu: Add idle3-tools Tobias Geerinckx-Rice
2016-03-04  3:13   ` Tobias Geerinckx-Rice
2016-03-04  3:22     ` Tobias Geerinckx-Rice
2016-03-04  4:33       ` Leo Famulari
2016-03-08  0:47         ` [PATCH v2] " Tobias Geerinckx-Rice
2016-03-16  4:02           ` Tobias Geerinckx-Rice
2016-03-16  6:36             ` Leo Famulari
2016-03-16 21:44               ` Tobias Geerinckx-Rice
2016-02-16  7:26 ` Adding idle3-tools while unable to run ‘guix lint’ Pjotr Prins
2016-02-16 16:22   ` Tobias Geerinckx-Rice
2016-02-16 16:55     ` Tobias Geerinckx-Rice
2016-02-17 10:44       ` Ricardo Wurmus [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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=idjfuwr62gk.fsf@bimsb-sys02.mdc-berlin.net \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@gnu.org \
    --cc=tobias.geerinckx.rice@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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.