GNU bug report logs - #49102
guix environment regression

Previous Next

Package: guix;

Reported by: Mathieu Othacehe <othacehe <at> gnu.org>

Date: Fri, 18 Jun 2021 20:46:02 UTC

Severity: important

Merged with 49121

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49102: closed (guix environment regression)
Date: Tue, 22 Jun 2021 16:00:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 22 Jun 2021 17:59:32 +0200
with message-id <871r8t3n6j.fsf <at> gnu.org>
and subject line Re: bug#49102: guix environment regression
has caused the debbugs.gnu.org bug report #49102,
regarding guix environment regression
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
49102: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49102
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mathieu Othacehe <othacehe <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: guix environment regression
Date: Fri, 18 Jun 2021 22:44:58 +0200
Hello,

When using guix <at> caf4a7a2, I cannot no longer build a functional
guix-daemon using the following classic commands:

--8<---------------cut here---------------start------------->8---
guix environment guix
./configure --localstatedir=/var --sysconfdir=/etc
make -j4
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
mathieu <at> elbruz ~/guix [env]$ ldd ./guix-daemon 
	linux-vdso.so.1 (0x00007fff52339000)
	libz.so.1 => not found
	libsqlite3.so.0 => not found
	libgcrypt.so.20 => not found
	libbz2.so.1.0 => not found
	libstdc++.so.6 => /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib/lib/libstdc++.so.6 (0x00007ff74ee5b000)
	libm.so.6 => /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libm.so.6 (0x00007ff74ed1a000)
	libgcc_s.so.1 => /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib/lib/libgcc_s.so.1 (0x00007ff74ecff000)
	libc.so.6 => /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/libc.so.6 (0x00007ff74eb42000)
	/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib/ld-linux-x86-64.so.2 (0x00007ff74efe8000)
mathieu <at> elbruz ~/guix [env]$ ./pre-inst-env guix-daemon 
guix-daemon: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
--8<---------------cut here---------------end--------------->8---

When rolling back to an older guix <at> f1bfd9f, things work as expected. The
regression probably lies in between those 1084 commits. I'll try to
bisect more precisely later on.

Thanks,

Mathieu


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 49102-done <at> debbugs.gnu.org
Subject: Re: bug#49102: guix environment regression
Date: Tue, 22 Jun 2021 17:59:32 +0200
Hi,

Mathieu Othacehe <othacehe <at> gnu.org> skribis:

> When using guix <at> 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 <at> 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’.


This bug report was last modified 4 years and 29 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.