From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Adding idle3-tools while unable to run =?utf-8?B?4oCYZ3VpeCBs?= =?utf-8?B?aW504oCZ?= Date: Wed, 17 Feb 2016 11:44:27 +0100 Message-ID: References: <1455594992-25761-1-git-send-email-tobias.geerinckx.rice@gmail.com> <20160216072625.GB32172@thebird.nl> 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]:33775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVzb7-0005VL-3S for guix-devel@gnu.org; Wed, 17 Feb 2016 05:44:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVzb3-0003vk-2p for guix-devel@gnu.org; Wed, 17 Feb 2016 05:44:41 -0500 Received: from sinope.bbbm.mdc-berlin.de ([141.80.25.23]:41087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVzb2-0003vV-NK for guix-devel@gnu.org; Wed, 17 Feb 2016 05:44:37 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Tobias Geerinckx-Rice Cc: guix-devel Tobias Geerinckx-Rice writes: > Hmm, > > On 16 February 2016 at 17:22, Tobias Geerinckx-Rice > 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/guil= e -ds > scripts/guix:#!/nix/store/...-guile-2.0.11/bin/guile --no-auto-compil= e > config.status:S["GUILE_CONFIG"]=3D"/nix/store/...-guile-2.0.11/bin/gu= ile-config" > config.status:S["GUILE"]=3D"/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 {} \; > > =E2=80=98solved=E2=80=99 that. Is this normal? Should't that have been = bootstrapped out? These paths are recorded at configure time. The =E2=80=9C./configure=E2=80= =9D 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=E2=80=99t 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 =E2=80=9Cfind=E2=80=9D and =E2=80=9Csed=E2=80=9D it woul= d have been sufficient to rerun =E2=80=9C./configure=E2=80=9D in a suitable environment containing Guile = and the other dependencies. ~~ Ricardo