Bug#1144815: nmu: Multiple pdl rdeps

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.devel.release
Message-ID <aoXWnPSxzSfIP0Hs@localhost>
On Wed, Aug 19, 2026 at 04:29:13PM +0200, gregor herrmann wrote:
> On Wed, 19 Aug 2026 11:08:54 +0200, Bas Couwenberg wrote:
> 
> > nmu libpdl-fftw3-perl_0.204-1 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-fit-perl_2.101-1 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-graphics-colorspace-perl_0.206-1 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-graphics-trid-perl_2.102-2 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-gsl-perl_2.103-1 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-io-gd-perl_2.103-2 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-io-hdf5-perl_1:0.762-1 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-io-hdf-perl_2.004-1 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-io-matlab-perl_0.006-6 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-linearalgebra-perl_0.437-1 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-netcdf-perl_4.25-2 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-stats-perl_0.856-1 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > nmu libpdl-transform-proj4-perl_2.099-1 . ANY . unstable . -m "Rebuild against PDL 2.106"
> > 
> > dw libpdl-fftw3-perl_0.204-1 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-fit-perl_2.101-1 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-graphics-colorspace-perl_0.206-1 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-graphics-trid-perl_2.102-2 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-gsl-perl_2.103-1 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-io-gd-perl_2.103-2 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-io-hdf5-perl_1:0.762-1 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-io-hdf-perl_2.004-1 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-io-matlab-perl_0.006-6 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-linearalgebra-perl_0.437-1 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-netcdf-perl_4.25-2 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-stats-perl_0.856-1 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> > dw libpdl-transform-proj4-perl_2.099-1 . ANY . unstable . -m "pdl (>= 1:2.106-1)"
> 
> Just a note:
> 
> I think the 'dw' commands can be replaced with the --extra-depends option of
> 'nmu', like
> 
>     nmu libpdl-fftw3-perl_0.204-1 . ANY . unstable . -m "Rebuild against PDL 2.106" --extra-depends 'pdl (>= 1:2.106-1)'
>     etc.

dw and --extra-depends have slightly different semantics,
usually used in a case like this is dw.
 
> and the 'nmu' commands could also be summarized in one (which makes it a bit
> long in this case):
> 
>     wb nmu libpdl-foo-perl libpdl-bar-perl […] . ANY . -m "Rebuild against PDL 2.106" --extra-depends 'pdl (>= 1:2.106-1)'
>...

IMHO the only effect of your suggested changes would be decreased readability.

When you use ANY, wb will create 19 wanna-build commands per package for 
the 19 architectures.

Pasting/Piping many commands is not a problem in practice,
a change to ghc and there are > 1k nmus per architecture.

The above 26 wb commands are readable and trivial to paste,
I would recommend against trying to optimize anything here.

> Cheers,
> gregor

cu
Adrian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.