There is an updated pull request by sgn against master on the void-packages repository https://github.com/sgn/void-packages bootstrap-cmake-build-style https://github.com/void-linux/void-packages/pull/26039 build-style/cmake: only look into masterdir libraries 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. A patch file from https://github.com/void-linux/void-packages/pull/26039.patch is attached