Your message dated Sun, 11 Dec 2022 16:50:06 +0000
with message-id <e1p4pwg-009ob3...@fasolo.debian.org>
and subject line Bug#1025882: fixed in libdatetime-perl 2:1.59-1
has caused the Debian Bug report #1025882,
regarding libdatetime-perl ftbfs with new libdatetime-locale-perl
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.)


-- 
1025882: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025882
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libdatetime-perl
Version: 2:1.57-2
Severity: serious
Tags: patch
Justification: ftbfs
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lunar ubuntu-patch

Dear maintainers,

libdatetime-perl currently FTBFS in unstable because a of a test failure
introduced by a new libdatetime-locale-perl:

[...]
    #   Failed test '%c is Sep 7, 1999, 1:02:42 PM'
    #   at t/13strftime.t line 311.
    #          got: 'Sep 7, 1999, 1:02:42<E2><80><AF>PM'
    #     expected: 'Sep 7, 1999, 1:02:42 PM'

    #   Failed test '%X is 1:02:42 PM'
    #   at t/13strftime.t line 311.
    #          got: '1:02:42<E2><80><AF>PM'
    #     expected: '1:02:42 PM'
    # Looks like you failed 2 tests of 49.
[...]

This also shows up as an autopkgtest failure at
<https://ci.debian.net/packages/libd/libdatetime-perl/testing/amd64/>.

