Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618486 - sys-devel/llvm are we allowed to install multiple versions?
Summary: sys-devel/llvm are we allowed to install multiple versions?
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-15 01:52 UTC by Alessandro Barbieri
Modified: 2017-05-31 18:36 UTC (History)
2 users (show)

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


Attachments
info (info,13.37 KB, text/plain)
2017-05-15 01:54 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2017-05-15 01:52:44 UTC
I currently have llvm-4.0.0:4 (also clang ldc2 rust and mesa) and when I try to emerge julia (wich depends on >=sys-devel/llvm-3.9:0=) portage tells me of a conflict.

The question is: multiple versions of llvm can be installed on the same system?
eg. llvm-3.9 on slot 0 and llvm-4.0.0 on slot 4

here the output of portage


[ebuild  N    ~] dev-lang/julia-0.5.0-r3::gentoo  USE="emacs" 9559 KiB                                                                                         
[blocks B      ] sys-devel/llvm:0 ("sys-devel/llvm:0" is blocking sys-devel/llvm-4.0.0-r2, sys-devel/llvmgold-4, app-vim/llvm-vim-4.0.0)
[blocks B      ] <sys-devel/llvm-4.0.0_rc:0 ("<sys-devel/llvm-4.0.0_rc:0" is blocking sys-devel/clang-4.0.0-r2)
[blocks B      ] sys-devel/clang:0 ("sys-devel/clang:0" is blocking sys-devel/clang-4.0.0-r2)
[blocks B      ] sys-devel/llvm[ocaml(-)] ("sys-devel/llvm[ocaml(-)]" is blocking dev-ml/llvm-ocaml-4.0.0)

