Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252337 - [kde-crazy] media-libs/phonon-4.2.80 fails to compile with xine use flag unset
Summary: [kde-crazy] media-libs/phonon-4.2.80 fails to compile with xine use flag unset
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-24 01:07 UTC by Bobby Bingham
Modified: 2008-12-26 16:28 UTC (History)
0 users

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


Attachments
Corrected ebuild (phonon-4.2.80.ebuild,1.21 KB, text/plain)
2008-12-24 01:09 UTC, Bobby Bingham
Details
Diff from current overlay ebuild (phonon.diff,470 bytes, patch)
2008-12-24 20:14 UTC, Bobby Bingham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bobby Bingham 2008-12-24 01:07:37 UTC
The media-libs/phonon-4.2.80 ebuild from the kde-crazy overlay fails to build if the xine use flag is unset.

Reproducible: Always

Steps to Reproduce:
1. emerge =media-libs/phonon-4.2.80
Actual Results:  
#
>>> Emerging (1 of 49) media-sound/phonon-4.2.80
#
 * phonon-4.2.80.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                              [ ok ]
#
 * checking ebuild checksums ;-) ...                                                                                                                                  [ ok ]
#
 * checking auxfile checksums ;-) ...                                                                                                                                 [ ok ]
#
 * checking miscfile checksums ;-) ...                                                                                                                                [ ok ]
#
>>> Unpacking source...
#
>>> Unpacking phonon-4.2.80.tar.bz2 to /var/tmp/portage/media-sound/phonon-4.2.80/work
#
>>> Source unpacked.
#
>>> Configuring source in /var/tmp/portage/media-sound/phonon-4.2.80/work/phonon-4.2.80 ...
#
loading initial cache file /var/tmp/portage/media-sound/phonon-4.2.80/temp/gentoo_common_config.cmake
#
-- The C compiler identification is GNU
#
-- The CXX compiler identification is GNU
#
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc
#
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
#
-- Detecting C compiler ABI info
#
-- Detecting C compiler ABI info - done
#
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++
#
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
#
-- Detecting CXX compiler ABI info
#
-- Detecting CXX compiler ABI info - done
#
-- Looking for Q_WS_X11
#
-- Looking for Q_WS_X11 - found
#
-- Looking for Q_WS_WIN
#
-- Looking for Q_WS_WIN - not found.
#
-- Looking for Q_WS_QWS
#
-- Looking for Q_WS_QWS - not found.
#
-- Looking for Q_WS_MAC
#
-- Looking for Q_WS_MAC - not found.
#
-- Found Qt-Version 4.4.2 (using /usr/bin/qmake)
#
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
#
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
#
-- Looking for gethostbyname
#
-- Looking for gethostbyname - found
#
-- Looking for connect
#
-- Looking for connect - found
#
-- Looking for remove
#
-- Looking for remove - found
#
-- Looking for shmat
#
-- Looking for shmat - found
#
-- Looking for IceConnectionNumber in ICE
#
-- Looking for IceConnectionNumber in ICE - found
#
-- Found X11: /usr/lib64/libX11.so
#
-- Looking for include files CMAKE_HAVE_PTHREAD_H
#
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
#
-- Looking for pthread_create in pthreads
#
-- Looking for pthread_create in pthreads - not found
#
-- Looking for pthread_create in pthread
#
-- Looking for pthread_create in pthread - found
#
-- Found Threads: TRUE
#
-- Found Automoc4: /usr/bin/automoc4
#
-- Performing Test HAVE_FPIE_SUPPORT
#
-- Performing Test HAVE_FPIE_SUPPORT - Success
#
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
#
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
#
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
#
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
#
-- checking for module 'gstreamer-0.10'
#
--   found gstreamer-0.10, version 0.10.21
#
-- Found GStreamer: /usr/lib64/libgstreamer-0.10.so
#
-- Found GStreamer Plugins:
#
    /usr/lib64/libgstaudio-0.10.so
#
    /usr/lib64/libgstcdda-0.10.so
#
    /usr/lib64/libgstnetbuffer-0.10.so
#
    /usr/lib64/libgstpbutils-0.10.so
#
    /usr/lib64/libgstriff-0.10.so
