There's a closed pull request on the void-packages repository mariadb: add a patch to fix an issue on musl. https://github.com/void-linux/void-packages/pull/21561 Description: Sourced from: https://github.com/MariaDB/server/commit/1655053ac1