[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#949899: marked as done (buster-pu: package libperl4-corelibs-perl/0.004-1+deb10u1)



Your message dated Sat, 08 Feb 2020 14:21:36 +0000
with message-id <cf1cb2f35981916a86b98b83609df15c95aa378b.camel@adam-barratt.org.uk>
and subject line Closing requests included in 10.3 point release
has caused the Debian Bug report #949899,
regarding buster-pu: package libperl4-corelibs-perl/0.004-1+deb10u1
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 owner@bugs.debian.org
immediately.)


-- 
949899: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949899
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu

  * Add t/timelocal.t fix for Y2K20 problem in t/timelocal.t.
    (Closes: #948666)
diff -Nru libperl4-corelibs-perl-0.004/debian/changelog libperl4-corelibs-perl-0.004/debian/changelog
--- libperl4-corelibs-perl-0.004/debian/changelog	2017-11-15 23:34:10.000000000 +0200
+++ libperl4-corelibs-perl-0.004/debian/changelog	2020-01-26 22:31:16.000000000 +0200
@@ -1,3 +1,11 @@
+libperl4-corelibs-perl (0.004-1+deb10u1) buster; urgency=medium
+
+  * Non-maintainer upload.
+  * Add t/timelocal.t fix for Y2K20 problem in t/timelocal.t.
+    (Closes: #948666)
+
+ -- Adrian Bunk <bunk@debian.org>  Sun, 26 Jan 2020 22:31:16 +0200
+
 libperl4-corelibs-perl (0.004-1) unstable; urgency=medium
 
   * Team upload
diff -Nru libperl4-corelibs-perl-0.004/debian/patches/series libperl4-corelibs-perl-0.004/debian/patches/series
--- libperl4-corelibs-perl-0.004/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ libperl4-corelibs-perl-0.004/debian/patches/series	2020-01-26 22:31:14.000000000 +0200
@@ -0,0 +1 @@
+y2k20.patch
diff -Nru libperl4-corelibs-perl-0.004/debian/patches/y2k20.patch libperl4-corelibs-perl-0.004/debian/patches/y2k20.patch
--- libperl4-corelibs-perl-0.004/debian/patches/y2k20.patch	1970-01-01 02:00:00.000000000 +0200
+++ libperl4-corelibs-perl-0.004/debian/patches/y2k20.patch	2020-01-26 22:31:14.000000000 +0200
@@ -0,0 +1,38 @@
+Description: turn the y2k20 into a y2k40 problem, or fix test failures starting in 2020
+ t/timelocal.t fails with
+	not ok 31 - timelocal year for 1970 1 2 0 0 0
+	#   Failed test 'timelocal year for 1970 1 2 0 0 0'
+	#   at t/timelocal.t line 36.
+	#          got: '170'
+	#     expected: '70'
+	not ok 37 - timegm year for 1970 1 2 0 0 0
+	#   Failed test 'timegm year for 1970 1 2 0 0 0'
+	#   at t/timelocal.t line 49.
+	#          got: '170'
+	#     expected: '70'
+Origin: vendor
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2020-01-03
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=131341
+Bug: https://rt.cpan.org/Ticket/Display.html?id=131341
+
+--- a/t/timelocal.t
++++ b/t/timelocal.t
+@@ -25,7 +25,7 @@
+ 
+ 	# Test timelocal()
+ 	{
+-		my $year_in = $year < 70 ? $year + 1900 : $year;
++		my $year_in = $year < 90 ? $year + 1900 : $year;
+ 		my $time = &timelocal($sec,$min,$hour,$mday,$mon,$year_in);
+ 		my($s,$m,$h,$D,$M,$Y) = localtime($time);
+ 		is $s, $sec, "timelocal second for @$_";
+@@ -38,7 +38,7 @@
+ 
+ 	# Test timegm()
+ 	{
+-		my $year_in = $year < 70 ? $year + 1900 : $year;
++		my $year_in = $year < 90 ? $year + 1900 : $year;
+ 		my $time = &timegm($sec,$min,$hour,$mday,$mon,$year_in);
+ 		my($s,$m,$h,$D,$M,$Y) = gmtime($time);
+ 		is $s, $sec, "timegm second for @$_";

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 10.3

Hi,

Each of the uploads referred to by these bugs was included in today's
stable point release.

Regards,

Adam

--- End Message ---

Reply to: