Summary: | media-video/ffmpeg-3.4.2-r1[opencl] - src_configure(): ERROR: opencl not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Beutin <tb> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 0xe2.0x9a.0x9b, brokendreams1981, o.freyermuth, steven, thican |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info 'media-video/ffmpeg' emerge --info |
Description
Thomas Beutin
2018-06-04 01:31:11 UTC
Created attachment 534722 [details]
build.log
Created attachment 536060 [details]
emerge --info 'media-video/ffmpeg'
Hello everyone,
I met the same compilation failure when I (re)compiled media-video/ffmpeg-3.4.2-r1 after updating media-libs/mesa without "opencl" USE flag (only for Radeon GPU?).
In ffmpeg's ebuild, opencl USE flag only call virtual/opencl for dependency check:
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
In virtual/opencl, the dependency check is satisfied even with media-libs/mesa[-opencl]; I guess this virtual ebuild should provide more verification.
Here more information about my system:
% eselect opencl list
Available OpenCL implementations:
[1] nvidia *
Note: compiles with success when built without opencl USE flag, if disabled too in mesa.
Created attachment 536250 [details]
emerge --info
I can comfirm this. Its not just ffmpeg with USE=opencl though. all of the wine packages also fail if built with USE=opencl. i use the nvidia opencl implementation which ive always used. and has always worked. up until the change with mesa. jeremy-laptop ~ # eselect opencl list Available OpenCL implementations: [1] nvidia * (In reply to jeremy mills from comment #4) > I can comfirm this. Its not just ffmpeg with USE=opencl though. all of the > wine packages also fail if built with USE=opencl. i use the nvidia opencl > implementation which ive always used. and has always worked. up until the > change with mesa. > > jeremy-laptop ~ # eselect opencl list > Available OpenCL implementations: > [1] nvidia * +1 Same for me here. Reemerging app-eselect/eselect-opencl resolved the issue on my machine. Please confirm. (In reply to Jan Ziak (http://atom-symbol.net) from comment #6) > Reemerging app-eselect/eselect-opencl resolved the issue on my machine. > Please confirm. Seems to have fixed the problem for me (ffmpeg 4.0.2). eselect opencl list Available OpenCL implementations: [1] mesa * [2] ocl-icd jlgentoo ~ # eselect opencl set 2 Switching to ocl-icd OpenCL interface... done jlgentoo ~ # eselect opencl set 1 !!! Error: The mesa OpenCL implementation doesn't seem to provide !!! Error: libOpenCL.so file. This might be an effect of breakage introduced !!! Error: by a prioprietary driver installer. Please re-merge the package !!! Error: providing your OpenCL implementation. !!! Error: Selected OpenCL implementation incomplete. exiting (In reply to Jan Ziak (http://atom-symbol.net) from comment #6) > Reemerging app-eselect/eselect-opencl resolved the issue on my machine. > Please confirm. That removed the mesa entry. Calculating dependencies... done! [ebuild R ] app-eselect/eselect-opencl-1.1.0-r4::gentoo 0 KiB [ebuild R *] media-libs/mesa-9999::gentoo USE="classic d3d9 dri3 egl gallium gbm llvm lm_sensors opencl vaapi vdpau vulkan wayland xvmc -debug -gles1 -gles2 -osmesa -pax_kernel -pic (-selinux) -test -unwind -valgrind -xa" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="r600 radeon radeonsi (-freedreno) -i915 -i965 (-imx) -intel -nouveau -r100 -r200 -r300 (-vc4) -virgl (-vivante) -vmware" 0 KiB [ebuild R #] media-video/ffmpeg-9999:0/56.58.58::gentoo USE="X alsa bluray bzip2 cdio encode fdk fontconfig gme gpl gsm hardcoded-tables iconv jack jpeg2k ladspa libaom libass libcaca libdrm libressl librtmp libv4l lv2 lzma modplug mp3 network openal opencl opengl openh264 openssl opus postproc pulseaudio rubberband sdl speex ssh svg theora threads truetype twolame v4l vaapi vdpau vorbis vpx wavpack webp x264 x265 xcb xvid zlib zvbi (-altivec) -amr -amrenc (-appkit) -bs2b -chromaprint -chromium -codec2 -cpudetection -debug -doc -flite -frei0r -fribidi -gcrypt -gmp -gnutls -iec61883 -ieee1394 -kvazaar -libilbc -libsoxr (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -oss -pic -samba -snappy -static-libs -test -zeromq -zimg" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 -3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -sse4_1 -sse4_2 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" VIDEO_CARDS="-nvidia" 0 KiB fixed with https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60b2ce2f2263283cefbdec34b620aca439212315 "media-libs/mesa: Add MULTILIB_USEDEP to ocl-icd Closes: https://github.com/gentoo/gentoo/pull/10209" (In reply to jospezial from comment #9) > fixed with > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=60b2ce2f2263283cefbdec34b620aca439212315 > > "media-libs/mesa: Add MULTILIB_USEDEP to ocl-icd > Closes: https://github.com/gentoo/gentoo/pull/10209" closing then |