Source: python-libzim
Version: 3.1.0-2
Severity: normal
User: debian-pyt...@lists.debian.org
Usertags: python3.13

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

This looks like a package that just needs to get off cython3-legacy
(that doesn't support 3.13) and onto a current cython. That will have
3.13 support. I see there are several new upstream releases.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_libzim  
* Building wheel...
Using found library at {config.found_libzim}. Adjust CFLAGS/LDFLAGS if needed
Compiling libzim/libzim.pyx because it depends on 
/usr/lib/python3/dist-packages/Cython/Includes/libcpp/utility.pxd.
[1/1] Cythonizing libzim/libzim.pyx
running bdist_wheel
running build
running build_py
running egg_info
writing libzim.egg-info/PKG-INFO
writing dependency_links to libzim.egg-info/dependency_links.txt
writing top-level names to libzim.egg-info/top_level.txt
reading manifest file 'libzim.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
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.*'
adding license file 'LICENSE'
writing manifest file 'libzim.egg-info/SOURCES.txt'
creating build
creating build/lib.linux-aarch64-cpython-313
creating build/lib.linux-aarch64-cpython-313/libzim
copying libzim/libwrapper.cpp -> build/lib.linux-aarch64-cpython-313/libzim
copying libzim/libwrapper.h -> build/lib.linux-aarch64-cpython-313/libzim
copying libzim/libzim.cpp -> build/lib.linux-aarch64-cpython-313/libzim
copying libzim/libzim.h -> build/lib.linux-aarch64-cpython-313/libzim
copying libzim/libzim.pyx -> build/lib.linux-aarch64-cpython-313/libzim
copying libzim/libzim_api.h -> build/lib.linux-aarch64-cpython-313/libzim
copying libzim/zim.pxd -> build/lib.linux-aarch64-cpython-313/libzim
running build_ext
building 'libzim' extension
creating build/temp.linux-aarch64-cpython-313
creating build/temp.linux-aarch64-cpython-313/libzim
aarch64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c libzim/libwrapper.cpp -o 
build/temp.linux-aarch64-cpython-313/libzim/libwrapper.o -std=c++11 -Wall 
-Wextra
aarch64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.13 -c libzim/libzim.cpp -o 
build/temp.linux-aarch64-cpython-313/libzim/libzim.o -std=c++11 -Wall -Wextra
libzim/libzim.cpp:898:72: warning: ‘Py_UNICODE’ is deprecated 
[-Wdeprecated-declarations]
  898 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE 
*u) {
      |                                                                        ^
In file included from /usr/include/python3.13/unicodeobject.h:1014,
                 from /usr/include/python3.13/Python.h:75,
                 from libzim/libzim.cpp:29:
/usr/include/python3.13/cpython/unicodeobject.h:10:37: note: declared here
   10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE;
      |                                     ^~~~~~~~~~
libzim/libzim.cpp: In function ‘size_t __Pyx_Py_UNICODE_strlen(const 
Py_UNICODE*)’:
libzim/libzim.cpp:899:23: warning: ‘Py_UNICODE’ is deprecated 
[-Wdeprecated-declarations]
  899 |     const Py_UNICODE *u_end = u;
      |                       ^~~~~
/usr/include/python3.13/cpython/unicodeobject.h:10:37: note: declared here
   10 | Py_DEPRECATED(3.13) typedef wchar_t Py_UNICODE;
      |                                     ^~~~~~~~~~
libzim/libzim.cpp: At global scope:
libzim/libzim.cpp:21934:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
21934 | };
      | ^
libzim/libzim.cpp:21934:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:22091:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
22091 | };
      | ^
libzim/libzim.cpp:22091:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:22221:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
22221 | };
      | ^
libzim/libzim.cpp:22221:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:22352:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
22352 | };
      | ^
libzim/libzim.cpp:22352:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:22512:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
22512 | };
      | ^
libzim/libzim.cpp:22512:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:22757:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
22757 | };
      | ^
libzim/libzim.cpp:22757:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:22861:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
22861 | };
      | ^
libzim/libzim.cpp:22861:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:22966:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
22966 | };
      | ^
libzim/libzim.cpp:22966:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:23073:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
23073 | };
      | ^
libzim/libzim.cpp:23073:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:23181:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
23181 | };
      | ^
libzim/libzim.cpp:23181:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:23286:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
23286 | };
      | ^
libzim/libzim.cpp:23286:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:23393:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
23393 | };
      | ^
libzim/libzim.cpp:23393:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:23501:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
23501 | };
      | ^
libzim/libzim.cpp:23501:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:23610:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
23610 | };
      | ^
libzim/libzim.cpp:23610:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:23743:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
23743 | };
      | ^
libzim/libzim.cpp:23743:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:23858:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
23858 | };
      | ^
libzim/libzim.cpp:23858:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp:23973:1: warning: missing initializer for member 
‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
23973 | };
      | ^
