Bug#705957: libclang-common-dev: Empty /usr/include/clang/3.2/include directory after upgrade
Robert Luberda
robert at debian.org
Mon Apr 22 18:39:51 UTC 2013
Package: libclang-common-dev
Version: 1:3.2repack-1~exp4
Severity: important
Hi,
The latest versions of the package ships /usr/include/clang/3.2/include
as a symlink, but previous versions used to ship it as a regular
directory. Since dpkg never replaces a directory with a symlink, this
result in empty /usr/include/clang/3.2/include after upgrade:
[36]/> ls -la /usr/include/clang/3.2/include
total 8
drwxr-xr-x 2 root root 4096 kwi 21 23:45 ./
drwxr-xr-x 3 root root 4096 gru 18 09:10 ../
which in turn causes clang failures like that one below:
/tmp/x.cpp:1:10: fatal error: 'stddef.h' file not found
#include <stddef.h>
^
1 error generated.
The same issue exists for /usr/lib/clang/3.2/lib.
Please either handle the directory to symlink migration in your
maintainer scripts or (which I think would be better) change clang
to use the new /usr/lib/llvm-3.2/lib/clang/3.2/{include,lib} paths
directly.
Regards,
robert
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (990, 'unstable'), (200, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.5-trunk-686-pae (SMP w/1 CPU core)
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash
-- no debconf information
More information about the Pkg-llvm-team
mailing list