[Xapian-tickets] [Xapian] #828: Failure to compile xapian on python 3.13beta1 with 1.4.25 on github ubuntu runner
Xapian
nobody at xapian.org
Tue May 14 13:43:43 BST 2024
#828: Failure to compile xapian on python 3.13beta1 with 1.4.25 on github ubuntu
runner
---------------------------------------------+-----------------------------
Reporter: rouilj | Owner: Richard Boulton
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings (Python) | Version: 1.4.25
Severity: normal | Keywords:
Blocked By: | Blocking:
Operating System: Linux |
---------------------------------------------+-----------------------------
Hello:
I am trying to install the xapian bindings against library version 1.4.14
using the newest bindings - version 1.4.25 (as mentioned in #818).
This is with 3.13beta1 Python on a github ubuntu 22.04 runner.
It is failing with the following errors:
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)));
|
^~~~~~~~~~~~~~~~~
Both libxapian-dev libxapian30 are installed via apt.
I built a workflow specifically for building xapian. You can see the
failing 1.4.25 build attempt in context at:
https://github.com/roundup-
tracker/roundup/actions/runs/9079358835/job/24948392660
and all the attempts (including 1.4.18 and others) at https://github.com
/roundup-tracker/roundup/actions/workflows/build-xapian.yml
I am building from source because I need the bindings to be installed
in my 3.13 test environment and not in the default python environment for
the platform.
I am releasing a new version of the Roundup Issue Tracker in a bit under
two months and would like to be able to test xapian against 3.13 before
release.
Thanks.
--
Ticket URL: <https://trac.xapian.org/ticket/828>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list