Source: debhelper
Version: 14.3
Tags: patch
X-Debbugs-CC: [email protected], [email protected]
blhc is a default job for Salsa CI. Several meson apps fail the blhc
job in Salsa CI.
This can be worked around for a package using debhelper compat 14 with
override_dh_auto_install:
dh_auto_install -- --no-rebuild
meson install --no-rebuild is documented briefly at
https://mesonbuild.com/Commands.html#install
It looks like the blhc failure is simply because the build steps done
by meson install are not verbose enough for blhc's analysis of the
build logs.
See https://salsa.debian.org/gnome-team/extras/quadrapassel/-/jobs/9791972
with this build log excerpt
3239:NONVERBOSE BUILD: [3/10] Compiling C object
src/quadrapassel.p/meson-generated_.._resources.c.o
I don't know why meson install insists on rebuilding some things
during the install step. Nevertheless, for Debian's purposes, I
believe we can rely on things being built during meson's build step
and avoid an unnecessary rebuild (for our purposes) during meson
install.
Therefore, please have the default behavior for debhelper's meson
install use --no-rebuild. This should only be done for compat level 14
and higher. debhelper compat 13 uses "ninja install" instead of "meson
install" by default. debhelper compat 14 is so new that I don't think
there is any practical benefit to delaying this change until compat
15.
I'm proposing a simple patch for this at
https://salsa.debian.org/debian/debhelper/-/merge_requests/165
Thank you,
Jeremy Bícha