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

Bug 112086

Summary: vlc-0.8.1-r1 fails compilation
Product: Gentoo Linux Reporter: Alexandru Toma <flash3001>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexandru Toma 2005-11-10 09:42:15 UTC
I was trying to compile a very striped down version of vlc to test something,
however it doesn't want to compile. Here is the setup:

[ebuild  N    ] media-video/vlc-0.8.1-r1  -3dfx +X -a52 -aac -aalib +alsa
(-altivec) -arts -bidi -cdda -cddb -cdio -debug -dts -dvb -dvd -esd -fbcon
+ffmpeg -flac -freetype -ggi -gnutls +gtk2 -httpd -joystick -libcaca -lirc -live
+mad -matroska +mpeg -nls -nsplugin -ogg -opengl -oss -sdl -ssl -stream -svg
-svga -theora -unicode -v4l -vcd -vlm -vorbis -wxwindows -xosd +xv 0 kB

I don't know if it's because of the use flags or if it's something else.

Reproducible: Always
Steps to Reproduce:
1. USE="-a lot of stuff ... see above" emerge vlc
2.
3.

Actual Results:  
then mv -f ".deps/librawvideo_plugin_a-rawvideo.Tpo"
".deps/librawvideo_plugin_a-rawvideo.Po"; \
else rm -f ".deps/librawvideo_plugin_a-rawvideo.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc -Wsign-compare -Wall -march=athlon-xp -O2 -pipe
-fomit-frame-pointer -pipe -o librawvideo_plugin.so
librawvideo_plugin_a-rawvideo.o `top_builddir=../.. ../../vlc-config --libs
plugin rawvideo`
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX
-I../../include `top_builddir="../.." ../../vlc-config --cflags plugin subsdec`
-Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer -pipe -MT
libsubsdec_plugin_a-subsdec.o -MD -MP -MF ".deps/libsubsdec_plugin_a-subsdec.Tpo" \
  -c -o libsubsdec_plugin_a-subsdec.o `test -f 'subsdec.c' || echo './'`subsdec.c; \
then mv -f ".deps/libsubsdec_plugin_a-subsdec.Tpo"
".deps/libsubsdec_plugin_a-subsdec.Po"; \
else rm -f ".deps/libsubsdec_plugin_a-subsdec.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc -Wsign-compare -Wall -march=athlon-xp -O2 -pipe
-fomit-frame-pointer -pipe -o libsubsdec_plugin.so libsubsdec_plugin_a-subsdec.o
`top_builddir=../.. ../../vlc-config --libs plugin subsdec`
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX
-I../../include `top_builddir="../.." ../../vlc-config --cflags plugin dvbsub`
-Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer -pipe -MT
libdvbsub_plugin_a-dvbsub.o -MD -MP -MF ".deps/libdvbsub_plugin_a-dvbsub.Tpo" \
  -c -o libdvbsub_plugin_a-dvbsub.o `test -f 'dvbsub.c' || echo './'`dvbsub.c; \
then mv -f ".deps/libdvbsub_plugin_a-dvbsub.Tpo"
".deps/libdvbsub_plugin_a-dvbsub.Po"; \
else rm -f ".deps/libdvbsub_plugin_a-dvbsub.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc -Wsign-compare -Wall -march=athlon-xp -O2 -pipe
-fomit-frame-pointer -pipe -o libdvbsub_plugin.so libdvbsub_plugin_a-dvbsub.o
`top_builddir=../.. ../../vlc-config --libs plugin dvbsub`
make[4]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec'
make  all-recursive
make[4]: Entering directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec'
Making all in cmml
make[5]: Entering directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/cmml'
make[6]: Entering directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/cmml'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin
cmml` -Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer -pipe
-MT libcmml_plugin_a-browser_open.o -MD -MP -MF
".deps/libcmml_plugin_a-browser_open.Tpo" \
  -c -o libcmml_plugin_a-browser_open.o `test -f 'browser_open.c' || echo
'./'`browser_open.c; \
then mv -f ".deps/libcmml_plugin_a-browser_open.Tpo"
".deps/libcmml_plugin_a-browser_open.Po"; \
else rm -f ".deps/libcmml_plugin_a-browser_open.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin
cmml` -Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer -pipe
-MT libcmml_plugin_a-cmml.o -MD -MP -MF ".deps/libcmml_plugin_a-cmml.Tpo" \
  -c -o libcmml_plugin_a-cmml.o `test -f 'cmml.c' || echo './'`cmml.c; \
