Bug#560615: t/99_pmv.t test failure with new Perl::MinimumVersion 1.22

Salvatore Bonaccorso salvatore.bonaccorso at gmail.com
Sat Dec 12 09:00:10 UTC 2009


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:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20091212/8e53cd49/attachment.pgp>


More information about the pkg-perl-maintainers mailing list