Hi,

On Wed, 17 Jul 2024 at 20:19, "Foran, Will" <for...@upmc.edu> wrote:

>       "/gnu/store/4aq33jf91kj6qvl7ym5f7mc3hxsqxhw0-guix-a575d0f5d"

[...]

>               "a575d0f5d5322bac977423b6bd2742c8dc5a14a6")

Well, I do not have this item
/gnu/store/4aq33jf91kj6qvl7ym5f7mc3hxsqxhw0-guix-a575d0f5d when I run:

  guix time-machine --commit=a575d0f5d5322bac977423b6bd2742c8dc5a14a6 -- 
describe

      or

   guix pull --commit=a575d0f5d5322bac977423b6bd2742c8dc5a14a6 -p /tmp/foo

But I do not think it comes from that.


>  bash-5.2$ guix describe
>     /gnu/store/ni2dckdc0lcb6b77b6q3qfy2mr60z8c2-guile-wrapper/bin/guile: 
> error while loading shared libraries:
> libX11.so.6: cannot open shared object file: No such file or directory

That’s weird.  For instance, I get:

--8<---------------cut here---------------start------------->8---
$ /gnu/store/ni2dckdc0lcb6b77b6q3qfy2mr60z8c2-guile-wrapper/bin/guile --version
guile (GNU Guile) 3.0.9
Copyright (C) 2023 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
--8<---------------cut here---------------end--------------->8---


>  bash-5.2$ ldd 
> /gnu/store/ni2dckdc0lcb6b77b6q3qfy2mr60z8c2-guile-wrapper/bin/guile|grep 
> libX11.so
>      libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f1e4f17d000)

And no libX11:

--8<---------------cut here---------------start------------->8---
$ ldd /gnu/store/ni2dckdc0lcb6b77b6q3qfy2mr60z8c2-guile-wrapper/bin/guile|grep 
lib
        libguile-3.0.so.1 => 
/gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0.9/lib/libguile-3.0.so.1 
(0x000071acbc702000)
        libgcc_s.so.1 => 
/gnu/store/16zls6rxxma08js8f3rkgmrg99r7qrqr-gcc-11.3.0-lib/lib/libgcc_s.so.1 
(0x000071acbc6e8000)
        libc.so.6 => 
/gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/libc.so.6 
(0x000071acbc4ec000)
        libgc.so.1 => 
/gnu/store/k1ha4n9v8d7myiiszvl2ic7xnb56l219-libgc-8.2.2/lib/libgc.so.1 
(0x000071acbc47d000)
        libffi.so.8 => 
/gnu/store/l0y8jkmip7qpa7x33972mn0dsfy8ac01-libffi-3.4.4/lib/libffi.so.8 
(0x000071acbc46d000)
        libunistring.so.2 => 
/gnu/store/jmhgczf8brflqrq5qir8gw5aq7f16g1i-libunistring-1.0/lib/libunistring.so.2
 (0x000071acbc2c0000)
        libcrypt.so.1 => 
/gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/libcrypt.so.1 
(0x000071acbc286000)
        libm.so.6 => 
/gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/libm.so.6 
(0x000071acbc1a9000)
        
/gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/ld-linux-x86-64.so.2 
=> /lib64/ld-linux-x86-64.so.2 (0x000071acbc849000)
--8<---------------cut here---------------end--------------->8---

Well, could you try

    guix build /gnu/store/ni2dckdc0lcb6b77b6q3qfy2mr60z8c2-guile-wrapper

which should redownload the binary?  Then, could you try

    guix gc --derivers /gnu/store/ni2dckdc0lcb6b77b6q3qfy2mr60z8c2-guile-wrapper

?  I get: /gnu/store/n8rm2vj4hb2x8dakayhz988ggly557zq-guile-wrapper.drv.
I might be different and if it is, we will scrutinize later. :-)

Then, let rebuild this derivation:

--8<---------------cut here---------------start------------->8---
drv=$(guix gc --derivers 
/gnu/store/ni2dckdc0lcb6b77b6q3qfy2mr60z8c2-guile-wrapper)
guix build $drv
guix build $drv --check -K
--8<---------------cut here---------------end--------------->8---

Does it pass?  If yes, do you still liX11 in the picture?


Cheers,
simon

Reply via email to