Package: debhelper
Version: 13.11.4
Severity: normal
Hi,
meson supports a command line flag called --auto-features which can be
set to "enabled" to force building everything instead of just building
the things for which the required dependencies are installed. Without
this flag, it can happen that upstream adds new features and they get
missed when building it because the dependency is missing but the build
still succeeds so this goes unnoticed. To prevent this from happening,
I'm using this in my own packages:
override_dh_auto_configure:
dh_auto_configure -- --auto-features=enabled
In Debian we want to build source packages with the maximum amount of
features enabled by default. Hence, I think it makes sense for debhelper
(in the next compat level) pass --auto-features=enabled by default. If
packages should not build everything, they should state so explicitly.
But the implicit default should be to build everything and hence I think
it makes sense for debhelper to add this by default.
Thanks!
cheers, josch
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: arm64 (aarch64)
Foreign Architectures: amd64
Kernel: Linux 6.1.0-reform2-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages debhelper depends on:
ii autotools-dev 20220109.1
ii dh-autoreconf 20
ii dh-strip-nondeterminism 1.13.1-1
ii dpkg 1.21.19
ii dpkg-dev 1.21.19
ii dwz 0.15-1
ii file 1:5.44-3
ii libdebhelper-perl 13.11.4
ii libdpkg-perl 1.21.19
ii man-db 2.11.2-1
ii perl 5.36.0-7
ii po-debconf 1.0.21+nmu1
debhelper recommends no packages.
Versions of packages debhelper suggests:
ii dh-make 2.202205
-- no debconf information