Skip Menu |

This queue is for tickets about the pip CPAN distribution.

Report information
The Basics
Id: 52700
Status: resolved
Priority: 0/
Queue: pip

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
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 pip 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 Cio= rnii) - 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 (Alexand= r Ciornii) Now pip fails with: Show quoted text
> make[2]: Entering directory `/build/user-pip_0.13-1-amd64-kZOP5n/pip-0.13' > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01_compile.t t/9*.t Show quoted text
> t/01_compile.t .. ok > t/98_pod.t ...... ok > > # Failed test 'lib/Module/Plan/Base.pm' > # at /usr/share/perl5/Test/MinimumVersion.pm line 150. > # lib/Module/Plan/Base.pm requires 5.006 due to syntax > # version markers for 5.006: > # - _three_argument_open > # Looks like you failed 1 test of 12. > Failed 1/3 test programs. 1/26 subtests failed. > t/99_pmv.t ...... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/12 subtests > > Test Summary Report > ------------------- > t/99_pmv.t (Wstat: 256 Tests: 12 Failed: 1) > Failed test: 5 > Non-zero exit status: 1 > Files=3, Tests=26, 2 wallclock secs ( 0.01 usr 0.02 sys + 2.24 cusr
0.13 csys = 2.40 CPU) Show quoted text
> Result: FAIL > make[2]: *** [test_dynamic] Error 1
The full Bugreport is located at http://bugs.debian.org/560616 The problem is that in the tests there are used syntax not matching the required version in META.yml. (Furthermore then lib/Module/Plan/Base.pm has use 5.005.) Many thanks for considering looking into it, Bests Salvatore
NOTABUG I'll do an incremental release anyway, just to keep them happy.