Package: src:primecountpy Version: 0.1.1-1 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/202512/ 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:384: python3.14 setup.py clean /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) running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_primecountpy/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.14' does not exist -- can't clean it I: pybuild base:384: python3.13 setup.py clean /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) 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:384: python3.14 setup.py config /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) running config I: pybuild base:384: python3.13 setup.py config /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) running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:384: /usr/bin/python3.14 setup.py build /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) running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_primecountpy/build/primecountpy copying primecountpy/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_primecountpy/build/primecountpy running egg_info creating primecountpy.egg-info writing primecountpy.egg-info/PKG-INFO writing dependency_links to primecountpy.egg-info/dependency_links.txt writing requirements to primecountpy.egg-info/requires.txt writing top-level names to primecountpy.egg-info/top_level.txt writing manifest file 'primecountpy.egg-info/SOURCES.txt' reading manifest file 'primecountpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'primecountpy.egg-info/SOURCES.txt' copying primecountpy/defs.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_primecountpy/build/primecountpy copying primecountpy/primecount.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_primecountpy/build/primecountpy running build_ext Compiling primecountpy/primecount.pyx because it changed. [1/1] Cythonizing primecountpy/primecount.pyx building 'primecountpy.primecount' extension creating build/temp.linux-x86_64-cpython-314/primecountpy x86_64-linux-gnu-g++ -g -O2 -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/lib/python3/dist-packages/cysignals -I/usr/include/python3.14 -c primecountpy/primecount.cpp -o build/temp.linux-x86_64-cpython-314/primecountpy/primecount.o primecountpy/primecount.cpp: In function âPyObject* __pyx_f_12primecountpy_10primecount_prime_pi_128(PyObject*, int)â: primecountpy/primecount.cpp:3383:95: error: no matching function for call to âpi(std::string&)â 3383 | __pyx_t_2 = __pyx_convert_PyBytes_string_to_py_6libcpp_6string_std__in_string(primecount::pi(__pyx_v_s)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 68, __pyx_L1_error) | ~~~~~~~~~~~~~~^~~~~~~~~~~ primecountpy/primecount.cpp:3383:95: note: there are 2 candidates In file included from primecountpy/primecount.cpp:1175: /usr/include/primecount.hpp:57:9: note: candidate 1: âint64_t primecount::pi(int64_t)â 57 | int64_t pi(int64_t x); | ^~ /usr/include/primecount.hpp:57:20: note: no known conversion for argument 1 from âstd::stringâ {aka âstd::__cxx11::basic_string<char>â} to âint64_tâ {aka âlong intâ} 57 | int64_t pi(int64_t x); | ~~~~~~~~^ /usr/include/primecount.hpp:74:13: note: candidate 2: âprimecount::pc_int128_t primecount::pi(pc_int128_t)â 74 | pc_int128_t pi(pc_int128_t x); | ^~ /usr/include/primecount.hpp:74:28: note: no known conversion for argument 1 from âstd::stringâ {aka âstd::__cxx11::basic_string<char>â} to âprimecount::pc_int128_tâ 74 | pc_int128_t pi(pc_int128_t x); | ~~~~~~~~~~~~^ error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1 E: pybuild pybuild:483: build: plugin distutils failed with: exit code=1: /usr/bin/python3.14 setup.py build I: pybuild base:384: /usr/bin/python3 setup.py build /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) 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 running egg_info writing primecountpy.egg-info/PKG-INFO writing dependency_links to primecountpy.egg-info/dependency_links.txt writing requirements to primecountpy.egg-info/requires.txt writing top-level names to primecountpy.egg-info/top_level.txt reading manifest file 'primecountpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'primecountpy.egg-info/SOURCES.txt' copying primecountpy/defs.pxd -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_primecountpy/build/primecountpy copying primecountpy/primecount.cpp -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_primecountpy/build/primecountpy copying primecountpy/primecount.pyx -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_primecountpy/build/primecountpy running build_ext building 'primecountpy.primecount' extension creating build/temp.linux-x86_64-cpython-313/primecountpy x86_64-linux-gnu-g++ -g -O2 -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/lib/python3/dist-packages/cysignals -I/usr/include/python3.13 -c primecountpy/primecount.cpp -o build/temp.linux-x86_64-cpython-313/primecountpy/primecount.o primecountpy/primecount.cpp: In function âPyObject* __pyx_f_12primecountpy_10primecount_prime_pi_128(PyObject*, int)â: primecountpy/primecount.cpp:3383:95: error: no matching function for call to âpi(std::string&)â 3383 | __pyx_t_2 = __pyx_convert_PyBytes_string_to_py_6libcpp_6string_std__in_string(primecount::pi(__pyx_v_s)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 68, __pyx_L1_error) | ~~~~~~~~~~~~~~^~~~~~~~~~~ primecountpy/primecount.cpp:3383:95: note: there are 2 candidates In file included from primecountpy/primecount.cpp:1175: /usr/include/primecount.hpp:57:9: note: candidate 1: âint64_t primecount::pi(int64_t)â 57 | int64_t pi(int64_t x); | ^~ /usr/include/primecount.hpp:57:20: note: no known conversion for argument 1 from âstd::stringâ {aka âstd::__cxx11::basic_string<char>â} to âint64_tâ {aka âlong intâ} 57 | int64_t pi(int64_t x); | ~~~~~~~~^ /usr/include/primecount.hpp:74:13: note: candidate 2: âprimecount::pc_int128_t primecount::pi(pc_int128_t)â 74 | pc_int128_t pi(pc_int128_t x); | ^~ /usr/include/primecount.hpp:74:28: note: no known conversion for argument 1 from âstd::stringâ {aka âstd::__cxx11::basic_string<char>â} to âprimecount::pc_int128_tâ 74 | pc_int128_t pi(pc_int128_t x); | ~~~~~~~~~~~~^ error: command '/usr/bin/x86_64-linux-gnu-g++' failed with exit code 1 E: pybuild pybuild:483: 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.14 3.13" returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

