#984674 ccache: clang links missing in /usr/lib/ccache

Package:
ccache
Source:
ccache
Description:
Compiler cache for fast recompilation of C/C++ code
Submitter:
Joachim Wuttke
Date:
2024-02-04 13:27:04 UTC
Severity:
normal
Tags:
#984674#5
Date:
2021-03-06 21:36:53 UTC
From:
To:
Dear Joel or other maintainers:

Package ccache installs a number of symbolic links to /usr/lib/ccache,
among them clang-11 and clang++-11, but not clang and clang++.
May I kindly suggest you add these two?

Thank you for your work on ccache, Joachim

#984674#10
Date:
2021-03-07 09:13:13 UTC
From:
To:
The problem is that /usr/bin/clang is created (via the alternatives mechanism)
after ccache's postinst script has run, so ccache currently has no way of
detecting that compiler name. A workaround is to run
/usr/sbin/update-ccache-symlinks manually to install the symlink.

This is essentially the same bug as #632779.

Regards,
Joel