New comment by Chocimier on void-packages repository https://github.com/void-linux/void-packages/pull/41566#issuecomment-1377953590 Comment: Please split `-devel` from library. `-devel`s go to makedepends, library needs gettext-devel-tools in hostmakedepends, application needs qt5-host-tools, then it cross-compiles. On musl it still fails with > aarch64-linux-musl-c++ -c -g -O0 -std=c++11 -O2 -Wall -Wextra -fPIC -I. -I/usr/aarch64-linux-musl/usr/include/libxml2 -I../../.target-spec/linux-g++ -o main.o main.cpp > In file included from main.cpp:11: > /usr/aarch64-linux-musl/usr/include/libdatovka/isds.h:442:5: error: '_Bool' does not name a type; did you mean 'UBool'? > 442 | _Bool *dbEffectiveOVM; /* Box has OVM role (§ 5a) */ discussed at , concluding that C and C++ polyglot headers are hard.