unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72990: Core packages updated broke Guix
@ 2024-09-02 21:43 Edison Ibáñez
  2024-09-02 22:23 ` Nicolas Graves
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Edison Ibáñez @ 2024-09-02 21:43 UTC (permalink / raw)
  To: 72990

With the last update of core packages they broke guix and it can no
longer be used, every time I run it I get the following error:

/gnu/store/s4pajb5dkar0ig5z572nxkp04sizhp7q-guile-wrapper/bin/guile:
/home/arkhan/.guix-profile/lib/libcrypt.so.1: version `XCRYPT_2.0' not
found (required by
/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-3.0.9/lib/libguile-3.0.so.1)
/gnu/store/s4pajb5dkar0ig5z572nxkp04sizhp7q-guile-wrapper/bin/guile:
/home/arkhan/.guix-profile/lib/libm.so.6: version `GLIBC_2.38' not found
(required by
/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-3.0.9/lib/libguile-3.0.so.1)
/gnu/store/s4pajb5dkar0ig5z572nxkp04sizhp7q-guile-wrapper/bin/guile:
/home/arkhan/.guix-profile/lib/libc.so.6: version `GLIBC_2.38' not found
(required by
/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-3.0.9/lib/libguile-3.0.so.1)
/gnu/store/s4pajb5dkar0ig5z572nxkp04sizhp7q-guile-wrapper/bin/guile:
/home/arkhan/.guix-profile/lib/libc.so.6: version `GLIBC_2.38' not found
(required by
/gnu/store/pr73chdirm3jc2j7npc6hqzmcwjs7l8m-libgc-8.2.4/lib/libgc.so.1)

with guix pull --roll-back you can return to using plaster, but with
plaster pull it breaks again.

Thanks





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#72990: Core packages updated broke Guix
  2024-09-02 21:43 bug#72990: Core packages updated broke Guix Edison Ibáñez
@ 2024-09-02 22:23 ` Nicolas Graves
  2024-09-03 11:57 ` Ludovic Courtès
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Nicolas Graves @ 2024-09-02 22:23 UTC (permalink / raw)
  To: 72990


Hi Edison,

I've had the same issue on my side, turns out you'd better rebuild
system, home and reboot after the pull that includes core-updates. You
should be good to go after that.

-- 
Best regards,
Nicolas Graves




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#72990: Core packages updated broke Guix
  2024-09-02 21:43 bug#72990: Core packages updated broke Guix Edison Ibáñez
  2024-09-02 22:23 ` Nicolas Graves
@ 2024-09-03 11:57 ` Ludovic Courtès
  2024-09-03 12:05   ` Edison Ibáñez
  2024-09-03 20:24 ` bug#72990: unset LD_LIBRARY_PATH confirmed as good workaround Dan Hatton via Bug reports for GNU Guix
  2024-09-04 12:14 ` bug#72990: Core packages updated broke Guix Edison Ibáñez
  3 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2024-09-03 11:57 UTC (permalink / raw)
  To: Edison Ibáñez; +Cc: 72990

Hi Edison,

Edison Ibáñez <arkhan@riseup.net> skribis:

> With the last update of core packages they broke guix and it can no
> longer be used, every time I run it I get the following error:
>
> /gnu/store/s4pajb5dkar0ig5z572nxkp04sizhp7q-guile-wrapper/bin/guile:
> /home/arkhan/.guix-profile/lib/libcrypt.so.1: version `XCRYPT_2.0' not
> found (required by
> /gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-3.0.9/lib/libguile-3.0.so.1)

Could it be that the ‘LD_LIBRARY_PATH’ environment variable is set?

What happens if you do:

  unset LD_LIBRARY_PATH; guix build hello

?

Ludo’.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#72990: Core packages updated broke Guix
  2024-09-03 11:57 ` Ludovic Courtès
@ 2024-09-03 12:05   ` Edison Ibáñez
  2024-09-04 12:02     ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Edison Ibáñez @ 2024-09-03 12:05 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 72990

El 2024-09-03 06:57, Ludovic Courtès escribió:
> Hi Edison,
> 
> Edison Ibáñez <arkhan@riseup.net> skribis:
> 
>> With the last update of core packages they broke guix and it can no
>> longer be used, every time I run it I get the following error:
>>
>> /gnu/store/s4pajb5dkar0ig5z572nxkp04sizhp7q-guile-wrapper/bin/guile:
>> /home/arkhan/.guix-profile/lib/libcrypt.so.1: version `XCRYPT_2.0' not
>> found (required by
>> /gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-3.0.9/lib/libguile-3.0.so.1)
> 
> Could it be that the ‘LD_LIBRARY_PATH’ environment variable is set?
> 
> What happens if you do:
> 
>   unset LD_LIBRARY_PATH; guix build hello
> 
> ?
> 
> Ludo’.

Currently this is the value I have in this environment variable:

EnvPath(
['/home/arkhan/.guix-profile/lib']
)




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#72990: unset LD_LIBRARY_PATH confirmed as good workaround
  2024-09-02 21:43 bug#72990: Core packages updated broke Guix Edison Ibáñez
  2024-09-02 22:23 ` Nicolas Graves
  2024-09-03 11:57 ` Ludovic Courtès
@ 2024-09-03 20:24 ` Dan Hatton via Bug reports for GNU Guix
  2024-09-04 12:14 ` bug#72990: Core packages updated broke Guix Edison Ibáñez
  3 siblings, 0 replies; 9+ messages in thread
From: Dan Hatton via Bug reports for GNU Guix @ 2024-09-03 20:24 UTC (permalink / raw)
  To: 72990