libzim/libzim.cpp:23973:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
libzim/libzim.cpp: In function ‘int __pyx_pymod_exec_libzim(PyObject*)’:
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26076:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26076 |   if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_module_2, __pyx_t_4) < 
0) __PYX_ERR(0, 226, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26086:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26086 |   if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_none, __pyx_int_0) < 0) 
__PYX_ERR(0, 229, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26095:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26095 |   if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_zstd, __pyx_int_1) < 0) 
__PYX_ERR(0, 230, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26143:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26143 |   if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_module_2, __pyx_t_4) < 
0) __PYX_ERR(0, 234, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26155:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26155 |   if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_COMPRESS, __pyx_t_4) < 
0) __PYX_ERR(0, 235, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26167:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26167 |   if (__Pyx_SetNameInClass(__pyx_t_3, __pyx_n_s_FRONT_ARTICLE, 
__pyx_t_4) < 0) __PYX_ERR(0, 236, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26217:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26217 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_module_2, __pyx_t_2) < 
0) __PYX_ERR(0, 416, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26229:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26229 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_init, __pyx_t_2) < 0) 
__PYX_ERR(0, 417, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26249:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26249 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_size, __pyx_t_3) < 
0) __PYX_ERR(0, 420, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26266:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26266 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_feed, __pyx_t_2) < 0) 
__PYX_ERR(0, 424, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26301:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26301 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_gen_blob, __pyx_t_5) < 
0) __PYX_ERR(0, 441, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26347:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26347 |   if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_module_2, __pyx_t_3) < 
0) __PYX_ERR(0, 448, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26382:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26382 |   if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_init, __pyx_t_8) < 0) 
__PYX_ERR(0, 449, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26402:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26402 |   if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_get_size, __pyx_t_3) < 
0) __PYX_ERR(0, 453, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26437:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26437 |   if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_gen_blob, __pyx_t_6) < 
0) __PYX_ERR(0, 456, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26487:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26487 |   if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_module_2, __pyx_t_4) < 
0) __PYX_ERR(0, 462, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26527:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26527 |   if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_init, __pyx_t_8) < 0) 
__PYX_ERR(0, 463, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26547:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26547 |   if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_get_size, __pyx_t_4) < 
0) __PYX_ERR(0, 468, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26582:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26582 |   if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_gen_blob, __pyx_t_3) < 
0) __PYX_ERR(0, 471, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26621:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26621 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_module_2, __pyx_t_5) < 
0) __PYX_ERR(0, 483, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26638:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26638 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_has_indexdata, 
__pyx_t_2) < 0) __PYX_ERR(0, 485, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26655:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26655 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_title, __pyx_t_5) < 
0) __PYX_ERR(0, 489, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26672:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26672 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_content, __pyx_t_2) 
< 0) __PYX_ERR(0, 493, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26689:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26689 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_keywords, 
__pyx_t_5) < 0) __PYX_ERR(0, 497, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26706:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26706 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_wordcount, 
__pyx_t_2) < 0) __PYX_ERR(0, 503, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26744:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26744 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_geoposition, 
__pyx_t_6) < 0) __PYX_ERR(0, 507, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26779:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26779 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_module_2, __pyx_t_6) < 
0) __PYX_ERR(0, 518, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26791:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26791 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_init, __pyx_t_6) < 0) 
__PYX_ERR(0, 520, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26808:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26808 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_path, __pyx_t_2) < 
0) __PYX_ERR(0, 523, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26825:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26825 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_title, __pyx_t_6) < 
0) __PYX_ERR(0, 527, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26842:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26842 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_mimetype, 
__pyx_t_2) < 0) __PYX_ERR(0, 531, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26862:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26862 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_contentprovider, 
__pyx_t_6) < 0) __PYX_ERR(0, 535, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26898:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26898 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_hints, __pyx_t_5) < 
0) __PYX_ERR(0, 539, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26915:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26915 |   if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_repr, __pyx_t_6) < 0) 
__PYX_ERR(0, 543, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26959:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26959 |   if (__Pyx_SetNameInClass(__pyx_t_5, __pyx_n_s_module_2, __pyx_t_2) < 
0) __PYX_ERR(0, 551, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:26982:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
26982 |   if (__Pyx_SetNameInClass(__pyx_t_5, __pyx_n_s_config_compression, 
__pyx_t_4) < 0) __PYX_ERR(0, 552, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:27052:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
27052 |   if (__Pyx_SetNameInClass(__pyx_t_5, __pyx_n_s_add_metadata, 
__pyx_t_9) < 0) __PYX_ERR(0, 557, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:27069:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
27069 |   if (__Pyx_SetNameInClass(__pyx_t_5, __pyx_n_s_repr, __pyx_t_4) < 0) 
__PYX_ERR(0, 567, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:27860:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
27860 |   if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_create_module, 
__pyx_t_10) < 0) __PYX_ERR(0, 1284, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:27883:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
27883 |   if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_exec_module, __pyx_t_7) 
< 0) __PYX_ERR(0, 1294, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:2011:38: error: ‘_PyDict_SetItem_KnownHash’ was not declared 
in this scope; did you mean ‘_PyDict_GetItem_KnownHash’?
 2011 |     (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, 
name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, 
value))
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:27936:7: note: in expansion of macro ‘__Pyx_SetNameInClass’
27936 |   if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_find_spec, __pyx_t_7) < 
0) __PYX_ERR(0, 1300, __pyx_L1_error)
      |       ^~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp: In function ‘PyObject* __Pyx_PyIter_Next2(PyObject*, 
PyObject*)’:
libzim/libzim.cpp:29577:35: error: ‘_PyObject_NextNotImplemented’ was not 
declared in this scope; did you mean ‘PyObject_HashNotImplemented’?
29577 |         if (unlikely(iternext == &_PyObject_NextNotImplemented))
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp:1008:43: note: in definition of macro ‘unlikely’
 1008 |   #define unlikely(x) __builtin_expect(!!(x), 0)
      |                                           ^
