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

Bug#780942: unblock: libforks-perl/0.36-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please consider unblocking package libforks-perl. It fixes #780351, a
regression caused by Perl 5.20.2 which makes it warn every time it's used.

unblock libforks-perl/0.36-2

Changes:
 libforks-perl (0.36-2) unstable; urgency=medium
 .
   [ Salvatore Bonaccorso ]
   * Update Vcs-Browser URL to cgit web frontend
 .
   [ Niko Tyni ]
   * Silence numerical comparison warnings triggered by Perl 5.20.2. (Closes: 780351)
   * Add Testsuite information

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru libforks-perl-0.36/debian/changelog libforks-perl-0.36/debian/changelog
--- libforks-perl-0.36/debian/changelog	2014-06-27 08:19:05.000000000 +0300
+++ libforks-perl-0.36/debian/changelog	2015-03-21 21:01:27.000000000 +0200
@@ -1,3 +1,14 @@
+libforks-perl (0.36-2) unstable; urgency=medium
+
+  [ Salvatore Bonaccorso ]
+  * Update Vcs-Browser URL to cgit web frontend
+
+  [ Niko Tyni ]
+  * Silence numerical comparison warnings triggered by Perl 5.20.2. (Closes: 780351)
+  * Add Testsuite information
+
+ -- Niko Tyni <ntyni@debian.org>  Sat, 21 Mar 2015 21:01:22 +0200
+
 libforks-perl (0.36-1) unstable; urgency=medium
 
   * Imported Upstream version 0.36
diff -Nru libforks-perl-0.36/debian/control libforks-perl-0.36/debian/control
--- libforks-perl-0.36/debian/control	2014-06-27 08:19:05.000000000 +0300
+++ libforks-perl-0.36/debian/control	2015-03-21 20:58:39.000000000 +0200
@@ -10,8 +10,9 @@
                liblist-moreutils-perl,
                libsys-sigaction-perl,
                perl
+Testsuite: autopkgtest-pkg-perl
 Standards-Version: 3.9.5
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libforks-perl.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libforks-perl.git
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libforks-perl.git
 Homepage: https://metacpan.org/release/forks
 
diff -Nru libforks-perl-0.36/debian/patches/series libforks-perl-0.36/debian/patches/series
--- libforks-perl-0.36/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ libforks-perl-0.36/debian/patches/series	2015-03-21 19:29:03.000000000 +0200
@@ -0,0 +1 @@
+storable-version-check
diff -Nru libforks-perl-0.36/debian/patches/storable-version-check libforks-perl-0.36/debian/patches/storable-version-check
--- libforks-perl-0.36/debian/patches/storable-version-check	1970-01-01 02:00:00.000000000 +0200
+++ libforks-perl-0.36/debian/patches/storable-version-check	2015-03-21 19:36:56.000000000 +0200
@@ -0,0 +1,25 @@
+Subject: silence Storable version check warnings
+Author: Niko Tyni <ntyni@debian.org>
+
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=102730
+Bug-Debian: https://bugs.debian.org/780351
+
+Perl 5.20.2 includes Storable with $VERSION = '2.49_01'
+which generates warnings when compared as a number.
+
+Fix suggested by Karen Etheridge <ether@cpan.org>.
+
+--- libforks-perl.orig/lib/forks.pm
++++ libforks-perl/lib/forks.pm
+@@ -1567,8 +1567,9 @@
+     
+ # Localize Storable variables to allow CODE refs, if using Storable >= 2.05
+ 
+-    local $Storable::Deparse = 1 if $Storable::VERSION >= 2.05;
+-    local $Storable::Eval = 1 if $Storable::VERSION >= 2.05;
++    my $newStorable = eval { Storable->VERSION('2.05') };
++    local $Storable::Deparse = 1 if $newStorable;
++    local $Storable::Eval = 1 if $newStorable;
+ 
+ # Initialize the number of polls
+ # While we're running in the main dispatch loop

Reply to: