Your message dated Tue, 16 Dec 2025 14:44:14 +0000
with message-id <[email protected]>
and subject line Bug#1120172: fixed in python-libzim 3.6.0-1.2
has caused the Debian Bug report #1120172,
regarding python-libzim: FTBFS: dh_auto_test: error: pybuild --test
--test-pytest -i python{version} -p 3.13 returned exit code 13
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.)
--
1120172: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120172
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-libzim
Version: 3.6.0-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/202511/
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-libzim, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with python3 --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --with python3 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
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_libzim
* Building wheel...
warning: libzim/zim.pxd:69:61: The keyword 'nogil' should appear at the end of
the function signature line. Placing it before 'except' or 'noexcept' will be
disallowed in a future version of Cython.
warning: libzim/zim.pxd:70:64: The keyword 'nogil' should appear at the end of
the function signature line. Placing it before 'except' or 'noexcept' will be
disallowed in a future version of Cython.
warning: libzim/zim.pxd:71:85: The keyword 'nogil' should appear at the end of
the function signature line. Placing it before 'except' or 'noexcept' will be
disallowed in a future version of Cython.
warning: libzim/zim.pxd:72:119: The keyword 'nogil' should appear at the end of
the function signature line. Placing it before 'except' or 'noexcept' will be
disallowed in a future version of Cython.
warning: libzim/zim.pxd:74:47: The keyword 'nogil' should appear at the end of
the function signature line. Placing it before 'except' or 'noexcept' will be
disallowed in a future version of Cython.
warning: libzim/zim.pxd:76:78: The keyword 'nogil' should appear at the end of
the function signature line. Placing it before 'except' or 'noexcept' will be
disallowed in a future version of Cython.
performance hint: libzim/libzim.pyx:101:4: Exception check on
'string_cy_call_fct' will always require the GIL to be acquired. Declare
'string_cy_call_fct' as 'noexcept' if you control the definition and you're
sure you don't want the function to raise exceptions.
performance hint: libzim/libzim.pyx:110:4: Exception check on
'blob_cy_call_fct' will always require the GIL to be acquired. Declare
'blob_cy_call_fct' as 'noexcept' if you control the definition and you're sure
you don't want the function to raise exceptions.
performance hint: libzim/libzim.pyx:176:4: Exception check on
'geoposition_cy_call_fct' will always require the GIL to be acquired. Declare
'geoposition_cy_call_fct' as 'noexcept' if you control the definition and
you're sure you don't want the function to raise exceptions.
performance hint: libzim/libzim.pyx:194:4: Exception check on
'hints_cy_call_fct' will always require the GIL to be acquired. Declare
'hints_cy_call_fct' as 'noexcept' if you control the definition and you're sure
you don't want the function to raise exceptions.
warning: libzim/libzim.pyx:280:52: Unknown type declaration 'Creator' in
annotation, ignoring
warning: libzim/libzim.pyx:287:62: Unknown type declaration 'Creator' in
annotation, ignoring
warning: libzim/libzim.pyx:296:53: Unknown type declaration 'Creator' in
annotation, ignoring
warning: libzim/libzim.pyx:307:73: Unknown type declaration 'Creator' in
annotation, ignoring
warning: libzim/libzim.pyx:317:56: Unknown type declaration 'Creator' in
annotation, ignoring
warning: libzim/libzim.pyx:324:49: Unknown type declaration 'Creator' in
annotation, ignoring
warning: libzim/libzim.pyx:344:45: Unknown type declaration 'BaseWritingItem'
in annotation, ignoring
Using found library at libzim.so.9. Adjust CFLAGS/LDFLAGS if needed
Compiling libzim/libzim.pyx because it changed.
[1/1] Cythonizing libzim/libzim.pyx
/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 General Public License v3 or later
(GPLv3+)
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 General Public License v3 or later
(GPLv3+)
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
running egg_info
creating libzim.egg-info
writing libzim.egg-info/PKG-INFO
writing dependency_links to libzim.egg-info/dependency_links.txt
writing requirements to libzim.egg-info/requires.txt
writing top-level names to libzim.egg-info/top_level.txt
writing manifest file 'libzim.egg-info/SOURCES.txt'
reading manifest file 'libzim.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'requirements-dev.txt'
warning: no files found matching 'libzim/*.py'
warning: no previously-included files matching '__pycache__/*' found anywhere
in distribution
warning: no previously-included files found matching 'libzim/*.dylib'
warning: no previously-included files found matching 'libzim/*.so'
warning: no previously-included files found matching 'libzim/*.so.*'
warning: no previously-included files found matching 'libzim/*.dll'
adding license file 'LICENSE'
writing manifest file 'libzim.egg-info/SOURCES.txt'
creating build/lib.linux-x86_64-cpython-313/libzim
copying libzim/__init__.pyi -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/libwrapper.cpp -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/libwrapper.h -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/libzim.cpp -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/libzim.h -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/libzim.pyx -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/libzim_api.h -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/reader.pyi -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/search.pyi -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/suggestion.pyi -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/version.pyi -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/writer.pyi -> build/lib.linux-x86_64-cpython-313/libzim
copying libzim/zim.pxd -> build/lib.linux-x86_64-cpython-313/libzim
running build_ext
building 'libzim' extension
creating build/temp.linux-x86_64-cpython-313/libzim
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
-Ilibzim -I/usr/include/python3.13 -c libzim/libwrapper.cpp -o
build/temp.linux-x86_64-cpython-313/libzim/libwrapper.o -std=c++11 -Wall -Wextra
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
-Ilibzim -I/usr/include/python3.13 -c libzim/libzim.cpp -o
build/temp.linux-x86_64-cpython-313/libzim/libzim.o -std=c++11 -Wall -Wextra
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 -shared
-Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro
-Wl,-z,now -g -O2 -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/libzim/libwrapper.o
build/temp.linux-x86_64-cpython-313/libzim/libzim.o -L/usr/lib/x86_64-linux-gnu
-lzim -o
build/lib.linux-x86_64-cpython-313/libzim.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/libzim
copying build/lib.linux-x86_64-cpython-313/libzim/writer.pyi ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/suggestion.pyi ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/libzim.pyx ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/libzim.h ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/search.pyi ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/__init__.pyi ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/libzim_api.h ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/reader.pyi ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/libwrapper.cpp ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/libwrapper.h ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/version.pyi ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/libzim.cpp ->
build/bdist.linux-x86_64/wheel/./libzim
copying build/lib.linux-x86_64-cpython-313/libzim/zim.pxd ->
build/bdist.linux-x86_64/wheel/./libzim
copying
build/lib.linux-x86_64-cpython-313/libzim.cpython-313-x86_64-linux-gnu.so ->
build/bdist.linux-x86_64/wheel/.
running install_egg_info
Copying libzim.egg-info to
build/bdist.linux-x86_64/wheel/./libzim-3.6.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/libzim-3.6.0.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libzim/.tmp-2mpmsb3h/libzim-3.6.0-cp313-cp313-linux_x86_64.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'libzim.cpython-313-x86_64-linux-gnu.so'
adding 'libzim/__init__.pyi'
adding 'libzim/libwrapper.cpp'
adding 'libzim/libwrapper.h'
adding 'libzim/libzim.cpp'
adding 'libzim/libzim.h'
adding 'libzim/libzim.pyx'
adding 'libzim/libzim_api.h'
adding 'libzim/reader.pyi'
adding 'libzim/search.pyi'
adding 'libzim/suggestion.pyi'
adding 'libzim/version.pyi'
adding 'libzim/writer.pyi'
adding 'libzim/zim.pxd'
adding 'libzim-3.6.0.dist-info/licenses/LICENSE'
adding 'libzim-3.6.0.dist-info/METADATA'
adding 'libzim-3.6.0.dist-info/WHEEL'
adding 'libzim-3.6.0.dist-info/top_level.txt'
adding 'libzim-3.6.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built libzim-3.6.0-cp313-cp313-linux_x86_64.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libzim/build;
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libzim/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 108 items
tests/test_libzim_creator.py ...............................F........... [ 39%]
............. [ 51%]
tests/test_libzim_reader.py .sssssssssssssssssssssssssssssssssssssssssss [ 92%]
ssss [ 96%]
tests/test_libzim_version.py .... [100%]
=================================== FAILURES ===================================
_____________________________ test_creator_additem _____________________________
fpath =
PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_creator_additem0/test.zim')
lipsum_item = StaticItem(path=lorem_ipsum, title=)
def test_creator_additem(fpath, lipsum_item):
# ensure we can't add if not started
c = Creator(fpath)
with pytest.raises(RuntimeError, match="not started"):
c.add_item(lipsum_item)
del c
with Creator(fpath) as c:
c.add_item(lipsum_item)
with pytest.raises(TypeError, match="must not be None"):
c.add_item(None) # pyright: ignore [reportCallIssue,
reportArgumentType]
with pytest.raises(RuntimeError):
c.add_item("hello") # pyright: ignore [reportCallIssue,
reportArgumentType]
with pytest.raises(TypeError, match="takes exactly 1 positional
argument"):
> c.add_item(mimetype="text/html") # pyright: ignore
> [reportCallIssue]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_libzim_creator.py:377:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> def add_item(self, writer_item not None: BaseWritingItem):
E TypeError: add_item() got an unexpected keyword argument 'mimetype'
libzim/libzim.pyx:344: TypeError
During handling of the above exception, another exception occurred:
fpath =
PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_creator_additem0/test.zim')
lipsum_item = StaticItem(path=lorem_ipsum, title=)
def test_creator_additem(fpath, lipsum_item):
# ensure we can't add if not started
c = Creator(fpath)
with pytest.raises(RuntimeError, match="not started"):
c.add_item(lipsum_item)
del c
with Creator(fpath) as c:
c.add_item(lipsum_item)
with pytest.raises(TypeError, match="must not be None"):
c.add_item(None) # pyright: ignore [reportCallIssue,
reportArgumentType]
with pytest.raises(RuntimeError):
c.add_item("hello") # pyright: ignore [reportCallIssue,
reportArgumentType]
> with pytest.raises(TypeError, match="takes exactly 1 positional
> argument"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AssertionError: Regex pattern did not match.
E Regex: 'takes exactly 1 positional argument'
E Input: "add_item() got an unexpected keyword argument 'mimetype'"
tests/test_libzim_creator.py:376: AssertionError
----------------------------- Captured stdout call -----------------------------
Resolve redirect
set index
=========================== short test summary info ============================
FAILED tests/test_libzim_creator.py::test_creator_additem - AssertionError: R...
=================== 1 failed, 60 passed, 47 skipped in 2.07s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libzim/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13
returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: python-libzim
Source-Version: 3.6.0-1.2
Done: Adrian Bunk <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-libzim, 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.
Adrian Bunk <[email protected]> (supplier of updated python-libzim 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: Sun, 14 Dec 2025 15:52:04 +0200
Source: python-libzim
Architecture: source
Version: 3.6.0-1.2
Distribution: unstable
Urgency: medium
Maintainer: Kunal Mehta <[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 1120172
Changes:
python-libzim (3.6.0-1.2) unstable; urgency=medium
.
* Non-maintainer upload.
* Backport upstream fix for FTBFS with Cython 3.1. (Closes: #1120172)
Checksums-Sha1:
e6d076882b1e1c45bdc553446881c8e37a59b922 2085 python-libzim_3.6.0-1.2.dsc
dd22b7afe286697dc90cb4632d2a2ced8209e7d0 3508
python-libzim_3.6.0-1.2.debian.tar.xz
Checksums-Sha256:
4ca6210fd37527dd9a6fa608ade2a454185d8fc14011079067d76b1ddb06a3bd 2085
python-libzim_3.6.0-1.2.dsc
4795b318a927644a733d6d186bfb3abb379f0586aa0796d69a1e8b969b8c7340 3508
python-libzim_3.6.0-1.2.debian.tar.xz
Files:
a49d90aff1786fcf6f21b4806770a69f 2085 python optional
python-libzim_3.6.0-1.2.dsc
52e01ca7e5ad080b4ebb1116ce9cb6b1 3508 python optional
python-libzim_3.6.0-1.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmk+wsAACgkQiNJCh6LY
mLGanA//UB71JmwldlX21P9A/I6J9ZD/HqxyXuUWdsKpwM1U82KLV/WEw+AzUONa
LlqQ+HWSI8EqgMcV+W3/aepLPj07IY0jXu+W5X3QA6UTlaFCTL+KueNu5Fj3fkhN
V5gsS9cbR75tfzEh9lFavt9h7F3tzDLIL9oOKMfvplt16R4qiPT4fvvD/pdvtp9F
0RamP8Ey0p9yT/XEKXWK1m3FZ/BVyyr4ec9pQngLrWMOqL8zBhihjdvz3hiRdxu6
qAbCeIXzdOLi4xThCyi6Vl3K09BS+HiAtDvvGfZ5PBvt0Q4ZkW7jXGovHUASJ7or
bzVAtEWRBn7G+hXQyXjZYK6l3LB8u9ngC+T2+8v3NgG/E28a7Q2qQ2cPY2mIXE18
wRVDTOHNs/OGKpwMSJnXXCvXwN8WsIxHqqdMOLQ8I9aC1ZV1C6/M/pAVXvZWt9T+
6FBupdV5FmQqr2o4k+J+ytWvxwzPCj+sjtvJa6N4Q0Hdo5USLayobdZ9t4AJz4Mw
VW74QLmn4up3IXoNiMnvOQLXn3bnB96cl8aTr98DHhwTghSP1mIGttEXaRJ0sbWB
Qxtx+NJnANv0qcKFQYoRG30KOHolP7MJP5Pt5k2hxL21FNAc5QzavSE75h5INFQR
Zr2HFEm63JfryAFXRYNiEI14QRv4PHXJZB6MFCIYLOn6O024ajU=
=o+tk
-----END PGP SIGNATURE-----
pgpTsL5TbAYei.pgp
Description: PGP signature
--- End Message ---