This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, eric.snow, gvanrossum, ned.deily, pablogsal, ronaldoussoren
Date 2021-12-06.13:27:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1638797231.24.0.908021627881.issue45950@roundup.psfhosted.org>
In-reply-to
Content
I added --enable-framework=yes to macOS GHA builder.

GH-29939 has ./configure --enable-framework=yes without proposed bootstrap fix. The build is failing early:

./_bootstrap_python ./Tools/scripts/deepfreeze.py Python/frozen_modules/importlib._bootstrap.h -m importlib._bootstrap -o Python/deepfreeze/importlib._bootstrap.c
make: *** [Python/deepfreeze/importlib._bootstrap.c] Bus error: 10


GH-29936 has ./configure --enable-framework=yes and introduces a Modules/getpath_bootstrap.o file. It is the same build as Modules/getpath.o except it does not use the framework feature. The target compiles getpath.c with an additional -DPY_BOOTSTRAP_PYTHON=1 option. The build fails later:

/bin/sh: line 1: 14772 Bus error: 10           DYLD_FRAMEWORK_PATH=/Users/runner/work/cpython/cpython ./python.exe -E -S -m sysconfig --generate-posix-vars
generate-posix-vars failed
History
Date User Action Args
2021-12-06 13:27:11christian.heimessetrecipients: + christian.heimes, gvanrossum, ronaldoussoren, ned.deily, eric.snow, pablogsal
2021-12-06 13:27:11christian.heimessetmessageid: <1638797231.24.0.908021627881.issue45950@roundup.psfhosted.org>
2021-12-06 13:27:11christian.heimeslinkissue45950 messages
2021-12-06 13:27:11christian.heimescreate