Package: src:python-gmpy2 Version: 2.2.1-3 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202601/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-gmpy2, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem pybuild --with python3,sphinxdoc debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_clean # Remove files generated by the build. rm -rf docs/_build rm -rf test/__pycache__ rm -rf build rm -rf gmpy2.egg-info make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild 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>>' Traceback (most recent call last): File "/usr/bin/pybuild", line 580, in <module> main(cfg) ~~~~^^^^^ File "/usr/bin/pybuild", line 188, in main versions = [Version(v) for v in m.group("version")] ~~~~~~~^^^ File "/usr/share/dh-python/dhpython/version.py", line 95, in __init__ raise ValueError("major component is required") ValueError: major component is required dh_auto_build I: pybuild plugin_pyproject:139: Building wheel for python3.14 with "build" module I: pybuild base:384: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gmpy2 * Building wheel... /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-314/gmpy2 copying gmpy2/__init__.py -> build/lib.linux-x86_64-cpython-314/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-x86_64-cpython-314/gmpy2 copying gmpy2/gmpy2.h -> build/lib.linux-x86_64-cpython-314/gmpy2 copying gmpy2/gmpy2.pxd -> build/lib.linux-x86_64-cpython-314/gmpy2 running build_ext building 'gmpy2.gmpy2' extension creating build/temp.linux-x86_64-cpython-314/src x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.14 -c src/gmpy2.c -o build/temp.linux-x86_64-cpython-314/src/gmpy2.o -DSHARED=1 In file included from src/gmpy2.c:201: src/gmpy2_convert_gmp.c: In function âmpz_set_PyLongâ: src/gmpy2_convert_gmp.c:50:5: warning: â_PyLong_Signâ is deprecated [-Wdeprecated-declarations] 50 | negative = _PyLong_Sign(obj) < 0; | ^~~~~~~~ In file included from /usr/include/python3.14/longobject.h:171, from /usr/include/python3.14/Python.h:84, from src/gmpy2.c:91: /usr/include/python3.14/cpython/longobject.h:38:37: note: declared here 38 | Py_DEPRECATED(3.14) PyAPI_FUNC(int) _PyLong_Sign(PyObject *v); | ^~~~~~~~~~~~ src/gmpy2_convert_gmp.c: In function âGMPy_PyLong_From_MPZâ: src/gmpy2_convert_gmp.c:141:5: warning: â_PyLong_Newâ is deprecated [-Wdeprecated-declarations] 141 | if (!(result = _PyLong_New(size))) { | ^~ In file included from /usr/include/python3.14/Python.h:85: /usr/include/python3.14/cpython/longintrepr.h:103:47: note: declared here 103 | Py_DEPRECATED(3.14) PyAPI_FUNC(PyLongObject*) _PyLong_New(Py_ssize_t); | ^~~~~~~~~~~ In file included from src/gmpy2.c:203: src/gmpy2_convert_mpc.c: In function âGMPy_MPC_Repr_Slotâ: src/gmpy2_convert_mpc.c:629:56: warning: â__builtin___sprintf_chkâ may write a terminating nul past the end of the destination [-Wformat-overflow=] 629 | sprintf(fmtstr, "mpc('{0:.%ld.%ldg}',(%ld,%ld))", | ^ In file included from /usr/include/stdio.h:970, from /usr/include/python3.14/Python.h:38: In function âsprintfâ, inlined from âGMPy_MPC_Repr_Slotâ at src/gmpy2_convert_mpc.c:629:9: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output between 23 and 99 bytes into a destination of size 60 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ x86_64-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-314/src/gmpy2.o -L/usr/lib/x86_64-linux-gnu -lmpc -lmpfr -lgmp -o build/lib.linux-x86_64-cpython-314/gmpy2/gmpy2.cpython-314-x86_64-linux-gnu.so installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/gmpy2 copying build/lib.linux-x86_64-cpython-314/gmpy2/gmpy2.pxd -> build/bdist.linux-x86_64/wheel/./gmpy2 copying build/lib.linux-x86_64-cpython-314/gmpy2/gmpy2.cpython-314-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/./gmpy2 copying build/lib.linux-x86_64-cpython-314/gmpy2/gmpy2.h -> build/bdist.linux-x86_64/wheel/./gmpy2 copying build/lib.linux-x86_64-cpython-314/gmpy2/__init__.pxd -> build/bdist.linux-x86_64/wheel/./gmpy2 copying build/lib.linux-x86_64-cpython-314/gmpy2/__init__.py -> build/bdist.linux-x86_64/wheel/./gmpy2 running install_egg_info Copying gmpy2.egg-info to build/bdist.linux-x86_64/wheel/./gmpy2-2.2.1.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/gmpy2-2.2.1.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_gmpy2/.tmp-397yn3l5/gmpy2-2.2.1-cp314-cp314-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'gmpy2/__init__.pxd' adding 'gmpy2/__init__.py' adding 'gmpy2/gmpy2.cpython-314-x86_64-linux-gnu.so' adding 'gmpy2/gmpy2.h' adding 'gmpy2/gmpy2.pxd' adding 'gmpy2-2.2.1.dist-info/licenses/COPYING' adding 'gmpy2-2.2.1.dist-info/licenses/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-x86_64/wheel Successfully built gmpy2-2.2.1-cp314-cp314-linux_x86_64.whl I: pybuild plugin_pyproject:165: Unpacking wheel built for python3.14 with "installer" module I: pybuild plugin_pyproject:139: Building wheel for python3.13 with "build" module I: pybuild base:384: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2 * Building wheel... /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-313/gmpy2 copying gmpy2/__init__.py -> build/lib.linux-x86_64-cpython-313/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-x86_64-cpython-313/gmpy2 copying gmpy2/gmpy2.h -> build/lib.linux-x86_64-cpython-313/gmpy2 copying gmpy2/gmpy2.pxd -> build/lib.linux-x86_64-cpython-313/gmpy2 running build_ext building 'gmpy2.gmpy2' extension creating build/temp.linux-x86_64-cpython-313/src x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c src/gmpy2.c -o build/temp.linux-x86_64-cpython-313/src/gmpy2.o -DSHARED=1 In file included from src/gmpy2.c:203: src/gmpy2_convert_mpc.c: In function âGMPy_MPC_Repr_Slotâ: src/gmpy2_convert_mpc.c:629:56: warning: â__builtin___sprintf_chkâ may write a terminating nul past the end of the destination [-Wformat-overflow=] 629 | sprintf(fmtstr, "mpc('{0:.%ld.%ldg}',(%ld,%ld))", | ^ In file included from /usr/include/stdio.h:970, from /usr/include/python3.13/Python.h:38, from src/gmpy2.c:91: In function âsprintfâ, inlined from âGMPy_MPC_Repr_Slotâ at src/gmpy2_convert_mpc.c:629:9: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output between 23 and 99 bytes into a destination of size 60 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ x86_64-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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-313/src/gmpy2.o -L/usr/lib/x86_64-linux-gnu -lmpc -lmpfr -lgmp -o build/lib.linux-x86_64-cpython-313/gmpy2/gmpy2.cpython-313-x86_64-linux-gnu.so installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/gmpy2 copying build/lib.linux-x86_64-cpython-313/gmpy2/gmpy2.cpython-313-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/./gmpy2 copying build/lib.linux-x86_64-cpython-313/gmpy2/gmpy2.pxd -> build/bdist.linux-x86_64/wheel/./gmpy2 copying build/lib.linux-x86_64-cpython-313/gmpy2/gmpy2.h -> build/bdist.linux-x86_64/wheel/./gmpy2 copying build/lib.linux-x86_64-cpython-313/gmpy2/__init__.pxd -> build/bdist.linux-x86_64/wheel/./gmpy2 copying build/lib.linux-x86_64-cpython-313/gmpy2/__init__.py -> build/bdist.linux-x86_64/wheel/./gmpy2 running install_egg_info Copying gmpy2.egg-info to build/bdist.linux-x86_64/wheel/./gmpy2-2.2.1.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/gmpy2-2.2.1.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_gmpy2/.tmp-j8elt2pa/gmpy2-2.2.1-cp313-cp313-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'gmpy2/__init__.pxd' adding 'gmpy2/__init__.py' adding 'gmpy2/gmpy2.cpython-313-x86_64-linux-gnu.so' adding 'gmpy2/gmpy2.h' adding 'gmpy2/gmpy2.pxd' adding 'gmpy2-2.2.1.dist-info/licenses/COPYING' adding 'gmpy2-2.2.1.dist-info/licenses/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-x86_64/wheel Successfully built gmpy2-2.2.1-cp313-cp313-linux_x86_64.whl I: pybuild plugin_pyproject:165: Unpacking wheel built for python3.13 with "installer" module PYTHONPATH= make man html -C /<<PKGBUILDDIR>>/docs SPHINXOPTS="-D today=\"1760915991\"" make[2]: Entering directory '/<<PKGBUILDDIR>>/docs' if [ ! -d _static ]; then mkdir _static; fi sphinx-build -b man -d _build/doctrees -D today="1760915991" . _build/man Running Sphinx v8.2.3 Configuration error! Versions ======== * Platform: linux; (Linux-6.12.63+deb13-cloud-amd64-x86_64-with-glibc2.42) * Python version: 3.13.11 (CPython) * Sphinx version: 8.2.3 * Docutils version: 0.22.4 * Jinja2 version: 3.1.6 * Pygments version: 2.19.2 Last Messages ============= None. Loaded Extensions ================= None. Traceback ========= File "/usr/lib/python3/dist-packages/sphinx/config.py", line 616, in eval_config_file raise ConfigError(msg % traceback.format_exc()) from exc sphinx.errors.ConfigError: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/sphinx/config.py", line 601, in eval_config_file exec(code, namespace) # NoQA: S102 ~~~~^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/docs/conf.py", line 16, in <module> import gmpy2 ModuleNotFoundError: No module named 'gmpy2' The full traceback has been saved in: /tmp/sphinx-err-xo7hwwvv.log To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks! Please also report this if it was a user error, so that a better error message can be provided next time. make[2]: *** [Makefile:115: man] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs' make[1]: *** [debian/rules:24: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:12: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

