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

Bug 86238

Summary: media-video/vlc-0.6.2 fails to recognize xvidcore library
Product: Gentoo Linux Reporter: folken <folken>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: flameeyes, pez
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log from failed build of vlc-0.6.2
a config log with the failed emerge

Description folken 2005-03-22 04:17:00 UTC
Hello!

vlc-0.6.2 fails with with the following error during configure:

checking faad.h usability... yes
checking faad.h presence... yes
checking for faad.h... yes
checking for faacDecOpen in -lfaad... yes
checking xvid.h usability... yes
checking xvid.h presence... yes
checking for xvid.h... yes
checking for xvid_init in -lxvidcore... no
configure: error: Cannot find libxvidcore library...

xvid is installed:
*  media-libs/xvid
      Latest version available: 1.0.2
      Latest version installed: 1.0.2

Seeing that 0.6.2 is from 2003 I tried to emerge newer versions. However there seems to be an issue with ffmpeg and these versions are not keyworded for x86. 

my emerge info: 
plexi vlc # emerge --info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
 2.6.10-gentoo-r6 i686)
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://distfiles:revox@cheesebox ftp://mirror.switch.ch/mirror/ge
ntoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://cheesebox/gentoo-portage"
USE="x86 X aac acpi aim alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cd
b cdda cdio cdparanoia cdr crypt css cups curl dga dvd dvdr dvdread emboss encod
e esd evo2 faad fam fb festival ffmpeg flac fmod font-server foomaticdb fortran
gdbm gif gimp gimpprint gnome gphoto2 gpm gtk gtk2 hal icecast imagemagick imap
imlib ipv6 jabber java jpeg kde kdepim libg++ libwww mad maildir matroska mikmod
 ming mixer mmx mmx2 mng motif mp3 mpeg mplayer msn ncurses network nls ogg oggv
orbis openal opengl oss pam pdf pdflib perl png procmail python qt quicktime rea
dline real rss rtc samba scanner sdl silc speex spell sse sse2 ssl svga tcpd the
ora tidy tiff truetype truetype-fonts type1-fonts vcd videos vim vim-pager vim-w
ith-x xine xml2 xmms xosd xscreensaver xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-23 07:10:29 UTC
can you provide the config.log or at least the lines for the xvid test?
I'm not sure about it, but maybe vlc 0.6 requires xvid 0.x and isn't compatible with 1.0.
Comment 2 nicktastic 2005-03-25 08:30:53 UTC
Created attachment 54448 [details]
config.log from failed build of vlc-0.6.2

I am also hitting this bug. I've attached the config.log for my failed build.
Here is my emerge info:

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.6.10
Python: 	     dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 18 2005,
13:02:21)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4m -fomit-frame-pointer -pipe
-fprefetch-loop-arrays -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4m -fomit-frame-pointer -pipe
-fprefetch-loop-arrays -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/
ftp://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acl acpi aim alsa apache2 apm arts audiofile avi
bash-completion bcmath berkdb bindist bitmap-fonts bonobo bzlib cdb cdparanoia
cdr crypt cups curl dba dbm dga dio divx4linux dv dvd dvdr dvdread emacs emboss
encode esd ethereal evo fam ffmpeg fftw flac flatfile font-server foomaticdb
fortran freetype ftp gd gdbm gif gmp gnome gnutls gphoto2 gpm gstreamer gtk
gtk2 gtkhtml hal icq imagemagick imap imlib inifile ipv6 jabber java jpeg kde
libg++ libwww mad maildir mbox mcal mhash mikmod mime mmap mmx mng mono motif
mozilla mp3 mpeg mpi msn ncurses nls nptl offensive ofx ogg oggvorbis openal
opengl oscar oss pam pcre pdflib perl php pic pie png pnp posix python qt
quicktime readline real samba sdl session sharedext sharedmem sockets socks5
sox speex spell spl sse ssl svg svga sysfs sysvipc tcpd tetex theora threads
tiff truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles vcd
vhosts wxwindows xine xinerama xml xml2 xmms xosd xpm xprint xsl xv xvid yahoo
zlib"
Unset:	ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-25 08:51:27 UTC
xvid_init is no more there on xvid4 (xvid version 1.0 and above) so it should require xvid 0.9 to work, but this will make a mess with the two versions (see bug #41157).

The dependency should be fixed or xvid disabled by default, or just use a newer vlc.
Comment 4 Heitzso 2005-04-10 11:05:08 UTC
I would appreciate someone who knows how this can
be fixed (somewhat cleanly) to append an authoratative
note to this bug comment list stating "here is the 
official gentoo workaround recommended by the gentoo
team for this glitch".  It is not clear to me the best 
way to resolve it.  

Currently I am not ~x86 either xvid or vlc and am
hitting the bug.  I could ~x86 both but am trying to
avoid littering my system with an odd mix of stable/testing
packages.    -- thanks
Comment 5 CJ Kucera 2005-04-11 11:23:40 UTC
Since media-libs/xvid is already slotted between the 1.0/pre-1.0 versions, fixing this *should* be a matter of changing the dependency for 0.6.x versions of vlc from "xvid? ( >=media-libs/xvid-0.9.1 )" to "xvid? ( <media-libs/xvid-1 )", though of course if someone does have a version of xvid older than 0.9.1, this wouldn't force them to upgrade anymore.  Is it possible to have a construct like "xvid? ( >=media-libs/xvid-0.9.1 <media-libs/xvid-1 )"?  xvid-0.9.1 is the oldest version currently in Portage, so perhaps it's not that big of a deal...

Not that I'm a Gentoo dev or anything, so take it with a grain of salt.
Comment 6 Ákos Maróy 2005-04-16 10:30:24 UTC
I have the same problem, with xvid 1.0.2 installed (and trying to emerge vlc 0.6.2). see my config log attached.


Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr  5 2005, 12:00:47)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.3 [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -pipe -O3 -fomit-frame-pointer -frename-registers -fprefetch-loop-arrays -falign-functions -mmmx -msse2 -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -pipe -O3 -fomit-frame-pointer -frename-registers -fprefetch-loop-arrays -falign-functions -mmmx -msse2 -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks prelink sandbox sfperms"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi acpi4linux adns alsa apache2 avi bash-completion berkdb bidi bitmap-fonts bluetooth bonobo canna caps cdr cjk crypt cscope cups curl dga dhcp directfb divx4linux doc dri dvd dvdr emboss encode esd fam fbcon flac flash font-server foomaticdb fortran freewnn gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 irda jack java javascript jpeg junit libcaca libg++ libwww mad mbox mikmod mmx motif mozcalendar mozilla mozsvg mp3 mpeg mplayer mysql ncurses network nls objc odbc oggvorbis opengl opie oss pam pcmcia pda pdflib perl pic png pnp postgres python quicktime radeon readline sdl slang sms speex spell sse sse2 ssl svg svga tcltk tcpd tetex threads tiff truetype truetype-fonts trusted type1-fonts unicode usb v4l v4l2 vawelan wifi win32codecs wmf xinerama xml xml2 xmms xosd xprint xv xvid zlib video_cards_radeon input_devices_synaptics linguas_ja linguas_zh_CN linguas_zh_TW linguas_ko"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Comment 7 Ákos Maróy 2005-04-16 10:32:39 UTC
Created attachment 56465 [details]
a config log with the failed emerge
Comment 8 Ákos Maróy 2005-04-16 10:43:59 UTC
FYI, emerging vlc-0.8.1 works fine, but it's still ~x86
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-04-17 18:26:14 UTC
It really needs xvid 0.9, changes deps for 0.6 versions.