There's a merged pull request on the void-packages repository build-style/cmake: only look into masterdir libraries https://github.com/void-linux/void-packages/pull/26039 Description: As of it's now, cmake will look into host's libraries, thus bootstrapping will fail at ccache if host system doesn't have libzstd-devel installed.