Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109869 - VLC emerge fails during configuration due to libmpeg2
Summary: VLC emerge fails during configuration due to libmpeg2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL: http://forums.gentoo.org//viewtopic-t...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 16:20 UTC by Tony Skraba
Modified: 2005-10-20 14:26 UTC (History)
0 users

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


Attachments
/var/tmp/portage/vlc-0.8.2-r2/work/vlc-0.8.2/config.log (config.log,304.25 KB, text/plain)
2005-10-20 02:53 UTC, Tony Skraba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Skraba 2005-10-19 16:20:54 UTC
This is my first bug post, please excuse anything I might do wrong.
I've posted to the gentoo forums about this here:
http://forums.gentoo.org//viewtopic-t-392663.html

Basically, when I try and emerge VLC, it fails during the configuration process.
 It says that my version of libmpeg2 is too old, yet I have the most recent
version installed!

Reproducible: Always
Steps to Reproduce:
1. # emerge vlc
Actual Results:  
compile fails during configuration

(preliminary output, then the FLAC lines included for a point of reference: )
checking FLAC/stream_decoder.h usability... yes
checking FLAC/stream_decoder.h presence... yes
checking for FLAC/stream_decoder.h... yes
checking mpeg2dec/mpeg2.h usability... no
checking mpeg2dec/mpeg2.h presence... yes
configure: WARNING: mpeg2dec/mpeg2.h: present but cannot be compiled
configure: WARNING: mpeg2dec/mpeg2.h:     check for missing prerequisite headers?
configure: WARNING: mpeg2dec/mpeg2.h: see the Autoconf documentation
configure: WARNING: mpeg2dec/mpeg2.h:     section "Present But Cannot Be Compiled"
configure: WARNING: mpeg2dec/mpeg2.h: proceeding with the preprocessor's result
configure: WARNING: mpeg2dec/mpeg2.h: in the future, the compiler will take
precedence
configure: WARNING:     ## ------------------------------ ##
configure: WARNING:     ## Report this to the vlc lists.  ##
configure: WARNING:     ## ------------------------------ ##
checking for mpeg2dec/mpeg2.h... yes
checking for libmpeg2 version >= 0.3.2... no
configure: error: Your libmpeg2 is too old (you need the cvs version): you may
get a more recent one from http://libmpeg2.sf.net/. Alternatively you can use
--disable-libmpeg2 to disable the libmpeg2 plugin.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/vlc-0.8.2-r2/work/vlc-0.8.2/config.log

!!! ERROR: media-video/vlc-0.8.2-r2 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
Expect configuration to complete, followed by compile.
It should have accepted the version of libmpeg2 that I have! Note:

# cat /usr/include/mpeg2dec/mpeg2.h | grep MPEG2_RELEASE
#define MPEG2_RELEASE MPEG2_VERSION (0, 4, 0)   /* 0.4.0 */



# emerge -pv vlc
...(just vlc comes up)...

[ebuild  N    ] media-video/vlc-0.8.2-r2  -3dfx +X +a52 +aac +aalib +alsa
(-altivec) +arts +bidi +cdda -corba -daap -debug +dts +dvb +dvd +esd +fbcon
+ffmpeg +flac +freetype +ggi +gnutls +httpd +joystick +libcaca -lirc +live
+matroska -mod +mp3 +mpeg +ncurses +nls +nsplugin +ogg +opengl +oss +png -samba
+screen +sdl +speex +stream +svg +svga +theora +unicode +v4l +vcd +vlm +vorbis
+wxwindows +xml2 +xosd +xv 0 kB

