Bug#1010495: iwyu: Depends: clang version is incorrect

Alejandro Colomar alx.manpages at gmail.com
Mon May 2 21:04:54 BST 2022


Package: iwyu
Version: 8.18-1
Severity: important
X-Debbugs-Cc: alx.manpages at gmail.com

Hi,

iwyu 0.18 requires clang 14.  See the dependency table here:
<https://github.com/include-what-you-use/include-what-you-use#clang-compatibility>.

I noticed because I just upgraded my system from Debian stable to unstable,
and I until I installed (manually) clang-14, iwyu(1) didn't work:

 In file included from tmp/src/man2/add_key.2.d/add_key.c:2:
 /usr/include/x86_64-linux-gnu/sys/types.h:144:10: fatal error: 'stddef.h' file not found
 #include <stddef.h>
          ^~~~~~~~~~

After installing clang-14, the issue is fixed.
Please, fix the dependencies of the iwyu package.


Thanks,

Alex



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages iwyu depends on:
ii  clang           1:13.0-54
ii  clang-13        1:13.0.1-3+b2
ii  clang-14        1:14.0.3-1
ii  libc6           2.33-7
ii  libclang-cpp14  1:14.0.3-1
ii  libllvm14       1:14.0.3-1
ii  libstdc++6      12-20220428-1
ii  python3         3.10.4-1+b1

iwyu recommends no packages.

iwyu suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list