Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549406 - dev-qt/qtdemo-4.8.6-r1[abi_x86_32] fails to build against media-libs/phonon: cannot find -lphonon
Summary: dev-qt/qtdemo-4.8.6-r1[abi_x86_32] fails to build against media-libs/phonon: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-13 19:37 UTC by Azamat H. Hackimov
Modified: 2015-06-02 12:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Azamat H. Hackimov 2015-05-13 19:37:22 UTC
qtdemo fails to compile with USE="phonon" and ABI_X86="32 64". Seems I need 32bit version of media-libs/phonon which don't have ABI_X86 flags.
Comment 1 Azamat H. Hackimov 2015-05-13 19:40:57 UTC
build.log is too big, here last lines of compilation:

make[1]: Entering directory '/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_32.x86/demos/deform'
x86_64-pc-linux-gnu-g++ -m32 -c -march=native -O2 -pipe -Wall -W -D_REENTRANT -DQT_OPENGL_SUPPORT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/deform -I../../include/QtCore -I../../include/QtGui -I../../include/QtOpenGL -I../../include -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/shared -I.moc/release-shared -I. -o .obj/release-shared/main.o /var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/deform/main.cpp
/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_32.x86/bin/moc -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/qmediaplayer -I../../include/QtCore -I../../include/QtGui -I../../include/phonon -I../../include -I../../include/phonon_compat -I.moc/release-shared -I.uic/release-shared -I. /var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/qmediaplayer/mediaplayer.h -o .moc/release-shared/moc_mediaplayer.cpp
/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_32.x86/bin/rcc -name mediaplayer /var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/qmediaplayer/mediaplayer.qrc -o .rcc/release-shared/qrc_mediaplayer.cpp
x86_64-pc-linux-gnu-g++ -m32 -c -march=native -O2 -pipe -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/qmediaplayer -I../../include/QtCore -I../../include/QtGui -I../../include/phonon -I../../include -I../../include/phonon_compat -I.moc/release-shared -I.uic/release-shared -I. -o .obj/release-shared/moc_mediaplayer.o .moc/release-shared/moc_mediaplayer.cpp
x86_64-pc-linux-gnu-g++ -m32 -c -march=native -O2 -pipe -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/browser -I../../include/QtUiTools -I../../include/QtCore -I../../include/QtNetwork -I../../include/QtGui -I../../include/QtXml -I../../include/QtWebKit -I../../include -I.moc/release-shared -I.uic/release-shared -I. -o .obj/release-shared/browsermainwindow.o /var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/browser/browsermainwindow.cpp
x86_64-pc-linux-gnu-g++ -m32 -c -march=native -O2 -pipe -Wall -W -D_REENTRANT -DQT_OPENGL_SUPPORT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/deform -I../../include/QtCore -I../../include/QtGui -I../../include/QtOpenGL -I../../include -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/shared -I.moc/release-shared -I. -o .obj/release-shared/pathdeform.o /var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/deform/pathdeform.cpp
x86_64-pc-linux-gnu-g++ -m32 -c -march=native -O2 -pipe -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/qmediaplayer -I../../include/QtCore -I../../include/QtGui -I../../include/phonon -I../../include -I../../include/phonon_compat -I.moc/release-shared -I.uic/release-shared -I. -o .obj/release-shared/qrc_mediaplayer.o .rcc/release-shared/qrc_mediaplayer.cpp
x86_64-pc-linux-gnu-g++ -m32 -Wl,-O1 -Wl,--as-needed -Wl,-rpath-link,/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_32.x86/lib -o qmediaplayer .obj/release-shared/main.o .obj/release-shared/mediaplayer.o .obj/release-shared/moc_mediaplayer.o .obj/release-shared/qrc_mediaplayer.o    -L/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_32.x86/lib -L/usr/lib32/qt4 -lphonon -lQtGui -lQtCore -lpthread
x86_64-pc-linux-gnu-g++ -m32 -c -march=native -O2 -pipe -I/usr/include/freetype2 -Wall -W -D_REENTRANT -DQT_OPENGL_SUPPORT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/qtdemo -I../../include/QtCore -I../../include/QtNetwork -I../../include/QtGui -I../../include/QtOpenGL -I../../include/QtXml -I../../include/QtSql -I../../include/QtDeclarative -I../../include -I../../include/QtHelp -I.moc/release-shared -I. -o .obj/release-shared/itemcircleanimation.o /var/tmp/portage/dev-qt/qtdemo-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/demos/qtdemo/itemcircleanimation.cpp
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../libphonon.so when searching for -lphonon
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libphonon.so when searching for -lphonon
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lphonon
collect2: error: ld returned 1 exit status
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2015-05-14 13:56:49 UTC
No need for a build.log. With USE=kde you need media-libs/phonon, which is not multilib yet.

@kensington: I can't find a bug for m-l/phonon multilib conversion... should I open one?
Comment 3 Michael Palimaka (kensington) gentoo-dev 2015-05-14 13:57:57 UTC
There's no bug filed, but there's that pull request on github.
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2015-05-14 14:05:01 UTC
Right, https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/114

can you get that into a mergeable state please?
Comment 5 Michael Palimaka (kensington) gentoo-dev 2015-05-14 14:06:34 UTC
It looks OK to me if the missing multilib usedeps are added, but I'm no multilib expert.
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2015-05-14 14:30:25 UTC
I've committed a workaround for the time being...

  14 May 2015; Davide Pesavento <pesa@gentoo.org> qtdemo-4.8.6-r1.ebuild:
  Workaround bug #549406: disable phonon on non-native ABIs until media-
  libs/phonon becomes multilib.

I'm leaving this bug open so we don't forget to re-enable it when m-l/phonon is fixed.
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2015-06-02 12:23:11 UTC
>=media-libs/phonon-4.8.3-r1 gained multilib support so I've reverted the workaround and added the proper USE deps to qtdemo-4.8.7. I'm not touching 4.8.6 since it's stable now.

Closing. Thanks for reporting.