Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914828 - bootstrap-prefix.sh fails in stage1 with macOS 14.0 (Sonoma)
Summary: bootstrap-prefix.sh fails in stage1 with macOS 14.0 (Sonoma)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: ARM64 OS X
: Normal blocker (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 910277
Blocks:
  Show dependency tree
 
Reported: 2023-09-27 05:33 UTC by *
Modified: 2024-01-15 21:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
stage1.log (stage1.log.gz,283.60 KB, application/x-gzip)
2023-09-27 05:33 UTC, *
Details

Note You need to log in before you can comment on or make changes to this bug.
Description * 2023-09-27 05:33:22 UTC
It fails at stage1:
* Unpacking, this may take a while
* Setting up some guessed defaults
* using system sources from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
* Your profile is set to /opt/gentoo/var/db/repos/gentoo/profiles/prefix/darwin/macos/14.0/arm64/gcc.
./bootstrap-prefix.sh: line 511: /opt/gentoo/etc/portage/make.profile/package.use: No such file or directory
./bootstrap-prefix.sh: line 524: /opt/gentoo/etc/portage/make.profile/package.unmask: No such file or directory
./bootstrap-prefix.sh: line 532: /opt/gentoo/etc/portage/make.profile/package.use: No such file or directory

I'm guessing because the profile is missing:
/opt/gentoo/var/db/repos/gentoo/profiles/prefix/darwin/macos/14.0

Reproducible: Always
Comment 1 * 2023-09-27 05:33:41 UTC
Created attachment 871523 [details]
stage1.log
Comment 2 Fabian Groffen gentoo-dev 2023-09-27 07:24:28 UTC
I'm affraid the compiler we use doesn't cope with 14.0's headers (that problem already shows with the 14.0 SDK on a Ventura/13.3 machine).  So this appears not to going to be trivial.
Comment 3 Ronie Henrich 2023-10-26 05:31:32 UTC
stage1 finished successfully for me on a Sonoma 14.1 machine with Xcode 15.0.1, however it fails to emerge sys-devel/gcc-12.2.0-r2 at stage2 (bug 916291)
Comment 4 Larry the Git Cow gentoo-dev 2024-01-15 07:10:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f9c3b2bb44c074d4747ca3b3f25af2dc5748c3bd

commit f9c3b2bb44c074d4747ca3b3f25af2dc5748c3bd
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2024-01-15 07:08:18 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2024-01-15 07:08:18 +0000

    scripts/bootstrap-prefix: bump snapshot for macOS Sanoma and pkgmove
    
    Snapshot and script now match the pkgmoves to dev-build
    Support for macOS Sanoma via GCC-13.
    
    Closes: https://bugs.gentoo.org/916291
    Closes: https://bugs.gentoo.org/914828
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 5 * 2024-01-15 21:24:03 UTC
Just confirming the bootstrap-prefix.sh works perfectly now! Thanks for your work!