Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 75948

Summary: configure script during emerge of media-libs/xine-lib-1_rc8-r1 fails
Product: Gentoo Linux Reporter: Jukka-Pekka Partanen <jukpart>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal CC: shawvrana
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jukka-Pekka Partanen 2004-12-28 13:26:16 UTC
When running 'emerge xine-lib', latest xine-lib is chosen for merge (xine-lib-1_rc8-r1). However, the configure script fails during emerge.

Xine-lib-1_rc6 works ok.
Seems that configure script fails for any other currently available xine-lib >= xine-lib-1_rc7. On latter versions, for example xine-lib-1.0, configure has difficulty also with ALSA detection.


Reproducible: Always
Steps to Reproduce:




USE="-X -gtk -gtk2 -gnome -qt -kde -motif -oss -svga -aalib -esd -arts -opengl -
xmms -xv alsa 3dnow 3dnowex mmx mmx2 mmxext matrox directfb cdparanoia dvd caps
nptl dvb dvdread rtc v4l v4l2 lirc network fbdev"

=================================================

* econf: updating
/var/tmp/portage/xine-lib-1_rc8-r1/work/xine-lib-1-rc8/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating
/var/tmp/portage/xine-lib-1_rc8-r1/work/xine-lib-1-rc8/config.sub with
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --disable-x11 --without-x --disable-shm --disable-xft
--disable-esd --enable-nls --enable-alsa --disable-arts --disable-aalib
--enable-ogg --enable-vorbis --enable-sdltest --enable-ipv6 --enable-directfb
--with-included-dvdnav --with-w32-path=/usr/lib/win32 --libdir=/usr/lib
<clips>
checking for sane -Wpointer-arith... no
checking if gcc supports "-Wall" flags... yes
checking __attribute__ ((aligned ())) support... 64
checking if gcc supports "-mtune=i386" flags... no
checking if gcc supports "-mcpu=i386" flags... yes
checking if gcc supports "-mcpu=athlon" flags... yes
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
checking for sgmltools... no
checking for fig2dev... no
checking dependency style of ... none
configure: error: conditional "HAVE_XV" was never defined.
Usually this means the macro was only invoked conditionally.

!!! ERROR: media-libs/xine-lib-1_rc8-r1 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Chris White (RETIRED) gentoo-dev 2004-12-28 15:42:30 UTC
All this should have been fixed awhile ago.  Please resync and see if the issues persist.
Comment 2 Jukka-Pekka Partanen 2004-12-29 11:59:27 UTC
Only 2 days since last sync but I did emerge --sync anyway, unfortunately the problem persists.
Comment 3 Shaw 2004-12-29 20:45:25 UTC
I'm seeing the same behavior with xine-lib-1_rc8-r1 and xine-lib-1 after a sync.
Comment 4 Chris White (RETIRED) gentoo-dev 2004-12-29 21:35:43 UTC
------------------------------------------------------------------
if use xv; then
        if [ -f "${ROOT}/usr/$(get_libdir)/libXv.so" ]; then
            myconf="${myconf} --with-xv-path=${ROOT}/usr/$(get_libdir)"
        elif [ -f "${ROOT}/usr/$(get_libdir)/libXv.a" ]; then
            myconf="${myconf} --enable-static-xv --with-xv-path=${ROOT}/usr/$(get_libdir)"
        elif [ -f "${ROOT}/usr/X11R6/$(get_libdir)/libXv.so" ]; then
            myconf="${myconf} --with-xv-path=${ROOT}/usr/X11R6/$(get_libdir)"
        elif [ -f "${ROOT}/usr/X11R6/$(get_libdir)/libXv.a" ]; then
            myconf="${myconf} --enable-static-xv --with-xv-path=${ROOT}/usr/X11R6/$(get_libdir)"
        else
            eerror "Couldn't find your libXv.  Did you set USE="xv" when you emerged xorg-x11?"
            die "Couldn't find libXv."
        fi
    fi
------------------------------------------------------------------

Make sure that's in your guy's ebuild, if it's not sync again (should be the last time.. :|).  If it still doesn't work, can you guys give me the output of:

`ls -la /usr/X11R6/lib/libXv*`
`ls -la /usr/lib/libXv*`

Thanks.
Comment 5 Jukka-Pekka Partanen 2004-12-30 13:10:25 UTC
The problem seems to be that if X is not installed at all the configure script fails.
I merged X and the ebuild works now. However, previous ebuilds have been succesfull with USE="-X -xv" and with X not installed at all.
I have been using xine only with framebuffer video out (fbxine).
Comment 6 Shaw 2004-12-31 19:06:17 UTC
I not having this problem anymore.  I recently added X to my use flags (only had x11 before), unfortunately, I
Comment 7 Shaw 2004-12-31 19:06:17 UTC
I not having this problem anymore.  I recently added X to my use flags (only had x11 before), unfortunately, I´m not at all if that´&#347; what did it.
Comment 8 Chris White (RETIRED) gentoo-dev 2004-12-31 22:08:48 UTC
I'm going to track this to another bug for updates.

*** This bug has been marked as a duplicate of 76220 ***