There's a merged pull request on the void-packages repository armadillo: remove absolute paths form headers https://github.com/void-linux/void-packages/pull/23820 Description: It was #define ARMA_SUPERLU_INCLUDE_DIR /usr/arm-linux-gnueabihf/usr/include/ before. Absolute paths can't match usage of same package in both cross and native environment at same time, let alone expansion of 'linux' macro. As all headers are installed into standard location, relative path works. Not suitable to upstream.