Summary: | sys-devel/clang-11.0.0: '/var/tmp/portage/sys-devel/clang-11.0.0/image/usr/lib/llvm/11/lib/clang': No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Freddie Witherden <freddie> |
Component: | Current packages | Assignee: | LLVM support project <llvm> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | freddie, jstein, mgorny, stillcompiling |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Freddie Witherden
2020-12-10 14:19:32 UTC
Created attachment 677572 [details]
Build log
Getting the same install fail. Also after switching over to python38. I (perhaps foolishly) tried emerge -C clang before a second attempt. It still fails. The directory: "/var/tmp/portage/sys-devel/clang-11.0.0/image/usr/lib/llvm/11/lib32/clang" does exist, but "/var/tmp/portage/sys-devel/clang-11.0.0/image/usr/lib/llvm/11/lib/clang" does not. From what I understand in the line that fails: mv "${ED}"/usr/lib/llvm/${SLOT}/$(get_libdir)/clang "${ED}"/usr/include/clangrt || die $(get_libdir) should return "lib32" but for some reason it does not. This failure is in the gentoo ebuild toolkit, not in the clang build system. This looks like incomplete 17.1 migration and/or local hackery. If you don't hack libdir locally, try rebuilding everything installing CMake files (emerge -1v /usr/share/cmake), or your whole system (emerge -1e @world). emerge -1v /usr/share/cmake didn't work. Same failure. Now starting a full emerge -e @world Well, emerge -e world made it about half way. But llvm 11 was rebuilt. I can't say for sure it that what what did it, but its very pausible, cosidering the clang build is deoendent directly on llvm. After that clang 11 build succeeds for me. |