Your message dated Tue, 02 Dec 2025 03:19:14 +0000
with message-id <[email protected]>
and subject line Bug#1119762: fixed in primecountpy 0.1.1-1
has caused the Debian Bug report #1119762,
regarding primecountpy: FTBFS: Cython.Compiler.Errors.CompileError:
primecountpy/primecount.pyx
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1119762: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119762
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: primecountpy
Source-Version: 0.1.1-1
Done: Doug Torrance <[email protected]>
We believe that the bug you reported is fixed in the latest version of
primecountpy, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Doug Torrance <[email protected]> (supplier of updated primecountpy package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 01 Dec 2025 21:50:49 -0500
Source: primecountpy
Built-For-Profiles: noudeb
Architecture: source
Version: 0.1.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Math Team <[email protected]>
Changed-By: Doug Torrance <[email protected]>
Closes: 1119762
Changes:
primecountpy (0.1.1-1) unstable; urgency=medium
.
* Team upload.
* New upstream release.
- Fixes built with cython 3.1 (Closes: #1119762).
* debian/patches/no-runtime-cython.patch
- Remove patch; applied upstream.
Checksums-Sha1:
7e70a54f536c5f127ca4116bb6357ed261ee6b5c 2302 primecountpy_0.1.1-1.dsc
ab14e2f5415c0d5fdcc64ccc31b651f23db1bb93 14681 primecountpy_0.1.1.orig.tar.gz
0b50f742c5df2760951b47af6d01ee1cc2da3a0f 2308
primecountpy_0.1.1-1.debian.tar.xz
63f52f4b859f753b140d54599082c897ebcdb19d 11384
primecountpy_0.1.1-1_source.buildinfo
Checksums-Sha256:
9e3f91fa0be4407400024f2868b86d9b2dcaab94460a6ecb7bc4733fee3512fe 2302
primecountpy_0.1.1-1.dsc
6123162b33479527324e9d2c95de9245433e82fbb032e31aff8e395967efb230 14681
primecountpy_0.1.1.orig.tar.gz
f210dbe0944da5d3e63ae08ed76bfccc0e44b111ad0e1bac46b1f732ab58ecaf 2308
primecountpy_0.1.1-1.debian.tar.xz
2caf1e5c5b300ffecbbac3e929359c474964fffda9375ebb06d0b52934c280af 11384
primecountpy_0.1.1-1_source.buildinfo
Files:
35da5823dae7e983eecdb2fb2b20179d 2302 python optional primecountpy_0.1.1-1.dsc
896d70496a00d8657ef4df19307d8991 14681 python optional
primecountpy_0.1.1.orig.tar.gz
80eca339bb7d6ae1b396eca267887b4a 2308 python optional
primecountpy_0.1.1-1.debian.tar.xz
ff565654598184a431dd67ea23b026c3 11384 python optional
primecountpy_0.1.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCgAzFiEEewOa7Ermd89P6sIRzrGIZ6EVCQwFAmkuVOQVHGR0b3JyYW5j
ZUBkZWJpYW4ub3JnAAoJEM6xiGehFQkMVxoP/iAcYe+vfP57fR29ibeavaiIBexJ
vJFdjn6FU60aFZ2rV5KEVz0xGdbUdwv+BmxztZixCH4TkzViPFxUteOaqq0y36Ww
JSl1Ka5uc30t2UQusmf+WVdfv+hsSK/QMI8ulBhYdc71380x+bAADj1i8GDAzmhk
ta/VxTWpC7HgcKasrQykqgqPEBs6ctDl1ATRhmHSBT+2cBdy/nsNRJOyG/sFvDDb
svYa15f8yYY3AUOlvufKZn4jj13cseVN0zKmJVQM0c285FasnyHFC0+EaSj+KUhs
6rPBu7rnwE7dIwN2wG0MyhjpqYF9sqqRxEH/VUeNZ7DzQPOs+kQoMxxVdtqZt9cA
Co2V0qQtVINdJT/mJzECLgRCYNPN1SJVvCXkgmBMSAi1Z8XvQ6baAOEm6imLaPDT
yTfHR9ABu+fMvEbO1xbeukQ3VSEoOdecEd1B6QjOhePazdJWLHdBTEsjAKkapmIw
Im8F/gItLNX5ORh2WCMnnB/lm0Xt7fUgNb0NW3WDppJzF/YfsjgS6ikg2bGQYxIi
l899dZXq7wfLEE9aYK1ZszF1PjmECrxFb7QUgjL6FfMpygjninWERugGA+vROWx4
WfqavoqaxqIWZG+mvEg4UPN+lsiZ3NKcvbnypJB/1dk063Q+7+NFhEDN+tCVzxw2
S/EVGhPRh1BnylDI
=OlqT
-----END PGP SIGNATURE-----
pgpWCLof5OAJn.pgp
Description: PGP signature
--- End Message ---