bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62936: [core-updates] pre-inst-env no longer works


From: Brian Cully
Subject: bug#62936: [core-updates] pre-inst-env no longer works
Date: Mon, 24 Apr 2023 10:44:43 -0400
User-agent: mu4e 1.10.2; emacs 28.2


Josselin Poiret <dev@jpoiret.xyz> writes:

Ran into this problem myself, here's the reason and the fix:

We build a modified `guile` executable in the source tree (for reasons),
and use that to run guix.  Note that it is only added to PATH by
./pre-inst-env! That guile executable is linked against glibc, and so after upgrading to a newer glibc, it isn't rebuilt (I don't know how autotools cope with external dependencies getting updated). So glibc 2.33 gets loaded, and once (gcrypt) tries to open the libgcrypt library, it fails because that newer library needs at least glibc 2.34. The solution is just to `rm guile` inside of the checkout and run `make`
again.

With a lot of help on IRC, the culprit was discovered: you *must* run ‘guix pull --branch=core-updates’ to update your current profile's guix. This is because guix does not update itself without the pull.

Without this step, the guix in your user profile will keep around its old rules about which C compiler to use, which, in turn, pulls in the old glibc, which causes the error I initially reported.

-bjc





reply via email to

[Prev in Thread] Current Thread [Next in Thread]