Hi, Maxime Devos skribis: > Actually, glib's build system (meson-build-system) did not support > cross-compilation at all before the merge. Cross-compilation support > was added on that branch, but glib's package broke later, presumably in > . > > The fix would be to replace to wrap the configure flags in a #~, > instead of a ´,replace (assoc-ref %outputs "bin") by #$output:bin and > adjust the configure flags of glib-with-documentation to use #~ and #$ > instead of ´ and ,. > > To avoid rebuilds, some > (if (%current-target-system) #~#$output:bin #~(assoc-ref %outputs > "bin")) > may be needed. In the case of ‘meson-build-system’, the logical fix IMO would be to define ‘%build-inputs‘, ‘%outputs’, etc. when cross-compiling, with the patch below. This would be consistent with the fact that ‘meson-build-system’ defines those variables for native builds already. Thoughts? Longer-term we can move away from ‘%outputs’, ‘%build-inputs’, & co., but that’s another story. Ludo’.