When updating system I found that lucene++ does not build with boost-1.87.0 (but builds fine with earlier versions) with errors: (...) /usr/include/boost/variant/detail/variant_io.hpp:57:14: error: invalid operands to binary expression ('std::wostream' and 'const boost::shared_ptr<Lucene::Reader>') 57 | out_ << operand; | ~~~~ ^ ~~~~~~~ (...) Reproducible: Always
Created attachment 914146 [details] Build log
This build.log is for an ebuild that is not in the gentoo repo and isn't turning up for me in a search of known overlay/repos. Can you please provide emerge --info and confirm that you attached the correct build.log?
Created attachment 914151 [details] Build log Oops, sorry, I have my own updated version (3.0.9) in a custom overlay, this build log belongs to official portage's version (3.0.7-r3) failing with the same reason. Thanks for spotting that.
Agostino, there is a new version (3.0.9) which fixes the unary_function apparently but introduces a new error: variant_io.hpp:57:14: error: invalid operands to binary expression ('std::wostream' and 'const boost::shared_ptr<Lucene::Reader>') The build log for the 3.0.9 version (latest release) is in the "see also" section. Consider this information if a version bump is done before or after this fix
*** This bug has been marked as a duplicate of bug 917795 ***
I guess I'll inverse-dupe as more info here.
*** Bug 917795 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c3ff286d44fe05e31c2cbcbca8552acc467335d commit 9c3ff286d44fe05e31c2cbcbca8552acc467335d Author: Sam James <sam@gentoo.org> AuthorDate: 2025-04-09 06:52:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-09 06:52:58 +0000 dev-cpp/lucene++: add 3.0.9 Closes: https://bugs.gentoo.org/946534 Closes: https://bugs.gentoo.org/947796 Signed-off-by: Sam James <sam@gentoo.org> dev-cpp/lucene++/Manifest | 1 + .../lucene++/files/lucene++-3.0.9-boost-1.87.patch | 81 ++++++++++++++++++++++ .../lucene++/files/lucene++-3.0.9-pkgconfig.patch | 24 +++++++ dev-cpp/lucene++/lucene++-3.0.9.ebuild | 36 ++++++++++ 4 files changed, 142 insertions(+)