From: "Wiktor Żelazny" <wz@freeshell.de>
To: help-guix@gnu.org
Subject: Re: "libc.so.6: version `GLIBC_2.33' not found" with guix time-machine --channels
Date: Sun, 9 Jan 2022 18:57:06 +0100 [thread overview]
Message-ID: <20220109175706.e75fbkahrnzajacv@wzguix> (raw)
In-Reply-To: <YdndA/tLmszxSj5i@jasmine.lan>
[-- Attachment #1: Type: text/plain, Size: 2208 bytes --]
On Sat, Jan 08, 2022 at 01:50:43PM -0500, Leo Famulari wrote:
> When you build a Guix package, its entire dependency graph including
> glibc (and all the way down to the bootstrap) is already specified.
> The dependencies are "set in stone" before you start building.
Thank you for your prompt reply. What about a situation where glibc is
not an explicit package input? I suspect it is determined by the build
system definition in such a (common) scenario. I further assume that
when one runs
guix time-machine --commit=xxx -- environment pkg
the pkg definition corresponding to the Guix version xxx is used, but a
*current* Guix binary is used to execute the environment. I’ve got this
intuition that the current binary may assume the build system involving
a new glibc, whereas the cached xxx version of pkg can be from the time
when Guix defined a build system as using an old glibc.
To use an analogy: let’s say that you’ve got a package definition which
does not change. But you upgrade the os kernel. There may be some change
in the kernel that will make the package behave differently despite the
same definition.
> Therefore, if you want to use a given package with a different version
> of glibc, you'll need to either 1) Use `guix pull` or `guix
> time-machine` to build that package with the desired glibc version or
guix time-machine is giving me the errors I listed. I’ve been running it
for months with the same commit in the channel specification and the
same manifest. That’s why I’m suspecting that some system-wide glibc
update is causing this issue. Or some update of the guix binary.
One more thing: the problem started after I had had to roll-back a
segfaulting guix build. This was a little bit messy process. After `guix
pull` using last working guix, `guix package -u` did almost nothing.
Only after another `guix pull` did it work as it should. Maybe this is
related, I don’t know.
> 2) Create a new package definition that depends on a different version
> of glibc.
What if there is no explicit glibc dependency in the current definition,
and so nothing that could be changed?
Am I missing something?
WŻ
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
next prev parent reply other threads:[~2022-01-09 17:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-08 15:11 "libc.so.6: version `GLIBC_2.33' not found" with guix time-machine --channels Wiktor Żelazny
2022-01-08 18:50 ` Leo Famulari
2022-01-09 17:57 ` Wiktor Żelazny [this message]
2022-01-09 18:03 ` Ricardo Wurmus
2022-01-09 18:49 ` Wiktor Żelazny
2022-02-03 14:18 ` Wiktor Żelazny
2022-01-09 19:37 ` André A. Gomes
2022-01-09 20:51 ` Ricardo Wurmus
2022-01-09 18:09 ` Tobias Geerinckx-Rice
2022-01-10 19:04 ` Wiktor Żelazny
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=20220109175706.e75fbkahrnzajacv@wzguix \
--to=wz@freeshell.de \
--cc=help-guix@gnu.org \
/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).