| Summary: | Failed to emerge sys-devel/llvm-3.7.0-r2 | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Jeffrey Ratcliffe <Jeffrey.Ratcliffe> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | cnyegle |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Jeffrey Ratcliffe
2015-11-13 14:44:21 UTC
So have you tried cmake-3.3.2 in tree? A workaround is to use CC=/usr/bin/clang and CXX=/usr/bin/clang++ before installing llvm-3.7.0. This should be a blocking bug of supporting El Capitan (OS X 10.11). Yes, I did try cmake-3.3.2. See #565676 (In reply to yegle from comment #2) > A workaround is to use CC=/usr/bin/clang and CXX=/usr/bin/clang++ before > installing llvm-3.7.0. I can't get this to work. Having installed clang-3.5.2-r100 to match llvm-3.5.2, I cannot update llvm-3.7.0-r2, as it is blocked by clang-3.5.2-r100. Any suggestions? $ emerge -p =sys-devel/clang-3.7.0-r100 * Last emerge --sync was 38d 2h 27m 43s ago. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-devel/llvm-3.7.0-r2 [3.5.2] USE="-lldb%" [ebuild U ] sys-devel/clang-3.7.0-r100 [3.5.2-r100] [blocks B ] <=sys-devel/clang-3.7.0-r99 ("<=sys-devel/clang-3.7.0-r99" is blocking sys-devel/llvm-3.7.0-r2) !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: sys-devel/llvm:0 (sys-devel/llvm-3.7.0-r2:0/3.7.0::gentoo_prefix, ebuild scheduled for merge) pulled in by ~sys-devel/llvm-3.7.0[clang(-),debug=,multitarget?,python?,static-analyzer,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.7.0-r100:0/3.7::gentoo_prefix, ebuild scheduled for merge) ^ ^^^^^ (sys-devel/llvm-3.5.2:0/3.5::gentoo_prefix, installed) pulled in by ~sys-devel/llvm-3.5.2[clang(-),debug=,multitarget?,python?,static-analyzer,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.5.2-r100:0/3.5::gentoo_prefix, installed) ^ ^^^^^ >=sys-devel/llvm-3.4.2:0/3.5=[abi_x86_64(-)] required by (media-libs/mesa-11.0.4-r1:0/0::local-repo, installed) ^^^^^^^ sys-devel/clang:0 (sys-devel/clang-3.7.0-r100:0/3.7::gentoo_prefix, ebuild scheduled for merge) pulled in by =sys-devel/clang-3.7.0-r100 required by (sys-devel/llvm-3.7.0-r2:0/3.7.0::gentoo_prefix, ebuild scheduled for merge) ^ ^^^^^^^^^^ (and 1 more with the same problem) (sys-devel/clang-3.5.2-r100:0/3.5::gentoo_prefix, installed) pulled in by =sys-devel/clang-3.5.2-r100 required by (sys-devel/llvm-3.5.2:0/3.5::gentoo_prefix, installed) ^ ^^^^^^^^^^ (In reply to Jeffrey Ratcliffe from comment #4) > (In reply to yegle from comment #2) > > A workaround is to use CC=/usr/bin/clang and CXX=/usr/bin/clang++ before > > installing llvm-3.7.0. > > I can't get this to work. Having installed clang-3.5.2-r100 to match > llvm-3.5.2, I cannot update llvm-3.7.0-r2, as it is blocked by > clang-3.5.2-r100. Any suggestions? > > $ emerge -p =sys-devel/clang-3.7.0-r100 > * Last emerge --sync was 38d 2h 27m 43s ago. > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild U ] sys-devel/llvm-3.7.0-r2 [3.5.2] USE="-lldb%" > [ebuild U ] sys-devel/clang-3.7.0-r100 [3.5.2-r100] > [blocks B ] <=sys-devel/clang-3.7.0-r99 ("<=sys-devel/clang-3.7.0-r99" > is blocking sys-devel/llvm-3.7.0-r2) You might need to remove clang-3.7.0-r99 first. Not sure though. In addition, the RHEL5 kernel prevents compiler-rt from building: https://llvm.org/bugs/show_bug.cgi?id=17901 You will need a similiar hack to remove that directory as: https://gitweb.gentoo.org/dev/heroxbd.git/tree/sys-devel/llvm/llvm-3.6.2.ebuild#n204 (In reply to Benda Xu from comment #5) > You might need to remove clang-3.7.0-r99 first. Not sure though. I never had clang-3.7.0-r99. I had emerged sys-devel/clang-3.5.2-r100 as suggested in comment 2. However, I don't understand how to build sys-devel/llvm-3.7.0-r100 with clang-3.5.2-r100. I get the error in comment 4. This implies to me that clang and llvm can only be built with gnu cc, which also makes no sense to me. What am I missing? (In reply to Jeffrey Ratcliffe from comment #7) > However, I don't understand how to build sys-devel/llvm-3.7.0-r100 with > clang-3.5.2-r100. I get the error in comment 4. This implies to me that > clang and llvm can only be built with gnu cc, which also makes no sense to > me. > > What am I missing? There is a transition in tree. Please sync the portage tree first. Having synced the tree, I am still getting basically the same error, although the tree now has llvm-3.7.1 instead of 3.7.0-r2:
$ emerge -1 sys-devel/llvm
[ebuild U ] sys-devel/llvm-3.7.1 [3.5.2] USE="-lldb%"
[ebuild U ] sys-devel/clang-3.7.1-r100 [3.5.2-r100]
[blocks B ] <=sys-devel/clang-3.7.1-r99 ("<=sys-devel/clang-3.7.1-r99" is blocking sys-devel/llvm-3.7.1)
this is likely also affected by llvm not using an adjusted searchpath under Linux for Prefix 3.7 is not supported, use 3.9 or 5.0 |