Skip Menu |

This queue is for tickets about the rpm-build-perl CPAN distribution.

Report information
The Basics
Id: 77778
Status: new
Priority: 0/
Queue: rpm-build-perl

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.80
Fixed in: (no value)



Subject: Tests does not pass with perl 5.16.0
Due to changes in modules bundled with perl 5.16.0, following two test do not pass: t/01-B-PerlReq.t .. ok # Failed test 'IO/File.pm dependencies' # at t/02-perlreq.t line 32. # got: 'perl(IO/Seekable.pm) perl(SelectSaver.pm) perl(Symbol.pm)' # expected: 'perl(File/Spec.pm) perl(IO/Seekable.pm) perl(SelectSaver.pm) perl(Symbol.pm)' # Looks like you failed 1 test of 6. t/02-perlreq.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests # Failed test 'Socket.pm dependencies' # at t/03-perlprov.t line 32. # 'perl(Socket.pm) = 2.001' # doesn't match '(?^:^perl\(Socket\.pm\)\ \=\ 1\.(\d|$))' # Looks like you failed 1 test of 30. t/03-perlprov.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/30 subtests Test Summary Report ------------------- t/02-perlreq.t (Wstat: 256 Tests: 6 Failed: 1) Failed test: 5 Non-zero exit status: 1 t/03-perlprov.t (Wstat: 256 Tests: 30 Failed: 1) Failed test: 27 Non-zero exit status: 1
From: ppisar [...] redhat.com
Dne Út 12.čen.2012 09:46:13, ppisar napsal(a): Show quoted text
> Due to changes in modules bundled with perl 5.16.0, following two test > do not pass: >
Attach patch fixes it. However the IO::File uses Carp and other modules which are not found by this library.
Subject: 0001-Adapt-to-perl-5.16.0.patch
From 25abe615df4801a174ea74a6ea82ab70be62370f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Tue, 12 Jun 2012 15:54:32 +0200 Subject: [PATCH] Adapt to perl 5.16.0 --- t/02-perlreq.t | 2 +- t/03-perlprov.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/02-perlreq.t b/t/02-perlreq.t index 2705eae..e197dbd 100644 --- a/t/02-perlreq.t +++ b/t/02-perlreq.t @@ -36,5 +36,5 @@ sub Requires ($$) { # Valid for perl-5.8.0 - perl-5.14.2. Requires "AutoLoader.pm" => ""; Requires "Exporter.pm" => "perl(Exporter/Heavy.pm)"; -Requires "IO/File.pm" => "perl(File/Spec.pm) perl(IO/Seekable.pm) perl(SelectSaver.pm) perl(Symbol.pm)"; +Requires "IO/File.pm" => "perl(IO/Seekable.pm) perl(SelectSaver.pm) perl(Symbol.pm)"; diff --git a/t/03-perlprov.t b/t/03-perlprov.t index 2acbac5..154f0ca 100644 --- a/t/03-perlprov.t +++ b/t/03-perlprov.t @@ -49,6 +49,6 @@ Provides "Cwd.pm" => "perl(Cwd.pm) = "; Provides "Data/Dumper.pm" => "perl(Data/Dumper.pm) = 2."; Provides "IO/File.pm" => "perl(IO/File.pm) = 1."; Provides "File/Glob.pm" => "perl(File/Glob.pm) = "; -Provides "Socket.pm" => "perl(Socket.pm) = 1."; +Provides "Socket.pm" => "perl(Socket.pm) = 2."; Provides "POSIX.pm" => "perl(POSIX.pm) = 1."; -- 1.7.7.6