<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>136979</bug_id>
          
          <creation_ts>2006-06-16 05:13 0000</creation_ts>
          <short_desc>media-video/ffmpeg-0.4.9_p20060302 compile failure</short_desc>
          <delta_ts>2007-04-14 23:51:08 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>157814</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>andrei.ivanov@gmail.com</reporter>
          <assigned_to>media-video@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>andrei.ivanov@gmail.com</who>
            <bug_when>2006-06-16 05:13:45 0000</bug_when>
            <thetext>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 &apos;x264_param_t&apos;
x264.c: In function &apos;X264_log&apos;:
x264.c:38: error: &apos;X264_LOG_ERROR&apos; 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 &apos;level_map&apos;)
x264.c:39: error: &apos;X264_LOG_WARNING&apos; 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 &apos;level_map&apos;)
x264.c:40: error: &apos;X264_LOG_INFO&apos; 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 &apos;level_map&apos;)
x264.c:41: error: &apos;X264_LOG_DEBUG&apos; 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 &apos;level_map&apos;)
&lt;cut&gt;
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&apos;
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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fforce-addr -mfpmath=sse&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /opt/openjms/config /var/qmail/alias /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fforce-addr -mfpmath=sse&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig candy distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.gts.lug.ro/gentoo&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
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=&quot;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&quot; 8,664 kB
[ebuild  N    ]  media-libs/win32codecs-20060611  USE=&quot;quicktime -real&quot; 13,483 kB
[ebuild  N    ]  media-libs/libcaca-0.9-r2  USE=&quot;imlib ncurses slang -X -doc&quot; 210 kB
[ebuild  N    ]  media-sound/cdparanoia-3.9.8-r4  138 kB
[ebuild  N    ]  media-libs/speex-1.1.12  USE=&quot;ogg sse vorbis-psy&quot; 722 kB
[ebuild  N    ]  media-libs/x264-svn-20060612  USE=&quot;mp4 -debug -threads&quot; 296 kB
[ebuild  N    ]   media-video/gpac-0.4.1_pre20060122  USE=&quot;aac ffmpeg jpeg mad ogg png ssl theora truetype vorbis xml2 xvid -amr -debug -mozilla -opengl -oss -sdl -wxwindows&quot; 2,398 kB
[ebuild  N    ]    media-video/ffmpeg-0.4.9_p20060302  USE=&quot;a52 aac encode imlib mmx ogg theora truetype vorbis x264 xvid zlib -amr -debug -doc -dts -ieee1394 -network -oss -sdl -test -threads -v4l&quot; 1,718 kB
[ebuild  N    ]     media-libs/libtheora-1.0_alpha6  USE=&quot;encode -doc -examples&quot; 1,522 kB
[ebuild  N    ]     media-sound/lame-3.97_beta2  USE=&quot;-debug -gtk&quot; 1,296 kB
[ebuild  N    ]     media-libs/libvorbis-1.1.2  USE=&quot;-aotuv&quot; 1,285 kB
[ebuild  N    ]     media-libs/imlib2-1.2.1.009  USE=&quot;bzip2 gif jpeg mmx mp3 png tiff zlib -X -doc -nls&quot; 893 kB
[ebuild  N    ]      media-libs/libid3tag-0.15.1b  USE=&quot;-debug&quot; 330 kB
[ebuild  N    ]     media-libs/xvid-1.1.0-r1  USE=&quot;-doc&quot; 625 kB
[ebuild  N    ]     media-libs/a52dec-0.7.4-r5  USE=&quot;djbfft -oss&quot; 235 kB
[ebuild  N    ]      sci-libs/djbfft-0.76  USE=&quot;-static&quot; 78 kB
[ebuild  N    ]     media-libs/faac-1.24-r2  275 kB
[ebuild  N    ]      media-libs/libsndfile-1.0.16  USE=&quot;alsa flac -sqlite -static&quot; 837 kB
[ebuild  N    ]       media-libs/flac-1.1.2-r6  USE=&quot;3dnow ogg sse -debug -doc -xmms&quot; 1,487 kB
[ebuild  N    ]        dev-lang/nasm-0.98.39-r3  USE=&quot;-build -doc&quot; 531 kB
[ebuild  N    ]     media-libs/libogg-1.1.3  394 kB
[ebuild  N    ]     media-libs/faad2-2.0-r12  USE=&quot;-xmms&quot; 757 kB
[ebuild  N    ]      media-libs/libmp4v2-1.5  4,712 kB
[ebuild  N    ]  media-libs/libmad-0.15.1b-r1  USE=&quot;-debug&quot; 490 kB
[ebuild  N    ]  media-libs/aalib-1.4_rc5  USE=&quot;gpm slang -X&quot; 381 kB

It seems I have to install gpac without the &quot;ffmpeg&quot; use flag first, and reemerge it later... Circular dependencies?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beandog@gentoo.org</who>
            <bug_when>2006-07-08 07:48:31 0000</bug_when>
            <thetext>Try with -x264 USE flag.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>john@mib-infotech.co.nz</who>
            <bug_when>2006-08-06 01:21:59 0000</bug_when>
            <thetext>Created an attachment (id=93575)
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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium4 -O2 -pipe -mno-tls-direct-seg-refs -g&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /etc/mail/dspam /etc/postfix /etc/samba /etc/sasl2 /etc/squid /usr/share/X11/xkb /var/bind /var/run/dspam&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-march=pentium4 -O2 -pipe -mno-tls-direct-seg-refs -g&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zzam@gentoo.org</who>
            <bug_when>2006-12-12 02:01:56 0000</bug_when>
            <thetext>This should be fixed in ffmpeg-0.4.9_p20061016 together with x264-svn-20061014-r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-04-14 23:51:08 0000</bug_when>
            <thetext>Current stable ffmpeg on x86 is 0.4.9_p20070330. Reopen if this is still a issue.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>93575</attachid>
            <date>2006-08-06 01:21 0000</date>
            <desc>compile output showing register problems</desc>
            <filename>crash2.txt</filename>
            <type>text/plain</type>
            <data encoding="base64">R2VudG9vIEJhc2UgU3lzdGVtIHZlcnNpb24gMS4xMi40ClBvcnRhZ2UgMi4xLjFfcHJlNC1yMyAo
ZGVmYXVsdC1saW51eC94ODYvMjAwNi4wLCBnY2MtNC4xLjEsIGdsaWJjLTIuNC1yMywgMi42LjE3
LWdlbnRvby1yNCBpNjg2KQo9PT09P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