On Wed, 19 Jul 2023 at 20:12:08 +0100, Simon McVittie wrote: > On mips64el, Meson seems confused about whether this is a native or > cross build. At first, it correctly reports that this is a native build: ... > but then later, cc.run() fails: > > > ../../../meson.build:1127:14: ERROR: Can not run test applications in this > > cross environment.
A workaround that seems generally-applicable, if you have a package that needs to migrate before this is fixed, is to give `meson setup` a --native-file with "needs_exe_wrapper = false" for native builds, either on mips64el or always: https://salsa.debian.org/gnome-team/gjs/-/commit/0e64684a809fb2c3996bde8b92d61c4f4aa9b4e0 (glib2.0 and gobject-introspection in unstable also have this workaround.) smcv

