[Bug 272917] Both ccache3 and ccache4 cannot set up symbolic links properly, including ccache-update-links.

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Aug 2023 13:33:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272917

            Bug ID: 272917
           Summary: Both ccache3 and ccache4 cannot set up symbolic links
                    properly, including ccache-update-links.
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: yklaxds@gmail.com
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)
          Assignee: bdrewery@FreeBSD.org

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
-----------------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.