media-video/ffmpeg-3.2.2 build fails with the following error: * abi_x86_32.x86: running multilib-minimal_abi_src_configure /var/tmp/portage/media-video/ffmpeg-3.2.2/work/ffmpeg-3.2.2/configure --prefix=/usr --libdir=/usr/lib32 --shlibdir=/usr/lib32 --docdir=/usr/share/doc/ffmpeg-3.2.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=-O2 -pipe -march=native -mtune=native -mmmx -msse -msse2 -DVMW_HAVE_SMP_CALL_3ARG --disable-static --enable-avfilter --enable-avresample --disable-stripping --disable-indev=oss --disable-indev=jack --disable-outdev=oss --disable-outdev=sdl --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-lzma --enable-network --disable-openssl --enable-postproc --disable-libsmbclient --disable-ffplay --disable-sdl2 --disable-vaapi --disable-vdpau --disable-xlib --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --enable-zlib --enable-libcdio --disable-libiec61883 --disable-libdc1394 --enable-libcaca --disable-openal --enable-opengl --enable-libv4l2 --disable-libpulse --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-mmal --disable-libmodplug --enable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libschroedinger --disable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b --disable-chromaprint --disable-libebur128 --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --enable-libass --disable-libfreetype --disable-librubberband --disable-libzimg --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-nvenc --disable-libopenh264 --disable-libsnappy --disable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-x11grab --disable-frei0r --disable-amd3dnow --disable-amd3dnowext --disable-aesni --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-sse4 --disable-sse42 --disable-xop --cpu=host --disable-doc --disable-htmlpages --disable-manpages ERROR: No usable libcdio/cdparanoia found Below are my libcdio and cdparanoia packages: $ eix libcdio; eix cdparanoia [I] dev-libs/libcdio Available versions: 0.92(0/15){tbz2} 0.93(0/15){tbz2} (~)0.94-r1(0/16){tbz2} {cddb +cxx minimal static-libs test ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 0.94-r1{tbz2}(12:15:42 PM 02/02/2017)(cxx -cddb -minimal -static-libs -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32") Homepage: https://www.gnu.org/software/libcdio/ Description: A library to encapsulate CD-ROM reading and control [U] dev-libs/libcdio-paranoia Available versions: 0.90_p1-r1{tbz2} 0.93_p1{tbz2} (~)0.93_p1-r1 {+cxx static-libs test ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 0.93_p1{tbz2}(11:35:58 AM 10/16/2015)(cxx -static-libs -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32") Homepage: https://www.gnu.org/software/libcdio/ Description: an advanced CDDA reader with error correction Found 2 matches [I] app-eselect/eselect-cdparanoia Available versions: 0.1{tbz2} Installed versions: 0.1{tbz2}(02:51:19 AM 04/15/2014) Homepage: https://www.gentoo.org/proj/en/eselect/ Description: Manage /usr/bin/cdparanoia symlink * media-plugins/gst-plugins-cdparanoia Available versions: (0.10) 0.10.36-r1^t (1.0) 1.8.3^t {ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Homepage: https://gstreamer.freedesktop.org/ Description: CD Audio Source (cdda) plugin for GStreamer [I] media-sound/cdparanoia Available versions: 3.10.2-r6{tbz2} {static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 3.10.2-r6{tbz2}(03:46:36 AM 04/15/2014)(-static-libs ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32") Homepage: http://www.xiph.org/paranoia Description: an advanced CDDA reader with error correction Found 3 matches Installed packages are (almost) the most recent ones and are not broken: $ equery check dev-libs/libcdio dev-libs/libcdio-paranoia app-eselect/eselect-cdparanoia media-sound/cdparanoia * Checking dev-libs/libcdio-0.94-r1 ... 126 out of 126 files passed * Checking dev-libs/libcdio-paranoia-0.93_p1 ... 42 out of 42 files passed * Checking app-eselect/eselect-cdparanoia-0.1 ... 5 out of 5 files passed * Checking media-sound/cdparanoia-3.10.2-r6 ... 21 out of 21 files passed Selected cdparanoia is: $ eselect cdparanoia list Available cdparanoia binary implementations: [1] cdparanoia-paranoia * [2] libcdio-paranoia Use flags of media-video/ffmpeg from /etc/portage/package.use: media-video/ffmpeg cdio libass libcaca libv4l mmxext mp3 ssse3 threads v4l x264 x265 xvid >=media-video/ffmpeg-2.8.4 opus vpx vorbis
Created attachment 462264 [details] /var/tmp/portage/media-video/ffmpeg-3.2.2/temp/build.log
Created attachment 462266 [details] /var/tmp/portage/media-video/ffmpeg-3.2.2/work/ffmpeg-3.2.2-abi_x86_32.x86/config.log config.log mentioned in the error output
Created attachment 462268 [details] emerge --info
Created attachment 462270 [details] emerge command with the list of dependencies This is the actual command that failed: $ emerge -tv www-client/chromium www-plugins/chrome-binary-plugins:stable www-plugins/adobe-flash
Created attachment 462272 [details] environment
In the config.log there was an error related to the following library which belongs to dev-libs/libcdio-paranoia package: /usr/lib32/libcdio_cdda.so: undefined reference to `mmc_get_hwinfo@CDIO_16' collect2: error: ld returned 1 exit status Re-building media-sound/cdparanoia-3.10.2-r6 with ABI_X86="32 64 -x64" (previously it was ABI_X86="64 -32 -x64") and then dev-libs/libcdio-paranoia-0.93_p1 with no changes in ABI_X86 solved the issue. media-video/ffmpeg-3.2.2 has been built succcessfully. Is this still a bug?
(In reply to darkshine from comment #6) > In the config.log there was an error related to the following library which > belongs to dev-libs/libcdio-paranoia package: > /usr/lib32/libcdio_cdda.so: undefined reference to `mmc_get_hwinfo@CDIO_16' > collect2: error: ld returned 1 exit status That symbol is provided by libcdio itself. > Re-building media-sound/cdparanoia-3.10.2-r6 with ABI_X86="32 64 -x64" > (previously it was ABI_X86="64 -32 -x64") this shouldnt be related > and then > dev-libs/libcdio-paranoia-0.93_p1 with no changes in ABI_X86 solved the > issue. I think you should use 0.93_p1-r1 that will get properly rebuilt on libcdio changes. Maybe that's it ? commit 4c06ef8e54b850bac8b45ef64b140b0758136af4 Author: Lars Wendler <polynomial-c@gentoo.org> Date: Wed Oct 26 19:00:32 2016 +0200 dev-libs/libcdio-paranoia: Revbump to make use of dev-libs/libcdio sub-slot.
(In reply to Alexis Ballier from comment #7) > (In reply to darkshine from comment #6) > > In the config.log there was an error related to the following library which > > belongs to dev-libs/libcdio-paranoia package: > > /usr/lib32/libcdio_cdda.so: undefined reference to `mmc_get_hwinfo@CDIO_16' > > collect2: error: ld returned 1 exit status > > That symbol is provided by libcdio itself. > > > > Re-building media-sound/cdparanoia-3.10.2-r6 with ABI_X86="32 64 -x64" > > (previously it was ABI_X86="64 -32 -x64") > > this shouldnt be related > > > and then > > dev-libs/libcdio-paranoia-0.93_p1 with no changes in ABI_X86 solved the > > issue. > > I think you should use 0.93_p1-r1 that will get properly rebuilt on libcdio > changes. Maybe that's it ? > > commit 4c06ef8e54b850bac8b45ef64b140b0758136af4 > Author: Lars Wendler <polynomial-c@gentoo.org> > Date: Wed Oct 26 19:00:32 2016 +0200 > > dev-libs/libcdio-paranoia: Revbump to make use of dev-libs/libcdio > sub-slot. assuming fixed