[issue45950] Reintroduce bootstrap_python for freezing
Christian Heimes
report at bugs.python.org
Mon Dec 6 08:27:11 EST 2021
Christian Heimes <lists at cheimes.de> added the comment:
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
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45950>
_______________________________________
More information about the Python-bugs-list
mailing list