In the default configuration, when compiling ccache, it fails to generate the symbolic links for clang, and similar compilers correctly. Using ccache-update-links also has no effect, and there is no output. The same result occurs when installing via pkg. -------------------------- [1/3] Installing liblz4-1.9.4,1... [1/3] Extracting liblz4-1.9.4,1: 100% [2/3] Installing zstd-1.5.5... [2/3] Extracting zstd-1.5.5: 100% [3/3] Installing ccache4-4.8... [3/3] Extracting ccache4-4.8: 100% Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) root@ykla:/usr/ports/devel/ccache4 # which clang /usr/bin/clang root@ykla:/usr/ports/devel/ccache4 # ccache-update-links root@ykla:/usr/ports/devel/ccache4 # which clang /usr/bin/clang root@ykla:/usr/ports/devel/ccache4 # which cc /usr/bin/cc root@ykla:/usr/ports/devel/ccache4 # ls -al /usr/bin/cc -r-xr-xr-x 6 root wheel 109032752 Jul 27 00:01 /usr/bin/cc -----------------------------
root@ykla:/usr/ports/devel/ccache4 # uname -a FreeBSD ykla 14.0-CURRENT FreeBSD 14.0-CURRENT aarch64 1400093 main-232b922cb3 GENERIC arm64 root@ykla:/usr/ports/devel/ccache4 # pkg info ccache4 ccache4-4.8 Name : ccache4 Version : 4.8 Installed on : Thu Aug 3 21:31:00 2023 CST Origin : devel/ccache4 Architecture : FreeBSD:14:aarch64 Prefix : /usr/local Categories : devel Licenses : GPLv3+ Maintainer : bdrewery@FreeBSD.org WWW : https://ccache.dev/ Comment : Tool to minimize the compile time of C/C++ programs Options : CLANGLINK : on DOCS : on LLVMLINK : on STATIC : off TEST : off Shared Libs required: libzstd.so.1 Annotations : FreeBSD_version: 1400093 repo_type : binary repository : ustc Flat size : 1.86MiB Description : ccache is a compiler cache. It acts as a caching pre-processor to C/C++ compilers, using the -E compiler switch and a hash to detect when a compilation can be satisfied from cache. This often results in a 5 to 10 times speedup in common compilations. WWW: https://ccache.dev/ root@ykla:/usr/ports/devel/ccache4 #