commit:     ae67723b0166b5de843e288b40d56016fffcf192
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 19 16:41:45 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Aug 19 16:41:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=ae67723b

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 <AT> gentoo.org>

 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"

Reply via email to