Subject: | Unexpected warnings on Cookie::Baker/WWW::Form::UrlEncoded version mismatches |
The test suite fails if either Cookie::Baker or WWW::Form::UrlEncoded reports mismatches between XS and PP version:
...
# Failed test 'no warnings'
# at /usr/perl5.16.3t/lib/site_perl/5.16.3/Test/Builder.pm line 147.
# There were 1 warning(s)
# Previous test 0 ''
# Cookie::Baker::XS 0.10 is require. fallback to PP version at /usr/perl5.16.3t/lib/site_perl/5.16.3/Cookie/Baker.pm line 17.
# at /usr/perl5.16.3t/lib/site_perl/5.16.3/Cookie/Baker.pm line 17.
...
# Looks like you failed 1 test of 3.
t/Plack-App-Directory-PYX/01-use.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
...
or
...
# Failed test 'no warnings'
# at /usr/perl5.18.4p/lib/site_perl/5.18.4/Test/Builder.pm line 147.
# There were 1 warning(s)
# Previous test 0 ''
# WWW::Form::UrlEncoded::XS 0.26 is require. fallback to PP version at /usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd/WWW/Form/UrlEncoded.pm line 17.
# at /usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd/WWW/Form/UrlEncoded.pm line 17.
...
# Looks like you failed 1 test of 3.
t/Plack-App-Directory-PYX/01-use.t ......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
...
Usually this problem goes away by upgrading the problematic modules so that XS and PP version match. However, fail reports are sent and maybe it would be nice to avoid this. I am not sure how to proceed here. The nowarnings test could be changed to ignore this problem. Or the Makefile.PL could detect that there's a mismatch and increase prereq versions of the problematic modules.