unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Brian Cully via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Josselin Poiret <dev@jpoiret.xyz>
Cc: 62936@debbugs.gnu.org, Andreas Enge <andreas@enge.fr>
Subject: bug#62936: [core-updates] pre-inst-env no longer works
Date: Mon, 24 Apr 2023 10:44:43 -0400	[thread overview]
Message-ID: <87edo949o7.fsf@psyduck.jhoto.kublai.com> (raw)
In-Reply-To: <87r0s9vfuc.fsf@jpoiret.xyz>


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	other threads:[~2023-04-24 14:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-18 14:51 bug#62936: [core-updates] pre-inst-env no longer works Brian Cully via Bug reports for GNU Guix
2023-04-19  8:51 ` Simon Tournier
2023-04-19 11:29   ` Brian Cully via Bug reports for GNU Guix
2023-04-19 13:41     ` Ludovic Courtès
2023-04-19 14:14       ` Brian Cully via Bug reports for GNU Guix
2023-04-19 16:28 ` bug#62949: libgcrypt version in core-updates Andreas Enge
2023-04-19 16:37   ` Ludovic Courtès
2023-04-19 18:19     ` Andreas Enge
2023-04-19 20:40       ` Ludovic Courtès
2023-04-19 19:51   ` bug#62936: [core-updates] pre-inst-env no longer works Brian Cully via Bug reports for GNU Guix
2023-04-24  8:34     ` Josselin Poiret via Bug reports for GNU Guix
2023-04-24 14:44       ` Brian Cully via Bug reports for GNU Guix [this message]

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=87edo949o7.fsf@psyduck.jhoto.kublai.com \
    --to=bug-guix@gnu.org \
    --cc=62936@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=bjc@spork.org \
    --cc=dev@jpoiret.xyz \
    /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.
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).