Your message dated Sat, 27 Apr 2024 18:54:19 +0000
with message-id <e1s0nbj-00d1zh...@fasolo.debian.org>
and subject line Bug#1068934: fixed in perl 5.38.2-4
has caused the Debian Bug report #1068934,
regarding perl: autopkgtest failure due to the t64 package rename
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1068934: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068934
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: perl
Version: 5.38.2-3.2
Severity: serious
Tags: patch
User: debian-...@lists.debian.org
Usertags: time-t
X-Debbugs-Cc: Steve Langasek <vor...@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   nt...@debian.org
>From 81649053d3b4ecf857977c797100c024a25c04de Mon Sep 17 00:00:00 2001
From: Niko Tyni <nt...@debian.org>
Date: Sat, 13 Apr 2024 20:51:17 +0300
Subject: [PATCH] Fix autopkgtest test after t64 changes

---
 debian/t/control.t | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/t/control.t b/debian/t/control.t
index 977338ee5..56608ea4e 100755
--- a/debian/t/control.t
+++ b/debian/t/control.t
@@ -77,7 +77,7 @@ my %known_epochs = (
 # Replaces+Provides
 my %triplet_check_skip = (
 	"perl-base" => [ "libfile-spec-perl" ],
-	"libperl5.38" => [ "libfilter-perl" ],
+	"libperl5.38t64" => [ "libfilter-perl" ],
 );
 
 # list special cases where the name of the Debian package does not
@@ -162,8 +162,8 @@ for my $perl_package_info ($control->get_packages) {
 	for my $deptype ($breaksname, "Replaces", "Provides") {
 		next if !exists $perl_package_info->{$deptype};
 
-		# Dpkg::Deps cannot parse unsubstituted substvars so remove this
-		$perl_package_info->{$deptype} =~ s/\$\{perlapi:Provides}//;
+		# Dpkg::Deps cannot parse unsubstituted substvars so remove those
+		$perl_package_info->{$deptype} =~ s/\$\{\w+:Provides}//;
 
 		my $parsed = deps_parse($perl_package_info->{$deptype});
 		next if !defined $parsed;
-- 
2.39.2


--- End Message ---
--- Begin Message ---
Source: perl
Source-Version: 5.38.2-4
Done: Niko Tyni <nt...@debian.org>

We believe that the bug you reported is fixed in the latest version of
perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1068...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niko Tyni <nt...@debian.org> (supplier of updated perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 27 Apr 2024 18:32:01 +0300
Source: perl
Architecture: source
Version: 5.38.2-4
Distribution: unstable
Urgency: medium
Maintainer: Niko Tyni <nt...@debian.org>
Changed-By: Niko Tyni <nt...@debian.org>
Closes: 1068934
Changes:
 perl (5.38.2-4) unstable; urgency=medium
 .
   * Import t64 NMUs.
   * Fix autopkgtest regression caused by the NMUs. (Closes: #1068934)
Checksums-Sha1:
 399e7c54f4aa9c5e93291253f0c4e33e5a338a54 2938 perl_5.38.2-4.dsc
 4a47f55ba08e201ef79c2f852a20fc2904300db9 165884 perl_5.38.2-4.debian.tar.xz
 c046241db625048496e46f590434b93c2f1506b8 6288 perl_5.38.2-4_source.buildinfo
Checksums-Sha256:
 7b4c34022cff761f405cede9ab380fa00808eee11bed711f8cbba2a974fe571e 2938 
perl_5.38.2-4.dsc
 74afd09ea72e33ad2655b2aad97f68d55e231289f90f6e7633f85dc8e051435a 165884 
perl_5.38.2-4.debian.tar.xz
 aa68fedc7ebd7ba980cd368fe5dd84a848c47f711e4ac2eb6c928355a48937cf 6288 
perl_5.38.2-4_source.buildinfo
Files:
 16446e196d2e11d516de895b8028f7d9 2938 perl standard perl_5.38.2-4.dsc
 6c34c92d1036c0e36bc5c2d0dc3dad7d 165884 perl standard 
perl_5.38.2-4.debian.tar.xz
 d6305556db45f32ae5837203a46cb66d 6288 perl standard 
perl_5.38.2-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEdqKOQsmBHZHoj7peLsD/s7cwGx8FAmYtHEwRHG50eW5pQGRl
Ymlhbi5vcmcACgkQLsD/s7cwGx+bBQ//XKquX5qPHavPyxVLRoJShOcX1mz3MBL7
b/PLaJCjQxka82LA/RRv4P9HcZJrlHeVaVyqg7uGtG1f0ktpPauL2NMxxTe0n/L/
vXA11QesaPpgL7z1+Zvll+nrdK7zPQD2X9JrUUybac3JeBXciB37Lro/SgXomLl5
W6CGmAlE2OmJVkbf1AoDoCenQOYvKTZzu227jK7JBzswwMjMgsa0OCvpuwzOOp/8
v5L99VlOT5jgiG/tAqnRyoP2ouew+La525x9SAibOQMaG82pOdUcjFNRzyMNqi7Y
bwnss07Bh1CAeyT6Ay/SllriStkuxKZnbmW3P6OPqxTAf9RgGWDMbK916naubDua
as9LFLUtDjjzcsxA8V/YZGqO0rh9w8v4gJoshNkubyp0eq1Eqf2HGtaGBNHN7zCU
JIxD2WbqJU/I6+o6NiSd6QFhzoutBy67kfEVFWjRHobkYVnw8IxAv+M/fc7lHVrv
vk6l2u9cd4A26tfnIxsCJsKt5dGnu2/bItKXuf3s83wxai9I0jg3tDNH2nVk+LaS
YMNb66u6WkNc4054SEQWXPlU8zP1mnzsP4X44kXU3oT2qr+AzsryPxlKs/0z4Kpj
/XwCfWoi3ChYtreARsnlftItPJfPhE99xCVCgX7Rg09OOnnRCHuM5wB0x6JFs6aK
M5vfpc/Rd/U=
=UTzq
-----END PGP SIGNATURE-----

Attachment: pgpt_ENR8pNTv.pgp
Description: PGP signature


--- End Message ---

Reply via email to