On Mon, Dec 04, 2023 at 02:22:43PM +0100, Matthias Klose wrote:
Package: src:pynormaliz Version: 2.18+ds-1 Severity: serious Tags: sid trixie User: debian-pyt...@lists.debian.org Usertags: python3.12pynormaliz ftbfs with Python 3.12: [...] dh execute_after_dh_auto_build --buildsystem=pybuild make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test -a -O--buildsystem=pybuildI: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build python3.12 tests/runtests.pyError: nauty.c version mismatchE: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; PYTHONPATH={build_dir} {interpreter} tests/runtests.py I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build python3.11 tests/runtests.pyError: nauty.c version mismatchE: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; PYTHONPATH={build_dir} {interpreter} tests/runtests.py dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" returned exit code 13make: *** [debian/rules:9: binary-arch] Error 25
I have spent some time looking at this and I'm more inclined to think about that this issue has nothing to do with python3.12. The error from (lib)nauty, unfortunately I did not find the root cause. The error prototype is defined: https://salsa.debian.org/science-team/nauty/-/blame/master/nauty.c?page=2#L1175 pynormaliz use libnormaliz that defined some header files in /usr/include/libnormaliz/ which has relative with nauty.In fact even on python3.12 the pynormaliz package can be built with nauty 2.8.6+ds-2. Now the failed version is on nauty 2.8.8+ds-1. So if you look at the update for nauty and then have a better understand:
https://tracker.debian.org/pkg/nauty So I suspected the root cause is that upgrading of nauty. If someone help me to understand the specially call chain or debug method I'm appreciate it. Thanks. -- Regards, -- Bo YU
signature.asc
Description: PGP signature