New comment by pullmoll on void-packages repository https://github.com/void-linux/void-packages/pull/11495#issuecomment-490966411 Comment: I tend to think if you just remove `do_install()` and let xbps-src do its job in the default `gnu-configure` it should work. All the things you did seem way too complicated.