Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625210 - media-video/ffmpeg-3.3.2: ERROR: chromaprint not found
Summary: media-video/ffmpeg-3.3.2: ERROR: chromaprint not found
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: media-video herd
Depends on:
Reported: 2017-07-15 12:25 UTC by Conrad Kostecki
Modified: 2020-10-11 16:49 UTC (History)
2 users (show)

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

config.log (config.log,390.96 KB, text/plain)
2017-07-16 12:18 UTC, Conrad Kostecki
build.log (build.log,5.56 KB, application/octet-stream)
2017-07-16 12:18 UTC, Conrad Kostecki

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2017-07-15 12:25:38 UTC
>>> 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 mailing list or IRC #ffmpeg on
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:
 *, 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.
Comment 1 Conrad Kostecki gentoo-dev 2017-07-15 12:25:57 UTC
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

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes

    location: /usr/local/portage
    masters: gentoo

    location: /usr/local/portage/steam-overlay
    sync-type: git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe"
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"
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"
INSTALL_MASK="/etc/xinetd.d/* /usr/lib/systemd/system/*"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
MAKEOPTS="-j5 -l4"
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"
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"
Comment 2 Alexis Ballier gentoo-dev 2017-07-15 13:43:10 UTC
(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
Comment 3 Conrad Kostecki gentoo-dev 2017-07-16 12:18:26 UTC
Created attachment 485080 [details]
Comment 4 Conrad Kostecki gentoo-dev 2017-07-16 12:18:40 UTC
Created attachment 485082 [details]
Comment 5 Alexis Ballier gentoo-dev 2017-07-17 14:00:17 UTC
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:, needed by /usr/lib32/, not found (try using -rpath or -rpath-link)
/usr/lib32/ undefined reference to `WelsCreateSVCEncoder'
/usr/lib32/ undefined reference to `WelsDestroySVCEncoder'
/usr/lib32/ undefined reference to `WelsCreateDecoder'
/usr/lib32/ undefined reference to `WelsGetCodecVersion'
/usr/lib32/ 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 ?
Comment 6 Conrad Kostecki gentoo-dev 2017-07-17 18:59:51 UTC
(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!