There's a merged pull request on the void-packages repository postgresql12: fix cross building of dependent packages https://github.com/void-linux/void-packages/pull/23528 Description: Fixes building few packages, rest still to test.