commit:     f1ba8d24da137ddcd0d0ba6c68d1f5e4b37635ef
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 22 23:55:44 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 22 23:56:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f1ba8d24

scripts/bootstrap-prefix.sh: mask glibc-2.34 due to bootstrapping issues

Mask <sys-libs/glibc-2.34_p1 for now due to bootstrapping issues. Note that
_p1 doesn't exist but I wanted to use _something_ to allow us to push
glibc-2.34 to prefix users in future and _p1 is easier than guessing a revision.

We rarely use _pN in ::gentoo.

Bug: https://bugs.gentoo.org/824482
Signed-off-by: Sam James <sam <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index ccbe9ef905..15ae679b95 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -494,6 +494,18 @@ bootstrap_setup() {
        >=sys-devel/gcc-11
        EOF
 
+       # bug #824482 avoid glibc-2.34
+       if is-rap; then
+               if ! [ -d "${ROOT}"/etc/portage/package.mask ]; then
+                       mkdir "${ROOT}"/etc/portage/package.mask
+               fi
+               cat >> "${ROOT}"/etc/portage/package.mask/glibc <<-EOF
+               # Temporary mask for newer glibc until bootstrapping issues are 
fixed.
+               # bug #824482: Avoid glibc-2.34 for now.
+               <sys-libs/glibc-2.34_p1
+               EOF
+       fi
+
        # Use package.use to disable in the portage tree to be shared between
        # stage2 and stage3. The hack will be undone during tree sync in stage3.
        cat >> "${ROOT}"/etc/portage/make.profile/package.use <<-EOF

Reply via email to