New comment by Hoshpak on void-packages repository https://github.com/void-linux/void-packages/pull/15984#issuecomment-549441292 Comment: The build needs `pg_config` which is part of postgresql-libs-devel. In this case it is warranted to put the -devel package in hostmakedepends since it contains a binary that needs to be executed on the host. You probably also need it in makedepends as well since the headers will be needed for the target.