Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670550 - media-video/ffmpeg-4.1 fails to find libaom
Summary: media-video/ffmpeg-4.1 fails to find libaom
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-11-06 18:41 UTC by Koz Ross
Modified: 2018-11-18 04:53 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (file_670550.txt,5.96 KB, text/plain)
2018-11-06 18:41 UTC, Koz Ross
Details
emerge --info '=media-video/ffmpeg-4.1::gentoo' (emerge_info.log,8.74 KB, text/x-log)
2018-11-18 00:47 UTC, John L. Poole
Details
emerge -pqv '=media-video/ffmpeg-4.1::gentoo' (emerge_pqv.log,1.02 KB, text/x-log)
2018-11-18 00:48 UTC, John L. Poole
Details
environment (environment,148.60 KB, text/plain)
2018-11-18 00:49 UTC, John L. Poole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Koz Ross 2018-11-06 18:41:07 UTC
Created attachment 554320 [details]
Build log

I get this error at the configure step of the ebuild:

ERROR: aom >= 1.0.0 not found using pkg-config

[koz@Emi ~]$ emerge --info
Portage 2.3.51 (python 3.6.6-final-0, default/linux/amd64/17.0, gcc-8.2.0, glibc-2.27-r6, 4.18.16-ck x86_64)
=================================================================
System uname: Linux-4.18.16-ck-x86_64-Intel-R-_Core-TM-_i7-4510U_CPU_@_2.00GHz-with-gentoo-2.6
KiB Mem:     8072244 total,   3257136 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 06 Nov 2018 18:00:01 +0000
Head commit of repository gentoo: ae0bd8f1a5eebb48a588bb8010436c4b13dd3ec8
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p3) 2.31.1
app-shells/bash:          4.4_p23::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::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.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r1::gentoo
sys-devel/gcc:            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-max-age: 24
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
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.swin.edu.au/gentoo"
LANG="en_NZ.utf8"
LDFLAGS="-Wl,-O2"
MAKEOPTS="-j4"
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 acl amd64 berkdb bzip2 cli crypt cuda cxx dbus dri fortran gdbm iconv jpeg libtirpc luajit mp3 multilib ncurses nls nptl opencl opengl openmp pam pcre png pulseaudio readline seccomp sqlite ssl tcpd unicode vdpau vulkan xattr xft 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="avx avx2 sse3 ssse3 sse4_1 sse4_2 mmx sse sse2 mmxext aes fma3" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="nvidia intel i965" 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

Build log attached.
Comment 1 Petronio Coelho 2018-11-06 20:11:53 UTC
Same problem here

From "work/ffmpeg-4.1-abi_x86_64.amd64/ffbuild/config.log":

require_pkg_config libaom aom >= 1.0.0 aom/aom_codec.h aom_codec_version
check_pkg_config libaom aom >= 1.0.0 aom/aom_codec.h aom_codec_version
test_pkg_config libaom aom >= 1.0.0 aom/aom_codec.h aom_codec_version
pkg-config --exists --print-errors aom >= 1.0.0
Requested 'aom >= 1.0.0' but version of aom is 0.1.0
ERROR: aom >= 1.0.0 not found using pkg-config
Comment 2 Petronio Coelho 2018-11-06 20:53:02 UTC
Looks like libaom is building with the wrong version defined since the project's versioning script uses the CHANGELOG to define the version, but the CHANGELOG only got updated with the correct version (0ddc150516b7672101265eac032a11a9aae4cb53 Thu Jun 28 18:20:53 2018 +0000) after the v1.0.0 tag was created (3715bf25db5cdedbd8b49560903bad02d911c62f Mon Jun 25 10:14:26 2018 -0700)

Possible solutions:
1. Provide the newer and correct version of CHANGELOG before configure
2. Modify the "--version-data" that's passed in "build/cmake/version.make" with the correct version (either "v1.0.0" or "1.0.0" should work, as "build/cmake/version.pl" strips the "v") as opposed to the path to the CHANGELOG.
Comment 3 Duncan 2018-11-10 03:59:54 UTC
Please update the title to reflect that it's a media-libs/libaom-1.0.0 bug, not an ffmpeg bug, but keep media-video/ffmpeg-4.1 in the title so people searching on it will still find the bug, perhaps like this:

media-libs/libaom-1.0.0 sets v0.1.0 not v1.0.0, media-video/ffmpeg-4.1[libaom] can't find needed >=1.0.

