Summary: | sys-devel/clang-9.0.0 - CMake Error at CMakeLists.txt:116 (include): include could not find load file: VersionFromVCS | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | indocomsoft |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PullRequest |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/14036 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
clang-9.0.0 reading system's llvm cmake instead of gentoo prefix's
emerge --info '=sys-devel/clang-9.0.0::gentoo' output build.log |
Description
indocomsoft
2019-10-06 11:38:19 UTC
I can see from https://github.com/llvm-mirror/clang/blob/master/CMakeLists.txt#L17 that LLVM_CONFIG is being deprecated. Perhaps we should pass in LLVM_CMAKE_DIR or LLVM_CMAKE_PATH instead? (Sorry, a bit unfamiliar with the CMake syntax) Please attach the entire build log to this bug report. Created attachment 591968 [details]
clang-9.0.0 reading system's llvm cmake instead of gentoo prefix's
Created attachment 591970 [details]
emerge --info '=sys-devel/clang-9.0.0::gentoo' output
Created attachment 591972 [details]
build.log
I've attached the build log and the output of emerge --info. Note that I am using Gentoo Prefix, on Ubuntu 16.04. On the Ubuntu side, LLVM 3.8.0 is installed, while on the Gentoo Prefix side, LLVM 9.0.0 is installed The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74becb19ba7f7c46ae22e8a1ec6270e2caeaa725 commit 74becb19ba7f7c46ae22e8a1ec6270e2caeaa725 Author: Julius Putra Tanu Setiaji <indocomsoft@gmail.com> AuthorDate: 2019-12-18 13:59:05 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-12-22 08:16:27 +0000 sys-devel/clang: Set the correct LLVM_CMAKE_PATH on Gentoo Prefix Signed-off-by: Julius Putra Tanu Setiaji <indocomsoft@gmail.com> Closes: https://bugs.gentoo.org/696844 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Closes: https://github.com/gentoo/gentoo/pull/14036 Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-devel/clang/clang-10.0.0.9999.ebuild | 1 + sys-devel/clang/clang-9.0.1.ebuild | 1 + 2 files changed, 2 insertions(+) |