[-- Attachment #1: message.txt --]
[-- Type: text/plain, Size: 524 bytes --]


Running a few guix-managed applications on top of a generally Ubuntu
system here.  As of today, am getting the same error message as
Edison, both when trying to run guix pull and when trying to run
individual applications.  Can confirm that following Ludo's suggestion
"unset LD_LIBRARY_PATH" makes the problem go away, but only for things
launched from the same terminal where I ran the unset command.
(Suspect that trying to unset the environment variable more globally
would bork the underlying Ubuntu system.)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#72990: Core packages updated broke Guix
  2024-09-03 12:05   ` Edison Ibáñez
@ 2024-09-04 12:02     ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2024-09-04 12:02 UTC (permalink / raw)
  To: Edison Ibáñez; +Cc: 72990

Edison Ibáñez <arkhan@riseup.net> skribis:

> El 2024-09-03 06:57, Ludovic Courtès escribió:
>> Hi Edison,
>> 
>> Edison Ibáñez <arkhan@riseup.net> skribis:
>> 
>>> With the last update of core packages they broke guix and it can no
>>> longer be used, every time I run it I get the following error:
>>>
>>> /gnu/store/s4pajb5dkar0ig5z572nxkp04sizhp7q-guile-wrapper/bin/guile:
>>> /home/arkhan/.guix-profile/lib/libcrypt.so.1: version `XCRYPT_2.0' not
>>> found (required by
>>> /gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-3.0.9/lib/libguile-3.0.so.1)
>> 
>> Could it be that the ‘LD_LIBRARY_PATH’ environment variable is set?
>> 
>> What happens if you do:
>> 
>>   unset LD_LIBRARY_PATH; guix build hello
>> 
>> ?
>> 
>> Ludo’.
>
> Currently this is the value I have in this environment variable:

OK, and what happens if you do:

   unset LD_LIBRARY_PATH; guix build hello

? Does it work?

In general, I strongly recommend keeping ‘LD_LIBRARY_PATH’ unset;
setting it is like opening a can of worms.

Ludo’.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#72990: Core packages updated broke Guix
  2024-09-02 21:43 bug#72990: Core packages updated broke Guix Edison Ibáñez
                   ` (2 preceding siblings ...)
  2024-09-03 20:24 ` bug#72990: unset LD_LIBRARY_PATH confirmed as good workaround Dan Hatton via Bug reports for GNU Guix
@ 2024-09-04 12:14 ` Edison Ibáñez
  2024-09-05 16:45   ` Preston Miller Firestone
  3 siblings, 1 reply; 9+ messages in thread
From: Edison Ibáñez @ 2024-09-04 12:14 UTC (permalink / raw)
  To: 72990, Ludovic Courtès

Thanks Ludo, by removing the value configured in LD_LIBRARY_PATH you can
rebuild the entire system without problems and Guix worked well again.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#72990: Core packages updated broke Guix
  2024-09-04 12:14 ` bug#72990: Core packages updated broke Guix Edison Ibáñez
@ 2024-09-05 16:45   ` Preston Miller Firestone
  2024-10-01 15:30     ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Preston Miller Firestone @ 2024-09-05 16:45 UTC (permalink / raw)
  To: 72990
  Cc: Dan Hatton, Ludovic Courtès, Nicolas Graves,
	Edison Ibáñez


[-- Attachment #1.1.1: Type: text/plain, Size: 481 bytes --]


> Thanks Ludo, by removing the value configured in LD_LIBRARY_PATH you can
> rebuild the entire system without problems and Guix worked well again.

I can also confirm: I was having this same problem on the same update 
and unsetting LD_LIBRARY_PATH also fixed it for me. I was then able to 
run `guix pull` and everything was good again.

Thanks Ludo for the fix! I wonder how LD_LIBRARY_PATH got set in the 
first place? I'm running Guix system.

Thanks,

Preston

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 963 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#72990: Core packages updated broke Guix
  2024-09-05 16:45   ` Preston Miller Firestone
@ 2024-10-01 15:30     ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2024-10-01 15:30 UTC (permalink / raw)
  To: Preston Miller Firestone
  Cc: 72990-done, Dan Hatton, Nicolas Graves, Edison Ibáñez

Hi,

Preston Miller Firestone <firestone.preston@gmail.com> skribis:

> I can also confirm: I was having this same problem on the same update
> and unsetting LD_LIBRARY_PATH also fixed it for me. I was then able to
> run `guix pull` and everything was good again.
>
> Thanks Ludo for the fix! I wonder how LD_LIBRARY_PATH got set in the
> first place? I'm running Guix system.

No idea.  Perhaps you could:

  grep LD_LIBRARY_PATH \
    /run/current-system/profile/manifest \
    ~/.guix-home/profile/manifest

… for the offending system and user profile generations.

Ludo’.




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-01 15:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02 21:43 bug#72990: Core packages updated broke Guix Edison Ibáñez
2024-09-02 22:23 ` Nicolas Graves
2024-09-03 11:57 ` Ludovic Courtès
2024-09-03 12:05   ` Edison Ibáñez
2024-09-04 12:02     ` Ludovic Courtès
2024-09-03 20:24 ` bug#72990: unset LD_LIBRARY_PATH confirmed as good workaround Dan Hatton via Bug reports for GNU Guix
2024-09-04 12:14 ` bug#72990: Core packages updated broke Guix Edison Ibáñez
2024-09-05 16:45   ` Preston Miller Firestone
2024-10-01 15:30     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).