Skip Menu |

This queue is for tickets about the File-Remove CPAN distribution.

Report information
The Basics
Id: 52698
Status: resolved
Priority: 0/
Queue: File-Remove

People
Owner: Nobody in particular
Requestors: salvatore.bonaccorso [...] gmail.com
Cc:
AdminCc:

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



Subject: t/99_pmv.t test failure with new Perl::MinimumVersion 1.22
Date: Sat, 12 Dec 2009 10:00:10 +0100
To: bug-File-Remove [...] rt.cpan.org, 560615 [...] bugs.debian.org
From: Salvatore Bonaccorso <salvatore.bonaccorso [...] gmail.com>
Hi First of all, I agree that this is a failure of build when activating author tests. We in Debian Perl Group try to activate any test which is possible to quarantee best quality. During such a rebuild of package for File::Remove it fails to build. There was an update in Perl::MinimumVersion: 1.22 Wed 25 Nov 2009 - Negative length in 'splice' requires perl 5.5 (Alexandr Ciornii) - 'mkdir' with one argument requires perl 5.6 (Alexandr Ciornii) - 'substr' will not be checked if it is a method name (Alexandr Ciornii) - better tests and fix for 3-arg 'open' (Alexandr Ciornii) 1.21 Tue 24 Nov 2009 - Add 'bytes' to 5.6 pragma (Alexandr Ciornii) - Add support for "version numbers" like "v1.1.1" (Alexandr Ciornii) - Reimplement _three_argument_open, more tests (Alexandr Ciornii) Now check for 3-arg open is working. - Check 4-arg substr that requires perl 5.5 (Alexandr Ciornii) - Postfix foreach requires perl 5.004.05 (Alexandr Ciornii) - Scalar::Util::weaken requires perl 5.006 (Alexandr Ciornii) - P::MV itself found imcompatibility in 02_main.t with 5.5 (Alexandr Ciornii) Now File::Remove fails with: Show quoted text
> make[1]: Entering directory `/build/user-libfile-remove-perl_1.42-2-amd64-naaHXS/libfile-remove-perl-1.42' > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t > t/01_compile.t ........ ok > t/02_directories.t .... ok > t/03_deep_readonly.t .. ok > t/04_can_delete.t ..... ok > t/05_links.t .......... ok > t/06_curly.t .......... ok > t/97_meta.t ........... ok > t/98_pod.t ............ ok > > # Failed test 't/06_curly.t' > # at /usr/share/perl5/Test/MinimumVersion.pm line 150. > # t/06_curly.t requires 5.006 due to syntax > # version markers for 5.006: > # - _mkdir_1_arg > > # Failed test 't/03_deep_readonly.t' > # at /usr/share/perl5/Test/MinimumVersion.pm line 150. > # t/03_deep_readonly.t requires 5.006 due to syntax > # version markers for 5.006: > # - _mkdir_1_arg > > # Failed test 't/04_can_delete.t' > # at /usr/share/perl5/Test/MinimumVersion.pm line 150. > # t/04_can_delete.t requires 5.006 due to syntax > # version markers for 5.006: > # - _mkdir_1_arg > > # Failed test 't/02_directories.t' > # at /usr/share/perl5/Test/MinimumVersion.pm line 150. > # t/02_directories.t requires 5.006 due to syntax > # version markers for 5.006: > # - _mkdir_1_arg > # Looks like you failed 4 tests of 11. > Failed 1/9 test programs. 4/206 subtests failed. > t/99_pmv.t ............ > Dubious, test returned 4 (wstat 1024, 0x400) > Failed 4/11 subtests > > Test Summary Report > ------------------- > t/99_pmv.t (Wstat: 1024 Tests: 11 Failed: 4) > Failed tests: 3-4, 9-10 > Non-zero exit status: 4 > Files=9, Tests=206, 2 wallclock secs ( 0.04 usr 0.02 sys + 1.69 cusr 0.07 csys = 1.82 CPU) > Result: FAIL > make[1]: *** [test_dynamic] Error 4
The full Bugreport is located at http://bugs.debian.org/560615 The problem is that in the tests there are used syntax not matching the required version in META.yml. Many thanks for considering looking into it, Bests Salvatore
Download signature.asc
application/pgp-signature 835b

Message body not shown because it is not plain text.

From: paul [...] city-fan.org
For the record, this one-byte change is sufficient to resolve the problem: --- File-Remove-1.42/META.yml 2008-07-10 08:11:55.000000000 0100 +++ File-Remove-1.42/META.yml 2010-02-21 12:01:26.105419748 +0000 @@ -21,7 +21,7 @@ File::Glob: 0 File::Path: 0 File::Spec: 0.80 - perl: 5.005 + perl: 5.006 resources: license: http://dev.perl.org/licenses/ version: 1.42
Hi On Tue Feb 23 10:31:25 2010, paul@city-fan.org wrote: Show quoted text
> For the record, this one-byte change is sufficient to resolve the problem: > > --- File-Remove-1.42/META.yml 2008-07-10 08:11:55.000000000 0100 > +++ File-Remove-1.42/META.yml 2010-02-21 12:01:26.105419748 +0000 > @@ -21,7 +21,7 @@ > File::Glob: 0 > File::Path: 0 > File::Spec: 0.80 > - perl: 5.005 > + perl: 5.006 > resources: > license: http://dev.perl.org/licenses/ > version: 1.42
This indeed whas the 'fix' we applied in Debian, see http://bugs.debian.org/560615 and http://patch-tracker.debian.org/patch/series/view/libfile-remove-perl/1.42-3/fix_META.yml_min_required_perl_version.patch Bests Salvatore
Same test fails for me too when building with cpanm.
Resolved in the latest dev release