Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76220 - media-libs/xine-lib-1.0 configure fails with HAVE_XV when ! use xv
Summary: media-libs/xine-lib-1.0 configure fails with HAVE_XV when ! use xv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 75387 75948 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-31 02:51 UTC by Aaron Walker (RETIRED)
Modified: 2005-01-05 01:30 UTC (History)
5 users (show)

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


Attachments
xine-lib-1_rc8.ebuild (xine-lib-1_rc8.ebuild,7.05 KB, text/plain)
2005-01-03 07:28 UTC, James Stockton
Details
ebuild-rc8.patch (ebuild-rc8.patch,5.74 KB, patch)
2005-01-03 07:34 UTC, James Stockton
Details | Diff
xine-lib-1.0.ebuild (xine-lib-1.0.ebuild,7.50 KB, text/plain)
2005-01-04 02:01 UTC, James Stockton
Details
xine-lib-1.0.ebuild (xine-lib-1.0.ebuild,7.54 KB, text/plain)
2005-01-04 02:09 UTC, James Stockton
Details
xine-lib-1.0.ebuild (xine-lib-1.0.ebuild,7.53 KB, text/plain)
2005-01-04 02:36 UTC, James Stockton
Details
xine-lib-configure.ac.patch (xine-lib-configure.ac.patch,3.45 KB, patch)
2005-01-04 06:18 UTC, James Stockton
Details | Diff
xine-lib-1_rc8-r1.ebuild (xine-lib-1_rc8-r1.ebuild,7.53 KB, text/plain)
2005-01-04 06:23 UTC, James Stockton
Details
xine-lib-1_rc8-r1.ebuild (xine-lib-1_rc8-r1.ebuild,7.53 KB, text/plain)
2005-01-04 06:37 UTC, James Stockton
Details
xine-lib-1_rc8-r1.ebuild (xine-lib-1_rc8-r1.ebuild,7.53 KB, text/plain)
2005-01-04 06:40 UTC, James Stockton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Walker (RETIRED) gentoo-dev 2004-12-31 02:51:54 UTC
! use xv && die ;)

Submitting this on request from eradicator.

configure: error: conditional "HAVE_XV" was never defined.
Usually this means the macro was only invoked conditionally.

When USE=xv configure completes successfully.

Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  5 2004, 12:23:37)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/local/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect cvs digest distlocks sandbox sfperms sign strict"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/	ftp://gentoo.chem.wisc.edu/gentoo/ ftp://mirrors.tds.net/gentoo/ ftp://ibiblio.org/pub/Linux/distributions/gentoo/"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/ka0ttic/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aim alsa apache2 bash-completion berkdb bzlib cdr crypt cscope doc esd fam fbcon gdbm gif gtk gtk2 imap imlib jpeg maildir mailwrapper mikmod mmx ncurses nls offensive opengl oss pam pcre pdflib perl png python readline ruby sdl slang sse ssl svga tcpd truetype unicode usb x86 xml2 xmms zlib"
Comment 1 Chris White (RETIRED) gentoo-dev 2004-12-31 22:08:49 UTC
*** Bug 75948 has been marked as a duplicate of this bug. ***
Comment 2 Chris White (RETIRED) gentoo-dev 2004-12-31 22:09:49 UTC
Ok, I've contacted upstream for clarification on the whole Xv/X11/whatever configure stuff with enabling and disabling it.  I'm just waiting on a response at this point.  Hopefully I'll get the mess cleared up by then :).
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-03 04:03:58 UTC
*** Bug 75387 has been marked as a duplicate of this bug. ***
Comment 4 David Morgan 2005-01-03 05:04:31 UTC
I don't know if this helps, but...

This problem only occurs if you have >xorg-x11-6.8.0-r3 compiled with USE=-xv (earlier versions of xorg don't have this use flag and so you always get libXv.*)

If you have xorg-x11 installed as above, then configure fails in exactly the same way with USE=xv (unsuprising) or USE=-xv (bad)

Thought I'd point that out because it's slightly different to what ka0ttic said (presumably he has libXv.* in either /usr/lib or /usr/X11R6/lib)
Comment 5 James Stockton 2005-01-03 07:28:21 UTC
Created attachment 47480 [details]
xine-lib-1_rc8.ebuild
Comment 6 James Stockton 2005-01-03 07:34:30 UTC
Created attachment 47482 [details, diff]
ebuild-rc8.patch
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-03 12:47:43 UTC
piolyte: does that really solve the USE=-xv problem?  It looks the same (at a glance) as the xine-lib-1.0 changes but just backported to the previous ebuild.  I think the problem runs deeper... maybe something in xine-lib/m4/xv.m4
Comment 8 Chris White (RETIRED) gentoo-dev 2005-01-03 13:01:27 UTC
Ok, I just ported the fix to 1.0 and rc8-r1.  It appears it was a problem with the configure file that patching configure.ac fixes (I talked to upstream on this one :).  That should be all, did test with USE="-xv" and WORKSFORME.
Comment 9 James Stockton 2005-01-03 19:47:36 UTC
I'm testing it myself.
Comment 10 James Stockton 2005-01-04 02:01:29 UTC
Created attachment 47559 [details]
xine-lib-1.0.ebuild

Works with and without USE="xv"
Comment 11 James Stockton 2005-01-04 02:09:32 UTC
Created attachment 47560 [details]
xine-lib-1.0.ebuild
Comment 12 James Stockton 2005-01-04 02:36:06 UTC
Created attachment 47561 [details]
xine-lib-1.0.ebuild

these depends not found...
>=sys-devel/automake-1.7
>=sys-devel/autoconf-2.59

so I let it use versions installed...
sys-devel/automake
sys-devel/autoconf

then it finds depends
Comment 13 James Stockton 2005-01-04 06:18:15 UTC
Created attachment 47580 [details, diff]
xine-lib-configure.ac.patch

The magical patch.
Comment 14 James Stockton 2005-01-04 06:23:50 UTC
Created attachment 47581 [details]
xine-lib-1_rc8-r1.ebuild
Comment 15 James Stockton 2005-01-04 06:37:07 UTC
Created attachment 47582 [details]
xine-lib-1_rc8-r1.ebuild
Comment 16 James Stockton 2005-01-04 06:40:30 UTC
Created attachment 47583 [details]
xine-lib-1_rc8-r1.ebuild
Comment 17 Chris White (RETIRED) gentoo-dev 2005-01-04 09:46:28 UTC
Updated xine-lib-1_rc8-r1 again, wasn't quite fixed.
Comment 18 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-05 01:30:11 UTC
*** Bug 76724 has been marked as a duplicate of this bug. ***