Bug#1061741: faiss ftbfs with Python 3.12 as default
Package: src:faiss
Version: 1.7.4-3
Severity: serious
Tags: sid trixie ftbfs
User: debian-python@lists.debian.org
Usertags: python3.12
With python3-defaults from experimental, the package fails to build:
[...]
/<<PKGBUILDDIR>>/build/faiss/python/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx: 
In function ‘PyObject* swig_ptr(PyObject*)’:
/<<PKGBUILDDIR>>/build/faiss/python/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:4939:41: 
error: ‘SWIGTYPE_p_unsigned_long_long’ was not declared in this scope; 
did you mean ‘SWIGTYPE_p_unsigned_long’?
 4939 |         return SWIG_NewPointerObj(data, 
SWIGTYPE_p_unsigned_long_long, 0);
      | 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build/faiss/python/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:1136:94: 
note: in definition of macro ‘SWIG_NewPointerObj’
 1136 | #define SWIG_NewPointerObj(ptr, type, flags) 
SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
      | 
                             ^~~~
/<<PKGBUILDDIR>>/build/faiss/python/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:4946:41: 
error: ‘SWIGTYPE_p_long_long’ was not declared in this scope; did you 
mean ‘SWIGTYPE_p_long’?
 4946 |         return SWIG_NewPointerObj(data, SWIGTYPE_p_long_long, 0);
      |                                         ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/build/faiss/python/CMakeFiles/swigfaiss.dir/swigfaissPYTHON_wrap.cxx:1136:94: 
note: in definition of macro ‘SWIG_NewPointerObj’
 1136 | #define SWIG_NewPointerObj(ptr, type, flags) 
SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
      |
Reply to: