Bug#722132: closed by Sylvestre Ledru <sylvestre at debian.org> (Bug#722132: fixed in iwyu 3.3-2)

Anders Kaseorg andersk at mit.edu
Sun Jan 24 01:29:12 UTC 2016


On Tue, 10 Sep 2013, Paul Wise wrote:
> On Sun, Sep 08, 2013 at 11:21:11AM +0000, Debian Bug Tracking System wrote:
> 
> >    * clang is a mandatory dependency (Closes: #722132)
> 
> This doesn't appear to fix this issue:
> […]
> /usr/include/glib-2.0/glib/gmacros.h:40:10: fatal error: 'stddef.h' file not found

iwyu declares a dependency on clang-3.5 | clang-3.6 | clang-3.7 | 
clang-3.8, but in reality this needs to match the version it was compiled 
against, which for current sid is clang-3.7.  Actually just 
libclang-common-3.7-dev is sufficient, as far as I can tell.

--- a/debian/control	2015-12-26 17:57:00.000000000 -0500
+++ b/debian/control	2016-01-23 20:23:29.958940424 -0500
@@ -12,7 +12,7 @@
 
 Package: iwyu
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, clang-3.5 | clang-3.6 | clang-3.7 | clang-3.8, python
+Depends: ${shlibs:Depends}, ${misc:Depends}, libclang-common-3.7-dev, python
 Description: Analyze #includes in C and C++ source files
  "Include what you use" means this: for every symbol (type, function variable,
  or macro) that you use in foo.cc, either foo.cc or foo.h should #include a .h


Anders



More information about the Pkg-llvm-team mailing list