guix environment regression

  • Done
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Tobias Geerinckx-Rice
  • Mathieu Othacehe
Owner
unassigned
Submitted by
Mathieu Othacehe
Severity
important
Merged with
M
M
Mathieu Othacehe wrote on 18 Jun 2021 22:44
(address . bug-guix@gnu.org)
87o8c2gawl.fsf@gnu.org
Hello,

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

Toggle snippet (5 lines)
guix environment guix
./configure --localstatedir=/var --sysconfdir=/etc
make -j4

Toggle snippet (15 lines)
mathieu@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@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

When rolling back to an older guix@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
M
M
Mathieu Othacehe wrote on 19 Jun 2021 11:44
(address . 49102@debbugs.gnu.org)(name . Ludovic Courtès)(address . ludo@gnu.org)
87y2b6w5m9.fsf@gnu.org
Toggle quote (4 lines)
> When rolling back to an older guix@f1bfd9f, things work as expected. The
> regression probably lies in between those 1084 commits. I'll try to
> bisect more precisely later on.

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

Mathieu
T
T
Tobias Geerinckx-Rice wrote on 20 Jun 2021 10:56
(no subject)
(address . control@debbugs.gnu.org)
871r8wnccj.fsf@nckx
merge 49121 49102
L
L
Ludovic Courtès wrote on 20 Jun 2021 23:22
control message for bug #49102
(address . control@debbugs.gnu.org)
875yy88c40.fsf@gnu.org
severity 49102 important
quit
L
L
Ludovic Courtès wrote on 22 Jun 2021 17:59
Re: bug#49102: guix environment regression
(name . Mathieu Othacehe)(address . othacehe@gnu.org)(address . 49102-done@debbugs.gnu.org)
871r8t3n6j.fsf@gnu.org
Hi,

Mathieu Othacehe <othacehe@gnu.org> skribis:

Toggle quote (12 lines)
> 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

[...]

Toggle quote (4 lines)
> 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’.
Closed
?