unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: bug#24544: 2.1.4 tarball install fails on GuixSD
       [not found] <8737knaip1.fsf@gnu.org>
@ 2017-02-22 22:22 ` Andy Wingo
  2017-03-11 11:33   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Wingo @ 2017-02-22 22:22 UTC (permalink / raw)
  To: Jan Nieuwenhuizen; +Cc: guix-devel, 24544-done

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug#24544: 2.1.4 tarball install fails on GuixSD
  2017-02-22 22:22 ` bug#24544: 2.1.4 tarball install fails on GuixSD Andy Wingo
@ 2017-03-11 11:33   ` Ludovic Courtès
  2017-03-12 19:04     ` Andy Wingo
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-03-11 11:33 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guix-devel, 24544-done

Andy Wingo <wingo@pobox.com> skribis:

> On Sun 25 Sep 2016 21:22, Jan Nieuwenhuizen <janneke@gnu.org> 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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug#24544: 2.1.4 tarball install fails on GuixSD
  2017-03-11 11:33   ` Ludovic Courtès
@ 2017-03-12 19:04     ` Andy Wingo
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Wingo @ 2017-03-12 19:04 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel, 24544-done

On Sat 11 Mar 2017 12:33, ludo@gnu.org (Ludovic Courtès) writes:

> Andy Wingo <wingo@pobox.com> skribis:
>
>> On Sun 25 Sep 2016 21:22, Jan Nieuwenhuizen <janneke@gnu.org> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-12 19:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <8737knaip1.fsf@gnu.org>
2017-02-22 22:22 ` bug#24544: 2.1.4 tarball install fails on GuixSD Andy Wingo
2017-03-11 11:33   ` Ludovic Courtès
2017-03-12 19:04     ` Andy Wingo

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).