Emerge complains about ffmpeg not found, despite compiling with USE="(-system-ffmpeg) Reproducible: Always Steps to Reproduce: 1. emerge -uDNav chromium Actual Results: Fails to compile due to missing ffmpeg emerge --info Portage 2.3.5-r3 (funtoo/1.0/linux-gnu/arch/x86-32bit, gcc-4.6.3, glibc-2.15-r3, 3.6.5-gentoo i686) ================================================================= System uname: Linux-3.6.5-gentoo-i686-Intel-R-_Celeron-R-_M_CPU_420_@_1.60GHz-with-gentoo-2.2.0 Timestamp of tree: Thu, 22 Nov 2012 06:45:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r1000, 3.2.3-r1000 sys-apps/baselayout: 2.2.0-r3 sys-apps/openrc: 0.10.2-r6 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.5-r1 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo udev enlightenment alpha ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/udev /var/lib/layman/enlightenment /usr/local/portage" SYNC="git://github.com/funtoo/ports-2012.git" SYNC_USER="root" USE="X acl berkdb bzip2 cracklib crypt cxx dbus gdbm gtk iconv icu ipv6 modules mudflap ncurses nls nptl openmp pcre python readline resolvconf ssl tcpd unicode x86 xml zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_ABIS="2.7 3.2" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa fbdev intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK USE Flags : [ebuild U #] www-client/chromium-25.0.1323.1 [24.0.1312.2] USE="-bindist -cups -custom-cflags -gnome -gnome-keyring -kerberos (-pulseaudio) (-selinux) (-system-ffmpeg) (-tcmalloc) {-test}" LINGUAS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" 0 kB
Full build.log (5113Kb) : http://bpaste.net/show/59893/
Created attachment 330330 [details] build.log.gz Uploaded gzipped build log for when paste mirror goes down.
I couldn't repro. Can anyone else repro this? [ebuild R #] www-client/chromium-25.0.1323.1 USE="cups -bindist -custom-cflags -gnome -gnome-keyring -kerberos (-pulseaudio) (-selinux) (-system-ffmpeg) (-tcmalloc) {-test}" LINGUAS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" 0 kB For reference, the reported error is: In file included from ./media/filters/ffmpeg_glue.h:31:0, from ./media/filters/in_memory_url_protocol.h:10, from webkit/media/audio_decoder.cc:14: ./media/ffmpeg/ffmpeg_common.h:24:32: fatal error: libavcodec/avcodec.h: No such file or directory compilation terminated. make: *** [out/Release/obj.target/webkit_media/webkit/media/audio_decoder.o] Error 1
Problem solved by updating to a newer version of ffmpeg.
It should not require ANY version of ffmpeg if you are building with the system-ffmpeg use flag disabled.
I can reproduce this after unmerging media-video/ffmpeg.
(In reply to comment #6) > I can reproduce this after unmerging media-video/ffmpeg. Ah right, that's the part I was missing. Thanks a lot, Mike! Thank you victor2008 for reporting this. Fixed in CVS.
I'm seeing this exact same error with www-client/chromium-30.0.1599.22. Do you want a new bug or just have this one reopened?
(In reply to Paul Varner from comment #8) > I'm seeing this exact same error with www-client/chromium-30.0.1599.22. > > Do you want a new bug or just have this one reopened? New bug, with a build log please.