Message8039
Same error with 3.13beta1 and 1.4.18.
If I force use of 1.4.25, I get a different error (along with a warning of mismatching
1.418 and 1.4.25 versions):
configure: WARNING: Xapian library is version 1.4.18 but the bindings are version 1.4.25 - we
strongly recommend using matching versions.
case "$PYTHON_VERSION" in "3.14") echo skipping xapian build;; *) make && sudo make install;
esac
+ case "$PYTHON_VERSION" in
+ make
make all-recursive
make[1]: Entering directory '/tmp/xapian-bindings-1.4.25'
Making all in .
make[2]: Entering directory '/tmp/xapian-bindings-1.4.25'
make[2]: Leaving directory '/tmp/xapian-bindings-1.4.25'
Making all in python3
make[2]: Entering directory '/tmp/xapian-bindings-1.4.25/python3'
make all-am
make[3]: Entering directory '/tmp/xapian-bindings-1.4.25/python3'
depbase=`echo xapian_wrap.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -
I/opt/hostedtoolcache/Python/3.13.0-beta.1/x64/include/python3.13 -fno-strict-aliasing -Wall
-
Wno-unused -Wno-uninitialized -fvisibility=hidden -fvisibility-inlines-hidden -g -O2 -MT
xapian_wrap.lo -MD -MP -MF $depbase.Tpo -c -o xapian_wrap.lo xapian_wrap.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/hostedtoolcache/Python/3.13.0-
beta.1/x64/include/python3.13 -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -
fvisibility=hidden -fvisibility-inlines-hidden -g -O2 -MT xapian_wrap.lo -MD -MP -MF
.deps/xapian_wrap.Tpo -c xapian_wrap.cc -fPIC -DPIC -o .libs/xapian_wrap.o
xapian_wrap.cc: In function 'PyObject* PyInit__xapian()':
xapian_wrap.cc:66318:114: error: 'FLAG_NGRAMS' is not a member of 'Xapian::TermGenerator'
66318 | SWIG_Python_SetConstant(d, "TermGenerator_FLAG_NGRAMS",SWIG_From_int(static_cast<
int
>(Xapian::TermGenerator::FLAG_NGRAMS)));
|
^~~~~~~~~~~
xapian_wrap.cc:66331:99: error: 'SNIPPET_NGRAMS' is not a member of 'Xapian::MSet'
66331 | SWIG_Python_SetConstant(d, "MSet_SNIPPET_NGRAMS",SWIG_From_int(static_cast< int >
(Xapian::MSet::SNIPPET_NGRAMS)));
|
^~~~~~~~~~~~~~
xapian_wrap.cc:66352:110: error: 'FLAG_NGRAMS' is not a member of 'Xapian::QueryParser'
66352 | SWIG_Python_SetConstant(d, "QueryParser_FLAG_NGRAMS",SWIG_From_int(static_cast< int
>
(Xapian::QueryParser::FLAG_NGRAMS)));
|
^~~~~~~~~~~
xapian_wrap.cc:66355:116: error: 'FLAG_NO_POSITIONS' is not a member of 'Xapian::QueryParser'
66355 | SWIG_Python_SetConstant(d,
"QueryParser_FLAG_NO_POSITIONS",SWIG_From_int(static_cast<
int >(Xapian::QueryParser::FLAG_NO_POSITIONS)));
|
^~~~~~~~~~~~~~~~~
Created a new workflow just for testing xapian build with various libraries. |
|
Date |
User |
Action |
Args |
2024-05-12 23:44:02 | rouilj | set | messageid: <1715557442.37.0.943690155368.issue2551338@roundup.psfhosted.org> |
2024-05-12 23:44:02 | rouilj | set | recipients:
+ rouilj |
2024-05-12 23:44:02 | rouilj | link | issue2551338 messages |
2024-05-12 23:44:02 | rouilj | create | |
|