Created attachment 499236 [details] build.log >>> Compiling source in /var/tmp/portage/dev-libs/xapian-bindings-1.4.5/work/xapian-bindings-1.4.5 ... make -j3 make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-libs/xapian-bindings-1.4.5/work/xapian-bindings-1.4.5' Making all in . make[2]: Entering directory '/var/tmp/portage/dev-libs/xapian-bindings-1.4.5/work/xapian-bindings-1.4.5' make[2]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.4.5/work/xapian-bindings-1.4.5' Making all in perl make[2]: Entering directory '/var/tmp/portage/dev-libs/xapian-bindings-1.4.5/work/xapian-bindings-1.4.5/perl' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib64/perl5/5.26.1/x86_64-linux-t hread-multi/CORE -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -march=native -mtune=native -O2 -pipe -c -o xapian_wrap.lo xapian_wrap.cc libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib64/perl5/5.26.1/x86_64-linux-thread-multi/CORE -fno-strict- aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -march=native -mtune=native -O2 -pipe -c xapian_wrap.cc -fPIC -DPIC -o .libs/xapian_wrap.o xapian_wrap.cc: In function ‘void _wrap_Database_get_total_length(PerlInterpreter*, CV*)’: xapian_wrap.cc:53662:5: error: ‘totallength’ is not a member of ‘Xapian’ Xapian::totallength result; ^~~~~~ xapian_wrap.cc:53675:9: error: ‘result’ was not declared in this scope result = (Xapian::totallength)((Xapian::Database const *)arg1)->get_total_length(); ^~~~~~ xapian_wrap.cc:53675:19: error: ‘totallength’ is not a member of ‘Xapian’ result = (Xapian::totallength)((Xapian::Database const *)arg1)->get_total_length(); ^~~~~~ xapian_wrap.cc:53681:96: error: ‘result’ was not declared in this scope ST(argvi) = SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1(static_cast< unsigned long >(result)); argvi++ ; ^ xapian_wrap.cc:955:80: note: in definition of macro ‘SWIG_PERL_CALL_ARGS_1’ #define SWIG_PERL_CALL_ARGS_1(arg1) (SWIG_PERL_OBJECT_CALL arg1) ^~~~ make[2]: *** [Makefile:847: xapian_wrap.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.4.5/work/xapian-bindings-1.4.5/perl' make[1]: *** [Makefile:522: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.4.5/work/xapian-bindings-1.4.5' make: *** [Makefile:444: all] Error 2
It may simply be a case of needing to declare a minimum version of dev-libs/xapian Portage was quite happy with autounmasking xapian-bindings-1.4.5 and then building it against xapian-1.4.4
(In reply to Kent Fredric (IRC: kent\n) from comment #1) > It may simply be a case of needing to declare a minimum version of > dev-libs/xapian > > Portage was quite happy with autounmasking xapian-bindings-1.4.5 and then > building it against xapian-1.4.4 I tested building against xapian-1.4.5. Did you get the failure by building xapian-bindings-1.4.5 against xapian-1.4.4 ?
per his configure output, it seems he was indeed building with older xapian checking if /usr/bin/xapian-config version >= 1.4.0... yes (1.4.4)
[master e869d7a5e8b9] dev-libs/xapian-bindings: Fix install (#625592) and deps (#634738) 1 file changed, 2 insertions(+), 2 deletions(-)