Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930270 - python-3.12.3 build fails on Sonoma 14.4.1
Summary: python-3.12.3 build fails on Sonoma 14.4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-20 04:13 UTC by *
Modified: 2024-07-23 07:03 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,13.77 KB, application/x-gzip)
2024-04-20 04:13 UTC, *
Details

Note You need to log in before you can comment on or make changes to this bug.
Description * 2024-04-20 04:13:39 UTC
Created attachment 891151 [details]
build.log

There's an ominous warning from configure:

configure: WARNING:
Platform "aarch64-apple-darwin23" with compiler "gcc" is not supported by the
CPython core team, see https://peps.python.org/pep-0011/ for more information.

If there's no workaround, I guess it should be masked?

I'll attach the build.log.
Comment 1 Fabian Groffen gentoo-dev 2024-04-20 07:00:46 UTC
I don't think you'll find a Python that compiles.  The problem is the CLT update that made the headers undecypherable to GCC.

https://github.com/iains/gcc-13-branch/issues/15#issuecomment-1994714446
Comment 2 * 2024-06-28 23:41:02 UTC
There's a note on that issue now:

"I believe this is fixed in 13.3-darwin-r0"


Does that mean this will be fixable soon?
Comment 3 Fabian Groffen gentoo-dev 2024-06-29 06:50:02 UTC
In-tree GCC should be able to compile it, AFICT, but bootstrapping fails afterwards.
Comment 4 Fabian Groffen gentoo-dev 2024-07-23 07:03:20 UTC
GCC-14 is in the tree now, and that one should be able to compile Python and cmake.