[Bug 1138457] New: clang-devel's CMake module refers to /usr/bin/clang-7 which does not exists
http://bugzilla.opensuse.org/show_bug.cgi?id=1138457 Bug ID: 1138457 Summary: clang-devel's CMake module refers to /usr/bin/clang-7 which does not exists Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: marius.kittler@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The CMake find module "Clang" provided by the package `clang-devel` (clang-devel-7.0.1-lp151.1.1) refers to the binary `/usr/bin/clang-7` which does not exists. This leads to the following configuration error if a CMake projects tries to make use of libTooling via `find_package(Clang ...)`: ``` [ 84s] CMake Error at /usr/lib64/cmake/clang/ClangTargets.cmake:296 (message): [ 84s] The imported target "clang" references the file [ 84s] [ 84s] "/usr/bin/clang-7" [ 84s] [ 84s] but this file does not exist. Possible reasons include: [ 84s] [ 84s] * The file was deleted, renamed, or moved to another location. [ 84s] [ 84s] * An install or uninstall procedure did not complete successfully. [ 84s] [ 84s] * The installation package was faulty and contained [ 84s] [ 84s] "/usr/lib64/cmake/clang/ClangTargets.cmake" [ 84s] [ 84s] but not all the files it references. [ 84s] [ 84s] Call Stack (most recent call first): [ 84s] /usr/lib64/cmake/clang/ClangConfig.cmake:18 (include) [ 84s] generator/CMakeLists.txt:43 (find_package) [ 84s] [ 84s] [ 85s] -- Configuring incomplete, errors occurred! ``` Note that this problem is not reproducible under Tumbleweed. So a fix is likely already available and only needs to be backported to Leap 15.1. I encountered the issue here: https://build.opensuse.org/package/live_build_log/home:mkittler:vcs/reflecti... But as I said, a minimal CMake project with has `find_package(Clang REQUIRED)` should be sufficient to reproduce. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1138457
http://bugzilla.opensuse.org/show_bug.cgi?id=1138457#c1
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1138457
http://bugzilla.opensuse.org/show_bug.cgi?id=1138457#c2
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1138457
http://bugzilla.opensuse.org/show_bug.cgi?id=1138457#c10
--- Comment #10 from Wolfgang Bauer
ibs maintainer llvm7 Defined in package: SUSE:SLE-15-SP1:GA/llvm7 bugowner of llvm7 : michalsrb Unfortunately, michalsrb is no longer with us, i.e. (open)SUSE, AFAIK... :-/
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1138457
http://bugzilla.opensuse.org/show_bug.cgi?id=1138457#c12
Aaron Puchert
http://bugzilla.opensuse.org/show_bug.cgi?id=1138457
http://bugzilla.opensuse.org/show_bug.cgi?id=1138457#c13
Aaron Puchert
participants (1)
-
bugzilla_noreply@novell.com