There is an updated pull request by sgn against master on the void-packages repository https://github.com/sgn/void-packages chroot-cmake-and-ccache https://github.com/void-linux/void-packages/pull/25753 ccache: update to 4.0 (alternative approach for chroot-cmake) Alternative for https://github.com/void-linux/void-packages/pull/25724 A patch file from https://github.com/void-linux/void-packages/pull/25753.patch is attached