Summary: | app-office/ledger-3.2.1 - /.../format.h: error: scoped_ptr does not name a type (maybe gcc-11 related) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Erik Mackdanz <stasibear> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs, fellows, fturco, kingjon3377, sam, snaipperi |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 763201 | ||
Attachments: |
emerge-info.txt
app-office:ledger-3.2.1:20210514-092032.log emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 ledger-3.2.1-add-boost-1.76-compatibility.patch |
Description
Toralf Förster
2021-05-14 10:32:19 UTC
Created attachment 708432 [details]
emerge-info.txt
Created attachment 708435 [details]
app-office:ledger-3.2.1:20210514-092032.log
Created attachment 708438 [details]
emerge-history.txt
Created attachment 708441 [details]
environment
Created attachment 708444 [details]
etc.portage.tar.bz2
Created attachment 708447 [details]
logs.tar.bz2
Created attachment 708450 [details]
temp.tar.bz2
Same error here. Seems to be this upstream bug: https://github.com/ledger/ledger/issues/2030 Created attachment 711138 [details, diff] ledger-3.2.1-add-boost-1.76-compatibility.patch Here is a patch that fixes compilation for me. It is a "reduced" version of this one here: https://github.com/carlocab/homebrew-core/commit/c4d9834d23ded06a43a334c0f2632228a8a62ae3 Not GCC11-related. I’m running 10.2.0-r5 and hit this. Same for me on gcc 10.3.0 The patch fixed it for me. Same problem for me with gcc-10.3.0. Patch also fixed it for me. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=068d3cff008f530abe5a6c8d7daeabdc9b805387 commit 068d3cff008f530abe5a6c8d7daeabdc9b805387 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-06-14 12:46:22 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-14 12:46:50 +0000 app-office/ledger: fix build with Boost 1.76 Closes: https://bugs.gentoo.org/790176 Signed-off-by: Sam James <sam@gentoo.org> .../files/ledger-3.2.1-fix-build-boost-1-76.patch | 28 ++++++++++++++++++++++ app-office/ledger/ledger-3.2.1.ebuild | 4 ++++ 2 files changed, 32 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d28d5506f06d3a894361d6b345f5a7298c941e0 commit 0d28d5506f06d3a894361d6b345f5a7298c941e0 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-06-14 13:10:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-14 13:10:37 +0000 app-office/ledger: add bug reference / upstream PR to patch Bug: https://bugs.gentoo.org/790176 Signed-off-by: Sam James <sam@gentoo.org> app-office/ledger/files/ledger-3.2.1-fix-build-boost-1-76.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) |