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 --------------------------------------------------------------------------------

