Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27139 - emerge -u libdv (media-libs/libdv-0.99-r1) doesn't run through configure, claims missing -lXv
Summary: emerge -u libdv (media-libs/libdv-0.99-r1) doesn't run through configure, cla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Max Kalika (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-22 12:55 UTC by Roberto Nibali
Modified: 2003-09-10 12:14 UTC (History)
3 users (show)

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 Roberto Nibali 2003-08-22 12:55:24 UTC
When I invoke

emerge -u libdv

it will fail with:checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether to enable debugging... no
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.1.6... yes
checking for XvQueryAdaptors in -lXv... no
configure: error: Could not find Xv Lib

!!! ERROR: media-libs/libdv-0.99-r1 failed.
!!! Function econf, Line 324, Exitcode 1
!!! econf failed

But if I call ./configure by hand after untar'ing the source tarball it runs
smoothly. Also note that the library actually is on the system:

# ls -ald /usr/X11R6/lib/libXv.*
-rw-r--r--    1 root     root        15426 Jun 10 16:28 /usr/X11R6/lib/libXv.a
lrwxrwxrwx    1 root     root           12 Jun 10 16:29 /usr/X11R6/lib/libXv.so
-> libXv.so.1.0
lrwxrwxrwx    1 root     root           12 Jun 10 16:29
/usr/X11R6/lib/libXv.so.1 -> libXv.so.1.0
-rwxr-xr-x    1 root     root        19274 Jun 10 16:28 /usr/X11R6/lib/libXv.so.1.0
 #

In case you need more information:

# emerge info
Portage 2.0.49 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-rc2)
=================================================================
System uname: 2.4.22-rc2 i686 Pentium III (Coppermine)
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache userpriv usersandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo http://distro.
ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib gdbm berkdb slang readline arts tetex svga tcltk java sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis motif opengl mozilla cdr X qt kde dvd
-gtk -gnome -alsa"

#


Reproducible: Always
Steps to Reproduce:
1. emerge -u libdv
2.
3.

Actual Results:  
configure fails

Expected Results:  
completely emerged package ;)
Comment 1 Matthew 2003-08-22 17:20:52 UTC
I get the same error. It appears to be the result of the disable gtk patch that was introduced with r1. If I remove the line telling it to apply the disable gtk patch from the ebuild and try merging the package it merges perfectly.
Comment 2 Roberto Nibali 2003-08-23 01:06:48 UTC
I can confirm this: commenting the epatch line in the ebuild solves the problem. Since I have installed gtk+ anyway I go for this solution to be able to upgrade to mplayer-0.91 ;).

Thanks for the prompt help.
Comment 3 Max Kalika (RETIRED) gentoo-dev 2003-08-25 11:50:25 UTC
This should be fixed in cvs.  Please confirm by doing: 
 
 emerge --sync 
 emerge --oneshot =libdv-0.99-r1 
Comment 4 Roberto Nibali 2003-08-25 12:40:00 UTC
I'm afraid, no change in state, the same problem. But maybe I missed something, maybe your patch hasn't sync'd to the mirrors yet ;).
Comment 5 Matthew 2003-08-25 13:07:53 UTC
I just tried it and the eBuild works, however I noticed a new SDL error during the configure stage. I'm going to investigate that error as it might just be my system.
Comment 6 Matt Taylor 2003-09-04 16:33:22 UTC
This problem happens with me now.  Removing the epatch line allows configure to complete.
Comment 7 Marc Bevand 2003-09-07 14:34:07 UTC
I have encountered the bug #27139, and I have a solution.

It is actually due to an error in ``libdv-0.99-disablegtk.patch'', the following
line:
    +LIBS="-lXv -L/usr/X11R6/lib $LIBS"
should be changed to:
    +LIBS="-lXv -lXext -L/usr/X11R6/lib $LIBS"
Now the libdv configure script will be able to link its test program that
checks if -lXv is present.

Max Kalika: please do not remove ``dev-util/pkgconfig'' from DEPEND, libdv
seems to really need it (I have had to manually emerge dev-util/pkgconfig to
be able to emerge libdv).
Comment 8 Max Kalika (RETIRED) gentoo-dev 2003-09-10 12:14:59 UTC
ok, added -lExt to the patch.  Seems to be working so I'm going to mark it 
fixed.  If you find other problems, please reopen.