From ae67723b0166b5de843e288b40d56016fffcf192 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 19 Aug 2024 18:41:45 +0200 Subject: [PATCH] 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 --- scripts/bootstrap-prefix.sh | 5 +++++ 1 file changed, 5 insertions(+) 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"