If and only if python3.12 is added to the package python targets, build fails with error: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ $ emerge -pqv '=dev-python/ruamel-yaml-clib-0.2.7::gentoo' [ebuild R ] dev-python/ruamel-yaml-clib-0.2.7 USE="-debug" PYTHON_TARGETS="python3_10 python3_11 python3_12* -pypy3" Reproducible: Always Steps to Reproduce: 1. Ensure python_targets_python3_12 is enabled for =dev-python/ruamel-yaml-clib-0.2.7 2. emerge =dev-python/ruamel-yaml-clib-0.2.7 Actual Results: Build fails Expected Results: Build succeeds
Created attachment 862681 [details] build.log Build log
What cython version?
I can reproduce w/ 0.29.35.
commit 8d3d6ac7e5935463fd877b6b31c3605dbd16af96 (HEAD -> master, origin/master, origin/HEAD) Author: Sam James <sam@gentoo.org> Date: Sat May 27 03:43:37 2023 +0100 dev-python/ruamel-yaml-clib: fix cythonize call to always regenerate Ionen took a look and ended up spotting that it wasn't really regenerating it (and that the Clang 16 patch is touching only the generated sources, so is being overwritten now). Also, while here, I noticed it doesn't respect MAKEOPTS, so fix that. Now Python 3.12 builds again. Bug: https://bugs.gentoo.org/880651 Signed-off-by: Sam James <sam@gentoo.org>