Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 737120

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 packagesAssignee: No maintainer - Look at if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963, 740068    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-08-14 12:10:28 UTC

Issue: dev-libs/dbus-c++-0.9.0-r3 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

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 gentoo-dev 2020-08-14 12:10:30 UTC
Created attachment 654610 [details]

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.