microsoft / azurelinux

Linux OS for Azure 1P services and edge appliances
MIT License
4.28k stars 535 forks source link

ccache: remove dangling link to host-cc #10479

Closed anphel31 closed 2 weeks ago

anphel31 commented 2 weeks ago
Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)


Summary

What does the PR accomplish, why was it needed? Our ccache package creates a link to a binary not provided by gcc, which caused build breaks in some packages (including php-pecl-apcu). Remove the dangling link, ex: /usr/lib/ccache/x86_64-pc-linux-gnu-cc -> /usr/bin/ccache

From config.log generated by the configure script in php-pecl-apcu:

"configure:3112: checking for C compiler version"
"configure:3121: x86_64-pc-linux-gnu-cc --version >&5"
"ccache: error: Could not find compiler \"x86_64-pc-linux-gnu-cc\" in PATH"
Change Log
Does this affect the toolchain?

YES

Test Methodology