ibus fails to cross build from source for a wealth of distinct reasons. Initially, its Build-Depends are not cross-satisfiable. python3-all requests a host architecture Python interpreter, which cannot be installed. Looking into it, I realized that ibus builds an architecture-independent Python module. We don't actually have to build in in an arch-only build such as a cross build, so I looked into demoting it to Build-Depends-Indep. This mostly works, except that meson readily fails on pyoverridesdir never being defined. It looks like the meson.build file hasn't been used without pygobject in a while. Once fixing this, I can move the Python module to B-D-I and had reproducible builds confirm that an arch-only build faithfully reproduces a full build. The next failure arises from the use of the build architecture pkg-config. It is hard coded in meson.build. A comment indicates that this was not due to being careless. The regular way of using the meson-internal dependency mechanism doesn't seem to work right (though I don't exactly understand how). As far as I understand it, the dependency is being found, but has inappropriate fields. The compile_args and link_args are ok though, so we could copy them from the original dependency object instead of invoking the wrong pkg-config. Does that sound workable? And with all of this changed, the build gets somewhat far until it figures that it needs an exe_wrapper for a build tool that is not marked native. Fixing this is more involved. Please consider it out of scope for this bug report. Can you still forward the proposed upstream changes and apply the Debian changes to fix the lower hanging fruit? Helmut