New comment by newbluemoon on void-packages repository https://github.com/void-linux/void-packages/pull/12480#issuecomment-502476341 Comment: While building it needs to run `/usr/bin/glib-compile-resources` from `glib-devel`. However, the `glib-devel` under `makedepends` is the the target version. So e.g. the x86_64 host cannot execute an armv7l target binary. That’s why you also have to add it to `hostmakedepends`. But in case the source code also includes headers from `glib-devel` you have to be careful that the ones from the target version are used (there might be arch specific differences). I’m not that familiar with the meson build-style, but think it should take care of this. However, it might be a problem with other styles in general.