Skip Menu |

This queue is for tickets about the HTML-HTML5-Sanity CPAN distribution.

Report information
The Basics
Id: 84169
Status: resolved
Priority: 0/
Queue: HTML-HTML5-Sanity

People
Owner: perl [...] toby.ink
Requestors: d.thomas [...] its.uq.edu.au
Cc:
AdminCc:

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



Subject: problems with build/test
perl 5.16.3, RHEL5 I'm not saying the 2 one-line changes I made are the right way to go, but now HTML-HTML5-Sanity-0.103 successfully builds and passes tests. see attachment
Subject: HTML-HTML5-Sanity-0.103-problems.txt
Building the Makefile somehow failed to find the installed Object::AUTHORITY [part of Role-Commons-0.101] root@kolanut# /opt/perl/uq.cis.perl-base2.rhel5-5.16.3-20130323/bin/perl Makefile.PL *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... [Core Features] - Test::More ...loaded. (0.98 >= 0.61) - ExtUtils::MakeMaker ...loaded. (6.64 >= 6.42) - XML::LibXML::Debugging ...loaded. (0.102) - Object::AUTHORITY ...missing. - XML::LibXML ...loaded. (2.0012 >= 1.70) - Locale::Country ...loaded. (3.25) ==> Auto-install the 1 mandatory module(s) from CPAN? [y] ================================================================== Object::AUTHORITY found after a change to Makefile.PL --- Makefile.PL.orig 2011-11-24 19:18:54.000000000 +1000 +++ Makefile.PL 2013-03-24 04:11:22.000000000 +1000 @@ -1 +1 @@ -use inc::Module::Package 'RDF:standard'; +use inc::Module::Package 'RDF::standard'; to match inc/Module/Package/Dist/RDF.pm package Module::Package::Dist::RDF::standard; ================================================================== root@kolanut# /opt/perl/uq.cis.perl-base2.rhel5-5.16.3-20130323/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for HTML::HTML5::Sanity Writing MYMETA.yml and MYMETA.json root@kolanut# make cp lib/HTML/HTML5/Sanity.pm blib/lib/HTML/HTML5/Sanity.pm Manifying blib/man3/HTML::HTML5::Sanity.3 root@kolanut# make test PERL_DL_NONLAZY=1 /opt/perl/uq.cis.perl-base2.rhel5-5.16.3-20130323/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/01basics.t ..... Subroutine openhandle redefined at /data/opt/work/uq.cis.perl.build/uq.cis.perl.build-5.16.3-rhel5.20130323/tarball-build/HTML-HTML5-Sanity-0.103/inc/Scalar/Util.pm line 48. t/01basics.t ..... 1/3 # Failed test 'use HTML::HTML5::Sanity;' # at t/01basics.t line 2. # Tried to use 'HTML::HTML5::Sanity'. # Error: Scalar::Util version 1.24 required--this is only version 1.21 at /opt/perl/uq.cis.perl-base2.rhel5-5.16.3-20130323/lib/site_perl/5.16.3/Scalar/Does.pm line 56. ================================================================== After changing $VERSION in inc/Scalar/Util.pm root@kolanut# diff -u inc/Scalar/Util.pm.orig inc/Scalar/Util.pm --- inc/Scalar/Util.pm.orig 2011-12-09 06:57:41.000000000 +1000 +++ inc/Scalar/Util.pm 2013-03-24 04:23:23.000000000 +1000 @@ -14,7 +14,7 @@ @ISA = qw(Exporter); @EXPORT_OK = qw(blessed dualvar reftype weaken isweak tainted readonly openhandle refaddr isvstring looks_like_number set_prototype); -$VERSION = "1.21"; +$VERSION = "1.24"; $VERSION = eval $VERSION; unless (defined &dualvar) { ================================================================== root@kolanut# make test PERL_DL_NONLAZY=1 /opt/perl/uq.cis.perl-base2.rhel5-5.16.3-20130323/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/01basics.t ..... Subroutine openhandle redefined at /data/opt/work/uq.cis.perl.build/uq.cis.perl.build-5.16.3-rhel5.20130323/tarball-build/HTML-HTML5-Sanity-0.103/inc/Scalar/Util.pm line 48. t/01basics.t ..... ok t/02languages.t .. Subroutine openhandle redefined at /data/opt/work/uq.cis.perl.build/uq.cis.perl.build-5.16.3-rhel5.20130323/tarball-build/HTML-HTML5-Sanity-0.103/inc/Scalar/Util.pm line 48. t/02languages.t .. ok All tests successful. Files=2, Tests=13, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.29 cusr 0.03 csys = 0.36 CPU) Result: PASS
This appears to be the same bug as: https://rt.cpan.org/Ticket/Display.html?id=84038 ... caused by me bundling an ancient version of Scalar::Util. I'll try to release a new version of HTML-HTML5-Sanity in the next few days.
Resolved in 0.104