Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715076 - dev-libs/xapian-1.4.14[-remote] fails to build: ‘RemoteSubMatch’ was not declared
Summary: dev-libs/xapian-1.4.14[-remote] fails to build: ‘RemoteSubMatch’ was not decl...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-27 16:58 UTC by nE0sIghT
Modified: 2021-12-04 19:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,10.31 KB, application/octet-stream)
2020-03-27 16:59 UTC, nE0sIghT
Details
emerge --info dev-libs/xapian (emerge.info.txt,8.45 KB, text/plain)
2020-03-27 17:00 UTC, nE0sIghT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nE0sIghT 2020-03-27 16:58:16 UTC
/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
Comment 1 nE0sIghT 2020-03-27 16:59:19 UTC
Created attachment 626434 [details]
build.log.gz
Comment 2 nE0sIghT 2020-03-27 17:00:23 UTC
Created attachment 626436 [details]
emerge --info dev-libs/xapian
Comment 3 Rolf Eike Beer archtester 2020-04-05 07:14:21 UTC
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
Comment 4 Sam Hoffman 2020-04-21 02:05:58 UTC
Same here on 1.4.14 with USE="-remote"

1.4.15 builds fine however.
Comment 5 Francisco Blas Izquierdo Riera gentoo-dev 2020-04-27 07:13:05 UTC
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.
Comment 6 Anthony Basile gentoo-dev 2020-04-27 12:40:11 UTC
(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.
Comment 7 dE 2020-09-22 12:02:12 UTC
1.4.15 compiles file.