gentoo / dotnet

[MIRROR] Newer mono, .NET languages, and libraries
https://gitweb.gentoo.org/repo/proj/dotnet.git
78 stars 56 forks source link

dev-dotnet/dotnet-cli has blocking deps in LLVM/CLang #303

Closed NobbZ closed 7 years ago

NobbZ commented 7 years ago

Blocking dependencies:

$ sudo emerge dotnet-cli

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/userspace-rcu-0.9.2:0/4::gentoo  USE="-regression-test -static-libs {-test}" 458 KiB
[ebuild  N     ] dev-util/lttng-ust-2.8.1:0/2.8::gentoo  USE="-examples" 726 KiB
[ebuild     UD ] sys-devel/llvm-3.8.1-r2:0/3.8.0::gentoo [3.9.1-r1:0/3.9.1::gentoo] USE="clang libffi lldb* ncurses python sanitize static-analyzer xml -debug -default-compiler-rt -default-libcxx -doc -gold -libedit -multitarget -ocaml {-test}" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="(-AArch64%) (-AMDGPU%*) (-ARM%) (-BPF%*) (-Hexagon%) (-MSP430%) (-Mips%) (-NVPTX%*) (-PowerPC%) (-Sparc%) (-SystemZ%) (-X86%*) (-XCore%)" PYTHON_TARGETS="python2_7" VIDEO_CARDS="-radeon%" 37,814 KiB
[ebuild     UD ] sys-devel/clang-3.8.1-r100:0/3.8::gentoo [3.9.1-r100:0/3.9.1::gentoo] USE="python static-analyzer -debug -multitarget" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(-AArch64%) (-AMDGPU%*) (-ARM%) (-BPF%*) (-Hexagon%) (-MSP430%) (-Mips%) (-NVPTX%*) (-PowerPC%) (-Sparc%) (-SystemZ%) (-X86%*) (-XCore%)" 0 KiB
[ebuild  N     ] dev-dotnet/dotnet-cli-1.1.1-r1::dotnet  282,751 KiB

Total: 5 packages (2 downgrades, 3 new), Size of downloads: 321,749 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-devel/clang:0

  (sys-devel/clang-3.9.1-r100:0/3.9.1::gentoo, installed) pulled in by
    =sys-devel/clang-3.9.1-r100 required by (sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo, installed)
    ^                ^^^^^^^^^^

  (sys-devel/clang-3.8.1-r100:0/3.8::gentoo, ebuild scheduled for merge) pulled in by
    =sys-devel/clang-3.8.1-r100 required by (sys-devel/llvm-3.8.1-r2:0/3.8.0::gentoo, ebuild scheduled for merge)
    ^                ^^^^^^^^^^

sys-devel/llvm:0

  (sys-devel/llvm-3.8.1-r2:0/3.8.0::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-devel/llvm-3.7.1-r3[lldb] required by (dev-dotnet/dotnet-cli-1.1.1-r1:0/0::dotnet, ebuild scheduled for merge
)
                              ^^^^

    ~sys-devel/llvm-3.8.1[clang(-),debug=,multitarget?,python?,static-analyzer?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x
32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?
] required by (sys-devel/clang-3.8.1-r100:0/3.8::gentoo, ebuild scheduled for merge)
    ^               ^^^^^

  (sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo, installed) pulled in by
    ~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(-)?] required by (sys-devel/clang-3.9.1-r100:0/3.9.1::gentoo, installed)
    ^               ^^^^^
    <sys-devel/llvm-5:0/3.9.1= required by (media-libs/mesa-17.0.0:0/0::gentoo, installed)
                     ^^^^^^^^^

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
dmitryvk commented 7 years ago

Hi @NobbZ, I've had the same issue and made an updated ebuild (#308). Can you please check it?

NobbZ commented 7 years ago

Doesn't work for me. But I'm using Funtoo, perhaps it is somewhat related…

evanjs commented 7 years ago

Can confirm the ebuild works on my system (4.12.0-gentoo). Thanks, @dmitryvk.

cnd commented 7 years ago

merged!