Bug#1111001: debhelper: Cross-compiling with meson should run meson env2mfile instead of debcrossgen
Package: debhelper
Version: 13.25
Severity: normal
Tags: forky sid patch
Forwarded: https://salsa.debian.org/debian/debhelper/-/merge_requests/127
X-Debbugs-Cc: meson@packages.debian.org, debian-cross@lists.debian.org
Control: affects -1 + meson
debhelper currently implements cross-compiling with meson by invoking
meson's Debian-specific debcrossgen script. That script works in basic
scenarios (for example a simple C/C++ library), but is considered to be
deprecated, and its maintainer does not want to apply patches to it for
missing cross-tools that are needed by more elaborate packages.
Now that Debian 13 development has started, it seems a good time to be
switching from debcrossgen to `meson env2mfile`, which *does* accept
(upstream) patches for missing cross-tools.
There is an implementation awaiting review in
https://salsa.debian.org/debian/debhelper/-/merge_requests/127, although
there might be some improvements/simplifications that can be made now
that we have Meson 1.7.0 (with `meson env2mfile --for-build`) in stable
and oldstable-backports.
smcv
Reply to: