summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-08-19 18:41:45 +0200
committerFabian Groffen <grobian@gentoo.org>2024-08-19 18:41:45 +0200
commitae67723b0166b5de843e288b40d56016fffcf192 (patch)
tree1a9e0ee00b5a8cf9aca8167f50bc258ea7ae0f5b
parentscripts/bootstrap-prefix: try and unify USE-flag disabling (diff)
downloadprefix-ae67723b0166b5de843e288b40d56016fffcf192.tar.gz
prefix-ae67723b0166b5de843e288b40d56016fffcf192.tar.bz2
prefix-ae67723b0166b5de843e288b40d56016fffcf192.zip
scripts/bootstrap-prefix: workaround binutils being dep-cleaned
Thanks hsk17 for noticing and providing a patch. Bug: https://bugs.gentoo.org/936629 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-xscripts/bootstrap-prefix.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 1ee30e4b80..928a789603 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -2468,6 +2468,11 @@ bootstrap_stage3() {
estatus "stage3: emerge ${eflags[*]}"
emerge --color n -v "${eflags[@]}" || return 1
+ # gcc no longer depends on sys-devel/binutils which means it is to
+ # be depcleaned at this point, quite strange, but to prevent this
+ # from happening, add to the worldfile #936629#c5
+ emerge --color n --noreplace sys-devel/binutils
+
# Remove anything that we don't need (compilers most likely)
einfo "running emerge --depclean"
estatus "stage3: emerge --depclean"