Bug#1133353: pts-perl-tools: dpt fixup: dependency order pingpong

gregor herrmann gregoa at debian.org
Sun Apr 12 15:50:48 BST 2026


Control: retitle -1 pkg-perl-tools: dpt fixup: dependency order pingpong
Control: found -1 0.86

On Sun, 12 Apr 2026 12:48:03 +0200, Roland Rosenfeld wrote:

>when I run "dpt fixup" on a package, that's up to date, the following
>two commits are (always) added:

Yes, that's indeed annoying, and I'm the one (partially :)) 
responsible for it.

>From my point of view these should not differ in their order but use
>the same algorithm.

That would be ideal indeed.

>I'm sure, that this problem didn't exist in January, but don't see
>what exact change triggered the issue.

 From pkg-perl-tools changelog:

pkg-perl-tools (0.86) unstable; urgency=medium

   * dpt-fixup: (temporarily) adjust to changes in
     libconfig-model-dpkg-perl (cf. #1125967).

>As the version with ${...} is
>in my git history for a longer time, the behavior of wrap-and-sort
>must have changed, but wrap-and-sort from devscripts (2.25.15+deb13u1)
>on my trixie system behaves in the same way.

wrap-and-sort wasn't used in dpt-fixup before pkg-perl-tools 0.86.

The (original) change was in libconfig-model-dpkg-perl.

Then I played around with various options and opted for using 
wrap-and-sort for the time being, but this can lead to this double 
change as wrap-and-sort/cme/debputy almost but not completely agree 
on the formatting …

/*
In libconfig-model-dpkg-perl's git I found 
b47f787095a12e708ac572dbfce245b212181ac8:

     Dpkg backend: use style like wrap-and-sort -ast

     See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849498#32 for
     rationale
*/


So yeah, we could switch dpt-fixup back to use cme (instead of 
wrap-and-sort); this would avoid _this_ annoyance but on the other 
hand might introduce changes which are more than just reformatting 
(that's #1125967).


Cheers,
gregor

-- 
  .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
  : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
  `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
    `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20260412/d2ae3387/attachment.sig>


More information about the pkg-perl-maintainers mailing list