Re: bug#24544: 2.1.4 tarball install fails on GuixSD

2017-03-12 Thread Andy Wingo
On Sat 11 Mar 2017 12:33, l...@gnu.org (Ludovic Courtès) writes:

> Andy Wingo  skribis:
>
>> On Sun 25 Sep 2016 21:22, Jan Nieuwenhuizen  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



Re: bug#24544: 2.1.4 tarball install fails on GuixSD

2017-03-11 Thread Ludovic Courtès
Andy Wingo  skribis:

> On Sun 25 Sep 2016 21:22, Jan Nieuwenhuizen  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”.

Ludo’.



Re: bug#24544: 2.1.4 tarball install fails on GuixSD

2017-02-22 Thread Andy Wingo
On Sun 25 Sep 2016 21:22, Jan Nieuwenhuizen  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!

Andy