Hi,

On 2025-06-03 22:26, Theodore Ts'o wrote:
> On Sat, May 31, 2025 at 01:58:33PM +0200, Aurelien Jarno wrote:
> > 
> > I have been pointed out at dh-builtusing, which is another way to 
> > achieve the same result. I have attached a patch with that alternative, 
> > at the end it's mostly a question of taste.
> 
> Thanks for this patch.  Note that you need to add dh-builtusing to the
> Build-Depends (not just dh-sequence-builtusing) so that automated
> builders that use a minimal build-chroot (i.e., sbuild) knows that

That should not be the case, or it's a bug in the builder that should be 
reported. At least sbuild is able to handle that correctly.

> they need to install dh-builtusing.  It's also helpful for users who
> are confused why dpkg-buildpackage doesn't work.

That's indeed can be confusing at a first glance. That said both apt 
install and apt satisfy are able to determine that 
dh-sequence-builtusing is provided by dh-builtusing.

> The other problem with using dh-builtusing is that it is only
> available in Debian trixie.  So if you want to be able to build
> e2fsprogs on Debian stable or oldstable, using dh-builtusing will make
> life very difficult wanting to build e2fsprogs for Debian stable, or
> Ubuntu LTS.

You are fully correct. The possibility of backports is definitely a good 
reason to not use dh-sequence-builtusing.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                     http://aurel32.net

Reply via email to