Hi all, I am trying to update mesa live ebuild, but I get this error: Package libomxil-bellagio was not found in the pkg-config search path. Perhaps you should add the directory containing `libomxil-bellagio.pc' to the PKG_CONFIG_PATH environment variable No package 'libomxil-bellagio' found checking for RADEON... yes configure: error: 3.6.0 requires libelf when using llvm These are the use flag enabled: [ebuild U *] media-libs/mesa-9999::gentoo [17.0.0::gentoo] USE="classic dri3 egl gallium gbm gles2 llvm nptl wayland -bindist -d3d9 -debug -gles1 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -vaapi -valgrind -vdpau -vulkan -xa -xvmc" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="r600 radeon (-freedreno) -i915 -i965 -imx -intel -nouveau -r100 -r200 -r300 -radeonsi (-vc4) (-vivante) -vmware" 0 KiB
(mesa-9999.ebuild has been in the main tree since Aug 2015) The message: > No package 'libomxil-bellagio' found is completely harmless, and definitely not fatal. The actual error that is fatal to the build is: > configure: error: 3.6.0 requires libelf when using llvm I assume that you intend to report the fatal error, and not the message about libomxil-bellagio. I appear to have been under the mistaken impression that the r600 driver did not require LLVM. I will investigate.
OK Thanks
I'm not entirely sure under what circumstances LLVM is used with r600, but the upstream code definitely requires libelf when LLVM and r600 are enabled together -- and we're missing that dependency. I have fixed that with: commit 430d112b8e4a475e3279c80f2f80a087a05c83a6 Author: Matt Turner <mattst88@gentoo.org> Date: Mon Mar 6 13:05:36 2017 -0800 media-libs/mesa: Require virtual/libelf for r600+llvm. and I also sent patches upstream to fix the confusing message about libomxil-bellagio. Thanks for the report!