then mv -f ".deps/libcmml_plugin_a-cmml.Tpo" ".deps/libcmml_plugin_a-cmml.Po"; \
else rm -f ".deps/libcmml_plugin_a-cmml.Tpo"; exit 1; \
fi
cmml.c: In function `OpenDecoder':
cmml.c:98: warning: assignment from incompatible pointer type
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin
cmml` -Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer -pipe
-MT libcmml_plugin_a-history.o -MD -MP -MF ".deps/libcmml_plugin_a-history.Tpo" \
  -c -o libcmml_plugin_a-history.o `test -f 'history.c' || echo './'`history.c; \
then mv -f ".deps/libcmml_plugin_a-history.Tpo"
".deps/libcmml_plugin_a-history.Po"; \
else rm -f ".deps/libcmml_plugin_a-history.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin
cmml` -Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer -pipe
-MT libcmml_plugin_a-intf.o -MD -MP -MF ".deps/libcmml_plugin_a-intf.Tpo" \
  -c -o libcmml_plugin_a-intf.o `test -f 'intf.c' || echo './'`intf.c; \
then mv -f ".deps/libcmml_plugin_a-intf.Tpo" ".deps/libcmml_plugin_a-intf.Po"; \
else rm -f ".deps/libcmml_plugin_a-intf.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin
cmml` -Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer -pipe
-MT libcmml_plugin_a-xarray.o -MD -MP -MF ".deps/libcmml_plugin_a-xarray.Tpo" \
  -c -o libcmml_plugin_a-xarray.o `test -f 'xarray.c' || echo './'`xarray.c; \
then mv -f ".deps/libcmml_plugin_a-xarray.Tpo" ".deps/libcmml_plugin_a-xarray.Po"; \
else rm -f ".deps/libcmml_plugin_a-xarray.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin
cmml` -Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer -pipe
-MT libcmml_plugin_a-xlist.o -MD -MP -MF ".deps/libcmml_plugin_a-xlist.Tpo" \
  -c -o libcmml_plugin_a-xlist.o `test -f 'xlist.c' || echo './'`xlist.c; \
then mv -f ".deps/libcmml_plugin_a-xlist.Tpo" ".deps/libcmml_plugin_a-xlist.Po"; \
else rm -f ".deps/libcmml_plugin_a-xlist.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin
cmml` -Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer -pipe
-MT libcmml_plugin_a-xtag.o -MD -MP -MF ".deps/libcmml_plugin_a-xtag.Tpo" \
  -c -o libcmml_plugin_a-xtag.o `test -f 'xtag.c' || echo './'`xtag.c; \
then mv -f ".deps/libcmml_plugin_a-xtag.Tpo" ".deps/libcmml_plugin_a-xtag.Po"; \
else rm -f ".deps/libcmml_plugin_a-xtag.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin
cmml` -Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer -pipe
-MT libcmml_plugin_a-xurl.o -MD -MP -MF ".deps/libcmml_plugin_a-xurl.Tpo" \
  -c -o libcmml_plugin_a-xurl.o `test -f 'xurl.c' || echo './'`xurl.c; \
then mv -f ".deps/libcmml_plugin_a-xurl.Tpo" ".deps/libcmml_plugin_a-xurl.Po"; \
else rm -f ".deps/libcmml_plugin_a-xurl.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc -Wsign-compare -Wall -march=athlon-xp -O2 -pipe
-fomit-frame-pointer -pipe -o libcmml_plugin.so libcmml_plugin_a-browser_open.o
libcmml_plugin_a-cmml.o libcmml_plugin_a-history.o libcmml_plugin_a-intf.o
libcmml_plugin_a-xarray.o libcmml_plugin_a-xlist.o libcmml_plugin_a-xtag.o
libcmml_plugin_a-xurl.o `top_builddir=../../.. ../../../vlc-config --libs plugin
cmml`
make[6]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/cmml'
make  all-recursive
make[6]: Entering directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/cmml'
make[7]: Entering directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/cmml'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/cmml'
make[6]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/cmml'
make[5]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/cmml'
Making all in dmo
make[5]: Entering directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/dmo'
make  all-recursive
make[6]: Entering directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/dmo'
make[7]: Entering directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/dmo'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/dmo'
make[6]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/dmo'
make[5]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/dmo'
Making all in ffmpeg
make[5]: Entering directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/ffmpeg'
make[6]: Entering directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/ffmpeg'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags builtin
ffmpeg` -Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer
-pipe -MT libffmpeg_a-ffmpeg.o -MD -MP -MF ".deps/libffmpeg_a-ffmpeg.Tpo" \
  -c -o libffmpeg_a-ffmpeg.o `test -f 'ffmpeg.c' || echo './'`ffmpeg.c; \
