Subject: Re: bug#24544: 2.1.4 tarball install fails on GuixSD
From: Andy Wingo <[email-masked]>
To: Jan Nieuwenhuizen <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 22 Feb 2017 23:22:56 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sun 25 Sep 2016 21:22, Jan Nieuwenhuizen <[email-masked]> 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