reating config.h config.status: executing depfiles commands config.status: executing libtool commands *** Building bindings for languages: python3 tcl8 ruby configure: WARNING: Xapian library is version 1.4.22 but the bindings are version 1.4.23 - we strongly recommend using matching versions. + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in . Making all in python3 /usr/bin/make all-am make[3]: Entering directory '/builddir/build/BUILD/xapian-bindings-1.4.23/python3' /usr/bin/mkdir -p xapian cp `test -f xapian.py || echo './'`xapian.py xapian/__init__.py make[3]: Leaving directory '/builddir/build/BUILD/xapian-bindings-1.4.23/python3' make[3]: Entering directory '/builddir/build/BUILD/xapian-bindings-1.4.23/python3' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python3.12 -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -fvisibility-inlines-hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o xapian_wrap.lo xapian_wrap.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python3.12 -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -fvisibility-inlines-hidden -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c xapian_wrap.cc -fPIC -DPIC -o .libs/xapian_wrap.o make[3]: Leaving directory '/builddir/build/BUILD/xapian-bindings-1.4.23/python3' xapian_wrap.cc: In function ‘PyObject* PyInit__xapian()’: xapian_wrap.cc:65033:114: error: ‘FLAG_NGRAMS’ is not a member of ‘Xapian::TermGenerator’ 65033 | SWIG_Python_SetConstant(d, "TermGenerator_FLAG_NGRAMS",SWIG_From_int(static_cast< int >(Xapian::TermGenerator::FLAG_NGRAMS))); | ^~~~~~~~~~~ xapian_wrap.cc:65046:99: error: ‘SNIPPET_NGRAMS’ is not a member of ‘Xapian::MSet’ 65046 | SWIG_Python_SetConstant(d, "MSet_SNIPPET_NGRAMS",SWIG_From_int(static_cast< int >(Xapian::MSet::SNIPPET_NGRAMS))); | ^~~~~~~~~~~~~~ xapian_wrap.cc:65067:110: error: ‘FLAG_NGRAMS’ is not a member of ‘Xapian::QueryParser’ 65067 | SWIG_Python_SetConstant(d, "QueryParser_FLAG_NGRAMS",SWIG_From_int(static_cast< int >(Xapian::QueryParser::FLAG_NGRAMS))); | ^~~~~~~~~~~ make[3]: *** [Makefile:788: xapian_wrap.lo] Error 1 make[2]: *** [Makefile:677: all] Error 2 make[1]: *** [Makefile:514: all-recursive] Error 1 make: *** [Makefile:436: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.anfa4R (%build) Bad exit status from /var/tmp/rpm-tmp.anfa4R (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xapian-bindings.spec