Bug#749580: llvm-3.5-dev:amd64: Shipped cmake files are broken

Ralf Jung post at ralfj.de
Wed May 28 10:10:46 UTC 2014


Package: llvm-3.5-dev
Version: 1:3.5~svn209039-2
Severity: normal

Dear Maintainer,

the cmake files shippd in the package are broken.

This can be easily tested by running cmake on a simple CMakeLists.txt:

  FIND_PACKAGE ( LLVM )

The problem is the following line in LLVMConfig.cmake:

  set(LLVM_CMAKE_DIR "/usr/lib/llvm-3.5/share/llvm/cmake")

That folder does not exist.
However, even after fixing the folder to "/usr/share/llvm-3.5/cmake/",
it does not work. The following error appears (in similar form)
a few dozen times:

CMake Error at /usr/share/llvm-3.5/cmake/LLVMExports.cmake:6 (set_property):
  set_property could not find TARGET LLVMSupport.  Perhaps it has not yet
  been created.
Call Stack (most recent call first):
  /usr/share/llvm-3.5/cmake/LLVMConfig.cmake:43 (include)
  src/CMakeLists.txt:29 (FIND_PACKAGE)

Kind regards
Ralf

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.15.0-rc6 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages llvm-3.5-dev:amd64 depends on:
ii  libc6         2.18-7
ii  libedit2      3.1-20140213-1
ii  libffi-dev    3.1~rc1+r3.0.13-12
ii  libffi6       3.1~rc1+r3.0.13-12
ii  libgcc1       1:4.9.0-4
ii  libllvm3.5    1:3.5~svn209039-2
ii  libstdc++6    4.9.0-4
ii  libtinfo-dev  5.9+20140118-1
ii  libtinfo5     5.9+20140118-1
ii  llvm-3.5      1:3.5~svn209039-2

llvm-3.5-dev:amd64 recommends no packages.

llvm-3.5-dev:amd64 suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list