Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608536 - media-libs/mesa-17.0.0 intel drivers hard depend on llvm
Summary: media-libs/mesa-17.0.0 intel drivers hard depend on llvm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-07 13:44 UTC by Stoian Ivanov
Modified: 2017-02-16 16:40 UTC (History)
4 users (show)

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


Attachments
MESA build.log (mesa-build.log,1.52 KB, text/plain)
2017-02-15 16:46 UTC, Alex
Details
emerge --info output (emerge-info.txt,4.80 KB, text/plain)
2017-02-15 16:47 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stoian Ivanov 2017-02-07 13:44:51 UTC
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"
Comment 1 Andreas Sturmlechner gentoo-dev 2017-02-09 23:05:23 UTC
Please provide any kind of log. What exactly are you hitting where?
Comment 2 Vasilis Lourdas 2017-02-15 16:25:22 UTC
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'
Comment 3 Alex 2017-02-15 16:41:02 UTC
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
Comment 4 Alex 2017-02-15 16:46:50 UTC
Created attachment 463854 [details]
MESA build.log
Comment 5 Alex 2017-02-15 16:47:26 UTC
Created attachment 463856 [details]
emerge --info output
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-15 21:09:14 UTC
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
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-15 21:11:15 UTC
Hmm, though I suppose the original report couldn't be about my changes since I pushed them only today...
Comment 8 Matt Turner gentoo-dev 2017-02-15 21:32:20 UTC
(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 9 Alex 2017-02-16 16:40:00 UTC
Comment https://bugs.gentoo.org/show_bug.cgi?id=608536#c3 is mine.
Updated MESA today -- without any issue.

Thanks!
Alex