You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As can be seen in our CI LLVM deb packages only install /usr/lib/llvm-16/lib/clang/16 but still link to the /usr/lib/llvm-16/lib/clang/16.0.0/(include|lib) from /usr/lib/clang/(16|16.0.0)/(include|lib).
To fix this: either fix the symlinks in /usr/lib/clang or (re-)add a symlink from /usr/lib/llvm-16/lib/clang/16.0.0 to /usr/lib/llvm-16/lib/clang/16. (or likely copy the files to 16.0.0 and symlink from 16 to 16.0.0?)
Just out of curiosity: Which commit exactly fixed that problem? I've just ran into it with the official clang-16 packages from Ubuntu 23.04 (lunar). The less intrusive fix for users is probably:
( cd /usr/lib/llvm-16/lib/clang && ln -s 16 16.0.0 )
Correct?
CheckmkCI
pushed a commit
to Checkmk/checkmk
that referenced
this issue
Aug 17, 2023
Version 17 has only release candidates so far, and IWYU has no tag for it
yet, so let's be conservative and wait for a release. Related changes:
* Use IWYU's mappings from the clang_16 branch.
* Add a workaround for llvm/llvm-project#61550,
i.e. fix an incorrect symlink in the clang-16-related packages. This has
already been fixed upstream, but the Ubuntu packages are lagging behind.
* Various IWYU fixes and cleanups: We are down to only 10 pragmas for
IWYU/mapping bugs now, plus 2 necessary pragmas to declare exports.
Coupling has been reduced quite a bit.
* Recalculated asio IWYU mappings.
Change-Id: Icc77e7929bcf15c7fd28b26d705ffa39f42c89fa
As can be seen in our CI LLVM deb packages only install
/usr/lib/llvm-16/lib/clang/16
but still link to the/usr/lib/llvm-16/lib/clang/16.0.0/(include|lib)
from/usr/lib/clang/(16|16.0.0)/(include|lib)
.To fix this: either fix the symlinks in
/usr/lib/clang
or (re-)add a symlink from/usr/lib/llvm-16/lib/clang/16.0.0
to/usr/lib/llvm-16/lib/clang/16
. (or likely copy the files to16.0.0
and symlink from16
to16.0.0
?)The important bits from the CI:
But there's only
/usr/lib/llvm-16/lib/clang/16
.cc @sylvestre
The text was updated successfully, but these errors were encountered: