public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Gentoo chroot with old glibc
Date: Sun, 21 Jun 2020 21:03:18 +0100	[thread overview]
Message-ID: <3055978.aeNJFYEL58@lenovo.localdomain> (raw)
In-Reply-To: <f992562c-da2e-437d-91e6-521cdc0d68d0@apteryx.fr>

[-- Attachment #1: Type: text/plain, Size: 1767 bytes --]

On Sunday, 21 June 2020 20:43:59 BST Hervé Guillemet wrote:
> Le 21/06/2020 à 19:06, Michael a écrit :
> >> I need to distribute some linux binaries and the one built with my
> >> up-to-date gentoo sytem won't run on distributions using older glibc.
> >> 
> >> My idea is too maintain a gentoo chroot dedicated for compiling my
> >> binaries which would (package.)mask recent versions of glibc and gcc
> >> ebuilds.
> >> 
> >> What's the better way to go ? If I start with some of the stage3
> >> available for download, I won't be able to downgrade the glibc.
> >> 
> >> Or do you have any suggestion for alternatives to this gentoo chroot ?
> >> (I'd prefer avoid installing some CentOS or Ubuntu as virtual guests).
> > 
> > Once you chroot, you're in the chrooted env.  As long as you have a stage
> > 3
> > old enough to contain the requisite glibc, you should be good to go:
> > 
> > http://gentoo.osuosl.org/releases/amd64/
> 
> That's what I did: I found a 2017 stage3 with a still older glibc and
> managed to upgrade to a 2020 gentoo while masking the last glibc
> versions. That was tricky because I had to git-checkout intermediate
> versions of the portage tree in order to deal with the EAPI changes but
> I have a working chroot now. Thanks.


I hadn't understood you wanted a current state of an OS, plus current system 
and other packages, BUT with a deprecated version of glibc.  I thought you 
would be OK to use a stage 3 from back then as it was in its totality, frozen 
in time, with no updates or backported packages.

However, since you managed to hold back glibc while updating everything else, 
you have proven what you wanted could be done!  I would think this on its own 
is a feat worth a HowTo.  :-)

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-06-21 20:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-19 21:19 [gentoo-user] Gentoo chroot with old glibc Hervé Guillemet
2020-06-21 17:06 ` Michael
2020-06-21 19:43   ` Hervé Guillemet
2020-06-21 20:03     ` Michael [this message]
2020-06-21 22:52       ` Hervé Guillemet
2020-06-30  8:26     ` Andreas K. Huettel
2020-06-30 16:29       ` Laurence Perkins
2020-07-01  1:40         ` [gentoo-user] Grub: for the love of almighty Zardoz the magniicent Alan Grimes
2020-07-01  8:15           ` Neil Bothwick
2020-07-01  8:45             ` Michael
2020-07-02  4:20               ` Alan Grimes
2020-07-01  1:30       ` [gentoo-user] Gentoo chroot with old glibc Thomas Mueller
     [not found]       ` <20200701013122.CE9C8E08AE@pigeon.gentoo.org>
2020-07-01 14:47         ` Andreas K. Huettel
2021-01-04 11:57       ` Thomas Mueller
     [not found]       ` <20210104115748.50A5EE0930@pigeon.gentoo.org>
2021-01-08 23:37         ` Andreas K. Hüttel
2020-06-21 21:08 ` Rich Freeman
2020-06-21 22:34   ` Hervé Guillemet

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3055978.aeNJFYEL58@lenovo.localdomain \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.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