gnome-recipes fails to cross build from source, because it needs to run tools/recipe-extract.c during build. Presently, it compiles it as a host executable and expects an exe_wrapper to run it. That tends to be qemu.
In this case, we can avoid that qemu dependency by compiling it as a
native executable instead. Doing so incurs and extra Build-Depends on libglib2.0-dev:native, but I think that's the better option. I'm
attaching the patch to turn recipe-extract native. Please consider
forwarding it upstream and applying it.
The meson.build part of your patch was already applied upstream years
ago. (gnome-recipes hasn't had an upstream release since 2020.)
https://gitlab.gnome.org/GNOME/recipes/-/commit/3ad8307
It is missing your removal of #include "config.h" . What is the
significance of that change? Is the change necessary here?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 491 |
Nodes: | 16 (2 / 14) |
Uptime: | 112:56:55 |
Calls: | 9,685 |
Calls today: | 1 |
Files: | 13,725 |
Messages: | 6,175,984 |