Summary: | media-sound/phonon-4.3.0 fails to compile with gstreamer USE flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | bay <alex3255> |
Component: | New packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | frossie, icestar |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
full build log
full build log full build log full build log media-sound/phonon-4.3.1 build log file media-sound/phonon-4.3.1 build log file (english version) |
Description
bay
2009-02-09 12:56:47 UTC
Did you install qt-core and qt-gui qith USE="glib"? (AFAIR there was a problem qith qt-phonon not compiling without glib enabled in qt-core/gui, and the media-sound/phonon-ebuild does not check this) Created attachment 181432 [details]
full build log
Created attachment 181433 [details]
full build log
Created attachment 181435 [details]
full build log
Created attachment 181437 [details]
full build log
emerge qt-core qt-gui -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/qt-core-4.4.2-r1 USE="glib qt3support ssl -debug -doc -pch" 0 kB [ebuild R ] x11-libs/qt-gui-4.4.2-r2 USE="accessibility cups dbus glib qt3support tiff -debug -mng -nas -nis -pch -xinerama" INPUT_DEVICES="-wacom" 0 kB both are compilied with useflag glib sorry for duplicate attachments i turned off gstreamer useflag. phonon compiled successfully (In reply to comment #7) > i turned off gstreamer useflag. phonon compiled successfully > Same problem with phonon 4.3.1 - and the above workaround worked here too. I suggest changing the title of the bug to "media-sound/phonon-4.3.0 fails to compile with gstreamer USE flag" in order to direct people to the issue faster (only the creator of the bug and the assignee can change the subject it seems). (In reply to comment #8) > Same problem with phonon 4.3.1 - and the above workaround worked here too. I > suggest changing the title of the bug to "media-sound/phonon-4.3.0 fails to > compile with gstreamer USE flag" in order to direct people to the issue faster > (only the creator of the bug and the assignee can change the subject it seems). > Okay I have been chasing my tail, but right now I have build successfully with the gstreamer use flag - suggest the original poster try emerge --sync emerge cmake [check that really builds] "USE=xine gstreamer" emerge phonon in case they are having the same problem I was. I got error while compiling media-sound/phonon-4.3.1: emerge -avD media-sound/phonon [ebuild N ] media-sound/phonon-4.3.1 USE="xine -debug -gstreamer -xcb" 0 kB >>> Emerging (1 of 4) media-sound/phonon-4.3.1 ... [ 69%] Built target phonon_xine_automoc Scanning dependencies of target phonon_xine [ 70%] Building CXX object xine/CMakeFiles/phonon_xine.dir/phonon_xine_automoc.cpp.o [ 71%] Building CXX object xine/CMakeFiles/phonon_xine.dir/sinknode.cpp.o [ 73%] Building CXX object xine/CMakeFiles/phonon_xine.dir/sourcenode.cpp.o [ 74%] Building CXX object xine/CMakeFiles/phonon_xine.dir/xinethread.cpp.o [ 76%] Building CXX object xine/CMakeFiles/phonon_xine.dir/nullsink.cpp.o [ 77%] Building CXX object xine/CMakeFiles/phonon_xine.dir/xineengine.cpp.o [ 78%] Building CXX object xine/CMakeFiles/phonon_xine.dir/xinestream.cpp.o In file included from /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/xinestream.cpp:36: /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:32:21: error: xcb/xcb.h: Нет такого файла или каталога /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:55: ошибка: expected type-specifier before ‘xcb_connection_t’ /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:56: ошибка: ISO C++ запрещает декларации ‘xcb_screen_t’ без типа /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:56: ошибка: expected ‘;’ before ‘*’ token /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:57: ошибка: expected `;' before ‘operator’ /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:67: ошибка: ISO C++ запрещает декларации ‘xcb_connection_t’ без типа /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:67: ошибка: expected ‘;’ before ‘*’ token /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:68: ошибка: ISO C++ запрещает декларации ‘xcb_screen_t’ без типа /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:68: ошибка: expected ‘;’ before ‘*’ token /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h: In member function ‘Phonon::Xine::XcbConnection::operator bool() const’: /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:57: ошибка: нет декларации ‘m_xcbConnection’ в этой области видимости /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h: At global scope: /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:87: ошибка: ISO C++ запрещает декларации ‘xcb_connection_t’ без типа /var/tmp/portage/media-sound/phonon-4.3.1/work/phonon-4.3.1/xine/videowidget.h:87: ошибка: expected ‘;’ before ‘*’ token make[2]: *** [xine/CMakeFiles/phonon_xine.dir/xinestream.cpp.o] Ошибка 1 make[1]: *** [xine/CMakeFiles/phonon_xine.dir/all] Ошибка 2 make: *** [all] Ошибка 2 * * ERROR: media-sound/phonon-4.3.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2890: Called cmake-utils_src_compile * environment, line 766: Called cmake-utils_src_make * environment, line 845: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-sound/phonon-4.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/phonon-4.3.1/temp/environment'. * >>> Failed to emerge media-sound/phonon-4.3.1, Log file: >>> '/var/tmp/portage/media-sound/phonon-4.3.1/temp/build.log' As you see "gstreamer" use flag is turned off. Could you help me? Created attachment 193900 [details]
media-sound/phonon-4.3.1 build log file
Created attachment 193903 [details]
media-sound/phonon-4.3.1 build log file (english version)
Add build log file on english :)
I think the problem is that I'm trying to compile media-sound/phonon-4.3.1 without "xcb" use flag. Is "xcb" a mandatory use flag? If so, this is a bug in the media-sound/phonon-4.3.1 ebuild. I think the problem is that I'm trying to compile media-sound/phonon-4.3.1 without "xcb" use flag. Is "xcb" a mandatory use flag? If so, this is a bug in the media-sound/phonon-4.3.1 ebuild. (In reply to comment #14) > I think the problem is that I'm trying to compile media-sound/phonon-4.3.1 > without "xcb" use flag. Is "xcb" a mandatory use flag? If so, this is a bug in > the media-sound/phonon-4.3.1 ebuild. Your problem is not the same as the one reported in this bug. Please open a different bug for your issue. You'll want to post there the use flags for libX11 and xine-lib. Looking at the ebuild, maybe we need to change the xine-lib[xcb?] dep into xine-lib[xcb=] xine? ( >=media-libs/xine-lib-1.1.15-r1[xcb?] xcb? ( x11-libs/libxcb ) ) I've just build phonon with all variants of the gtreamer and xcb use flags and it WORKSFORME. (In reply to comment #16) > I've just build phonon with all variants of the gtreamer and xcb use flags and > it WORKSFORME. > I got the same problem on my second computer too. And in both cases after turning on "xcb" use flag, package compiles successfully. I'll open a new bug as you suggest. The USE="xcb" build problem issue is bug 273347. I'm closing this one per Comment #16. |