l -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o xapian_wrap.lo xapian_wrap.cc /usr/bin/mkdir -p xapian cp `test -f xapian.py || echo './'`xapian.py xapian/__init__.py libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.7 -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c xapian_wrap.cc -fPIC -DPIC -o .libs/xapian_wrap.o BUILDSTDERR: xapian_wrap.cc: In function 'PyObject* _wrap_Document_remove_postings__SWIG_0(PyObject*, int, PyObject**)': BUILDSTDERR: xapian_wrap.cc:18368:43: error: 'class Xapian::Document' has no member named 'remove_postings'; did you mean 'remove_posting'? BUILDSTDERR: result = (Xapian::termpos)(arg1)->remove_postings((std::string const &)*arg2,arg3,arg4,arg5); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: remove_posting BUILDSTDERR: xapian_wrap.cc: In function 'PyObject* _wrap_Document_remove_postings__SWIG_1(PyObject*, int, PyObject**)': BUILDSTDERR: xapian_wrap.cc:18431:43: error: 'class Xapian::Document' has no member named 'remove_postings'; did you mean 'remove_posting'? BUILDSTDERR: result = (Xapian::termpos)(arg1)->remove_postings((std::string const &)*arg2,arg3,arg4); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: remove_posting BUILDSTDERR: xapian_wrap.cc: In function 'void init_xapian()': BUILDSTDERR: xapian_wrap.cc:57933:121: error: 'STEM_SOME_FULL_POS' is not a member of 'Xapian::TermGenerator' BUILDSTDERR: SWIG_Python_SetConstant(d, "TermGenerator_STEM_SOME_FULL_POS",SWIG_From_int(static_cast< int >(Xapian::TermGenerator::STEM_SOME_FULL_POS))); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: xapian_wrap.cc:57965:117: error: 'STEM_SOME_FULL_POS' is not a member of 'Xapian::QueryParser' BUILDSTDERR: SWIG_Python_SetConstant(d, "QueryParser_STEM_SOME_FULL_POS",SWIG_From_int(static_cast< int >(Xapian::QueryParser::STEM_SOME_FULL_POS))); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: make[3]: *** [Makefile:792: xapian_wrap.lo] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/xapian-bindings-1.4.9/python' make[2]: Leaving directory '/builddir/build/BUILD/xapian-bindings-1.4.9/python' BUILDSTDERR: make[2]: *** [Makefile:687: all] Error 2 BUILDSTDERR: make[1]: *** [Makefile:521: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/xapian-bindings-1.4.9' BUILDSTDERR: make: *** [Makefile:443: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.4vQmeF (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.4vQmeF (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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