New comment by M374LX on void-packages repository https://github.com/void-linux/void-packages/pull/48682#issuecomment-1942848338 Comment: @Eloitor Creating custom ``do_build()`` and ``do_install()`` functions instead of relying on ``build_style=gnu-makefile`` seems to have finally fixed the problems.