Hello!

On 10/22/21 12:46, John Scott wrote:
> On Fri, 2021-10-22 at 11:18 +0200, John Paul Adrian Glaubitz wrote:
>> I had a look at the package and it throws a number of lintian errors. Are you
>> planning to address these or are they common for all binutils-$ARCH-elf 
>> packages
>> we currently have in Debian?
>
> I believe you're referring to debian-rules-missing-required-target and
> debian-rules-missing-recommended-target. In this case, Lintian seems to
> not recognize that I'm using Debhelper via the .DEFAULT target in the
> Makefile. I've filed a Lintian bug for this (#983539).
> 
> If it's really bothersome, I could switch debian/rules from
> .DEFAULT:
>       dh $@
> to
> %:
>       dh $@
> but I personally prefer the former as a stylistic choice, and this
> would cover up an area where Lintian should be smarter.

OK, makes sense. Thanks.
 
> As for debian-rules-sets-DH_COMPAT, which is merely a warning, Lintian
> has this to say:
>
>> As of debhelper version 4, the DH_COMPAT environment variable is only
>> to be used for temporarily overriding debian/compat. Any line in
>> debian/rules that sets it globally should be deleted and a separate
>> debian/compat file created if needed.
>
> I don't set DH_COMPAT globally; I use it as a temporary override for
> dh_auto_configure, and my source comments explain why I do this.
> 
> I would consider filing a Lintian bug, and still would if you'd like me
> to, but frankly I'd like to keep the warning around as a reminder that
> we should drop this hack when we're able.

OK, let me check this. I would assume that you just set debian/compat and
work with that.

Adrian
 
-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to