Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136979 - media-video/ffmpeg-0.4.9_p20060302 compile failure
Summary: media-video/ffmpeg-0.4.9_p20060302 compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on: 157814
Blocks:
  Show dependency tree
 
Reported: 2006-06-16 05:13 UTC by Andrei Ivanov
Modified: 2007-04-14 23:51 UTC (History)
0 users

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


Attachments
compile output showing register problems (crash2.txt,2.19 KB, text/plain)
2006-08-06 01:21 UTC, John Huttley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Ivanov 2006-06-16 05:13:45 UTC
i686-pc-linux-gnu-gcc -Wall -Wno-switch -march=athlon-xp -O3 -pipe -fomit-frame-pointer -fforce-addr -mfpmath=sse -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o x264.o x264.c
x264.c:21:18: error: x264.h: No such file or directory
x264.c:28: error: expected specifier-qualifier-list before 'x264_param_t'
x264.c: In function 'X264_log':
x264.c:38: error: 'X264_LOG_ERROR' undeclared (first use in this function)
x264.c:38: error: (Each undeclared identifier is reported only once
x264.c:38: error: for each function it appears in.)
x264.c:38: error: array index in initializer not of integer type
x264.c:38: error: (near initialization for 'level_map')
x264.c:39: error: 'X264_LOG_WARNING' undeclared (first use in this function)
x264.c:39: error: array index in initializer not of integer type
x264.c:39: error: (near initialization for 'level_map')
x264.c:40: error: 'X264_LOG_INFO' undeclared (first use in this function)
x264.c:40: error: array index in initializer not of integer type
x264.c:40: error: (near initialization for 'level_map')
x264.c:41: error: 'X264_LOG_DEBUG' undeclared (first use in this function)
x264.c:41: error: array index in initializer not of integer type
x264.c:41: error: (near initialization for 'level_map')
<cut>
make[1]: *** [x264.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-static/libavcodec'
make: *** [lib] Error 2

!!! ERROR: media-video/ffmpeg-0.4.9_p20060302 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ffmpeg-0.4.9_p20060302.ebuild, line 164:   Called die


Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fforce-addr -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fforce-addr -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.gts.lug.ro/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow aalib acl acpi adns alsa apache2 avi bitmap-fonts bzip2 cairo caps cli crypt cups curl curlwrappers dio emboss encode exif expat flac foomaticdb fortran ftp gd gif gmp gpm gstreamer idn imagemagick imap imlib isdnlog jpeg libg++ libwww mad maildir mailwrapper memlimit mhash mikmod mmap mmx mp3 mpeg ncurses nptl offensive ogg oggvorbis pam pcntl pcre pdflib png posix pppd quicktime readline reflection samba session shared sharedmem slang soap sockets socks5 speex spell spl sse ssl svg sysvipc tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode urandom usb vhosts vorbis wmf xml xmlrpc xorg zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

I think the dependencies might be wrong..

[ebuild  N    ] media-video/mplayer-1.0_pre8  USE="3dnow 3dnowext aac aalib alsa cdparanoia dvd encode gif jpeg libcaca mad mmx mmxext png rtc samba speex sse theora truetype unicode vorbis win32codecs x264 xvid -3dfx -X -arts -bidi -bindist -bl -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb -dvdread -esd -fbcon -ggi -gtk -i8x0 -ipv6 -jack -joystick -lirc -live -livecd -lzo -matrox -musepack -nas -nls -nvidia -openal -opengl -oss -real -sdl -sse2 -svga -tga -v4l -v4l2 -xanim -xinerama -xmms -xv -xvmc" 8,664 kB
[ebuild  N    ]  media-libs/win32codecs-20060611  USE="quicktime -real" 13,483 kB
[ebuild  N    ]  media-libs/libcaca-0.9-r2  USE="imlib ncurses slang -X -doc" 210 kB
[ebuild  N    ]  media-sound/cdparanoia-3.9.8-r4  138 kB
[ebuild  N    ]  media-libs/speex-1.1.12  USE="ogg sse vorbis-psy" 722 kB
[ebuild  N    ]  media-libs/x264-svn-20060612  USE="mp4 -debug -threads" 296 kB
[ebuild  N    ]   media-video/gpac-0.4.1_pre20060122  USE="aac ffmpeg jpeg mad ogg png ssl theora truetype vorbis xml2 xvid -amr -debug -mozilla -opengl -oss -sdl -wxwindows" 2,398 kB
[ebuild  N    ]    media-video/ffmpeg-0.4.9_p20060302  USE="a52 aac encode imlib mmx ogg theora truetype vorbis x264 xvid zlib -amr -debug -doc -dts -ieee1394 -network -oss -sdl -test -threads -v4l" 1,718 kB
[ebuild  N    ]     media-libs/libtheora-1.0_alpha6  USE="encode -doc -examples" 1,522 kB
[ebuild  N    ]     media-sound/lame-3.97_beta2  USE="-debug -gtk" 1,296 kB
[ebuild  N    ]     media-libs/libvorbis-1.1.2  USE="-aotuv" 1,285 kB
[ebuild  N    ]     media-libs/imlib2-1.2.1.009  USE="bzip2 gif jpeg mmx mp3 png tiff zlib -X -doc -nls" 893 kB
[ebuild  N    ]      media-libs/libid3tag-0.15.1b  USE="-debug" 330 kB
[ebuild  N    ]     media-libs/xvid-1.1.0-r1  USE="-doc" 625 kB
[ebuild  N    ]     media-libs/a52dec-0.7.4-r5  USE="djbfft -oss" 235 kB
[ebuild  N    ]      sci-libs/djbfft-0.76  USE="-static" 78 kB
[ebuild  N    ]     media-libs/faac-1.24-r2  275 kB
[ebuild  N    ]      media-libs/libsndfile-1.0.16  USE="alsa flac -sqlite -static" 837 kB
[ebuild  N    ]       media-libs/flac-1.1.2-r6  USE="3dnow ogg sse -debug -doc -xmms" 1,487 kB
[ebuild  N    ]        dev-lang/nasm-0.98.39-r3  USE="-build -doc" 531 kB
[ebuild  N    ]     media-libs/libogg-1.1.3  394 kB
[ebuild  N    ]     media-libs/faad2-2.0-r12  USE="-xmms" 757 kB
[ebuild  N    ]      media-libs/libmp4v2-1.5  4,712 kB
[ebuild  N    ]  media-libs/libmad-0.15.1b-r1  USE="-debug" 490 kB
[ebuild  N    ]  media-libs/aalib-1.4_rc5  USE="gpm slang -X" 381 kB

It seems I have to install gpac without the "ffmpeg" use flag first, and reemerge it later... Circular dependencies?
Comment 1 Steve Dibb (RETIRED) gentoo-dev 2006-07-08 07:48:31 UTC
Try with -x264 USE flag.
Comment 2 John Huttley 2006-08-06 01:21:59 UTC
Created attachment 93575 [details]
compile output showing register problems

Differnt compile problems.

emerge --info is  .

Gentoo Base System version 1.12.4
Portage 2.1.1_pre4-r3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -mno-tls-direct-seg-refs -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /etc/postfix /etc/samba /etc/sasl2 /etc/squid /usr/share/X11/xkb /var/bind /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -pipe -mno-tls-direct-seg-refs -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 cairo crypt cups dbus dri elibc_glibc flac gif gmp gnome gpm gtk gtk2 hal input_devices_evdev input_devices_keyboard input_devices_mouse jpeg kernel_linux mad mmx mp3 nptl ogg opengl pam pcre png readline sasl sdl sse ssl tiff usb userland_GNU v4l video_cards_ati video_cards_vesa vorbis xml xml2 xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Matthias Schwarzott gentoo-dev 2006-12-12 02:01:56 UTC
This should be fixed in ffmpeg-0.4.9_p20061016 together with x264-svn-20061014-r1.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-04-14 23:51:08 UTC
Current stable ffmpeg on x86 is 0.4.9_p20070330. Reopen if this is still a issue.