Bug#1068934: perl: autopkgtest failure due to the t64 package rename

Niko Tyni ntyni at debian.org
Sat Apr 13 18:54:56 BST 2024


Source: perl
Version: 5.38.2-3.2
Severity: serious
Tags: patch
User: debian-arm at lists.debian.org
Usertags: time-t
X-Debbugs-Cc: Steve Langasek <vorlon at debian.org>

perl is failing its own autopkgtest checks in sid because of the
libperl5.38 rename to libperl5.38t64.

  https://ci.debian.net/packages/p/perl/unstable/amd64/45047732/

    autopkgtest [15:18:55]: test control: prove debian/t/control.t
    autopkgtest [15:18:55]: test control: [-----------------------
    control.t: warning: can't parse dependency ${t64:Provides}
    
    #   Failed test 'Breaks for libfilter-perl in libperl5.38t64 implies Provides'
    #   at debian/t/control.t line 267.
    
    #   Failed test 'Breaks for libfilter-perl in libperl5.38t64 implies Replaces'
    #   at debian/t/control.t line 269.
    Use of uninitialized value $replaced_version in substitution (s///) at debian/t/control.t line 273.
    
[...]

The main issue is solved with just a

  sed -i 's/libperl5.38/&t64/' debian/t/control.t

but there's also the "can't parse dependency ${t64:Provides}" warning
coming from Dpkg::Deps which cannot handle unsubstituted substvars. We
already fix a similar ${perlapi:Provides} case, so that can be extended
to tackle this as well.

Patch attached. The test passes for me with this on amd64 at least.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-autopkgtest-test-after-t64-changes.patch
Type: text/x-diff
Size: 1261 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/perl-maintainers/attachments/20240413/9628d86b/attachment.patch>


More information about the Perl-maintainers mailing list