(The maintainer is media-video for both so assignee doesn't need changed.)

(Tried libaom-9999 but upstream modified away from a gentoo-applied patch so that doesn't work either, so just turning off libaom USE here for now.)
Comment 4 Reuben Martin 2018-11-10 20:24:49 UTC
Patch to fix libaom is included in this bug report: https://bugs.gentoo.org/661888

After that is applied and rebuilt, ffmpeg-4.1 doesn't have any problem.
Comment 5 Larry the Git Cow gentoo-dev 2018-11-13 12:58:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ae71c66bef6fbe2101a2bfbe38dae120dbb8df

commit f4ae71c66bef6fbe2101a2bfbe38dae120dbb8df
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-11-12 03:10:43 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-11-13 12:57:46 +0000

    media-libs/libaom: Correctly report version as 1.0.0
    
    Closes: https://bugs.gentoo.org/670550
    Closes: https://bugs.gentoo.org/661888
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 media-libs/libaom/files/libaom-1.0.0-version.patch | 10 +++
 media-libs/libaom/libaom-1.0.0-r1.ebuild           | 88 ++++++++++++++++++++++
 2 files changed, 98 insertions(+)
Comment 6 John L. Poole 2018-11-18 00:40:23 UTC
I'm having the same problem as I did before the fix above was declared.  Here's my log:

taurus ~ # cat /var/tmp/portage/media-video/ffmpeg-4.1/temp/build.log
 * Package:    media-video/ffmpeg-4.1
 * Repository: gentoo
 * Maintainer: media-video@gentoo.org
 * USE:        X abi_x86_64 alsa amd64 bzip2 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_mmx cpu_flags_x86_mmxext cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_ssse3 elibc_glibc encode fftools_aviocat fftools_cws2fws fftools_ffescape fftools_ffeval fftools_ffhash fftools_fourcc2pixfmt fftools_graph2dot fftools_ismindex fftools_pktdumper fftools_qt-faststart fftools_sidxindex fftools_trasher gpl hardcoded-tables iconv kernel_linux libaom mp3 network opengl postproc pulseaudio sdl svg threads truetype userland_GNU vorbis x264 x265 xcb xvid zlib
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> 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 ]
 * Applying ffmpeg-4.1-vaapi-tools.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=-march=native -O2 -pipe --disable-static --enable-avfilter --enable-avresample --disable-stripping --disable-libcelt --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-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 --disable-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 --disable-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 --disable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libspeex --enable-librsvg --disable-ffnvcodec --enable-libvorbis --disable-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 --disable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --enable-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-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 3184:  Called multilib-minimal_src_configure
 *   environment, line 2289:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2504:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2219:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2217:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  740:  Called multilib-minimal_abi_src_configure
 *   environment, line 2283:  Called multilib_src_configure
 *   environment, line 2809:  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'
taurus ~ # 

Should I open a new bug, or add the extra information as attachments?
Comment 7 John L. Poole 2018-11-18 00:47:54 UTC
Created attachment 555516 [details]
emerge --info '=media-video/ffmpeg-4.1::gentoo'
Comment 8 John L. Poole 2018-11-18 00:48:33 UTC
Created attachment 555518 [details]
emerge -pqv '=media-video/ffmpeg-4.1::gentoo'
Comment 9 John L. Poole 2018-11-18 00:49:06 UTC
Created attachment 555520 [details]
environment
Comment 10 Petronio Coelho 2018-11-18 04:18:09 UTC
(In reply to John L. Poole from comment #6)
> I'm having the same problem as I did before the fix above was declared. 
> Here's my log:
> 
> taurus ~ # cat /var/tmp/portage/media-video/ffmpeg-4.1/temp/build.log
>  * Package:    media-video/ffmpeg-4.1
>  * Repository: gentoo
>  * Maintainer: media-video@gentoo.org
>  * USE:        X abi_x86_64 alsa amd64 bzip2 cpu_flags_x86_aes
> cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_mmx
> cpu_flags_x86_mmxext cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3
> cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_ssse3 elibc_glibc
> encode fftools_aviocat fftools_cws2fws fftools_ffescape fftools_ffeval
> fftools_ffhash fftools_fourcc2pixfmt fftools_graph2dot fftools_ismindex
> fftools_pktdumper fftools_qt-faststart fftools_sidxindex fftools_trasher gpl
> hardcoded-tables iconv kernel_linux libaom mp3 network opengl postproc
> pulseaudio sdl svg threads truetype userland_GNU vorbis x264 x265 xcb xvid
> zlib
>  * FEATURES:   preserve-libs sandbox userpriv usersandbox
> >>> 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 ]
>  * Applying ffmpeg-4.1-vaapi-tools.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=-march=native -O2 -pipe
> --disable-static --enable-avfilter --enable-avresample --disable-stripping
> --disable-libcelt --disable-indev=v4l2 --disable-outdev=v4l2
> --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-bzlib
> --disable-runtime-cpudetect --disable-debug --disable-gcrypt
> --disable-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 --disable-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 --disable-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 --disable-libopus --disable-libilbc
> --disable-librtmp --disable-libssh --disable-libspeex --enable-librsvg
> --disable-ffnvcodec --enable-libvorbis --disable-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
> --disable-libtheora --disable-libtwolame --disable-libwavpack
> --disable-libwebp --enable-libx264 --enable-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-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 3184:  Called multilib-minimal_src_configure
>  *   environment, line 2289:  Called multilib_foreach_abi
> 'multilib-minimal_abi_src_configure'
>  *   environment, line 2504:  Called multibuild_foreach_variant
> '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
>  *   environment, line 2219:  Called _multibuild_run
> '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
>  *   environment, line 2217:  Called _multilib_multibuild_wrapper
> 'multilib-minimal_abi_src_configure'
>  *   environment, line  740:  Called multilib-minimal_abi_src_configure
>  *   environment, line 2283:  Called multilib_src_configure
>  *   environment, line 2809:  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'
> taurus ~ # 
> 
> Should I open a new bug, or add the extra information as attachments?

Could you verify that you have media-libs/libaom-1.0.0-r1 installed (and not 1.0.0)? If so, what does 'pkg-config --modversion aom' return?
Comment 11 John L. Poole 2018-11-18 04:23:28 UTC
I do not have ~1.0.0-r1.  I synced a few hours ago.

aurus ~ # eix libaom -I
[I] media-libs/libaom
     Available versions:  (~)1.0.0(0/0){tbz2} ~1.0.0-r1(0/0) **9999(0/0) {doc examples ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_ARM="neon" CPU_FLAGS_X86="avx avx2 mmx sse sse2 sse3 sse4_1 ssse3"}
     Installed versions:  1.0.0(0/0){tbz2}(07:52:25 PM 10/25/2018)(-doc -examples ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_ARM="-neon" CPU_FLAGS_X86="avx avx2 mmx sse sse2 sse3 sse4_1 ssse3")
     Homepage:            https://aomedia.org
     Description:         Alliance for Open Media AV1 Codec SDK

taurus ~ #

Should there be a dependency in ffmpeg specifying libaom ~1.0.0-r1?
Comment 12 Petronio Coelho 2018-11-18 04:29:01 UTC
(In reply to John L. Poole from comment #11)
> I do not have ~1.0.0-r1.  I synced a few hours ago.
> 
> aurus ~ # eix libaom -I
> [I] media-libs/libaom
>      Available versions:  (~)1.0.0(0/0){tbz2} ~1.0.0-r1(0/0) **9999(0/0)
> {doc examples ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64"
> ABI_X86="32 64 x32" CPU_FLAGS_ARM="neon" CPU_FLAGS_X86="avx avx2 mmx sse
> sse2 sse3 sse4_1 ssse3"}
>      Installed versions:  1.0.0(0/0){tbz2}(07:52:25 PM 10/25/2018)(-doc
> -examples ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64"
> ABI_X86="64 -32 -x32" CPU_FLAGS_ARM="-neon" CPU_FLAGS_X86="avx avx2 mmx sse
> sse2 sse3 sse4_1 ssse3")
>      Homepage:            https://aomedia.org
>      Description:         Alliance for Open Media AV1 Codec SDK
> 
> taurus ~ #
> 
> Should there be a dependency in ffmpeg specifying libaom ~1.0.0-r1?

I can't speak about the dependency bump since I'm not the maintainer, but upgrading to libaom-1.0.0-r1 is what fixes this bug.
Comment 13 John L. Poole 2018-11-18 04:53:31 UTC
I installed:

emerge --oneshot =media-libs/libaom-1.0.0-r1  --autounmask-write


jlpoole@taurus ~/work/Bugs/670550 $ pkg-config --modversion aom
1.0.0
jlpoole@taurus ~/work/Bugs/670550 $ 

then ffmpeg installed without a problem.

Thank you.