llvm-config --src-root and llvm-config --obj-root return wrong paths

Bug #1452894 reported by jose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
llvm-toolchain-3.4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

As shown in the sumary, the paths given by llvm-config-3.4 are wrong:
$ llvm-config-3.4 --src-root
/build/buildd/llvm-toolchain-3.4-3.4
$ llvm-config-3.4 --obj-root
/build/buildd/llvm-toolchain-3.4-3.4/build-llvm

$ llvm-config-3.6 --obj-root
/usr/lib/llvm-3.6/build/
$ llvm-config-3.6 --src-root
/usr/lib/llvm-3.6/build/

There is a patch that should fix this: https://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.4/debian/patches/fix-llvm-config-obj-src-root.patch?view=markup&pathrev=1096

$ lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04

$ apt-cache policy llvm-3.4
llvm-3.4:
  Installed: 1:3.4-1ubuntu3
  Candidate: 1:3.4-1ubuntu3
  Version table:
 *** 1:3.4-1ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.