Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946534 - dev-cpp/lucene++-3.0.7-r3 does not build with boost-1.87.0: Lucene.h:131:26: error: no template named 'unary_function' in namespace 'std'
Summary: dev-cpp/lucene++-3.0.7-r3 does not build with boost-1.87.0: Lucene.h:131:26: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 917795 (view as bug list)
Depends on:
Blocks: boost-1.87 956389
  Show dependency tree
 
Reported: 2024-12-15 21:58 UTC by David Carlos Manuelda
Modified: 2025-05-21 19:07 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,73.56 KB, text/plain)
2024-12-15 21:58 UTC, David Carlos Manuelda
Details
Build log (build.log,65.97 KB, text/x-log)
2024-12-15 23:36 UTC, David Carlos Manuelda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2024-12-15 21:58:03 UTC
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
Comment 1 David Carlos Manuelda 2024-12-15 21:58:47 UTC
Created attachment 914146 [details]
Build log
Comment 2 Greg Kubaryk 2024-12-15 23:32:00 UTC
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?
Comment 3 David Carlos Manuelda 2024-12-15 23:36:46 UTC
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.
Comment 4 David Carlos Manuelda 2025-01-10 08:58:25 UTC
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
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-09 06:47:52 UTC

*** This bug has been marked as a duplicate of bug 917795 ***
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-09 06:48:10 UTC
I guess I'll inverse-dupe as more info here.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-09 06:48:17 UTC
*** Bug 917795 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2025-04-09 06:53:27 UTC
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(+)