[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Ned Deily
Ned Deily added the comment: I've now verified that the _bootstrap_python fix for framework builds works - removing "release blocker" status. Thanks, Christian! -- priority: release blocker -> ___ Python tracker

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: Ned, I have implemented a fix for _bootstrap_python for framework builds and re-enabled --with-build-python for all builds. Previously I disabled the option for standard builds, because --with-build-python can cause build issues when a user runs

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: New changeset 612e59b53f0c730ce1b881f7c08dc6d49f02c123 by Christian Heimes in branch 'main': bpo-45950: Fix macOS framework builds of _bootstrap_python (GH-29936) https://github.com/python/cpython/commit/612e59b53f0c730ce1b881f7c08dc6d49f02c123

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes 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

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28163, 28164 pull_request: https://github.com/python/cpython/pull/29939 ___ Python tracker ___

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28163 pull_request: https://github.com/python/cpython/pull/29939 ___ Python tracker ___

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: If the patch does not help then I can re-enable --with-build-python for non-cross builds. -- ___ Python tracker ___

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: Ronald, Pablo, could you please test GH-29936 on macOS with --enable-framework? -- nosy: +pablogsal, ronaldoussoren ___ Python tracker ___

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28160 pull_request: https://github.com/python/cpython/pull/29936 ___ Python tracker ___

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Ned Deily
Ned Deily added the comment: > Ned, does this change solve the issue with framework builds? No. I would guess at a minimum getpath.c for _bootstrap_python might need to be built without WITH_NEXT_FRAMEWORK defined. But I'm out of time for today and don't expect to have much time available

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Christian Heimes
Christian Heimes added the comment: Ned, does this change solve the issue with framework builds? $ git diff diff --git a/Makefile.pre.in b/Makefile.pre.in index 8e6e553554d..2068db30855 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -106,7 +106,7 @@

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-06 Thread Ned Deily
Ned Deily added the comment: Framework builds on macOS now fail with a bus error when trying to run the newly built _bootstrap_python. A simplified example: $ ./configure --enable-framework=$PWD/Library/Frameworks checking for git... found checking build system type...

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-03 Thread Christian Heimes
Christian Heimes added the comment: New changeset 84ca1232b0f1e4be368e89550a9ceb46f64a0eff by Christian Heimes in branch 'main': bpo-45950: Introduce Bootstrap Python again (#29859) https://github.com/python/cpython/commit/84ca1232b0f1e4be368e89550a9ceb46f64a0eff --

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +eric.snow, gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +28106 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29859 ___ Python tracker

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-01 Thread Christian Heimes
Change by Christian Heimes : -- assignee: -> christian.heimes dependencies: +"Deep-freeze": skip the marshal step by generating C code, Stop using bootstrap_python for deep-freeze in UNIX builds ___ Python tracker

[issue45950] Reintroduce bootstrap_python for freezing

2021-12-01 Thread Christian Heimes
New submission from Christian Heimes : bpo-45696 introduced a _bootstrap_python interpreter, which was used to create frozen and deepfrozen module files. bpo-45873 dropped the _bootstrap_python interpreter again. Instead Python used an existing Python installation to bootstrap the build.