Mathieu Othacehe writes: > Hello, > >> gnu/packages/gl.scm(glew): >> [arguments]<#:make-flags>: when cross-compiling, use {cc,strip}-for-target. > > When running: > > ./pre-inst-env guix build --target=aarch64-linux-gnu glew > > I have the following error message: > > Run-time dependency libudev found: NO (tried pkgconfig and cmake) > > ../mesa-23.2.1/meson.build:1682:13: ERROR: Failed running '/gnu/store/fzmc9w4i1lyqi0v62w5jpdxi6h9cbnyh-llvm-for-mesa-15.0.7/bin/llvm-config', binary or interpreter not executable. > Possibly wrong architecture or the executable bit is not set. > > A full log can be found at /tmp/guix-build-mesa-23.2.1.drv-0/build/meson-logs/meson-log.txt > error: in phase 'configure': uncaught exception: > > Did I miss something? i think because binfmt leak into build environment, so host's llvm-config can executed. please try this patch, use meson's cmake module to find llvm.