New comment by TinfoilSubmarine on void-packages repository https://github.com/void-linux/void-packages/pull/33586#issuecomment-946043002 Comment: Several things: Just do `./autogen.sh` instead of what you currently have in pre_configure(). This fixes the error with missing `./configure`. Also needs `pkg-config` in hostmakedepends to avoid missing macros in configure.ac. Having pkg-config installed reveals the necessary makedepends `libXpm-devel`.