SUMMARY konsole build fails if ccache is installed, uninstalling ccache fixes issue. STEPS TO REPRODUCE 1. brew install kde-mac/kde/konsole OBSERVED RESULT /bin/sh: ccache: command not found ninja: build stopped: subcommand failed. EXPECTED RESULT Builds fine SOFTWARE/OS VERSIONS macOS: 10.15.4 beta 1 (19E224g) KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1
Log is here https://git.io/Jvctn
I use macports and it builds here on 10.15.3 and 10.13.6 using kdesrc-build(.kde.org). I haven't tried building KDE w/ ninja and haven't used homebrew in ages. I'll try to research it.
Somewhere in the logs should be a check for ccache find_program(CCACHE_FOUND "ccache") If you want, change this line to OFF in CMakeLists.txt set(CCACHE_SUPPORT ON CACHE BOOL "Enable ccache support")
This is definitely a bug in CMake script, because brew uses sandbox to build software.
Due to continued issues, the ccache has been removed from master and 20.04. I would suggest patching it for earlier versions.