>>> Emerging (1 of 1) media-video/ffmpeg-3.3.2::gentoo * ffmpeg-3.3.2.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking ffmpeg-3.3.2.tar.bz2 to /var/tmp/portage/media-video/ffmpeg-3.3.2/work >>> Source unpacked in /var/tmp/portage/media-video/ffmpeg-3.3.2/work >>> Preparing source in /var/tmp/portage/media-video/ffmpeg-3.3.2/work/ffmpeg-3.3.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-video/ffmpeg-3.3.2/work/ffmpeg-3.3.2 ... * abi_x86_32.x86: running multilib-minimal_abi_src_configure /var/tmp/portage/media-video/ffmpeg-3.3.2/work/ffmpeg-3.3.2/configure --prefix=/usr --libdir=/usr/lib32 --shlibdir=/usr/lib32 --docdir=/usr/share/doc/ffmpeg-3.3.2/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc -m32 --cxx=x86_64-pc-linux-gnu-g++ -m32 --ar=ar --optflags=-march=native -mfpmath=sse,387 -mtune=intel -O3 -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --enable-version3 --enable-version3 --disable-indev=jack --enable-version3 --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --enable-gnutls --enable-gmp --enable-gpl --disable-hardcoded-tables --enable-iconv --enable-lzma --enable-network --enable-openssl --enable-postproc --enable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --enable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --enable-libcdio --enable-libiec61883 --disable-libdc1394 --enable-libcaca --enable-openal --enable-opengl --enable-libv4l2 --enable-libpulse --enable-libopencore-amrwb --enable-libopencore-amrnb --disable-libfdk-aac --enable-libopenjpeg --enable-libbluray --enable-libcelt --enable-libgme --enable-libgsm --disable-mmal --enable-libmodplug --enable-libopus --disable-libilbc --enable-librtmp --enable-libssh --enable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --enable-libbs2b --enable-chromaprint --enable-libflite --disable-frei0r --disable-libfribidi --enable-fontconfig --disable-ladspa --enable-libass --enable-libfreetype --enable-librubberband --disable-netcdf --disable-libzmq --disable-libzimg --enable-libsoxr --enable-pthreads --enable-libvo-amrwbenc --enable-libmp3lame --enable-libkvazaar --disable-nvenc --enable-libopenh264 --disable-libsnappy --enable-libtheora --enable-libtwolame --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-frei0r --disable-netcdf --disable-libzmq --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop --cpu=host --disable-doc --disable-htmlpages --disable-manpages ERROR: chromaprint not found 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 "config.log" produced by configure as this will help solve the problem. * ERROR: media-video/ffmpeg-3.3.2::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 115: Called src_configure * environment, line 3248: Called multilib-minimal_src_configure * environment, line 2343: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 2557: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2273: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2271: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 723: Called multilib-minimal_abi_src_configure * environment, line 2337: Called multilib_src_configure * environment, line 2855: Called die * The specific snippet of code: * "${@}" || die * * If you need support, post the output of `emerge --info '=media-video/ffmpeg-3.3.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-3.3.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-3.3.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-3.3.2/temp/environment'. * Working directory: '/var/tmp/portage/media-video/ffmpeg-3.3.2/work/ffmpeg-3.3.2-abi_x86_32.x86' * S: '/var/tmp/portage/media-video/ffmpeg-3.3.2/work/ffmpeg-3.3.2' media-libs/chromaprint-1.4.2::gentoo is installed and reemerge of it didn't help.
Portage 2.3.6 (python 3.6.1-final-0, default/linux/amd64/13.0/desktop, gcc-6.3.0, glibc-2.24-r3, 4.12.1-gentoo x86_64) ================================================================= System uname: Linux-4.12.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-6600U_CPU_@_2.60GHz-with-gentoo-2.4.1 KiB Swap: 17301500 total, 17301500 free Timestamp of repository gentoo: Sat, 15 Jul 2017 11:15:01 +0000 sh bash 4.4_p12 ld GNU ld (Gentoo 2.28 p1.2) 2.28 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] ccache version 3.3.4 [enabled] app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo dev-util/ccache: 3.3.4::gentoo dev-util/cmake: 3.8.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1::gentoo sys-apps/openrc: 0.28::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r3::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1::gentoo sys-devel/binutils: 2.28-r2::gentoo sys-devel/gcc: 6.3.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.24-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes serenity location: /usr/local/portage masters: gentoo steam-overlay location: /usr/local/portage/steam-overlay sync-type: git sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /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.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/" INSTALL_MASK="/etc/xinetd.d/* /usr/lib/systemd/system/*" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now" MAKEOPTS="-j5 -l4" PKGDIR="/usr/portage/packages" PORTAGE_BUNZIP2_COMMAND="pbunzip2" PORTAGE_BZIP2_COMMAND="pbzip2" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-9e" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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 aalib accessibility acl acpi adns alsa amd64 ao bcmath berkdb bluetooth bzip2 cairo caps cdda cddb cdinstall cjk cracklib crypt css ctype cups curl cvs cxx dbus dga djvu dri dts dvb dvd encode exif fbcon ffmpeg fftw flac flite fontconfig ftp gd gdbm gif gimp git glut gmp gnome-keyring gnutls gphoto2 gpm gps graphviz gsm gstreamer gtk http iconv icu idn imlib inotify introspection ipv6 java javascript jbig jit joystick jpeg jpeg2k lame lcms libcaca libnotify libsamplerate lm_sensors lzma lzo mad maildir matroska mbox mhash mikmod mmap mng modplug mono mp3 mpeg mtp mysql mysqli ncurses networkmanager nls nntp nptl nsplugin offensive ogg openal opencl openexr opengl openmp orc oss pam pcre pdf perl pie png policykit posix postproc postscript pulseaudio python qt4 qt5 quicktime raw readline recode rtmp samba sasl scanner sdl seccomp session simplexml slang smartcard smp sndfile snmp sockets sound speex spell sqlite ssl startup-notification subversion suid svg symlink syslog tcpd theora threads tiff timidity truetype udev udisks unicode upnp usb v4l vaapi vcd vdpau vim-syntax vnc vorbis wavpack webkit webp wifi wmf x264 xattr xcb xcomposite xface xft xml xmlrpc xmp xpm xscreensaver xv xvid zeroconf zlib zsh-completion" ABI_X86="32 64" COLLECTD_PLUGINS="battery cgroups conntrack contextswitch cpu cpufreq cpusleep df disk dns entropy ethstat exec filecount hddtemp hugepages interface ipc irq load lvm memory netlink nfs nginx openvpn ping postgresql processes protocols rrdcached sensors serial smart swap syslog tcpconns thermal unixsock uptime users wireless" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LINGUAS="de de_DE" NGINX_MODULES_HTTP="access auth_basic autoindex charset fancyindex fastcgi geo geoip gunzip gzip proxy realip rewrite stub_status upstream_keepalive" NGINX_MODULES_STREAM="access geo geoip realip ssl_preread" PHP_TARGETS="php7-1" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby24" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="i965 intel" XFCE_PLUGINS="power trash" USE_PYTHON="2.7 3.6" Unset: CC, CPPFLAGS, CTARGET, CXX
(In reply to Conrad Kostecki from comment #0) > Include the log file "config.log" produced by configure as this will help > solve the problem. please do attach it and reopen
Created attachment 485080 [details] config.log
Created attachment 485082 [details] build.log
This one is annoying: x86_64-pc-linux-gnu-gcc -m32 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -march=native -mfpmath=sse,387 -mtune=intel -O3 -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -march=skylake -std=c11 -fomit-frame-pointer -pthread -c -o /var/tmp/portage/media-video/ffmpeg-3.3.2/temp/ffconf.aZ5lpSXF.o /var/tmp/portage/media-video/ffmpeg-3.3.2/temp/ffconf.tZVrLOVS.c x86_64-pc-linux-gnu-gcc -m32 -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now -march=skylake -Wl,--as-needed -Wl,-z,noexecstack -o /var/tmp/portage/media-video/ffmpeg-3.3.2/temp/ffconf.u8yRlsuX /var/tmp/portage/media-video/ffmpeg-3.3.2/temp/ffconf.aZ5lpSXF.o -lchromaprint -lm -llzma -lbz2 -lz -pthread /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libopenh264.so.3, needed by /usr/lib32/libavcodec.so.57, not found (try using -rpath or -rpath-link) /usr/lib32/libavcodec.so.57: undefined reference to `WelsCreateSVCEncoder' /usr/lib32/libavcodec.so.57: undefined reference to `WelsDestroySVCEncoder' /usr/lib32/libavcodec.so.57: undefined reference to `WelsCreateDecoder' /usr/lib32/libavcodec.so.57: undefined reference to `WelsGetCodecVersion' /usr/lib32/libavcodec.so.57: undefined reference to `WelsDestroyDecoder' collect2: error: ld returned 1 exit status ERROR: chromaprint not found Basically, chromaprint has a circular dep with ffmpeg and here it fails to find it... As a workaround, you can do: 'USE=-chromaprint emerge -1Ov ffmpeg' then rebuild ffmpeg with chromaprint enabled should work. Could you please confirm this fixes your issue ?
(In reply to Alexis Ballier from comment #5) > As a workaround, you can do: 'USE=-chromaprint emerge -1Ov ffmpeg' then > rebuild ffmpeg with chromaprint enabled should work. Could you please > confirm this fixes your issue ? Yep, it worked. Thanks!
Closing here. Can't remember, that I hit that in the last time.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23fce11f0b9f85285e880516c9f5646dfd7594c7 commit 23fce11f0b9f85285e880516c9f5646dfd7594c7 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-22 06:39:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-22 06:39:50 +0000 media-libs/chromaprint: make ffmpeg support optional Unconditional dependence on ffmpeg leads to awkward circular dependencies between ffmpeg and chromaprint. Let's use fftw unless tools are requested (for which ffmpeg is actually required) to break the cycle in the common case. Bug: https://bugs.gentoo.org/625210 Closes: https://bugs.gentoo.org/833821 Signed-off-by: Sam James <sam@gentoo.org> media-libs/chromaprint/chromaprint-1.5.1-r1.ebuild | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9594b7d4552c7d4c3e8b4aaaa2660812f78ecec0 commit 9594b7d4552c7d4c3e8b4aaaa2660812f78ecec0 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-08-03 05:40:38 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-08-03 05:43:52 +0000 media-video/ffmpeg: add notes about chromaprint circular dependency - ffmpeg[chromaprint] depends on chromaprint, and chromaprint[tools] depends on ffmpeg, this causes breakages while updating. Closes: https://bugs.gentoo.org/862996 Bug: https://bugs.gentoo.org/625210 Bug: https://bugs.gentoo.org/833821 Signed-off-by: Joonas Niilola <juippis@gentoo.org> media-video/ffmpeg/ffmpeg-4.4.2.ebuild | 14 ++++++++++++++ media-video/ffmpeg/ffmpeg-5.0.1.ebuild | 14 ++++++++++++++ media-video/ffmpeg/ffmpeg-9999.ebuild | 14 ++++++++++++++ 3 files changed, 42 insertions(+)