Summary: | dev-libs/dbus-c++-0.9.0-r3 fails to compile: types.h:407:9: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=740068 https://bugs.gentoo.org/show_bug.cgi?id=892984 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963, 839906, 740068 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2020-08-14 12:10:28 UTC
Created attachment 654610 [details]
build.log
build log and emerge --info
*** Bug 740068 has been marked as a duplicate of this bug. *** FWIW, I took a look at this, but it's a pile of C++ operator overloads with circular dependencies which GCC seems to be perfectly fine with but clang complains about. I tried adding forward declarations but that didn't work; this is beyond my superficial knowledge of C++. Upstream seems to be dead, there are forks around but none of them have a fix for this particular issue. Someone with better knowledge of C++ needs to take on this one if this is going to be fixed. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346dc81bceb275d2d95ba47e86ce5b7db49486e0 commit 346dc81bceb275d2d95ba47e86ce5b7db49486e0 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-10 10:39:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-10 11:01:57 +0000 dev-libs/dbus-c++: fix installed headers w/ gcc 12, fix build with clang Bug: https://bugs.gentoo.org/840731 Closes: https://bugs.gentoo.org/737120 Closes: https://bugs.gentoo.org/740068 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/dbus-c++/dbus-c++-0.9.0-r5.ebuild | 64 ++++++++++++++++ dev-libs/dbus-c++/files/dbus-c++-0.9.0-gcc12.patch | 89 ++++++++++++++++++++++ 2 files changed, 153 insertions(+) |