/tmp/portage/dev-libs/xapian-1.4.14/work/xapian-core-1.4.14/matcher/multimatch.cc: In member function ‘void MultiMatch::get_mset(Xapian::doccount, Xapian::doccount, Xapian::doccount, Xapian::MSet&, Xapian::Weight::Internal&, const Xapian::MatchDecider*, const Xapian::KeyMaker*)’: /tmp/portage/dev-libs/xapian-1.4.14/work/xapian-core-1.4.14/matcher/multimatch.cc:458:3: error: ‘RemoteSubMatch’ was not declared in this scope 458 | RemoteSubMatch* rem_match = | ^~~~~~~~~~~~~~ /tmp/portage/dev-libs/xapian-1.4.14/work/xapian-core-1.4.14/matcher/multimatch.cc:458:19: error: ‘rem_match’ was not declared in this scope; did you mean ‘rpmatch’? 458 | RemoteSubMatch* rem_match = | ^~~~~~~~~ | rpmatch /tmp/portage/dev-libs/xapian-1.4.14/work/xapian-core-1.4.14/matcher/multimatch.cc:459:19: error: ‘RemoteSubMatch’ does not name a type 459 | static_cast<RemoteSubMatch*>(leaves[i].get()); | ^~~~~~~~~~~~~~ /tmp/portage/dev-libs/xapian-1.4.14/work/xapian-core-1.4.14/matcher/multimatch.cc:459:33: error: expected ‘>’ before ‘*’ token 459 | static_cast<RemoteSubMatch*>(leaves[i].get()); | ^ /tmp/portage/dev-libs/xapian-1.4.14/work/xapian-core-1.4.14/matcher/multimatch.cc:459:33: error: expected ‘(’ before ‘*’ token 459 | static_cast<RemoteSubMatch*>(leaves[i].get()); | ^ | ( /tmp/portage/dev-libs/xapian-1.4.14/work/xapian-core-1.4.14/matcher/multimatch.cc:459:34: error: expected primary-expression before ‘>’ token 459 | static_cast<RemoteSubMatch*>(leaves[i].get()); | ^ /tmp/portage/dev-libs/xapian-1.4.14/work/xapian-core-1.4.14/matcher/multimatch.cc:459:52: error: expected ‘)’ before ‘;’ token 459 | static_cast<RemoteSubMatch*>(leaves[i].get()); | ^ | ) Reproducible: Always
Created attachment 626434 [details] build.log.gz
Created attachment 626436 [details] emerge --info dev-libs/xapian
Same for me: USE='-doc -inmemory -remote -static-libs' failed for =dev-libs/xapian-1.4.14 USE='doc -inmemory -remote -static-libs' failed for =dev-libs/xapian-1.4.14 USE='-doc inmemory -remote -static-libs' failed for =dev-libs/xapian-1.4.14 USE='doc inmemory -remote -static-libs' failed for =dev-libs/xapian-1.4.14 USE='-doc -inmemory remote -static-libs' succeeded for =dev-libs/xapian-1.4.14 USE='doc -inmemory remote -static-libs' succeeded for =dev-libs/xapian-1.4.14 USE='doc inmemory remote -static-libs' succeeded for =dev-libs/xapian-1.4.14 USE='-doc -inmemory -remote static-libs' failed for =dev-libs/xapian-1.4.14 USE='doc -inmemory -remote static-libs' failed for =dev-libs/xapian-1.4.14 USE='-doc -inmemory remote static-libs' succeeded for =dev-libs/xapian-1.4.14 USE='-doc inmemory remote static-libs' succeeded for =dev-libs/xapian-1.4.14 USE='doc inmemory remote static-libs' succeeded for =dev-libs/xapian-1.4.14
Same here on 1.4.14 with USE="-remote" 1.4.15 builds fine however.
I also experienced this when updating my system. A patch is available at https://trac.xapian.org/changeset/002145779787a9a865857994c512caee91d707f6/git but it may be bettet instead to try stabilizing 1.4.15 which has addressed the issue.
(In reply to Francisco Blas Izquierdo Riera from comment #5) > I also experienced this when updating my system. A patch is available at > https://trac.xapian.org/changeset/002145779787a9a865857994c512caee91d707f6/ > git but it may be bettet instead to try stabilizing 1.4.15 which has > addressed the issue. So this is definitely not an issue on 1.4.15? If so, I'll start a stabilization request for it.
1.4.15 compiles file.