You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks; I can reproduce this too, with a parallel build on a 2-core Linux machine.
This is caused by a missing Makefile dependency: it's trying to build the array module before building libpython. This should have been fixed by python_for_build_deps.patch, which I see is being applied in the log (search for "Makefile.pre.in"). But that patch doesn't have the intended effect on Python 3.12.
As noted in 4fd0ae2, this should be fixed by backporting the build system improvements I made to Python 3.13 in the upstream CPython repository. Meanwhile, you can work around it by doing a non-parallel build – remove -j $CPU_COUNT from the bottom of python/build.sh.
And by the way, since the Python build doesn't use for-each-abi.sh, if you want to build it for just one ABI then you'll have to edit build-and-package.sh.
Activity
mhsmith commentedon Apr 22, 2024
Thanks; I can reproduce this too, with a parallel build on a 2-core Linux machine.
This is caused by a missing Makefile dependency: it's trying to build the
arraymodule before buildinglibpython. This should have been fixed by python_for_build_deps.patch, which I see is being applied in the log (search for "Makefile.pre.in"). But that patch doesn't have the intended effect on Python 3.12.As noted in 4fd0ae2, this should be fixed by backporting the build system improvements I made to Python 3.13 in the upstream CPython repository. Meanwhile, you can work around it by doing a non-parallel build – remove
-j $CPU_COUNTfrom the bottom of python/build.sh.And by the way, since the Python build doesn't use for-each-abi.sh, if you want to build it for just one ABI then you'll have to edit build-and-package.sh.
[-]Problem building Python 3.12 in CI job[/-][+]Problem building Python 3.12[/+]FeodorFitsner commentedon Apr 22, 2024
Thank you for the fast reply!
Indeed, it could be successfully built now without
-joption: https://ci.appveyor.com/project/flet-dev/chaquopy/builds/49667256mhsmith commentedon Apr 22, 2024
By the way, you can get Chaquopy's pre-built Python packages from Maven Central.
FeodorFitsner commentedon Apr 22, 2024
Thank you!
mhsmith commentedon Sep 30, 2024
Try cherry-picking the following sequence of PRs onto the 3.12 branch, and using the result to replace bldlibrary.patch: