There is an updated pull request by sgn against master on the void-packages repository https://github.com/sgn/void-packages remove-cross-cruft https://github.com/void-linux/void-packages/pull/22218 xbps-src: hook to remove & warn cross cruft See #22139 A patch file from https://github.com/void-linux/void-packages/pull/22218.patch is attached