From: "Foran, Will" <foranw@upmc.edu>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: debian glibc's libX11 depend breaks local profile guix?
Date: Thu, 18 Jul 2024 14:49:27 +0000 [thread overview]
Message-ID: <87frs6ah6x.fsf@upmc.edu> (raw)
In-Reply-To: <87msmfko3f.fsf@gmail.com>
Thanks again for spending time on this!
guile-wrapper.drv matches! When I run build, the only new download not in the cache was glibc-2.35.
Build succeeds but still includes X11 and fails to run. I tried building again after 'guix gc' with the same results.
So I tried to start fresh -- nuked the install! That didn't help either.
For what it's worth, I tried the same install procedure on a debian:stable-slim container with libx11-6 and guile-3.0-dev packages and had no errors!
So the issue is definitely isolated to something weird/broken on my system.
I'd previously claimed I used the guix installer, but this was not the actual state of my install!
The working /usr/bin/guix command was from the debian package, discovered when trying to start fresh.
sudo apt remove guix
sudo env -i -- bash --norc --noprofile --login
cd /tmp
umount /gnu/store
./guix-install.sh --uninstall
GUIX_ALLOW_OVERWRITE=1 ./guix-install.sh
I hit familiar errors near the end of the binary install script.
> Permit downloading pre-built package binaries from the project's build farms? [Y/n]y
/gnu/store/5kj8lyybjrdl7xd0fx9g9vzkz8sklqsy-guix-1.4.0/libexec/guix/guile: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
/gnu/store/5kj8lyybjrdl7xd0fx9g9vzkz8sklqsy-guix-1.4.0/libexec/guix/guile: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
----
after a fresh ./guix-install.sh with now broken guix and guix-daemon
ldd /gnu/store/*3.0.8/bin/guile
/gnu/store/qlmpcy5zi84m6dikq3fnx5dz38qpczlc-guile-3.0.8/bin/guile: /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6: version `GLIBC_2.34' not found (required by /lib/x86_64-linux-gnu/libX11.so.6)
/gnu/store/qlmpcy5zi84m6dikq3fnx5dz38qpczlc-guile-3.0.8/bin/guile: /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6: version `GLIBC_2.36' not found (required by /lib/x86_64-linux-gnu/libstdc++.so.6)
/gnu/store/qlmpcy5zi84m6dikq3fnx5dz38qpczlc-guile-3.0.8/bin/guile: /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6: version `GLIBC_2.34' not found (required by /lib/x86_64-linux-gnu/libstdc++.so.6)
linux-vdso.so.1 (0x00007ffdd17f4000)
/usr/local/lib/AppProtection/libAppProtection.so (0x00007f1021e00000)
libguile-3.0.so.1 => /gnu/store/qlmpcy5zi84m6dikq3fnx5dz38qpczlc-guile-3.0.8/lib/libguile-3.0.so.1 (0x00007f1022085000)
libgc.so.1 => /gnu/store/2lczkxbdbzh4gk7wh91bzrqrk7h5g1dl-libgc-8.0.4/lib/libgc.so.1 (0x00007f1021d90000)
libpthread.so.0 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0 (0x00007f1022063000)
libffi.so.7 => /gnu/store/wgqhlc12qvlwiklam7hz2r311fdcqfim-libffi-3.3/lib/libffi.so.7 (0x00007f1022056000)
libunistring.so.2 => /gnu/store/hkhbq2q1gfs970gsp2nhsmcqb4vmv2xr-libunistring-0.9.10/lib/libunistring.so.2 (0x00007f1021c0d000)
libcrypt.so.1 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libcrypt.so.1 (0x00007f1021bd3000)
libdl.so.2 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libdl.so.2 (0x00007f1022051000)
libm.so.6 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libm.so.6 (0x00007f1021a92000)
libgcc_s.so.1 => /gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib/lib/libgcc_s.so.1 (0x00007f1022035000)
libc.so.6 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6 (0x00007f10218d0000)
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f10221dc000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f102176b000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f1021741000)
libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f102172d000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1021400000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f102202e000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f1021000000)
libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f1021718000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f1021702000)
libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f10216f5000)
----
logs from before removing debian's guix, when I had a working guix-daemon
/usr/bin/guix gc --derivers /gnu/store/ni2dckdc0lcb6b77b6q3qfy2mr60z8c2-guile-wrapper
/usr/bin/guix build /gnu/store/n8rm2vj4hb2x8dakayhz988ggly557zq-guile-wrapper.drv
...
downloading from https://ci.guix.gnu.org/nar/lzip/i2g0is6wjq3ccs6m1l6w9mhf44k4042h-glibc-2.35-static ...
glibc-2.35-static
...
/usr/bin/guix build $drv --check -K
The following derivation will be built:
/gnu/store/n8rm2vj4hb2x8dakayhz988ggly557zq-guile-wrapper.drv
building /gnu/store/n8rm2vj4hb2x8dakayhz988ggly557zq-guile-wrapper.drv...
successfully built /gnu/store/n8rm2vj4hb2x8dakayhz988ggly557zq-guile-wrapper.drv
successfully built /gnu/store/n8rm2vj4hb2x8dakayhz988ggly557zq-guile-wrapper.drv
/gnu/store/ni2dckdc0lcb6b77b6q3qfy2mr60z8c2-guile-wrapper
# non-debian guile still throws libX11 error
---
working guix in containerized debian with potentially offending packages (libx11-6, guile-3.0-dev)
podman run --rm -it debian:bookworm-slim \
bash -c 'apt update && apt install xz-utils gpg wget libx11-6 guile-3.0-dev && \
cd /tmp && wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh && yes | bash guix-install.sh && guix describe && ldd /gnu/store/*guile-3.0.8/bin/guile'
guix 8e2f32c
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 8e2f32cee982d42a79e53fc1e9aa7b8ff0514714
linux-vdso.so.1 (0x0000785ca8e45000)
libguile-3.0.so.1 => /gnu/store/qlmpcy5zi84m6dikq3fnx5dz38qpczlc-guile-3.0.8/lib/libguile-3.0.so.1 (0x0000785ca8cea000)
libgc.so.1 => /gnu/store/2lczkxbdbzh4gk7wh91bzrqrk7h5g1dl-libgc-8.0.4/lib/libgc.so.1 (0x0000785ca8c7a000)
libpthread.so.0 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0 (0x0000785ca8c5a000)
libffi.so.7 => /gnu/store/wgqhlc12qvlwiklam7hz2r311fdcqfim-libffi-3.3/lib/libffi.so.7 (0x0000785ca8c4b000)
libunistring.so.2 => /gnu/store/hkhbq2q1gfs970gsp2nhsmcqb4vmv2xr-libunistring-0.9.10/lib/libunistring.so.2 (0x0000785ca8ac8000)
libcrypt.so.1 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libcrypt.so.1 (0x0000785ca8a8e000)
libdl.so.2 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libdl.so.2 (0x0000785ca8a89000)
libm.so.6 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libm.so.6 (0x0000785ca8948000)
libgcc_s.so.1 => /gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib/lib/libgcc_s.so.1 (0x0000785ca892c000)
libc.so.6 => /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6 (0x0000785ca876a000)
/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000785ca8e47000)
next prev parent reply other threads:[~2024-07-18 14:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-20 19:20 debian glibc's libX11 depend breaks local profile guix? Foran, Will
2024-07-17 17:34 ` Simon Tournier
2024-07-17 19:47 ` Foran, Will
2024-07-17 20:01 ` Simon Tournier
2024-07-17 20:19 ` Foran, Will
2024-07-18 10:10 ` Simon Tournier
2024-07-18 14:49 ` Foran, Will [this message]
2024-07-19 9:54 ` Simon Tournier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87frs6ah6x.fsf@upmc.edu \
--to=foranw@upmc.edu \
--cc=help-guix@gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).