Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947796 - dev-cpp/lucene++-3.0.7-r3 fails to compile: variant_io.hpp:57:14: error: no match for operator<< (operand types are std::basic_ostream<wchar_t> and const boost::shared_ptr<Lucene::Reader>)
Summary: dev-cpp/lucene++-3.0.7-r3 fails to compile: variant_io.hpp:57:14: error: no m...
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: PATCH
Depends on:
Blocks:
 
Reported: 2025-01-10 07:57 UTC by Agostino Sarubbo
Modified: 2025-04-09 06:53 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,263.70 KB, text/plain)
2025-01-10 07:57 UTC, Agostino Sarubbo
Details
a patch that make lucene++-3.0.7 at least compiles. not tested. (lucene++-3.0.7-fix-build-error.patch,8.62 KB, patch)
2025-01-13 12:58 UTC, microcai
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2025-01-10 07:57:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-cpp/lucene++-3.0.7-r3 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2025-01-10 07:57:58 UTC
Created attachment 916211 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2025-01-10 07:57:58 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/core/CMakeFiles/lucene++.dir/document/NumericField.cpp.o 
/usr/include/boost/variant/detail/variant_io.hpp:57:14: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<wchar_t>’ and ‘const boost::shared_ptr<Lucene::Reader>’)
Comment 3 microcai 2025-01-13 12:58:56 UTC
Created attachment 916429 [details, diff]
a patch that make lucene++-3.0.7 at least compiles. not tested.

not unit tested. just make it compile success full.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-09 06:14:42 UTC
xen0n, is there a reason you didn't file a bug for boost requesting the backport in Gentoo (or did I miss it)?
Comment 5 Larry the Git Cow gentoo-dev 2025-04-09 06:53:28 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(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=870542214e67aa263ca5b3c92661f3c313a7825e

commit 870542214e67aa263ca5b3c92661f3c313a7825e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-09 06:48:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-09 06:52:58 +0000

    dev-libs/boost: backport smart_ptr fix
    
    Closes: https://bugs.gentoo.org/947796
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/boost/boost-1.87.0-r2.ebuild              | 346 +++++++++++++++++++++
 .../files/boost-1.87.0-smart_ptr-operator.patch    |  40 +++
 2 files changed, 386 insertions(+)