Public bug reported:

While reading about bpftrace I discovered that the Ubuntu LLVM or Clang
packaging is apparently not quite correct:

https://github.com/iovisor/bpftrace/issues/76

Thus the install instructions for bpftrace includes adding apt.llvm.org's key 
to the APT trusted keys:
https://github.com/iovisor/bpftrace/blob/master/INSTALL.md

I tried the instructions myself (skipping the LLVM repository) on my
18.04 LTS host, with both llvm-5.0 and llvm-6.0 packages, and got
similar results:

sarnold@hunt:~/trees/bpftrace/build$ aa-exec -p untrusted-compile cmake 
-Wno-dev -DCMAKE_BUILD_TYPE=DEBUG -DLLVM_DIR=/usr/lib/llvm-6.0/lib/cmake/llvm/ 
-DClang_DIR=/usr/share/llvm-6.0/cmake/ ..
CMake Error at /usr/share/llvm-6.0/cmake/ClangConfig.cmake:18 (include):
  include could not find load file:

    /usr/lib/cmake/clang/ClangTargets.cmake
Call Stack (most recent call first):
  CMakeLists.txt:72 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/sarnold/trees/bpftrace/build/CMakeFiles/CMakeOutput.log".
See also "/home/sarnold/trees/bpftrace/build/CMakeFiles/CMakeError.log".
sarnold@hunt:~/trees/bpftrace/build$ 


The bpftrace bugreport includes this debian bug report:
https://groups.google.com/forum/#!topic/linux.debian.bugs.dist/g2S4E-QvmWA
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862328

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: clang-6.0 1:6.0-1ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
Date: Thu Nov  1 19:06:46 2018
InstallationDate: Installed on 2012-10-18 (2205 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 
(20120823.1)
ProcEnviron:
 TERM=rxvt-unicode-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: llvm-toolchain-6.0
UpgradeStatus: Upgraded to bionic on 2018-05-02 (184 days ago)

** Affects: llvm-toolchain-6.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to llvm-toolchain-6.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1801225

Title:
  cmake files are misplaced

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-6.0/+bug/1801225/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to