Total: 11 packages (8 new, 3 in new slots), Size of downloads: 55025 KiB
Conflict: 4 blocks (4 unsatisfied)

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

  (sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-devel/llvm-3.9:0= required by (dev-lang/julia-0.5.0-r3:0/0::gentoo, ebuild scheduled for merge)
    ~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_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.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-4.0.0-r2:4/4::gentoo, installed) pulled in by
    <sys-devel/llvm-5:4/4=[abi_x86_64(-)] required by (media-libs/mesa-17.0.4:0/0::gentoo, installed)
    sys-devel/llvm:4[gold] required by (sys-devel/llvmgold-4:0/0::gentoo, installed)
    >=sys-devel/llvm-4 required by (sys-libs/libcxx-4.0.0:0/0::gentoo, installed)
    >=sys-devel/llvm-4 required by (sys-libs/libcxxabi-4.0.0:0/0::gentoo, installed)
    >=sys-devel/llvm-4 required by (sys-libs/compiler-rt-sanitizers-4.0.0:4.0.0/4.0.0::gentoo, installed)
    >=sys-devel/llvm-4 required by (sys-libs/compiler-rt-4.0.0:4.0.0/4.0.0::gentoo, installed)
    >=sys-devel/llvm-3.5:= required by (dev-lang/ldc2-1.2.0-r2:1.2/0::dlang, installed)
    <sys-devel/llvm-4.1:= required by (dev-lang/ldc2-1.2.0-r2:1.2/0::dlang, installed)
    >=sys-devel/llvm-3.5:4/4= required by (dev-lang/ldc2-1.2.0-r2:1.2/0::dlang, installed)
    <sys-devel/llvm-4.1:4/4= required by (dev-lang/ldc2-1.2.0-r2:1.2/0::dlang, installed)
    >=sys-devel/llvm-3.5:= required by (dev-lang/ldc2-0.17.4-r2:0.17/4::dlang, installed)
    <sys-devel/llvm-4.1:= required by (dev-lang/ldc2-0.17.4-r2:0.17/4::dlang, installed)
    >=sys-devel/llvm-3.5:4/4= required by (dev-lang/ldc2-0.17.4-r2:0.17/4::dlang, installed)
    <sys-devel/llvm-4.1:4/4= required by (dev-lang/ldc2-0.17.4-r2:0.17/4::dlang, installed)
    sys-devel/llvm:4[abi_x86_64(-)] required by (media-libs/mesa-17.0.4:0/0::gentoo, installed)
    ~sys-devel/llvm-4.0.0:4=[debug=,llvm_targets_AArch64?,llvm_targets_AMDGPU?,llvm_targets_ARM?,llvm_targets_BPF?,llvm_targets_Hexagon?,llvm_targets_Lanai?,llvm_target
s_Mips?,llvm_targets_MSP430?,llvm_targets_NVPTX?,llvm_targets_PowerPC?,llvm_targets_RISCV?,llvm_targets_Sparc?,llvm_targets_SystemZ?,llvm_targets_X86?,llvm_targets_XCor
e?,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-4.0.0:4=[-debug,llvm_targets_AMDGPU,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86,abi_x86_64(-)]) required by (sys-devel/clang-4.0.0-r2:4/4::gentoo,
installed)
    ~sys-devel/llvm-4.0.0:4/4=[-debug,llvm_targets_AMDGPU,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86,abi_x86_64(-)] required by (sys-devel/clang-4.0.0-r2:4/4:
:gentoo, installed)
    ~sys-devel/llvm-4.0.0:=[llvm_targets_AArch64?,llvm_targets_AMDGPU?,llvm_targets_ARM?,llvm_targets_BPF?,llvm_targets_Hexagon?,llvm_targets_Lanai?,llvm_targets_Mips?,
llvm_targets_MSP430?,llvm_targets_NVPTX?,llvm_targets_PowerPC?,llvm_targets_RISCV?,llvm_targets_Sparc?,llvm_targets_SystemZ?,llvm_targets_X86?,llvm_targets_XCore?] (~sys-devel/llvm-4.0.0:4=[-debug,llvm_targets_AMDGPU,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86,abi_x86_64(-)]) required by (sys-devel/clang-4.0.0-r2:4/4::gentoo,
installed)
    ~sys-devel/llvm-4.0.0:4/4=[-debug,llvm_targets_AMDGPU,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86,abi_x86_64(-)] required by (sys-devel/clang-4.0.0-r2:4/4:
:gentoo, installed)
    ~sys-devel/llvm-4.0.0:=[llvm_targets_AArch64?,llvm_targets_AMDGPU?,llvm_targets_ARM?,llvm_targets_BPF?,llvm_targets_Hexagon?,llvm_targets_Lanai?,llvm_targets_Mips?,
llvm_targets_MSP430?,llvm_targets_NVPTX?,llvm_targets_PowerPC?,llvm_targets_RISCV?,llvm_targets_Sparc?,llvm_targets_SystemZ?,llvm_targets_X86?,llvm_targets_XCore?] (~sys-devel/llvm-4.0.0:=[llvm_targets_AMDGPU,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86]) required by (dev-ml/llvm-ocaml-4.0.0:0/4.0.0::gentoo, installed)
    ~sys-devel/llvm-4.0.0:4/4=[llvm_targets_AMDGPU,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86] required by (dev-ml/llvm-ocaml-4.0.0:0/4.0.0::gentoo, installed
)

  (sys-devel/clang-4.0.0-r2:4/4::gentoo, installed) pulled in by
    sys-devel/clang:4/4= required by (app-doc/doxygen-1.8.13-r1:0/0::gentoo, installed)
    sys-devel/clang required by @selected
    sys-devel/clang:= required by (app-doc/doxygen-1.8.13-r1:0/0::gentoo, installed)
    sys-devel/clang required by (sys-libs/compiler-rt-4.0.0:4.0.0/4.0.0::gentoo, installed)
    sys-devel/clang required by (dev-lang/rust-1.16.0:stable/1.16::gentoo, installed)

  (sys-devel/clang-3.9.1-r100:0/3.9.1::gentoo, ebuild scheduled for merge) pulled in by
    sys-devel/clang required by @selected
    =sys-devel/clang-3.9.1-r100 required by (sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo, ebuild scheduled for merge)

  (dev-ml/llvm-ocaml-4.0.0:0/4.0.0::gentoo, installed) pulled in by
    dev-ml/llvm-ocaml required by @selected
Comment 1 Alessandro Barbieri 2017-05-15 01:54:09 UTC
Created attachment 472634 [details]
info

info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-20 21:34:01 UTC
Only 4 and newer can be installed alongside one another. 3.9 was before slotting, and is incompatible with it.