Package: src:python-djvulibre
Version: 0.9.1-2
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:python-djvulibre, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
        pybuild --clean -i python{version} -p 3.13
        rm -rf .pybuild/
        find . -name \*.pyc -exec rm {} \;
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
        rm -f debian/debhelper-build-stamp
        rm -rf debian/.debhelper/
        rm -f -- debian/python3-djvu.substvars debian/python-djvu-doc.substvars 
debian/files
        rm -fr -- debian/python3-djvu/ debian/tmp/ debian/python-djvu-doc/
        find .  \( \( \
                \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
-type f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                \) -exec rm -f {} + \) -o \
                \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) 
-prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary --with sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
        pybuild --configure -i python{version} -p 3.13
   dh_auto_build -O--buildsystem=pybuild
        pybuild --build -i python{version} -p 3.13
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_djvu  
* Building wheel...
<string>:30: DeprecationWarning: The 'wheel.bdist_wheel' module has been 
removed.
Please update your setuptools to v70.1 or later.
If you're explicitly importing 'wheel.bdist_wheel', please update your import 
to point to 'setuptools.command.bdist_wheel' instead.

/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 (GPL)

        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/djvu
copying djvu/__init__.py -> build/lib.linux-x86_64-cpython-313/djvu
copying djvu/const.py -> build/lib.linux-x86_64-cpython-313/djvu
running build_ext
creating 'build/temp.linux-x86_64-cpython-313/src/config.pxi'
generating build/temp.linux-x86_64-cpython-313/src/sexpr.c from djvu/sexpr.pyx, 
build/temp.linux-x86_64-cpython-313/src/config.pxi, djvu/common.pxi, 
djvu/decode.pxd, djvu/sexpr.pxd

Error compiling Cython file:
------------------------------------------------------------
...
from cpython.mem cimport PyMem_Malloc as py_malloc  # noqa: F401
from cpython.mem cimport PyMem_Free as py_free  # noqa: F401

# Python numbers:

from cpython cimport (
^
------------------------------------------------------------

djvu/common.pxi:29:0: 'cpython/PyInt_Check.pxd' not found

Error compiling Cython file:
------------------------------------------------------------
...

from cpython cimport PyNumber_Long as int  # noqa: F401

# Python strings:

from cpython cimport (
^
------------------------------------------------------------

djvu/common.pxi:46:0: 'cpython/PyString_Check.pxd' not found

Error compiling Cython file:
------------------------------------------------------------
...
    PyInt_Check as is_short_int,
    PyLong_Check as is_long_int,
)

cdef int is_int(object o):
    return is_short_int(o) or is_long_int(o)
           ^
------------------------------------------------------------

djvu/common.pxi:35:11: 'is_short_int' is not a constant, variable or function 
identifier
building 'djvu.sexpr' extension
creating 
build/temp.linux-x86_64-cpython-313/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 
build/temp.linux-x86_64-cpython-313/src/sexpr.c -o 
build/temp.linux-x86_64-cpython-313/build/temp.linux-x86_64-cpython-313/src/sexpr.o
 -pthread
cc1: fatal error: build/temp.linux-x86_64-cpython-313/src/sexpr.c: No such file 
or directory
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: 
python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_djvu  
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to