Subject: Re: bug#49102: guix environment regression
From: Ludovic Courtès <[email-masked]>
To: Mathieu Othacehe <[email-masked]>
Cc: [email-masked]
Date: Tue, 22 Jun 2021 17:59:32 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Mathieu Othacehe <[email-masked]> skribis:

> When using guix@caf4a7a2, I cannot no longer build a functional
> guix-daemon using the following classic commands:
>
> guix environment guix
> ./configure --localstatedir=/var --sysconfdir=/etc
> make -j4
>
> mathieu@elbruz ~/guix [env]$ ldd ./guix-daemon 
> 	linux-vdso.so.1 (0x00007fff52339000)
> 	libz.so.1 => not found
> 	libsqlite3.so.0 => not found

[...]

> The bisection leads to this commit:
> 8cef92d0633850d97c1a1d4521812268f56672be, but it doesn't appear clearly
> to me what could cause the regression.

Fixed in b9a95420abdf4ae7fe9a347031278a44ad6a1cce.

The problem was that the profile was built with inputs in the wrong
order.  Thus, ‘ld’ from Binutils would “win” over ‘ld’ from ld-wrapper,
hence the build failure above.

Thanks for reporting + bisecting!

Ludo’.