Package: src:primecountpy Version: 0.1.0-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/202510/ 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:primecountpy, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3,sphinxdoc --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:311: python3.13 setup.py clean /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 General Public License v3 (GPLv3) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_primecountpy/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.13' does not exist -- can't clean it debian/rules execute_after_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf docs/build primecountpy.egg-info primecountpy/primecount.cpp make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with python3,sphinxdoc --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:311: python3.13 setup.py config /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 General Public License v3 (GPLv3) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3 setup.py build /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 General Public License v3 (GPLv3) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_primecountpy/build/primecountpy copying primecountpy/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_primecountpy/build/primecountpy copying primecountpy/defs.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_primecountpy/build/primecountpy running build_ext Error compiling Cython file: ------------------------------------------------------------ ... # http://www.gnu.org/licenses/ #***************************************************************************** from libc.stdint cimport int64_t from libcpp.string cimport string as cppstring from cpython.int cimport PyInt_FromString ^ ------------------------------------------------------------ primecountpy/primecount.pyx:16:0: 'cpython/int.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... # http://www.gnu.org/licenses/ #***************************************************************************** from libc.stdint cimport int64_t from libcpp.string cimport string as cppstring from cpython.int cimport PyInt_FromString ^ ------------------------------------------------------------ primecountpy/primecount.pyx:16:0: 'cpython/int/PyInt_FromString.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... cdef cppstring s = str(n).encode('ascii') cdef bytes ans sig_on() ans = pcount.pi(s) sig_off() return PyInt_FromString(ans, NULL, 10) ^ ------------------------------------------------------------ primecountpy/primecount.pyx:70:11: 'PyInt_FromString' is not a constant, variable or function identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef cppstring s = str(n).encode('ascii') cdef bytes ans sig_on() ans = pcount.pi(s) sig_off() return PyInt_FromString(ans, NULL, 10) ^ ------------------------------------------------------------ primecountpy/primecount.pyx:70:33: Cannot convert 'void *' to Python object Compiling primecountpy/primecount.pyx because it changed. [1/1] Cythonizing primecountpy/primecount.pyx Traceback (most recent call last): File "/<<PKGBUILDDIR>>/setup.py", line 32, in <module> setup( ~~~~~^ name='primecountpy', ^^^^^^^^^^^^^^^^^^^^ ...<27 lines>... 'Topic :: Scientific/Engineering :: Mathematics'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 117, in setup return distutils.core.setup(**attrs) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 186, in setup return run_commands(dist) File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 202, in run_commands dist.run_commands() ~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 1002, in run_commands self.run_command(cmd) ~~~~~~~~~~~~~~~~^^^^^ File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1104, in run_command super().run_command(command) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() ~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py", line 135, in run self.run_command(cmd_name) ~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 357, in run_command self.distribution.run_command(command) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1104, in run_command super().run_command(command) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 1021, in run_command cmd_obj.run() ~~~~~~~~~~~^^ File "/<<PKGBUILDDIR>>/setup.py", line 8, in run self.distribution.ext_modules[:] = cythonize( ~~~~~~~~~^ self.distribution.ext_modules, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ include_path = ["primecountpy"], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ compiler_directives={'embedsignature': True, 'binding': True}, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ language_level=3) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1150, in cythonize cythonize_one(*args) ~~~~~~~~~~~~~^^^^^^^ File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1294, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: primecountpy/primecount.pyx E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

