| Summary: | ffmpeg fails to compile with"ERROR: aom >= 1.0.0 not found using pkg-config" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stoian Ivanov <sdr> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
nick /usr/src # emerge --info Portage 2.3.51 (python 3.6.6-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.27-r6, 4.19.0-gentoo x86_64) ================================================================= System uname: Linux-4.19.0-gentoo-x86_64-Intel-R-_Celeron-R-_CPU_B815_@_1.60GHz-with-gentoo-2.6 KiB Mem: 6014480 total, 1944016 free KiB Swap: 9767516 total, 9730896 free Timestamp of repository gentoo: Wed, 07 Nov 2018 17:00:01 +0000 Head commit of repository gentoo: 399097cf0aaf16df3d7508100f0f6736859eb54f sh bash 4.4_p23 ld GNU ld (Gentoo 2.30 p3) 2.30.0 app-shells/bash: 4.4_p23::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo dev-util/cmake: 3.12.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.39.2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r3::gentoo, 2.31.1-r1::gentoo sys-devel/gcc: 7.3.0-r3::gentoo, 8.2.0-r4::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: x-portage location: /usr/local/portage masters: gentoo priority: 0 rust location: /var/lib/layman/rust masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.twaren.net/Linux/Gentoo/ http://104.19.136.75/gentoo/ ftp://mirrors.soeasyto.com/distfiles.gentoo.org/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm iconv icu jpeg kde kipi kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS nick /usr/src # *** This bug has been marked as a duplicate of bug 661888 *** |
Looks like libaom dependency is not properly detected: nick /usr/src # emerge -a1v ffmpeg These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild r U ] media-video/ffmpeg-4.1:0/56.58.58::gentoo [3.4.4:0/55.57.57::gentoo] USE="X alsa bzip2 cpudetection encode gnutls gpl hardcoded-tables iconv libaom%* libv4l mp3 network opengl opus postproc pulseaudio sdl svg theora threads truetype v4l vaapi vorbis vpx x264 xcb xvid zlib (-altivec) -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2% -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp -gsm -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libass -libcaca -libdrm -libilbc -libressl% -librtmp -libsoxr -lv2% -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -openal -opencl -openh264 -openssl -oss -pic -rubberband -samba -snappy -speex -ssh -static-libs -test -twolame -vdpau -wavpack -webp -x265 -zeromq -zimg -zvbi (-celt%) (-nvenc%)" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" VIDEO_CARDS="-nvidia%" 0 KiB [ebuild rR ] dev-qt/qtwebengine-5.11.2:5/5.11::gentoo USE="alsa jumbo-build pulseaudio system-ffmpeg system-icu widgets -bindist -debug -designer -geolocation -pax_kernel -test" 0 KiB [ebuild rR ] media-libs/xine-lib-1.2.9-r2:1::gentoo USE="X a52 aac alsa css dts flac jpeg mad mmap mng nls opengl pulseaudio sdl truetype vorbis xcb xv -aalib (-altivec) -bluray -dvb -dxr3 -fbcon -gtk -imagemagick -ipv6 -jack -libav -libcaca -modplug -musepack -oss -samba -speex -theora -v4l -vaapi -vcd -vdpau -vdr (-vidix) (-vis) -vpx -wavpack -xinerama -xvmc" 0 KiB Total: 3 packages (1 upgrade, 2 reinstalls), Size of downloads: 0 KiB The following packages are causing rebuilds: (media-video/ffmpeg-4.1:0/56.58.58::gentoo, ebuild scheduled for merge) causes rebuilds for: (dev-qt/qtwebengine-5.11.2:5/5.11::gentoo, ebuild scheduled for merge) (media-libs/xine-lib-1.2.9-r2:1/1::gentoo, ebuild scheduled for merge) Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 3) media-video/ffmpeg-4.1::gentoo * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log * ffmpeg-4.1.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking ffmpeg-4.1.tar.bz2 to /var/tmp/portage/media-video/ffmpeg-4.1/work >>> Source unpacked in /var/tmp/portage/media-video/ffmpeg-4.1/work >>> Preparing source in /var/tmp/portage/media-video/ffmpeg-4.1/work/ffmpeg-4.1 ... * Applying chromium-r1.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-video/ffmpeg-4.1/work/ffmpeg-4.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure /var/tmp/portage/media-video/ffmpeg-4.1/work/ffmpeg-4.1/configure --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-4.1/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags=-O2 -pipe -march=native --disable-static --enable-avfilter --enable-avresample --disable-stripping --disable-libcelt --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-bzlib --enable-runtime-cpudetect --disable-debug --disable-gcrypt --enable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-libtls --disable-lzma --enable-network --disable-opencl --disable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --disable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --enable-libv4l2 --enable-libpulse --disable-libdrm --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libcodec2 --disable-libfdk-aac --disable-libopenjpeg --disable-libbluray --disable-libgme --disable-libgsm --disable-mmal --disable-libmodplug --enable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libspeex --enable-librsvg --disable-ffnvcodec --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-appkit --disable-libbs2b --disable-chromaprint --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --disable-libass --disable-lv2 --enable-libfreetype --disable-librubberband --disable-libzmq --disable-libzimg --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --enable-libaom --disable-libopenh264 --disable-libsnappy --enable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --disable-libx265 --enable-libxvid --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-armv8 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-aesni --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-xop --cpu=host --disable-doc --disable-htmlpages --enable-manpages ERROR: aom >= 1.0.0 not found using pkg-config If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem. * ERROR: media-video/ffmpeg-4.1::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_configure * environment, line 3209: Called multilib-minimal_src_configure * environment, line 2314: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 2529: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2244: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2242: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 765: Called multilib-minimal_abi_src_configure * environment, line 2308: Called multilib_src_configure * environment, line 2834: Called die * The specific snippet of code: * "${@}" || die; * * If you need support, post the output of `emerge --info '=media-video/ffmpeg-4.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-4.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-4.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-4.1/temp/environment'. * Working directory: '/var/tmp/portage/media-video/ffmpeg-4.1/work/ffmpeg-4.1-abi_x86_64.amd64' * S: '/var/tmp/portage/media-video/ffmpeg-4.1/work/ffmpeg-4.1' >>> Failed to emerge media-video/ffmpeg-4.1, Log file: >>> '/var/tmp/portage/media-video/ffmpeg-4.1/temp/build.log' * Messages for package media-video/ffmpeg-4.1: * ERROR: media-video/ffmpeg-4.1::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_configure * environment, line 3209: Called multilib-minimal_src_configure * environment, line 2314: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 2529: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2244: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2242: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 765: Called multilib-minimal_abi_src_configure * environment, line 2308: Called multilib_src_configure * environment, line 2834: Called die * The specific snippet of code: * "${@}" || die; * * If you need support, post the output of `emerge --info '=media-video/ffmpeg-4.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-4.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-4.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-4.1/temp/environment'. * Working directory: '/var/tmp/portage/media-video/ffmpeg-4.1/work/ffmpeg-4.1-abi_x86_64.amd64' * S: '/var/tmp/portage/media-video/ffmpeg-4.1/work/ffmpeg-4.1' nick /usr/src # equery list libaom * Searching for libaom ... [IP-] [ ] media-libs/libaom-1.0.0:0/0 nick /usr/src #