Source: python-gmpy2 Version: 2.2.1-1 Severity: normal User: debian-pyt...@lists.debian.org Usertags: python3.13
This package failed build from source when test-built against a version of python3-defaults that incudes 3.13 as a supported version. To reproduce this issue, build against python3-defaults (python3-all-dev etc.) from Debian experimental. The failure is caused by the doc building part of debian/rules, which assumes that it will only build for a single version of python. Possible solutions: 1. pass "-p $(shell py3versions -d)" to that pybuild 2. build the docs once for each python version, using e.g. --after-build Log snippet: dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem pybuild --with python3,sphinxdoc dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_build I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2 * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-cpython-313 creating build/lib.linux-aarch64-cpython-313/gmpy2 copying gmpy2/__init__.py -> build/lib.linux-aarch64-cpython-313/gmpy2 running egg_info creating gmpy2.egg-info writing gmpy2.egg-info/PKG-INFO writing dependency_links to gmpy2.egg-info/dependency_links.txt writing requirements to gmpy2.egg-info/requires.txt writing top-level names to gmpy2.egg-info/top_level.txt writing manifest file 'gmpy2.egg-info/SOURCES.txt' reading manifest file 'gmpy2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' adding license file 'COPYING.LESSER' writing manifest file 'gmpy2.egg-info/SOURCES.txt' copying gmpy2/__init__.pxd -> build/lib.linux-aarch64-cpython-313/gmpy2 copying gmpy2/gmpy2.h -> build/lib.linux-aarch64-cpython-313/gmpy2 copying gmpy2/gmpy2.pxd -> build/lib.linux-aarch64-cpython-313/gmpy2 running build_ext building 'gmpy2.gmpy2' extension creating build/temp.linux-aarch64-cpython-313 creating build/temp.linux-aarch64-cpython-313/src aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c src/gmpy2.c -o build/temp.linux-aarch64-cpython-313/src/gmpy2.o -DSHARED=1 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-cpython-313/src/gmpy2.o -L/usr/lib/aarch64-linux-gnu -lmpc -lmpfr -lgmp -o build/lib.linux-aarch64-cpython-313/gmpy2/gmpy2.cpython-313-aarch64-linux-gnu.so installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/gmpy2 copying build/lib.linux-aarch64-cpython-313/gmpy2/__init__.py -> build/bdist.linux-aarch64/wheel/./gmpy2 copying build/lib.linux-aarch64-cpython-313/gmpy2/gmpy2.pxd -> build/bdist.linux-aarch64/wheel/./gmpy2 copying build/lib.linux-aarch64-cpython-313/gmpy2/__init__.pxd -> build/bdist.linux-aarch64/wheel/./gmpy2 copying build/lib.linux-aarch64-cpython-313/gmpy2/gmpy2.h -> build/bdist.linux-aarch64/wheel/./gmpy2 copying build/lib.linux-aarch64-cpython-313/gmpy2/gmpy2.cpython-313-aarch64-linux-gnu.so -> build/bdist.linux-aarch64/wheel/./gmpy2 running install_egg_info Copying gmpy2.egg-info to build/bdist.linux-aarch64/wheel/./gmpy2-2.2.1.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/gmpy2-2.2.1.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/.tmp-6jmjvi57/gmpy2-2.2.1-cp313-cp313-linux_aarch64.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'gmpy2/__init__.pxd' adding 'gmpy2/__init__.py' adding 'gmpy2/gmpy2.cpython-313-aarch64-linux-gnu.so' adding 'gmpy2/gmpy2.h' adding 'gmpy2/gmpy2.pxd' adding 'gmpy2-2.2.1.dist-info/COPYING' adding 'gmpy2-2.2.1.dist-info/COPYING.LESSER' adding 'gmpy2-2.2.1.dist-info/METADATA' adding 'gmpy2-2.2.1.dist-info/WHEEL' adding 'gmpy2-2.2.1.dist-info/top_level.txt' adding 'gmpy2-2.2.1.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Successfully built gmpy2-2.2.1-cp313-cp313-linux_aarch64.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gmpy2 * Building wheel... running bdist_wheel running build running build_py creating build/lib.linux-aarch64-cpython-312 creating build/lib.linux-aarch64-cpython-312/gmpy2 copying gmpy2/__init__.py -> build/lib.linux-aarch64-cpython-312/gmpy2 running egg_info writing gmpy2.egg-info/PKG-INFO writing dependency_links to gmpy2.egg-info/dependency_links.txt writing requirements to gmpy2.egg-info/requires.txt writing top-level names to gmpy2.egg-info/top_level.txt reading manifest file 'gmpy2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' adding license file 'COPYING.LESSER' writing manifest file 'gmpy2.egg-info/SOURCES.txt' copying gmpy2/__init__.pxd -> build/lib.linux-aarch64-cpython-312/gmpy2 copying gmpy2/gmpy2.h -> build/lib.linux-aarch64-cpython-312/gmpy2 copying gmpy2/gmpy2.pxd -> build/lib.linux-aarch64-cpython-312/gmpy2 running build_ext building 'gmpy2.gmpy2' extension creating build/temp.linux-aarch64-cpython-312 creating build/temp.linux-aarch64-cpython-312/src aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c src/gmpy2.c -o build/temp.linux-aarch64-cpython-312/src/gmpy2.o -DSHARED=1 aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-cpython-312/src/gmpy2.o -L/usr/lib/aarch64-linux-gnu -lmpc -lmpfr -lgmp -o build/lib.linux-aarch64-cpython-312/gmpy2/gmpy2.cpython-312-aarch64-linux-gnu.so installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/gmpy2 copying build/lib.linux-aarch64-cpython-312/gmpy2/__init__.py -> build/bdist.linux-aarch64/wheel/./gmpy2 copying build/lib.linux-aarch64-cpython-312/gmpy2/gmpy2.pxd -> build/bdist.linux-aarch64/wheel/./gmpy2 copying build/lib.linux-aarch64-cpython-312/gmpy2/__init__.pxd -> build/bdist.linux-aarch64/wheel/./gmpy2 copying build/lib.linux-aarch64-cpython-312/gmpy2/gmpy2.cpython-312-aarch64-linux-gnu.so -> build/bdist.linux-aarch64/wheel/./gmpy2 copying build/lib.linux-aarch64-cpython-312/gmpy2/gmpy2.h -> build/bdist.linux-aarch64/wheel/./gmpy2 running install_egg_info Copying gmpy2.egg-info to build/bdist.linux-aarch64/wheel/./gmpy2-2.2.1.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/gmpy2-2.2.1.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gmpy2/.tmp-xvbugu04/gmpy2-2.2.1-cp312-cp312-linux_aarch64.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'gmpy2/__init__.pxd' adding 'gmpy2/__init__.py' adding 'gmpy2/gmpy2.cpython-312-aarch64-linux-gnu.so' adding 'gmpy2/gmpy2.h' adding 'gmpy2/gmpy2.pxd' adding 'gmpy2-2.2.1.dist-info/COPYING' adding 'gmpy2-2.2.1.dist-info/COPYING.LESSER' adding 'gmpy2-2.2.1.dist-info/METADATA' adding 'gmpy2-2.2.1.dist-info/WHEEL' adding 'gmpy2-2.2.1.dist-info/top_level.txt' adding 'gmpy2-2.2.1.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Successfully built gmpy2-2.2.1-cp312-cp312-linux_aarch64.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/build /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gmpy2/build make man html -C /<<PKGBUILDDIR>>/docs SPHINXOPTS="-D today=\"1725134510\"" /bin/sh: 1: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_gmpy2/build: Permission denied make[1]: *** [debian/rules:24: override_dh_auto_build] Error 126 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:12: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-09-11T15:29:40Z If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/701188/ This bug has been filed at "normal" severity, as we haven't started the transition to add 3.13 as a supported version, yet. This will be raised to RC as soon as that happens, hopefully well before trixie. Thanks, Stefano