There is an updated pull request by oreo639 against master on the void-packages repository https://github.com/oreo639/void-packages libgit2 https://github.com/void-linux/void-packages/pull/42382 libgit2: remove git from hostmakedepends Fixes build cycle with cairo -> 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 A patch file from https://github.com/void-linux/void-packages/pull/42382.patch is attached