when emerging media-libs/mesa-17.0.0_rc3 with -llvm use flags and video_cards_intel and video_cards_i965 I hit a dependency on llvm. Adding llvm to use flags solves the issue but this should be "automatic"
Please provide any kind of log. What exactly are you hitting where?
Same here: cat /var/tmp/portage/media-libs/mesa-17.0.0/temp/build.log * Package: media-libs/mesa-17.0.0 * Repository: gentoo * Maintainer: x11@gentoo.org * USE: abi_x86_32 abi_x86_64 amd64 classic dri3 egl elibc_glibc gallium gbm kernel_linux nptl osmesa userland_GNU video_cards_i965 video_cards_intel wayland * FEATURES: sandbox userpriv usersandbox * ERROR: media-libs/mesa-17.0.0::gentoo failed (setup phase): * No LLVM slot <= 4 found in PATH! * * Call stack: * ebuild.sh, line 115: Called pkg_setup * mesa-17.0.0.ebuild, line 204: Called llvm_pkg_setup * llvm.eclass, line 134: Called get_llvm_prefix '4' * llvm.eclass, line 115: Called die * The specific snippet of code: * die "No LLVM slot${1:+ <= ${1}} found in PATH!" * * If you need support, post the output of `emerge --info '=media-libs/mesa-17.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/mesa-17.0.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-libs/mesa-17.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-17.0.0/temp/die.env'. * Working directory: '/var/tmp/portage/media-libs/mesa-17.0.0/homedir' * S: '/var/tmp/portage/media-libs/mesa-17.0.0/work/mesa-17.0.0'
Same here: -------------------------------------------------------------- [ebuild U ~] media-libs/mesa-17.0.0::gentoo [17.0.0_rc3::gentoo] USE="classic dri3 egl gallium gbm nptl vaapi vdpau -bindist -d3d9 -debug -gles1 -gles2 -llvm -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -valgrind -vulkan -wayland -xa -xvmc" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="i965 intel (-freedreno) -i915 -ilo -imx -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) (-vivante) -vmware" 9222 KiB Total: 1 package (1 upgrade), Size of downloads: 9222 KiB >>> Emerging (1 of 1) media-libs/mesa-17.0.0::gentoo * mesa-17.0.0.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * ERROR: media-libs/mesa-17.0.0::gentoo failed (setup phase): * No LLVM slot <= 4 found in PATH! * * Call stack: * ebuild.sh, line 115: Called pkg_setup * mesa-17.0.0.ebuild, line 204: Called llvm_pkg_setup * llvm.eclass, line 134: Called get_llvm_prefix '4' * llvm.eclass, line 115: Called die * The specific snippet of code: * die "No LLVM slot${1:+ <= ${1}} found in PATH!" ------------------------------------------------------------------ Regards, Alex
Created attachment 463854 [details] MESA build.log
Created attachment 463856 [details] emerge --info output
I'm sorry about that. This should fix it. commit 8887e178a3f5bbd7a8959a4bbd6a0282cb698659 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Wed Feb 15 22:06:54 2017 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Wed Feb 15 22:08:34 2017 media-libs/mesa: Fix uncond call to llvm_pkg_setup, #608536
Hmm, though I suppose the original report couldn't be about my changes since I pushed them only today...
(In reply to Michał Górny from comment #7) > Hmm, though I suppose the original report couldn't be about my changes since > I pushed them only today... Oh, huh. You're right. I think the problems reported in comment #2 and comment #3 are different from the original bug, and that your patch fixed the follow-on comments. Stoian, since we seems to have hijacked your bug, would you file a new one with a build.log attached?
Comment https://bugs.gentoo.org/show_bug.cgi?id=608536#c3 is mine. Updated MESA today -- without any issue. Thanks! Alex