[ not a lintian maintainer ] On Mon, May 04, 2020 at 09:53:45AM +0200, Christian Kastner wrote: > lintian understandably reports about a no longer required > -Wl,--as-needed in bullseye. However, unless I'm mistaken, it's still > needed for building for buster-backports, so removing it has a side effect.
IMHO, this is typical example of a tag that shouldn't have existed until bullseye was stable. Having -Wl,--as-needed specified in d/rules AND as internal default from ld brings no downsides whatsoever, bearing one "extra" line in d/rules. Instead, I can see how many man-minutes and precious brain cycles were lost in bugs like this, since you are not the first person to raise this question. > The cleanest solution would probably be to remove it, and to simply > re-add this flag during backporting, at the cost of manual intervention > (beyond dch --bpo, that is). > > The pragmatic solution would be to just override the tag for packages > where a backport might be expected. I recommend you just either simply ignore the tag for those packages, or please an override if it bothers you. No need to overcomplicate a simple matter by removing and-readding flags when they can simply just stay there. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. More about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature