|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>|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
|Bug Blocks:||408963, 740068|
Description Agostino Sarubbo 2020-08-14 12:10:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/dbus-c++-0.9.0-r3 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo 2020-08-14 12:10:30 UTC
Created attachment 654610 [details] build.log build log and emerge --info
Comment 2 Hector Martin 2020-09-02 12:36:07 UTC
*** Bug 740068 has been marked as a duplicate of this bug. ***
Comment 3 Hector Martin 2020-09-02 13:39:12 UTC
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.