clang headers aren't installed or linked in /usr/include/clang-c

Bug #1778649 reported by Shawn Rutledge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
llvm-toolchain-6.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

This causes a problem building qdoc on Ubuntu 18.04:

https://bugreports.qt.io/browse/QTBUG-69044

In summary, #include <clang-c/Index.h> doesn't work unless one adds an extra -I include path. On some other Linux OSes, that's not necessary. So I wonder if this is a matter of policy to have these headers only in /usr/lib/llvm-6.0/include/clang-c, or an oversight?

It will be an issue for any software that attempts to reuse parts of clang to build other tools.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libclang-6.0-dev 1:6.0-1ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 26 08:52:55 2018
SourcePackage: llvm-toolchain-6.0
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Shawn Rutledge (shawn-t-rutledge) wrote :
Revision history for this message
Sylvestre Ledru (sylvestre) wrote :

You should report this bug on the Debian side as the work is happening there.

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.