#
    /usr/lib64/libgstrtp-0.10.so
#
    /usr/lib64/libgstrtsp-0.10.so
#
    /usr/lib64/libgstsdp-0.10.so
#
    /usr/lib64/libgsttag-0.10.so
#
    /usr/lib64/libgstvideo-0.10.so
#
-- checking for module 'glib-2.0'
#
--   found glib-2.0, version 2.18.3
#
-- Found GLIB2: /usr/lib64/libglib-2.0.so
#
-- checking for module 'gobject-2.0'
#
--   found gobject-2.0, version 2.18.3
#
-- Found GObject libraries: gobject-2.0;glib-2.0
#
-- Found GObject includes : /usr/include/glib-2.0/gobject
#
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
#
-- Found LibXml2: /usr/lib64/libxml2.so
#
-- Looking for snd_seq_create_simple_port in asound
#
-- Looking for snd_seq_create_simple_port in asound - found
#
-- Found ALSA: /usr/lib64/libasound.so
#
-- Performing Test _OFFT_IS_64BIT
#
-- Performing Test _OFFT_IS_64BIT - Success
#
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:320 (if):
#
  if had incorrect arguments: NOT DEFINED __pkg_config_checked_PKG_XCB OR
#
  __pkg_config_checked_PKG_XCB LESS ${PKG_CONFIG_VERSION} OR NOT
#
  PKG_XCB_FOUND (Unknown arguments specified).
#
Call Stack (most recent call first):
#
  cmake/FindXCB.cmake:24 (PKG_CHECK_MODULES)
#
  cmake/MacroOptionalFindPackage.cmake:19 (FIND_PACKAGE)
#
  xine/CMakeLists.txt:31 (macro_optional_find_package)
#
 
#
 
#
-- Found XCB: /usr/include
#
-- Cannot compile VideoWidget for the xine backend. Needs xine version 1.1.9 or later and libxcb.
#
-- 
#
-----------------------------------------------------------------------------
#
-- The following external packages were located on your system.
#
-- This installation will have the extra features provided by these packages.
#
+ GStreamer
#
+ GStreamer video plugin
#
+ GStreamer audio plugin
#
+ GLib2
#
+ LibXml2
#
+ OpenGL
#
-----------------------------------------------------------------------------
#
-- The following OPTIONAL packages could NOT be located on your system.
#
-- Consider installing them to enable more features from this software.
#
+ XCB: XCB is needed for the video widget, libxine needs to be compiled with XCB <http://xcb.freedesktop.org/>
#
+ Xine: libxine is needed to compile phonon xine backend <http://xinehq.de/>
#
-----------------------------------------------------------------------------
#
 
#
-- Configuring incomplete, errors occurred!
#
 *
#
 * ERROR: media-sound/phonon-4.2.80 failed.
#
 * Call stack:
#
 *               ebuild.sh, line   49:  Called src_configure
#
 *             environment, line 2584:  Called cmake-utils_src_configure
#
 *             environment, line  611:  Called cmake-utils_src_configureout
#
 *             environment, line  630:  Called die
#
 * The specific snippet of code:
#
 *       cmake -C "${TMPDIR}/gentoo_common_config.cmake" ${cmakeargs} "${S}" || die "Cmake failed";
#
 *  The die message:
#
 *   Cmake 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.2.80/temp/build.log'.
#
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/phonon-4.2.80/temp/environment'.
#
 * 

Expected Results:  
Successful compilation.

The ebuild deletes a line from the CMakeLists.txt file if the xine use flag is unset, but this is the wrong line (forgot to update it from an older version?).  It deletes line 326, where it should delete line 447.
Comment 1 Bobby Bingham 2008-12-24 01:09:07 UTC
Created attachment 176261 [details]
Corrected ebuild

Ebuild fixed to delete the correct line.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2008-12-24 14:49:21 UTC
could you please rather post diff between your ebuild and the one we have in overlays?
thx in advance
Comment 3 Bobby Bingham 2008-12-24 20:14:35 UTC
Created attachment 176312 [details, diff]
Diff from current overlay ebuild
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2008-12-26 16:28:33 UTC
Thanks for fix.
Added to kde-crazy overlay, when synced will be added to kde testing.