Please branch and build ccache in epel9.
FWIW, from my (very) limited testing, ccache 4.5 will not build in epel9 due to what appears to be the binutils bug reported at https://sourceware.org/bugzilla/show_bug.cgi?id=28266 and discussed in the related ccache update ticket https://bugzilla.redhat.com/show_bug.cgi?id=1884432 Getting the binutils patch into a el9 binutils update is likely going to be required.
(In reply to Gary Buhrmaster from comment #1) > FWIW, from my (very) limited testing, ccache 4.5 will not build in epel9 due > to what appears to be the binutils bug reported at > https://sourceware.org/bugzilla/show_bug.cgi?id=28266 and discussed in the > related ccache update ticket > https://bugzilla.redhat.com/show_bug.cgi?id=1884432 > > Getting the binutils patch into a el9 binutils update is likely going to be > required. I can confirm that rebuilding ccache without a patched binutils failed, and with a patched one it succeeded. I'll open a bug against binutils in CS9 and submit an MR
Due to the way that RHEL bugs progress through the process, the binutils bug ( BZ#2043970 ) will remain open in VERIFIED state for some period of time, meaning that this bug is still marked as waiting (depending on) that bug. However, the essential work on that bug has been completed, and the update is in now in the CS9 baseos repo. I have successfully built ccache in a koji scratch build for EPEL9 and light testing shows it is working properly.
FEDORA-EPEL-2022-15cf98762e has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-15cf98762e
FEDORA-EPEL-2022-15cf98762e has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-15cf98762e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2022-15cf98762e has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.