Created attachment 536942 [details] media-sound~clementine-1.3.1_p20180523.build.log.xz clementine does not compile with 17 jobs. A compilation with one job fails at linking. Perhaps a dependency is missing. /usr/bin/x86_64-pc-linux-gnu-g++ -O3 […] --std=c++0x -U__STRICT_ANSI__ -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/clementine-tagreader.dir/main.cpp.o CMakeFiles/clementine-tagreader.dir/tagreaderworker.cpp.o CMakeFiles/clementine-tagreader.dir/qrc_data.cpp.o -o ../../clementine-tagreader -ltag ../libclementine-common/liblibclementine-common.a ../libclementine-tagreader/liblibclementine-tagreader.a -lz ../libclementine-common/liblibclementine-common.a /usr/lib64/libQt5OpenGL.so.5.9.6 /usr/lib64/libQt5Sql.so.5.9.6 /usr/lib64/libQt5Network.so.5.9.6 /usr/lib64/libQt5Xml.so.5.9.6 /usr/lib64/libQt5Widgets.so.5.9.6 /usr/lib64/libQt5Concurrent.so.5.9.6 /usr/lib64/libQt5X11Extras.so.5.9.6 /usr/lib64/libQt5Gui.so.5.9.6 /usr/lib64/libQt5Core.so.5.9.6 -lQt5::DBus -ltag -lpthread -lprotobuf /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQt5::DBus
Created attachment 536944 [details] emerge--info.txt
# emerge -qvp clementine [ebuild N ] media-sound/clementine-1.3.1_p20180523 USE="lastfm moodbar projectm pulseaudio -box -cdda -dbus -debug -dropbox -googledrive -ipod -mms -mtp -seafile -skydrive {-test} -udisks -wiimote"
You build with USE=-dbus which means ebuild correctly passes -DENABLE_DBUS=no to cmake. So the upstream build option is broken.
Building with USE=-dbus fails even if dev-qt/qtdbus:5 is installed.
Thank you Andreas for pointing this out. USE=dbus compiles without an error. But I always used -dbus. I also confirm that dev-qt/qtdbus:5 was installed while filing this bug. AFA I can see in the linking command every QT library is given explicitly with path. The build system somehow put “-lQt5::DBus” to the linking options. With USE=dbus this looks like /usr/bin/x86_64-pc-linux-gnu-g++ […] --std=c++0x -U__STRICT_ANSI__ -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/clementine-tagreader.dir/main.cpp.o CMakeFiles/clementine-tagreader.dir/tagreaderworker.cpp.o CMakeFiles/clementine-tagreader.dir/qrc_data.cpp.o -o ../../clementine-tagreader -ltag ../libclementine-common/liblibclementine-common.a ../libclementine-tagreader/liblibclementine-tagreader.a -lz ../libclementine-common/liblibclementine-common.a -ltag /usr/lib64/libQt5OpenGL.so.5.9.6 /usr/lib64/libQt5Sql.so.5.9.6 /usr/lib64/libQt5Network.so.5.9.6 /usr/lib64/libQt5Xml.so.5.9.6 /usr/lib64/libQt5Widgets.so.5.9.6 /usr/lib64/libQt5Concurrent.so.5.9.6 /usr/lib64/libQt5X11Extras.so.5.9.6 /usr/lib64/libQt5Gui.so.5.9.6 /usr/lib64/libQt5DBus.so.5.9.6 /usr/lib64/libQt5Core.so.5.9.6 -lpthread -lprotobuf I report this bug upstream within two days if nobody does this before.
I can confirm this issue for version clementine-1.3.1_p20180416 .
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7bad51a4cf9b76f1859cee8aff0e1086d73a64b commit f7bad51a4cf9b76f1859cee8aff0e1086d73a64b Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-11-17 22:56:11 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-11-17 23:10:35 +0000 media-sound/clementine: 1.3.1_p20181112 snapshot bump Bug: https://bugs.gentoo.org/658808 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-sound/clementine/Manifest | 1 + .../clementine/clementine-1.3.1_p20181112.ebuild | 182 +++++++++++++++++++++ .../files/clementine-1.3.1_p20181112-no-dbus.patch | 41 +++++ 3 files changed, 224 insertions(+)
Let's do this.
x86 stable
amd64 stable