A world update failed this morning because of a blocking reference to both sys-devel/llvm-3.9.1-r1 and sys-devel/llvm-4.0.0. It turned out that the former was required by media-libs/mesa-17.0.1, which was installed with VIDEO_CARDS=amdgpu (amongst others). Removing this and first re-emerging mesa, then performing a world update, solved the problem. I was able to re-enable VIDEO_CARDS=amdgpu afterwards.
Those blockers were too much for portage to handle here as well when upgrading world, but it did not have a problem handling them when doing an `emerge -1atv llvm clang mesa kdevelop`. kdevelop was in there because it was originaly emerged using the cxx USE flag that caused it to depend explicitely on slot 0.
Could you please add the full portage output showing the blockers?
Seeing the same problem here. I noticed that both llvm-4.0.0.ebuild and llvm-vim-4.0.0.ebuild have !sys-devel/llvm:0 in RDEPEND. Full emerge about below: $ sudo emerge -uDN @world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-vim/llvm-vim-4.0.0::gentoo 20,524 KiB [ebuild NS ] sys-devel/llvm-4.0.0:4::gentoo [3.9.1-r1:0/3.9.1::gentoo] USE="-debug -doc -gold -libedit libffi ncurses {-test}" ABI_X86="-32 (64) (-x32)" LLVM_TARGETS="-AArch64 AMDGPU -ARM -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ (X86) -XCore" 0 KiB [blocks B ] sys-devel/llvm:0 ("sys-devel/llvm:0" is blocking app-vim/llvm-vim-4.0.0, sys-devel/llvm-4.0.0) Total: 2 packages (1 new, 1 in new slot), Size of downloads: 20,524 KiB Conflict: 1 block (1 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, installed) pulled in by <sys-devel/llvm-5:=[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-5:=[abi_x86_64(-)]) required by (media-libs/mesa-17.0.1:0/0::gentoo, installed) >=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-17.0.1:0/0::gentoo, installed) <sys-devel/llvm-5:0/3.9.1=[abi_x86_64(-)] required by (media-libs/mesa-17.0.1:0/0::gentoo, installed) (sys-devel/llvm-4.0.0:4/4::gentoo, ebuild scheduled for merge) pulled in by sys-devel/llvm:4[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[abi_x86_64(-)]) required by (media-libs/mesa-17.0.1:0/0::gentoo, installed) sys-devel/llvm[llvm_targets_AMDGPU] required by (media-libs/mesa-17.0.1:0/0::gentoo, installed)
(In reply to Michael Palimaka (kensington) from comment #2) > Could you please add the full portage output showing the blockers? I also get some additional blockers than their output: (sys-libs/llvm-libunwind-4.0.0:0/0::gentoo, ebuild scheduled for merge) pulled in by >=sys-libs/llvm-libunwind-3.9.0-r1[static-libs?,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-libs/llvm-libunwind-3.9.0-r1[static-libs,abi_x86_32(-),abi_x86_64(-)]) required by (sys-libs/libcxxabi-4.0.0:0/0::gentoo, ebuild scheduled for merge) (sys-libs/libunwind-1.2:7/7::gentoo, installed) pulled in by sys-libs/libunwind required by (net-libs/zeromq-4.2.2:0/5::gentoo, installed) sys-libs/libunwind required by (dev-util/google-perftools-2.5:0/4::gentoo, installed) sys-libs/libunwind required by (dev-util/perf-4.9.13:0/0::gentoo, installed)
(In reply to Michael Palimaka (kensington) from comment #2) > Could you please add the full portage output showing the blockers? Do you still need it? Since I have solved the problem I have no clue as to how to provide this.
Blockers output: Calculating dependencies... done! [ebuild N ] app-vim/llvm-vim-4.0.0::gentoo 20,524 KiB [ebuild U ] dev-libs/libsodium-1.0.12:0/18::gentoo [1.0.11:0/18::gentoo] USE="asm urandom -minimal -static-libs" CPU_FLAGS_X86="aes sse4_1" 1,844 KiB [ebuild N ] dev-python/snowballstemmer-1.2.1::gentoo PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_5 -python3_6" 49 KiB [ebuild R ] dev-python/texttable-0.8.3::gentoo PYTHON_TARGETS="python2_7 python3_4 -python3_5%" 0 KiB [ebuild U ] dev-python/setuptools-34.3.2::gentoo [34.0.2-r1::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_5 -python3_6" 609 KiB [ebuild N ] dev-python/sphinx_rtd_theme-0.1.9::gentoo PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_5 -python3_6" 683 KiB [ebuild N ] dev-python/alabaster-0.7.9::gentoo PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_5 -python3_6" 11 KiB [ebuild N ] dev-python/imagesize-0.7.1::gentoo USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_5 -python3_6" 3 KiB [ebuild R ] dev-python/dockerpty-0.4.1::gentoo USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5%" 0 KiB [ebuild U ] dev-python/jmespath-0.9.2::gentoo [0.9.1::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy% -pypy3% -python3_5 -python3_6%" 23 KiB [ebuild N ] dev-python/Babel-2.3.4::gentoo USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_5 -python3_6" 6,706 KiB [ebuild N ] dev-python/sphinx-1.5.2::gentoo USE="-doc -latex -net {-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6" 4,316 KiB [ebuild R ] app-emulation/docker-compose-1.11.2::gentoo USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5%" 0 KiB [ebuild U ] dev-util/radare2-1.3.0::gentoo [1.2.0::gentoo] USE="ssl" 8,318 KiB [ebuild NS ] sys-devel/llvm-4.0.0:4::gentoo [3.9.1-r1:0/3.9.1::gentoo] USE="doc libedit libffi ncurses -debug -gold {-test}" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AArch64 AMDGPU ARM BPF Hexagon Lanai MSP430 Mips NVPTX PowerPC RISCV Sparc SystemZ (X86) XCore" 0 KiB [ebuild U ] sys-libs/libomp-4.0.0:0/0::gentoo [3.9.1:0/3.9::gentoo] USE="-hwloc -ompt {-test%}" ABI_X86="(64) -32 (-x32)" 1,993 KiB [ebuild N ] sys-libs/compiler-rt-sanitizers-4.0.0:4.0.0::gentoo USE="{-test}" 1,402 KiB [ebuild U ] media-libs/harfbuzz-1.4.5:0/0.9.18::gentoo [1.4.4:0/0.9.18::gentoo] USE="cairo glib graphite icu introspection truetype -fontconfig -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 1,440 KiB [ebuild U ] www-plugins/adobe-flash-25.0.0.127:22::gentoo [24.0.0.221-r3:22::gentoo] USE="nsplugin ppapi" ABI_X86="64 -32 (-x32)" 18,009 KiB [ebuild NS ] sys-devel/clang-4.0.0:4::gentoo [3.9.1-r100:0/3.9.1::gentoo] USE="doc multitarget static-analyzer -debug -default-compiler-rt -default-libcxx {-test} -xml" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AArch64 AMDGPU ARM BPF Hexagon Lanai MSP430 Mips NVPTX PowerPC RISCV Sparc SystemZ (X86) XCore" PYTHON_TARGETS="python2_7" 11,215 KiB [ebuild N ] sys-libs/compiler-rt-4.0.0:4.0.0::gentoo USE="clang {-test}" 0 KiB [ebuild NS ] sys-devel/clang-runtime-4.0.0:4.0.0::gentoo [3.9.1:0::gentoo] USE="compiler-rt openmp sanitize -libcxx" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild U ] app-emulation/virt-manager-1.4.1::gentoo [1.4.0-r3::gentoo] USE="gnome-keyring gtk policykit -sasl (-debug%)" LINGUAS="(-as%) (-bg%) (-bn_IN%) (-bs%) (-ca%) (-cmn%) (-cs%) (-da%) (-de%) (-en_GB%) (-es%) (-fi%) (-fr%) (-gu%) (-hi%) (-hr%) (-hu%) (-is%) (-it%) (-ja%) (-kn%) (-ko%) (-ml%) (-mr%) (-ms%) (-nb%) (-nl%) (-or%) (-pa%) (-pl%) (-pt%) (-pt_BR%) (-ro%) (-ru%) (-sk%) (-sr%) (-sr@latin%) (-sv%) (-ta%) (-te%) (-tr%) (-uk%) (-vi%) (-zh_CN%) (-zh_TW%)" PYTHON_TARGETS="python2_7" 2,653 KiB [blocks B ] sys-devel/clang:0 ("sys-devel/clang:0" is blocking sys-devel/clang-4.0.0) [blocks B ] sys-devel/llvm:0 ("sys-devel/llvm:0" is blocking sys-devel/llvm-4.0.0, 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) Total: 23 packages (8 upgrades, 9 new, 3 in new slots, 3 reinstalls), Size of downloads: 79,789 KiB Conflict: 3 blocks (3 unsatisfied) * 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/compiler-rt-4.0.0:4.0.0/4.0.0::gentoo, ebuild scheduled for merge) sys-devel/llvm:4[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[abi_x86_64(-)]) required by (media-libs/mesa-17.0.1: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, ebuild scheduled for merge) sys-devel/llvm[llvm_targets_AMDGPU] required by (media-libs/mesa-17.0.1:0/0::gentoo, installed) sys-devel/llvm required by @selected ~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_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?,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_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,abi_x86_64(-)]) required by (sys-devel/clang-4.0.0:4/4::gentoo, ebuild scheduled for merge) (sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo, installed) pulled in by <sys-devel/llvm-5:=[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-5:=[abi_x86_64(-)]) required by (media-libs/mesa-17.0.1:0/0::gentoo, installed) >=sys-devel/llvm-3.7:=[llvm_targets_BPF(+)] required by (dev-util/bcc-0.2.0-r1:0/0::gentoo, installed) <sys-devel/llvm-5:0/3.9.1=[abi_x86_64(-)] required by (media-libs/mesa-17.0.1:0/0::gentoo, installed) >=sys-devel/llvm-3.7:0/3.9.1=[llvm_targets_BPF(+)] required by (dev-util/bcc-0.2.0-r1: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_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_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_64(-)]) required by (sys-devel/clang-3.9.1-r100:0/3.9.1::gentoo, installed) (sys-devel/clang-4.0.0:4/4::gentoo, ebuild scheduled for merge) pulled in by sys-devel/clang required by (app-forensics/afl-2.39b:0/0::gentoo, installed) sys-devel/clang required by @selected sys-devel/clang required by (sys-libs/compiler-rt-4.0.0:4.0.0/4.0.0::gentoo, ebuild scheduled for merge) (sys-devel/clang-3.9.1-r100:0/3.9.1::gentoo, installed) pulled in by sys-devel/clang:= required by (dev-util/bcc-0.2.0-r1:0/0::gentoo, installed) sys-devel/clang:0/3.9.1= required by (dev-util/bcc-0.2.0-r1:0/0::gentoo, installed) =sys-devel/clang-3.9.1-r100 required by (sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo, installed)
[blocks B ] sys-devel/llvm:0 ("sys-devel/llvm:0" is blocking sys-devel/llvmgold-4, app-vim/llvm-vim-4.0.0, sys-devel/llvm-4.0.0) [blocks B ] sys-devel/clang:0 ("sys-devel/clang:0" is blocking sys-devel/clang-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) Total: 28 packages (14 upgrades, 11 new, 3 in new slots), Size of downloads: 97104 KiB Conflict: 3 blocks (3 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (sys-devel/clang-4.0.0:4/4::gentoo, ebuild scheduled for merge) pulled in by sys-devel/clang:4[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/clang:4[abi_x86_32(-),abi_x86_64(-)]) required by (media-libs/mesa-17.0.1:0/0::gentoo, installed) sys-devel/clang required by @selected >=sys-devel/clang-4 required by (dev-libs/libclc-0.2.0_pre20170118:0/0::gentoo, ebuild scheduled for merge) sys-devel/clang required by (sys-libs/compiler-rt-4.0.0:4.0.0/4.0.0::gentoo, ebuild scheduled for merge) (sys-devel/llvm-4.0.0:4/4::gentoo, ebuild scheduled for merge) pulled in by >=sys-devel/llvm-4 required by (sys-libs/compiler-rt-4.0.0:4.0.0/4.0.0::gentoo, ebuild scheduled for merge) sys-devel/llvm required by @selected sys-devel/llvm:4[gold] required by (sys-devel/llvmgold-4:0/0::gentoo, ebuild scheduled for merge) sys-devel/llvm:4[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[abi_x86_32(-),abi_x86_64(-)]) required by (media-libs/mesa-17.0.1: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, ebuild scheduled for merge) >=sys-devel/llvm-4 required by (dev-libs/libclc-0.2.0_pre20170118:0/0::gentoo, ebuild scheduled for merge) ~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_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?,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_32(-),abi_x86_64(-)]) required by (sys-devel/clang-4.0.0:4/4::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(-)?] (~sys-devel/llvm-3.9.1[clang(-),-debug,static-analyzer,llvm_targets_AMDGPU,llvm_targets_BPF,llvm_targets_NVPTX,llvm_targets_X86,abi_x86_32(-),abi_x86_64(-)]) required by (sys-devel/clang-3.9.1-r100:0/3.9.1::gentoo, installed) <sys-devel/llvm-5:0/3.9.1=[abi_x86_32(-),abi_x86_64(-)] required by (media-libs/mesa-17.0.1:0/0::gentoo, installed) <sys-devel/llvm-5:=[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-5:=[abi_x86_32(-),abi_x86_64(-)]) required by (media-libs/mesa-17.0.1:0/0::gentoo, installed)
I wonder if this is bug #612772.
yes *** This bug has been marked as a duplicate of bug 612772 ***
at least one of them is. I didn't bother reading them all.