libzim/libzim.cpp: In function ‘PyObject* __Pyx_PyUnicode_Join(PyObject*, 
Py_ssize_t, Py_ssize_t, Py_UCS4)’:
libzim/libzim.cpp:29637:13: error: ‘_PyUnicode_FastCopyCharacters’ was not 
declared in this scope; did you mean ‘PyUnicode_CopyCharacters’?
29637 |             _PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 
0, ulength);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |             PyUnicode_CopyCharacters
libzim/libzim.cpp: At global scope:
libzim/libzim.cpp:31081:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
31081 | };
      | ^
libzim/libzim.cpp: In function ‘int __Pyx_PyInt_As_int(PyObject*)’:
libzim/libzim.cpp:31635:46: error: too few arguments to function ‘int 
_PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
31635 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
      |                           ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
31636 |                                               bytes, sizeof(val),
      |                                               ~~~~~~~~~~~~~~~~~~~
31637 |                                               is_little, !is_unsigned);
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.13/longobject.h:107,
                 from /usr/include/python3.13/Python.h:77:
/usr/include/python3.13/cpython/longobject.h:111:17: note: declared here
  111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
      |                 ^~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp: In function ‘uint64_t __Pyx_PyInt_As_uint64_t(PyObject*)’:
libzim/libzim.cpp:31869:46: error: too few arguments to function ‘int 
_PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
31869 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
      |                           ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
31870 |                                               bytes, sizeof(val),
      |                                               ~~~~~~~~~~~~~~~~~~~
31871 |                                               is_little, !is_unsigned);
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.13/cpython/longobject.h:111:17: note: declared here
  111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
      |                 ^~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp: In function ‘uint32_t __Pyx_PyInt_As_uint32_t(PyObject*)’:
libzim/libzim.cpp:32065:46: error: too few arguments to function ‘int 
_PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
32065 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
      |                           ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
32066 |                                               bytes, sizeof(val),
      |                                               ~~~~~~~~~~~~~~~~~~~
32067 |                                               is_little, !is_unsigned);
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.13/cpython/longobject.h:111:17: note: declared here
  111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
      |                 ^~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp: In function ‘zim::writer::HintKeys 
__Pyx_PyInt_As_zim_3a__3a_writer_3a__3a_HintKeys(PyObject*)’:
libzim/libzim.cpp:32261:46: error: too few arguments to function ‘int 
_PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
32261 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
      |                           ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
32262 |                                               bytes, sizeof(val),
      |                                               ~~~~~~~~~~~~~~~~~~~
32263 |                                               is_little, !is_unsigned);
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.13/cpython/longobject.h:111:17: note: declared here
  111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
      |                 ^~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp: In function ‘unsigned int 
__Pyx_PyInt_As_unsigned_int(PyObject*)’:
libzim/libzim.cpp:32571:46: error: too few arguments to function ‘int 
_PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
32571 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
      |                           ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
32572 |                                               bytes, sizeof(val),
      |                                               ~~~~~~~~~~~~~~~~~~~
32573 |                                               is_little, !is_unsigned);
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.13/cpython/longobject.h:111:17: note: declared here
  111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
      |                 ^~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp: In function ‘long int __Pyx_PyInt_As_long(PyObject*)’:
libzim/libzim.cpp:32767:46: error: too few arguments to function ‘int 
_PyLong_AsByteArray(PyLongObject*, unsigned char*, size_t, int, int, int)’
32767 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
      |                           ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
32768 |                                               bytes, sizeof(val),
      |                                               ~~~~~~~~~~~~~~~~~~~
32769 |                                               is_little, !is_unsigned);
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.13/cpython/longobject.h:111:17: note: declared here
  111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
      |                 ^~~~~~~~~~~~~~~~~~~
libzim/libzim.cpp: In function ‘PyObject* __Pyx_PyGen_Send(PyGenObject*, 
PyObject*)’:
libzim/libzim.cpp:33168:13: error: ‘_PyGen_SetStopIterationValue’ was not 
declared in this scope; did you mean ‘__Pyx_PyGen__FetchStopIterationValue’?
33168 |             _PyGen_SetStopIterationValue(result);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |             __Pyx_PyGen__FetchStopIterationValue
libzim/libzim.cpp: At global scope:
libzim/libzim.cpp:33899:1: warning: missing initializer for member 
‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
33899 | };
      | ^
error: command '/usr/bin/aarch64-linux-gnu-g++' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/785528/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

Reply via email to