I do no know why these format strings are now using a unicode non-breaking
space instead of a space as they were before, but it's simple enough to
update the test suite to match the current output.  Please see attached.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru libdatetime-perl-1.57/debian/patches/series 
libdatetime-perl-1.57/debian/patches/series
--- libdatetime-perl-1.57/debian/patches/series 1969-12-31 16:00:00.000000000 
-0800
+++ libdatetime-perl-1.57/debian/patches/series 2022-12-11 00:31:48.000000000 
-0800
@@ -0,0 +1 @@
+strftime-output-change.patch
diff -Nru libdatetime-perl-1.57/debian/patches/strftime-output-change.patch 
libdatetime-perl-1.57/debian/patches/strftime-output-change.patch
--- libdatetime-perl-1.57/debian/patches/strftime-output-change.patch   
1969-12-31 16:00:00.000000000 -0800
+++ libdatetime-perl-1.57/debian/patches/strftime-output-change.patch   
2022-12-11 00:34:03.000000000 -0800
@@ -0,0 +1,31 @@
+Description: update test suite for changed strftime output
+ With libdatetime-locale-perl 1.37, en_US locale strings are now using a
+ unicode narrow no-break space instead of a regular space before the AM/PM
+ marker (?!).  Update the test suite to match since this change affects
+ nothing wrt the correctness of this module.
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Last-Update: 2022-12-11
+Forwarded: no
+
+Index: libdatetime-perl-1.57/t/13strftime.t
+===================================================================
+--- libdatetime-perl-1.57.orig/t/13strftime.t
++++ libdatetime-perl-1.57/t/13strftime.t
+@@ -322,7 +322,7 @@
+     my $c_format = $en_locale->datetime_format;
+     $c_format
+         =~ s/\{1\}/$en_locale->month_format_abbreviated->[8] . ' 7, 1999'/e;
+-    $c_format =~ s/\{0\}/'1:02:42 ' . $en_locale->am_pm_abbreviated->[1]/e;
++    $c_format =~ s/\{0\}/'1:02:42 ' . $en_locale->am_pm_abbreviated->[1]/e;
+ 
+     return {
+         '%%'        => '%',
+@@ -366,7 +366,7 @@
+         '%w'        => '2',
+         '%W'        => '36',
+         '%x'        => $en_locale->month_format_abbreviated->[8] . ' 7, 1999',
+-        '%X'        => '1:02:42 ' . $en_locale->am_pm_abbreviated->[1],
++        '%X'        => '1:02:42 ' . $en_locale->am_pm_abbreviated->[1],
+         '%y'        => '99',
+         '%Y'        => '1999',
+         '%z'        => '+0000',

--- End Message ---
--- Begin Message ---
Source: libdatetime-perl
Source-Version: 2:1.59-1
Done: gregor herrmann <gre...@debian.org>

We believe that the bug you reported is fixed in the latest version of
libdatetime-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 1025...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated libdatetime-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: Sun, 11 Dec 2022 17:24:35 +0100
Source: libdatetime-perl
Architecture: source
Version: 2:1.59-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Closes: 1025882
Changes:
 libdatetime-perl (2:1.59-1) unstable; urgency=medium
 .
   * Import upstream version 1.59.
     Fixes "libdatetime-perl ftbfs with new libdatetime-locale-perl"
     (Closes: #1025882)
   * Declare compliance with Debian Policy 4.6.1.
   * Update years of packaging copyright.
Checksums-Sha1:
 9dd04d5c37c904275cdb32637749b0b902c7d8fd 2949 libdatetime-perl_1.59-1.dsc
 f0218fa830df35f0d59479c98b7ae5f23a1a439c 324023 
libdatetime-perl_1.59.orig.tar.gz
 867c4815b1965f98fefc989207894432599ec948 10196 
libdatetime-perl_1.59-1.debian.tar.xz
Checksums-Sha256:
 63678193a2fd2475a9f2c95664111e239e25a5d3106c7f13a63e9b62283b5598 2949 
libdatetime-perl_1.59-1.dsc
 de3e9a63ce15470b4db4adad4ba6ac8ec297d88c0c6c6b354b081883b0a67695 324023 
libdatetime-perl_1.59.orig.tar.gz
 68f63f52619bdc0adad7345c733bd6a15f9175e9d5aa9f1a0081e59f99a73158 10196 
libdatetime-perl_1.59-1.debian.tar.xz
Files:
 7d02032aa29db51cd822e719267de005 2949 perl optional libdatetime-perl_1.59-1.dsc
 d6d73ba9ff03e00c83610a995fadc481 324023 perl optional 
libdatetime-perl_1.59.orig.tar.gz
 a04727db5deb93de6ce5c25deab0099f 10196 perl optional 
libdatetime-perl_1.59-1.debian.tar.xz

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

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmOWBXBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgY4IA/+JdVEC9sqZd2EfhBC6kW9YrkVZNNtvp3bAD5xSPB1H43O365HgmzelUwU
Xyj8nCBluFowGo2gzZEwQm+kh2M2NJxBZLePwMwNpooEPEOJzI0gzei5ajGtnrO7
Imt15ZpgBVZl31BTxbB34RHqRlQ5yp7dEikMh2NJkEsSEQLJklqwehmmdMk3xUJt
rBxmGFX/V+uzlnaNwQHpOyz1HxdArlKfmgHK3S9iBO0PqUeK9uoh81P48ujLgtAj
NXuKuOHSoxIjAdkanZEMUzTjbNryAytq7QVtZiN20EME/5kY/GxoQ3Vvs45iFBW/
I+JwTh3KpZC45r3KX5KXUmbI/0eFiha4uIzNT5a9Od6/fXpK4eNBuLX4ci1I9v99
TX2HX5AGf+xquEg62pAu6q4SSXC6BCEh2JjmLiPkh22VxU+3dy0n7tGll6JNN/eg
IyC4HjueGC2PY2qdKHwer7mcGopL4hNF6Npz3FX3rxa+/kPSRG2lFB18KGujiU34
aVHGqWU99a4N0f/Org1RENZDCZzVmVx1c2gW8+8vbcDjFhiyz2cnCj7MqlnHvrH+
yahB6NAgjiKuNbRXa9lnPhpPGi2vChdafScxXPj1q12Qnq/912f7TLODLUOkBwr7
vqjVuxmG1jwyRs8+BH/+yGfh4cdvKtvEZKrkUpTiNOqK3LiFGXM=
=ffCQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to