This is fixed in 1:3.8.1-12ubuntu1 in Yakkety.  It should be released as
an SRU for Xenial.

** Bug watch added: Debian Bug tracker #819072
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819072

** Also affects: llvm-toolchain-3.8 (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819072
   Importance: Unknown
       Status: Unknown

** Changed in: llvm-toolchain-3.8 (Ubuntu)
       Status: New => Fix Released

** Also affects: llvm-toolchain-3.8 (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1630855

Title:
  cmake can't find llvm-libs

Status in llvm-toolchain-3.8 package in Ubuntu:
  Fix Released
Status in llvm-toolchain-3.8 source package in Xenial:
  New
Status in llvm-toolchain-3.8 package in Debian:
  Unknown

Bug description:
  When building project with llvm-libs using cmake, cmake is complaining about 
incorrect library path. It looks like installation path is incorrectly setup. 
Also, 3.7 doesn't have any problem.
  DISCLAIMER: I'm using ubuntu docker, don't know if that changes anything.

  Error:
  -- The C compiler identification is GNU 5.4.0
  -- The CXX compiler identification is GNU 5.4.0
  -- Check for working C compiler: /usr/bin/cc
  -- Check for working C compiler: /usr/bin/cc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  CMake Error at /usr/share/llvm-3.8/cmake/LLVMConfig.cmake:178 (include):
    include could not find load file:

      /usr/share/llvm/cmake/LLVMExports.cmake
  Call Stack (most recent call first):
    CMakeLists.txt:4 (find_package)

  
  CMake Error at /usr/share/llvm-3.8/cmake/LLVMConfig.cmake:181 (include):
    include could not find load file:

      /usr/share/llvm/cmake/LLVM-Config.cmake
  Call Stack (most recent call first):
    CMakeLists.txt:4 (find_package)

  
  -- 
  CMake Error at CMakeLists.txt:13 (llvm_map_components_to_libnames):
    Unknown CMake command "llvm_map_components_to_libnames".

  
  -- Configuring incomplete, errors occurred!
  See also "XXXXXXXXXX/dummy/build/CMakeFiles/CMakeOutput.log".

  Expected output(something like below), also I can confirm that it can work 
once all the path and symlink in the files are fixed:
  -- The C compiler identification is GNU 6.2.1
  -- The CXX compiler identification is GNU 6.2.1
  -- Check for working C compiler: /usr/bin/cc
  -- Check for working C compiler: /usr/bin/cc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- 
  -- Configuring done
  -- Generating done
  -- Build files have been written to: XXXXXXXXXXXXX/dummy/build

  Attachment is a dummy project file that uses llvm and clang, need package:
    llvm llvm-dev clang libclang-dev
  To reproduce the error
  1. unarchive
  2. cd
  3. mkdir build
  4. cd build
  5. cmake ..

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

_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to