Message7998
Xapain builds under 3.13 are broken. The version of the xapian lib is 1.4.18,
so I am pulling the same version of the source code so it's compatible.
I can't use apt to install the python xapian extension because it puts it
in the OS's python, not in the python I am using to test.
The error is:
...
make all-am
make[3]: Entering directory '/tmp/xapian-bindings-1.4.18/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-alpha.6/x64/include/python3.13 -fno-strict-aliasing -Wall
-Wno-unused -Wno-uninitialized -fvisibility=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-
alpha.6/x64/include/python3.13 -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -
fvisibility=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 constructor
'XapianSWIG_Python_Thread_Block::XapianSWIG_Python_Thread_Block()':
xapian_wrap.cc:87:13: error: 'PyEval_ThreadsInitialized' was not declared in this scope
87 | if (PyEval_ThreadsInitialized()) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
xapian_wrap.cc: In constructor
'XapianSWIG_Python_Thread_Allow::XapianSWIG_Python_Thread_Allow()':
xapian_wrap.cc:109:47: error: 'PyEval_ThreadsInitialized' was not declared in this scope
109 | XapianSWIG_Python_Thread_Allow() : status(PyEval_ThreadsInitialized()) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:782: xapian_wrap.lo] Error 1
make[3]: Leaving directory '/tmp/xapian-bindings-1.4.18/python3'
make[2]: *** [Makefile:682: all] Error 2
make[2]: Leaving directory '/tmp/xapian-bindings-1.4.18/python3'
make[1]: *** [Makefile:521: all-recursive] Error 1
make[1]: Leaving directory '/tmp/xapian-bindings-1.4.18'
make: *** [Makefile:443: all] Error 2
xapian is disabled for now on GitHub 3.13 CI testing.
Consider forcing use of 1.4.25 (released 2024-03-07)
https://oligarchy.co.uk/xapian/1.4.25/xapian-bindings-1.4.25.tar.xz
rather than same version of installed library. IIUC all 1.4 should be compatible:
https://trac.xapian.org/ticket/818 comment 3. |
|
Date |
User |
Action |
Args |
2024-04-20 18:42:47 | rouilj | set | recipients:
+ rouilj |
2024-04-20 18:42:47 | rouilj | set | messageid: <1713638567.03.0.252430870476.issue2551338@roundup.psfhosted.org> |
2024-04-20 18:42:47 | rouilj | link | issue2551338 messages |
2024-04-20 18:42:46 | rouilj | create | |
|