then mv -f ".deps/libffmpeg_a-ffmpeg.Tpo" ".deps/libffmpeg_a-ffmpeg.Po"; \
else rm -f ".deps/libffmpeg_a-ffmpeg.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX
-I../../../include `top_builddir="../../.." ../../../vlc-config --cflags builtin
ffmpeg` -Wsign-compare -Wall -march=athlon-xp -O2 -pipe -fomit-frame-pointer
-pipe -MT libffmpeg_a-video.o -MD -MP -MF ".deps/libffmpeg_a-video.Tpo" \
  -c -o libffmpeg_a-video.o `test -f 'video.c' || echo './'`video.c; \
then mv -f ".deps/libffmpeg_a-video.Tpo" ".deps/libffmpeg_a-video.Po"; \
else rm -f ".deps/libffmpeg_a-video.Tpo"; exit 1; \
fi
video.c: In function `ffmpeg_NewPictBuf':
video.c:183: error: structure has no member named `frame_rate'
video.c:183: error: structure has no member named `frame_rate_base'
video.c:185: error: structure has no member named `frame_rate'
video.c:186: error: structure has no member named `frame_rate_base'
video.c: In function `DecodeVideo__ffmpeg':
video.c:634: error: structure has no member named `frame_rate'
video.c:638: error: structure has no member named `frame_rate_base'
video.c:639: error: structure has no member named `frame_rate'
make[6]: *** [libffmpeg_a-video.o] Error 1
make[6]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/ffmpeg'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.1-r1/work/vlc-0.8.1'
make: *** [all] Error 2

!!! ERROR: media-video/vlc-0.8.1-r1 failed.
!!! Function src_compile, Line 196, Exitcode 2
!!! make of VLC failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
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="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org http://gentoo.osuosl.org"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync2.ro.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib alsa apm audiofile avi bitmap-fonts bzip2 cdr
crypt cups curl dts eds emboss encode exif expat fam ffmpeg flac foomaticdb
fortran gd geoip gif glut gphoto2 gpm gstreamer gtk2 guile idn imlib imlib2
jikes jpeg lcms libcaca libwww lua lzo mad matroska mhash mikmod mmx mmxext mng
motif mp3 mpeg mysql ncurses network nls no_wxgtk1 ogg oggvorbis openal opengl
pam pcre png postgres python quicktime readline rtc ruby sdl slang spell sse ssl
tcpd tga theora tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis
wmf xchatdccserver xine xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Alexandru Toma 2005-11-10 09:49:14 UTC
Or it may be because I have ffmpeg-0.4.9_p20050906 and maybe vlc doesn't like
it... I don't know

* media-video/ffmpeg 
     Available versions:  ~0.4.8 ~0.4.9_pre1-r1 0.4.9_p20050226-r3
0.4.9_p20050226-r5 ~0.4.9_p20050906
     Installed:           0.4.9_p20050906
     Homepage:            http://ffmpeg.sourceforge.net/
     Description:         Complete solution to record, convert and stream audio
and video. Includes libavcodec.
Comment 2 Alexandru Toma 2005-11-10 10:05:20 UTC
It also doesn't want to compile with the following so this may be because of the
ffmpeg version I used.

[ebuild  N    ] media-video/vlc-0.8.1-r1  -3dfx +X -a52 -aac +aalib +alsa
(-altivec) -arts -bidi -cdda -cddb -cdio -debug +dts -dvb -dvd -esd -fbcon
+ffmpeg +flac -freetype -ggi -gnutls +gtk2 -httpd -joystick +libcaca -lirc -live
+mad +matroska +mpeg +nls -nsplugin +ogg +opengl -oss +sdl -ssl -stream -svg
-svga +theora +unicode -v4l -vcd -vlm +vorbis -wxwindows -xosd +xv 0 kB
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-10 11:19:04 UTC
You use ~arch ffmpeg, you have to use ~arch vlc. 
 
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-01 15:53:17 UTC
Duping, so people are more likely to search.. 
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-01 15:54:29 UTC

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