Created attachment 685008 [details] build.log sys-libs/llvm-libunwind-12.0.0_rc1 configure fails with: CMake Error at CMakeLists.txt:2 (message): libunwind requires being built in a monorepo layout with libcxx available See lines one through three here: https://github.com/llvm/llvm-project/blob/llvmorg-12.0.0-rc1/libunwind/CMakeLists.txt . That check is not present in any other versions in tree. After separately emerging sys-libs/libcxx-12.0.0_rc1 the error changes to: CMake Error at /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0_rc1/work/libcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake:6 (message): The provided LLVM_PATH (/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0_rc1/work/libcxx/cmake/Modules/../../../llvm) is not a valid directory. Note that building libc++ outside of the monorepo is not supported anymore. Please use a Standalone build against the monorepo, a Runtimes build or a classic monorepo build. Cheers
That's with USE=-test, right?
Created attachment 685107 [details] build.log + emerge --info.txt Had given it a try for -test so yes (hadn't noticed this build log didn't mention USE, sorry). Can confirm USE=test works. Including own -test logs + info in case needed.
No problem, I can reproduce it. I will rebuild the whole LLVM suite with USE=-test just in case.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b949712efd6dd8a1725fc53691e9be54e3f0a098 commit b949712efd6dd8a1725fc53691e9be54e3f0a098 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-01-29 21:40:37 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-01-29 21:58:37 +0000 sys-libs/llvm-libunwind: Fix missing components w/ USE=-test Closes: https://bugs.gentoo.org/767805 Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-libs/llvm-libunwind/llvm-libunwind-12.0.0.9999.ebuild | 6 +++--- sys-libs/llvm-libunwind/llvm-libunwind-12.0.0_rc1.ebuild | 4 ++-- sys-libs/llvm-libunwind/llvm-libunwind-13.0.0.9999.ebuild | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-)