ffmepg fails to compile, if I use the CFLAG"-combine" in /etc/make.conf. Reproducible: Always Steps to Reproduce: 1.emerge -v ffmpeg 2.watch output 3.compilation stops during configuration Actual Results: ffmpeg fails to compile Expected Results: compilation process stops no error during compiling this ebuild
compiler output: ---------------- These are the packages that would be merged, in order: Calculating dependencies ..... ..... ..... done! [ebuild R ] media-video/ffmpeg-0.4.9_p20061016 USE="a52 aac dts encode mmx ogg sdl truetype vorbis x264 xvid zlib (-altivec) -amr -debug -doc -ieee1394 -imlib -network -oss -test -theora -threads -v4l" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB >>> Emerging (1 of 1) media-video/ffmpeg-0.4.9_p20061016 to / * ffmpeg-0.4.9-p20061016.tar.bz2 RMD160 ;-) ... [ ok ] * ffmpeg-0.4.9-p20061016.tar.bz2 SHA1 ;-) ... [ ok ] * ffmpeg-0.4.9-p20061016.tar.bz2 SHA256 ;-) ... [ ok ] * ffmpeg-0.4.9-p20061016.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking ffmpeg-0.4.9-p20061016.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking ffmpeg-0.4.9-p20061016.tar.bz2 to /var/tmp/portage/media-video/ffmpeg-0.4.9_p20061016/work * Applying ffmpeg-libdir.patch ... [ ok ] * Applying ffmpeg-shared-gcc4.1.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-video/ffmpeg-0.4.9_p20061016/work/ffmpeg ... install prefix /usr source path /var/tmp/portage/media-video/ffmpeg-0.4.9_p20061016/work/ffmpeg C compiler x86_64-pc-linux-gnu-gcc make make ARCH x86_64 (generic) big-endian no inttypes.h yes broken inttypes.h no MMX enabled yes gprof enabled no zlib enabled yes libgsm enabled no mp3lame enabled yes libogg enabled yes Vorbis enabled yes FAAD enabled yes faadbin enabled no FAAC enabled yes XviD enabled yes x264 enabled yes a52 support yes a52 dlopened no DTS support yes pp support yes Software Scaler enabled no AVISynth enabled no debug symbols no strip symbols no optimize no static yes shared yes video hooking yes SDL support yes Imlib2 support no FreeType support yes Sun medialib support no pthreads support no AMR-NB float support no AMR-NB fixed support no AMR-WB float support no AMR-WB IF2 support no network support no .align is power-of-two no License: GPL Creating config.mak and config.h... grep: .svn/entries: No such file or directory cc1: error: too many filenames given. Type cc1 --help for usage make: *** [.depend] Error 1 !!! ERROR: media-video/ffmpeg-0.4.9_p20061016 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3347: Called src_compile ffmpeg-0.4.9_p20061016.ebuild, line 159: Called die !!! depend 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_p20061016:20070403-113135.log'. emerge --info: --------------- Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64) ================================================================= System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 01 Apr 2007 07:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 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.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -combine -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -combine -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fix-packages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="rsync://linux.rz.ruhr-uni-bochum.de/gentoo rsync://ftp.join.uni-muenster.de/gentoo/ rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ rsync://ftp-stud.fht-esslingen.de/gentoo/ rsync://gentoo.intergenia.de/gentoo-linux/ rsync://ftp.belnet.be/gentoo/ rsync://ftp.snt.utwente.nl/gentoo/ rsync://gd.tuwien.ac.at/opsys/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://gentoo.prz.rzeszow.pl/gentoo/ rsync://ftp.lug.ro/gentoo/ rsync://trumpetti.atm.tut.fi/gentoo/ rsync://ftp.rhnet.is/gentoo/ rsync://mirror.hamakor.org.il/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,-s -Wl,--sort-common -Wl,-z -Wl,now" LINGUAS="en" MAKEOPTS="-j1 -s" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage" USE="X a52 aac aiglx alsa amd64 bash-completion berkdb bindits bitmap-fonts bzip2 cairo caps cdparanoia cdr cli cups dbus dri dts dvd dvdr encode esd firefox flac ftp gif glibc-omitfp gnome gstreamer gtk gtk2 hal iconv ipv6 java javascript jpeg ldap libg++ mad midi mikmod mp3 mpeg mpeg2 ncurses nls nptl nptlonly ogg opengl pam pcre perl png ppds pppd python quicktime readline reflection sdl session spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis wxGTK x264 xine xml xorg xv xvid zlib" ALSA_CARDS="intel8x0" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Problem still exists in version 0.49_p20070129.
INVALID, newer ebuild of ffmpeg are compiling
Yup, should be tried first with sane CFLAGS setting