Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613596 - media-libs/mesa[llvm] support for sys-devel/llvm:4
Summary: media-libs/mesa[llvm] support for sys-devel/llvm:4
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-23 06:11 UTC by Alessandro Barbieri
Modified: 2017-03-26 02:30 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2017-03-23 06:11:37 UTC
Looking in the mesa ebuild I found that RDEPEND on

>=sys-devel/llvm-3.6.0:0

but new llvm are slotted in :4

eg.: sys-devel/llvm-4.0.0:4

and so mesa will try to pull in older llvm versions causing conflicts
Comment 1 Andrei Slavoiu 2017-03-23 21:41:16 UTC
Are you talking about mesa-13.0.x ebuilds? As a general rule you can't expect a mesa version to support llvm versions released at a later date. (and here I mean the date of the initial release of a particular major version of mesa, not later minor revisions).

Taking that into consideration, not even mesa-17 would have been guaranteed to support llvm-4 as mesa-17.0.0 was released on February 13 while llvm-4.0.0 on March 13. However, since at the time of the mesa release llvm was already at release candidate stage it maintained binary compatibility with the final release so mesa-17 does support llvm-4.

Now, if you look at the mesa-17.0.2.ebuild it already has support for llvm 4.
Comment 2 Matthias Maier gentoo-dev 2017-03-24 04:16:44 UTC
Please attach an emerge --info and the full output of the blocker.

Do you by any chance have bug 613700 ?
Comment 3 Alessandro Barbieri 2017-03-26 00:32:33 UTC
(In reply to Matthias Maier from comment #2)
> Please attach an emerge --info and the full output of the blocker.
> 
> Do you by any chance have bug 613700 ?

When trying to update I get:

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-devel/llvm-4.0.0:4/4::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-devel/llvm-4 required by (sys-libs/libcxxabi-4.0.0:0/0::gentoo, ebuild scheduled for merge)
    sys-devel/llvm:4[gold] required by (sys-devel/llvmgold-4:0/0::gentoo, ebuild scheduled for merge)
    >=sys-devel/llvm-4 required by (sys-libs/libcxx-4.0.0:0/0::gentoo, ebuild scheduled for merge)

  (sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-devel/llvm-3.6.0:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32
(-)?,abi_s390_64(-)?] (>=sys-devel/llvm-3.6.0:0=[abi_x86_64(-)]) required by (media-libs/mesa-13.0.5:0/0::gentoo, installed)
    ~sys-devel/llvm-3.9.1[clang(-),debug=,python?,static-analyzer?,llvm_targets_AArch64?,llvm_targets_AMDGPU?,llvm_targets_ARM?,llvm_targets_BPF?,llvm_targets_Hexagon?,
llvm_targets_Mips?,llvm_targets_MSP430?,llvm_targets_NVPTX?,llvm_targets_PowerPC?,llvm_targets_Sparc?,llvm_targets_SystemZ?,llvm_targets_X86?,llvm_targets_XCore?,abi_x8
6_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (~sys-devel/ll
vm-3.9.1[clang(-),-debug,python,static-analyzer,llvm_targets_AMDGPU,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86,abi_x86_64(-)]) required by (sys-devel/clang-3.
9.1-r100:0/3.9.1::gentoo, ebuild scheduled for merge)
    >=sys-devel/llvm-3.6.0:0/3.9.1=[abi_x86_64(-)] required by (media-libs/mesa-13.0.5:0/0::gentoo, installed)
Comment 4 Alessandro Barbieri 2017-03-26 02:30:25 UTC
Solved masking <llvm-4 and <mesa-17, portage isn't smart enough to do itself.