Bug#1078078: perl: 5.40 packages should Break libur-perl (<< 0.470+ds-3) for partial upgrades
    Niko Tyni 
    ntyni at debian.org
       
    Tue Aug  6 17:27:57 BST 2024
    
    
  
Package: perl
Version: 5.40.0-1
User: debian-perl at lists.debian.org
Usertags: perl-5.40-transition
X-Debbugs-Cc: libur-perl at packages.debian.org
libur-perl_0.470+ds-3 fixed a syntax error with Perl 5.40 in the
UR::Namespace::Command::Define::Datasource::Sqlite module.
With a Perl 5.40 chroot and libur-perl_0.470+ds-2 from stable:
  # perl -w -e 'use UR::Namespace::Command::Define::Datasource::Sqlite'
  Missing comma after first argument to return at /usr/share/perl5/UR/Namespace/Command/Define/Datasource/Sqlite.pm line 41, near ");"
  Compilation failed in require at -e line 1.
  BEGIN failed--compilation aborted at -e line 1.
This new failure is described at
  https://metacpan.org/dist/perl/view/pod/perldiag.pod#Missing-comma-after-first-argument-to-return
Even though this seems quite a remote corner case, it's easy enough
to prevent a partial upgrade to this combination by adding a Breaks:
libur-perl (<< 0.470+ds-3) in the Perl 5.40 packages. So no reason not
to do it really.
-- 
Niko Tyni   ntyni at debian.org
    
    
More information about the pkg-perl-maintainers
mailing list