On my config/system USE="-* xvid" results in the following error: i686-pc-linux-gnu-gcc -Os -march=i686 -mtune=pentium3 -pipe -fomit-frame-pointer -fomit-frame-pointer -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg" -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg" -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg"/libavutil -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg"/libavcodec -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg"/libavformat -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg"/libswscale -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg" -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg" -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg"/libavutil -Os -march=i686 -mtune=pentium3 -pipe -fomit-frame-pointer -fomit-frame-pointer -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -fPIC -DPIC -c -o rational.o rational.c In file included from common.h:55, from mathematics.c:26: internal.h:274: error: static declaration of 'lrintf' follows non-static declaration make[1]: *** [mathematics.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from common.h:55, from rational.c:32: internal.h:274: error: static declaration of 'lrintf' follows non-static declaration make[1]: *** [rational.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavutil' In file included from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavutil/common.h:55, from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavutil/avutil.h:44, from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec/avcodec.h:34, from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat/avformat.h:36, from ffmpeg.c:24: /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavutil/internal.h:274: error: static declaration of 'lrintf' follows non-static declaration In file included from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat/avformat.h:36, from ffmpeg.c:24: /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec/avcodec.h:2460: warning: 'ImgReSampleContext' is deprecated /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec/avcodec.h:2463: warning: 'ImgReSampleContext' is deprecated In file included from ffmpeg.c:24: /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat/avformat.h:284: warning: 'AVFrac' is deprecated In file included from ffmpeg.c:26: /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat/framehook.h:25:2: warning: #warning VHOOK is deprecated please help porting libmpcodecs or a better filter system to ffmpeg instead of wasting your time writing new fiters for this crappy one make: *** [lib] Error 2 make: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavutil/common.h:55, from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavutil/avutil.h:44, from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec/avcodec.h:34, from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat/avformat.h:36, from cmdutils.c:22: /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavutil/internal.h:274: error: static declaration of 'lrintf' follows non-static declaration In file included from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat/avformat.h:36, from cmdutils.c:22: /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec/avcodec.h:2460: warning: 'ImgReSampleContext' is deprecated /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec/avcodec.h:2463: warning: 'ImgReSampleContext' is deprecated ffmpeg.c: In function 'main': ffmpeg.c:3802: warning: 'av_free_static' is deprecated (declared at /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec/avcodec.h:3025) make: *** [ffmpeg.o] Error 1 In file included from cmdutils.c:22: /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavformat/avformat.h:284: warning: 'AVFrac' is deprecated make: *** [cmdutils.o] Error 1 !!! ERROR: media-video/ffmpeg-0.4.9_p20070330 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ffmpeg-0.4.9_p20070330.ebuild, line 169: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/temp/build.log'. (freevo) enterprise / # what should be noted is that this is a 32bit chroot, with the ROOT= variable set aswell. So the running kernel listed is from the 64bit host. I can compile ffmpeg with all other flags BUT xvid set just fine. Reproducible: Always
(freevo) enterprise / # emerge --info Portage 2.1.2.4 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.18-hardened-r6 x86_64) ================================================================= System uname: 2.6.18-hardened-r6 x86_64 Intel(R) Xeon(TM) CPU 3.00GHz Gentoo Base System release 1.12.10 Timestamp of tree: Fri, 20 Apr 2007 13:20:02 +0000 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=i686 -mtune=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-Os -march=i686 -mtune=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en nl de" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages/glibc" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac alsa amr avahi bidi bindist bitmap-fonts cddb cdparanoia cli cpudetection crypt divx djbfft dri dts dv dvb dvd dvdnav dvdread encode fam flac ftp gdbm gif gpm hal iconv isdnlog jbig joystick jpeg jpeg2k libg++ lirc live lzo mad md5sum midi minimal mmx mp2 mp3 mp3rtp musepack nas ncurses nl no-old-linux nocxx nptl nptlonly ogg openal opengl pcre png pnm ppds pppd quicktime radio rar real realmedia reflection rtc samba sdl session speex spl srt ssl tcpd theora tiff tivo truetype truetype-fonts type1-fonts unicode v4l v4l2 vidix vorbis vorbis-psy win32codecs x86 xanim xinerama xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl de" LIRC_DEVICES="imon_pad2keys" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
This is still reproducible with current ffmpeg i686-pc-linux-gnu-gcc -march=pentium4 -fomit-frame-pointer -O2 -pipe -DBROKEN_RELOCATIONS -fomit-frame-pointer -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg" -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg" -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg"/libavutil -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg"/libavcodec -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg"/libavformat -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg"/libswscale -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -DHAVE_AV_CONFIG_H -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg"/libswscale -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg" -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg" -I"/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg"/libavutil -march=pentium4 -fomit-frame-pointer -O2 -pipe -DBROKEN_RELOCATIONS -fomit-frame-pointer -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -fPIC -DPIC -c -o mpegvideo.o mpegvideo.c In file included from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg/libavutil/common.h:55, from /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg/libavutil/avutil.h:40, from avcodec.h:30, from mpegvideo.c:30: /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg/libavutil/internal.h:262: warning: static declaration of 'lrintf' follows non-static declaration In file included from mpegvideo.c:30: avcodec.h:2252: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2231) avcodec.h:2258: warning: `ImgReSampleContext' is deprecated (declared at avcodec.h:2231) mpegvideo.c: In function `MPV_encode_picture': /var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg/libavutil/internal.h:262: sorry, unimplemented: inlining failed in call to 'lrintf': redefined extern inline functions are not considered for inlining mpegvideo.c:2634: sorry, unimplemented: called from here make[1]: *** [mpegvideo.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070616/work/ffmpeg/libavcodec' make: *** [lib] Error 2 * * ERROR: media-video/ffmpeg-0.4.9_p20070616 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ffmpeg-0.4.9_p20070616.ebuild, line 145: Called die * * make failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/media-video:ffmpeg-0.4.9_p20070616:20070926-201713.log'. * * Messages for package media-video/ffmpeg-0.4.9_p20070616: * * ERROR: media-video/ffmpeg-0.4.9_p20070616 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ffmpeg-0.4.9_p20070616.ebuild, line 145: Called die * * make failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/media-video:ffmpeg-0.4.9_p20070616:20070926-201713.log'. *
worksforme and thats the same error as bug #128685 *** This bug has been marked as a duplicate of bug 128685 ***