faiss FTBFS on noble
Bug #2052017 reported by
Pushkar Kulkarni
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
faiss (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The build seems to fail due to a recent upgrade of dependency swig [1] to 4.2.0-1 in noble-proposed. The last successful upload was built using swig 4.1.0-0.3[2]. Someone also reported the same failure upstream [3]. The build also fails with swig 4.2.0-0ubuntu1 in noble-release.
[1] https:/
[2] https:/
[3] https:/
To post a comment you must log in.
Oh, btw I am suspecting swig because it appears that some faiss Python bindings were not generated in the failing build:
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----
/<<PKGBUILDDIR> >/build/ faiss/python/ CMakeFiles/ swigfaiss. dir/swigfaissPY THON_wrap. cxx: In function ‘PyObject* swig_ptr( PyObject* )’: >/build/ faiss/python/ CMakeFiles/ swigfaiss. dir/swigfaissPY THON_wrap. cxx:4939: 41: error: ‘SWIGTYPE_ p_unsigned_ long_long’ was not declared in this scope; did you mean ‘SWIGTYPE_ p_unsigned_ long’? Obj(data, SWIGTYPE_ p_unsigned_ long_long, 0); ~~~~~~~ ~~~~~~~ ~~~~~~~ ~ >/build/ faiss/python/ CMakeFiles/ swigfaiss. dir/swigfaissPY THON_wrap. cxx:1136: 94: note: in definition of macro ‘SWIG_NewPointe rObj’ Obj(ptr, type, flags) SWIG_Python_ NewPointerObj( NULL, ptr, type, flags) >/build/ faiss/python/ CMakeFiles/ swigfaiss. dir/swigfaissPY THON_wrap. cxx:4946: 41: error: ‘SWIGTYPE_ p_long_ long’ was not declared in this scope; did you mean ‘SWIGTYPE_p_long’? Obj(data, SWIGTYPE_ p_long_ long, 0); ~~~~~~~ ~~~~~~ >/build/ faiss/python/ CMakeFiles/ swigfaiss. dir/swigfaissPY THON_wrap. cxx:1136: 94: note: in definition of macro ‘SWIG_NewPointe rObj’ Obj(ptr, type, flags) SWIG_Python_ NewPointerObj( NULL, ptr, type, flags) s/faiss_ c.dir/utils/ distances_ c.cpp.o s/faiss_ test.dir/ test_pq_ encoding. cpp.o
/<<PKGBUILDDIR>
4939 | return SWIG_NewPointer
| ^~~~~~~
/<<PKGBUILDDIR>
1136 | #define SWIG_NewPointer
| ^~~~
/<<PKGBUILDDIR>
4946 | return SWIG_NewPointer
| ^~~~~~~
/<<PKGBUILDDIR>
1136 | #define SWIG_NewPointer
| ^~~~
[ 92%] Building CXX object c_api/CMakeFile
[ 92%] Building CXX object tests/CMakeFile
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----