[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#24544: 2.1.4 tarball install fails on GuixSD
From: |
Andy Wingo |
Subject: |
Re: bug#24544: 2.1.4 tarball install fails on GuixSD |
Date: |
Sun, 12 Mar 2017 20:04:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
On Sat 11 Mar 2017 12:33, address@hidden (Ludovic Courtès) writes:
> Andy Wingo <address@hidden> skribis:
>
>> On Sun 25 Sep 2016 21:22, Jan Nieuwenhuizen <address@hidden> writes:
>>
>>> ld-wrapper: error: attempt to use impure library
>>> "/home/janneke/guile-2.1.4/lib/libguile-2.2.so"
>>> collect2: error: ld returned 1 exit status
>>> libtool: error: error: relink 'guile-readline.la' with the above
>>> command before installing it
>>
>> This is because Guix is silly and thinks that even when you are
>> installing to /rando/prefix/that/you/like that it's bad to link to
>> thinks outside /gnu/store.
>>
>> The workaround is to export GUIX_LD_WRAPPER_ALLOW_IMPURITIES=yesplease.
>> (Actually any value.)
>>
>> The real fix is to prevent ld-wrapper from carping for normal installs
>> to non-store prefixen!
>
> Do you mean we should change the default? That is,
> GUIX_LD_WRAPPER_ALLOW_IMPURITIES=yes by default, and gnu-build-system
> would set it to “no”.
I think I didn't know precisely what I meant :) However! That sounds
like a good idea -- the benefits of the check are only intended for Guix
builds, so builds outside Guix should probably not go through that
check.
Andy