# emerge info
Portage 2.0.53_rc6 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r4 i686)
=================================================================
System uname: 2.6.13-gentoo-r4 i686 AMD Athlon(TM) XP1800+
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo 
http://mirrors.acm.cs.rpi.edu/gentoo/
ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo
http://ftp6.uni-erlangen.de/pub/mirrors/gentoo
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext 7zip X Xaw3d a52 aac aalib aim aimextras allegro
alsa amarok amr ao aotuv apm applet aqua_theme arts artworkextra asm asterisk
async atlas auctex audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts
bl blas blender-game bmp bonobo boo browserplugin bzip2 c++ cairo calendar
carbone_theme cdda cddb cdio cdparanoia cdr cdrom cg clamav clamd clanJavaScript
clanVoice clisp cln cmucl config_wizard cpdflib cpudetection crypt cscope css
ctype cups curl curlwrappers dbase dbus dga dio directfb divx4linux djbfft djvu
dmx dri dts dv dvb dvd dvdr dvdread dvi eds effects emboss encode epiphany esd
evo exif faad fam fame fbcon ffmpeg fftw flac flash font-server fontconfig
foomaticdb fortran fpx freetype ftp gb gcj gcl gd gdbm ggi gif gimp gimpprint
ginac glgd glibc-compat20 glitz glut glx gnome gnome-print gnomecanvas gnomedb
gnuplot gnustep gnutls gphoto2 gpm gs gsl gstreamer gtk gtk2 gtkhtml guile gzip
hal hddtemp howl httpd icq id3 image imagemagick imlib imlib2 inkjar
insecure-savers ipv6 j2ee jabber jack java javascript joystick jp2 jpeg jpeg2k
junit kde kdeenablefinal kernel_linux kig-scripting ladcca ladspa lame lapack
latex libcaca libdv libdvdread libfame libg++ libsamplerate libvisual libwww
live lm_sensors logitech-mouse lzo lzw mad math matroska maya-shaderlibrary mcal
memlimit metar mikmod mime ming mixer mjpeg mjpegtools mmx mmx2 mmxext mng mono
motif mozcalendar mozilla mozsvg mp3 mpeg mpeg2 mpeg4 mplayer msn msnextras
musepack musicbrainz mysql mysqli mythtv nas nautilus ncurses net netbeans
network nextaw nls nsplugin nspr nvidia objc ocaml octave offensive ogg
oggvorbis ogre openal openexr opengl openssl osc oscar oss pam pango
parse-clocks pascal pdf pdfkit pdflib perl physfs player plotutils plugin png
posix povray print python qhull qt quicktime quotes rar rdesktop readline real
recode rhythmbox rss ruby sametime sbcl scanner screen sdl sensord shorten shout
silc slang sndfile sockets speech speex spell sql sqlite sse sse-filters sse2
ssl stream subp subtitles svg svga svgz symlink t1lib tcltk tcpd tetex text
theora threads thumbnail tidy tiff toolbar transcode truetype truetype-fonts
type1 type1-fonts unicode usb userlocales utf8 v4l v4l2 vcd videos vim-pager
vim-with-x visualization vlm voice vorbis win32codecs wmf wxwindows xanim xine
xinerama xml xml2 xmlrpc xmms xosd xpm xprint xscreensaver xv xvid xvmc yahoo
zip zlib userland_GNU elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Note in the gentoo forums link, I was able to manually get the config & compile
to finish by disabling libmpeg2, but that doesn't really solve the problem.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-20 00:52:42 UTC
Attach your config.log  
Comment 2 Tony Skraba 2005-10-20 02:53:12 UTC
Created attachment 71060 [details]
/var/tmp/portage/vlc-0.8.2-r2/work/vlc-0.8.2/config.log
Comment 3 Tony Skraba 2005-10-20 02:58:17 UTC
Sorry that I forgot to attach that in the first place, Diego.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-20 06:21:05 UTC
You have spurious headers in /usr/local . 
Comment 5 Tony Skraba 2005-10-20 11:44:35 UTC
Ok, thanks for taking a look at this Diego.  My apologies for submitting it as a
real bug, since it apparently isn't.

Mind you, I've no idea how to resolve this problem, but its a start! (I
understand what your saying, but not knowledgeable enough to correct it myself.)

Thanks again!
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-20 11:55:43 UTC
Remove the libmpeg2 library and headers that you have in /usr/local/include 
and /usr/local/lib, else VLC tries to use a copy you installed by yourself and 
it's not under portage control, failing because that is not the good one. 
Comment 7 Tony Skraba 2005-10-20 14:26:35 UTC
(adding comment for Resolved Invalid completeness.)

Thanks for the help!  I don't recall trying to add mpeg2 stuff outside of
portage, but apparently I must have.  I went into the the two directories and
removed the mpeg2 stuff there (as well as some other stuff that I know I'd added
and don't want now.)

emerge now gives these config replacement lines:
checking mpeg2dec/mpeg2.h usability... yes
checking mpeg2dec/mpeg2.h presence... yes
checking for mpeg2dec/mpeg2.h... yes
checking for libmpeg2 version >= 0.3.2... yes

and continues on to the compile!

Thanks for the effort to help me solve this issue, Diego.  Again, my apologies
for submitting a "bug" when it turns out it wasn't one.  Your assistance is very
much appreciated, Diego!

Tony S.