iwyu (5.0-1) needs dependency on libclang-common-5.0-dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iwyu (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Similar like the other two issue reports here on Launchpad, just a new version. iwyu (5.0-1) which comes with Ubuntu 18.04 LTS (bionic) was build on top of clang 5.0.1. However in Ubuntu 18.04 LTS, the default clang is 6.0.0 already.
Steps to Reproduce
$ sudo apt install clang
$ sudo apt install iwyu
$ CC=iwyu make -k
Expected Result (hopefully)
xyz.c has correct #includes/fwd-decls
Actual Result
/usr/include/
Note
$ iwyu -E -xc - -v </dev/null
shows the expected clang version: /usr/lib/
thanks to <https:/
Workarounds
A) sudo ln -sv /usr/lib/clang/6.0 /usr/lib/
or
B) sudo apt install libclang-
or
C) build iwyu yourself
tags: | added: bionic packaging |
Status changed to 'Confirmed' because the bug affects multiple users.