Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687154 - media-video/ffmpeg-4.1.3: USE=jack needs media-sound/jack2[${MULTILIB_USEDEP}]
Summary: media-video/ffmpeg-4.1.3: USE=jack needs media-sound/jack2[${MULTILIB_USEDEP}]
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-01 16:44 UTC by Nikita Zlobin
Modified: 2019-06-05 19:45 UTC (History)
1 user (show)

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


Attachments
emerge --info media-video/ffmpeg # output (emerge-info-ffmpeg.gz,5.46 KB, application/gzip)
2019-06-01 16:44 UTC, Nikita Zlobin
Details
ffbuild/config.log (config.log.gz,73.24 KB, application/gzip)
2019-06-01 17:15 UTC, Nikita Zlobin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Zlobin 2019-06-01 16:44:33 UTC
Created attachment 578340 [details]
emerge --info media-video/ffmpeg # output

I have ffmpeg-3.4.5 installed for both 64/32bit x86 arch. But when emerging 4.1.3, it ends with this:
  ERROR: jack not found using pkg-config
right after configure command. 

In my case media-sound/jack2 is built for 64bit only.
However, when I tried to do it manually (changing to $D and runing same config command), it stumbled at librsvg-2.0:
  ERROR: librsvg-2.0 not found using pkg-config
however, gnome-base/librsvg is installed for both 64/32bit for me.

But if I change config command so, that it configures 64bit build (just replacing -m32 to -m64 and lib32 to lib64), then only this time it gives some summary at the end (still no logs, and I can't find how to enable it).

Config command for 32bit build, which is first (with lost quotation guessed):
/var/calculate/tmp/portage/media-video/ffmpeg-4.1.3/work/ffmpeg-4.1.3/configure --prefix=/usr --libdir=/usr/lib32 --shlibdir=/usr/lib32 --docdir=/usr/share/doc/ffmpeg-4.1.3/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 -march=native -fomit-frame-pointer -pipe -fno-delete-null-pointer-checks -Wno-error -Wno-error -Wno-error -Wno-error' --disable-static --enable-avfilter --enable-avresample --disable-stripping --disable-optimizations --disable-libcelt --enable-nonfree --enable-version3 --disable-indev=oss --disable-outdev=oss --enable-version3 --enable-version3 --enable-nonfree --enable-bzlib --enable-runtime-cpudetect --disable-debug --disable-gcrypt --enable-gnutls --enable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-libtls --disable-libxml2 --enable-lzma --enable-network --disable-opencl --enable-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 --enable-libcdio --enable-libiec61883 --enable-libdc1394 --disable-libcaca --enable-openal --enable-opengl --enable-libv4l2 --enable-libpulse --disable-libdrm --enable-libjack --enable-libopencore-amrwb --enable-libopencore-amrnb --disable-libcodec2 --enable-libfdk-aac --enable-libopenjpeg --enable-libbluray --enable-libgme --enable-libgsm --disable-mmal --enable-libmodplug --enable-libopus --enable-libilbc --enable-librtmp --enable-libssh --enable-libspeex --enable-libsrt --enable-librsvg --disable-ffnvcodec --enable-libvorbis --enable-libvpx --enable-libzvbi --disable-appkit --enable-libbs2b --disable-chromaprint --disable-libflite --enable-frei0r --enable-libfribidi --enable-fontconfig --enable-ladspa --enable-libass --disable-lv2 --enable-libfreetype --enable-librubberband --enable-libzmq --enable-libzimg --enable-libsoxr --enable-pthreads --enable-libvo-amrwbenc --enable-libmp3lame --enable-libkvazaar --enable-libaom --enable-libopenh264 --enable-libsnappy --enable-libtheora --enable-libtwolame --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-gnutls --disable-frei0r --disable-libzmq --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 --enable-pic --disable-asm --cpu=host --disable-doc --disable-htmlpages --disable-manpages
Comment 1 Nikita Zlobin 2019-06-01 17:15:55 UTC
Created attachment 578342 [details]
ffbuild/config.log

Found, where are configure log.
This command is ok when run manually, but fails during 32bit configuration:

pkg-config --exists --print-errors jack
Package jack was not found in the pkg-config search path.
Perhaps you should add the directory containing `jack.pc'
to the PKG_CONFIG_PATH environment variable
No package 'jack' found
ERROR: jack not found using pkg-config"
Comment 2 Nikita Zlobin 2019-06-01 17:32:23 UTC
After jack2 is rebuilt for both 64/32bit, ffmpeg-4.1.3 could be configured.
Comment 3 Andreas Sturmlechner gentoo-dev 2019-06-05 13:14:46 UTC
Not sure what's going on on your system, the dependency is correct:

$ grep -H jack\? ffmpeg-4.1.3.ebuild
> ffmpeg-4.1.3.ebuild: jack? ( virtual/jack[${MULTILIB_USEDEP}] )
$ grep -H jack jack-0.ebuild 
> jack-0.ebuild: >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}]
> jack-0.ebuild: media-sound/jack2[${MULTILIB_USEDEP}]
Comment 4 Nikita Zlobin 2019-06-05 18:31:21 UTC
My guess, this is because I added media-sound/jack-audio-connection-kit to package.provided, since some packages still hard-depend on it instead of virtual/jack. At least some of them are from main portage, e.g. aeolus.

I'm not sure, wether provided packages are supposed to have any USE flags, but it seems enough to satisfy multilib requirements too, so media-sound/jack2 is not pulled by virtual/jack with all flags (and I have virtual/jack with necessary flags).

Just strange, how could ffmpeg[jack] be emerged before this (if 32bit libs are required anyway).
Comment 5 Andreas Sturmlechner gentoo-dev 2019-06-05 19:45:16 UTC
package.provided --> This is not an ebuild bug then.