Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 740068 - media-libs/libffado-2.4.4-r1 fails to compile: clang++ does not like header file from dev-libs/dbus-c++: /usr/include/dbus-c++-1/dbus-c++/types.h:566:9: error: call to function 'operator>>' that is neither visible in the template definition nor found ...
Summary: media-libs/libffado-2.4.4-r1 fails to compile: clang++ does not like header f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
: 840731 (view as bug list)
Depends on: 737120
Blocks: gcc-12
  Show dependency tree
 
Reported: 2020-09-02 11:27 UTC by Agostino Sarubbo
Modified: 2023-02-03 06:51 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,240.02 KB, text/plain)
2020-09-02 11:27 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-02 11:27:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/libffado-2.4.4 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 gentoo-dev 2020-09-02 11:27:31 UTC
Created attachment 657922 [details]
build.log

build log and emerge --info
Comment 2 Hector Martin 2020-09-02 12:36:07 UTC
This is a dbus-c++ issue, which, since it's a pile of C++ templates, is probably just going to create bugspam for every package using it. Sigh.

I assume that, to get this far, dbus-c++ must've either been previously installed with GCC or a version of clang that didn't complain about this particular problem, since there is a bug about dbus-c++ itself not building in the first place...

*** This bug has been marked as a duplicate of bug 737120 ***
Comment 3 Agostino Sarubbo gentoo-dev 2020-09-02 12:41:04 UTC
I understand your reason but it is different from a duplicate concept
Comment 4 Hector Martin 2020-09-02 13:36:16 UTC
Sure, we can keep this open until the other bug is fixed, and then close it, if you prefer. There's nothing actionable under libffado though.
Comment 5 Agostino Sarubbo gentoo-dev 2022-01-11 07:31:32 UTC
tinderbox has reproduced this issue with version 2.4.4-r1 - Updating summary.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 10:38:29 UTC
*** Bug 840731 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2022-06-10 11:02:05 UTC
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(+)