There's a merged pull request on the void-packages repository libgit2: remove git from hostmakedepends https://github.com/void-linux/void-packages/pull/42382 Description: Fixes build cycle with cairo -> mesa -> rust -> libgit -> git -> gir -> cairo. git was added to hostmakedepends when the distfiles were obtained using git clone. https://github.com/void-linux/void-packages/blob/237631485073e4883653b6a18e6fb141f1aa01d7/srcpkgs/libgit2/template #### Testing the changes - I tested the changes in this PR: **briefly** Fixes: https://github.com/void-linux/void-packages/issues/42378