Skip Menu |

This queue is for tickets about the Data-Serializer CPAN distribution.

Report information
The Basics
Id: 68871
Status: resolved
Priority: 0/
Queue: Data-Serializer

People
Owner: neil [...] neely.cx
Requestors: rmb32 [...] cornell.edu
Cc:
AdminCc:

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



Subject: multiple installation test failures
rob@nightshade Data-Serializer-0.58$ perl Makefile.PL # running Build.PL Checking prerequisites... recommends: * Bencode is not installed * Convert::Bencode is not installed * Convert::Bencode_XS is not installed * Crypt::Blowfish is not installed * Data::Denter is not installed * Data::Taxi is not installed * PHP::Serialization is not installed * XML::Dumper is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Run 'Build installdeps' to install missing prerequisites. Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Data-Serializer' version '0.58' rob@nightshade Data-Serializer-0.58$ make test /usr/bin/perl Build --makefile_env_macros 1 test t/00-01-Signature.t ........... skipped: (no reason given) t/00-02-Kwalitee.t ............ skipped: Test::Kwalitee not installed; skipping t/01-01-Data-Dumper.t ......... ok t/01-02-Data-Denter.t ......... skipped: Data::Denter not installed t/01-03-Storable.t ............ ok t/01-04-FreezeThaw.t .......... ok t/01-05-Config-General.t ...... ok t/01-06-YAML.t ................ ok t/01-07-XML-Dumper.t .......... skipped: XML::Dumper not installed t/01-08-PHP-Serialization.t ... skipped: PHP::Serialization not installed t/01-09-XML-Simple.t .......... Wide character in print at t/ExtUtils/TBone.pm line 442. t/01-09-XML-Simple.t .......... Failed 2/11 subtests t/01-10-Data-Taxi.t ........... skipped: Data::Taxi not installed t/01-11-YAML-Syck.t ........... ok t/01-12-JSON.t ................ ok t/01-13-JSON-Syck.t ........... ok t/01-14-Bencode.t ............. skipped: Bencode not installed t/01-15-Convert-Bencode.t ..... skipped: Convert::Bencode not installed t/01-16-Convert-Bencode_XS.t .. skipped: Convert::Bencode_XS not installed t/02-01-Orig-Raw.t ............ Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. t/02-01-Orig-Raw.t ............ Failed 4/232 subtests t/02-02-Fast-Raw.t ............ Wide character in print at t/ExtUtils/TBone.pm line 442. t/02-02-Fast-Raw.t ............ Failed 2/116 subtests t/03-Non-Portable.t ........... Wide character in print at t/ExtUtils/TBone.pm line 442. t/03-Non-Portable.t ........... Failed 2/116 subtests t/04-01-Compress-Zlib.t ....... Wide character in print at t/ExtUtils/TBone.pm line 442. t/04-01-Compress-Zlib.t ....... Failed 2/116 subtests t/04-02-Compress-PPMd.t ....... Wide character in print at t/ExtUtils/TBone.pm line 442. t/04-02-Compress-PPMd.t ....... Failed 2/116 subtests t/05-Encryption.t ............. skipped: encryption not installed t/06-B64-Encoding.t ........... Wide character in print at t/ExtUtils/TBone.pm line 442. t/06-B64-Encoding.t ........... Failed 2/116 subtests t/07-01-MD5-Digest.t .......... skipped: md5 not installed t/07-02-SHA1-Digest.t ......... skipped: sha1 not installed t/07-03-SHA-256-Digest.t ...... skipped: sha-256 not installed t/08-Store-Retrieve.t ......... Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. t/08-Store-Retrieve.t ......... Failed 8/464 subtests t/09-Feature-Combos.t ......... Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. t/09-Feature-Combos.t ......... Failed 8/464 subtests t/10-01-Pod.t ................. ok t/10-02-Pod-Coverage.t ........ ok Test Summary Report ------------------- t/01-09-XML-Simple.t (Wstat: 0 Tests: 11 Failed: 2) Failed tests: 10-11 t/02-01-Orig-Raw.t (Wstat: 0 Tests: 232 Failed: 4) Failed tests: 115-118 t/02-02-Fast-Raw.t (Wstat: 0 Tests: 116 Failed: 2) Failed tests: 58-59 t/03-Non-Portable.t (Wstat: 0 Tests: 116 Failed: 2) Failed tests: 58-59 t/04-01-Compress-Zlib.t (Wstat: 0 Tests: 116 Failed: 2) Failed tests: 58-59 t/04-02-Compress-PPMd.t (Wstat: 0 Tests: 116 Failed: 2) Failed tests: 58-59 t/06-B64-Encoding.t (Wstat: 0 Tests: 116 Failed: 2) Failed tests: 58-59 t/08-Store-Retrieve.t (Wstat: 0 Tests: 464 Failed: 8) Failed tests: 229-236 t/09-Feature-Combos.t (Wstat: 0 Tests: 464 Failed: 8) Failed tests: 229-236 Files=32, Tests=1903, 4 wallclock secs ( 0.23 usr 0.03 sys + 3.01 cusr 0.40 csys = 3.67 CPU) Result: FAIL Failed 9/32 test programs. 32/1903 subtests failed. make: *** [test] Error 255
Ubuntu 10.10, system perl. rob@nightshade Data-Serializer-0.58$ perl -v This is perl, v5.10.1 (*) built for i686-linux-gnu-thread-multi (with 40 registered patches, see perl -V for more detail) Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.
Here's the cpanm building output, which shows more about the versions of things that are installed: rob@nightshade Data-Serializer-0.58$ cpanm -v . cpanm (App::cpanminus) 1.4006 on perl 5.010001 built for i686-linux-gnu- thread-multi Work directory is /home/rob/.cpanm/work/1308241496.14510 You have make /usr/bin/make You have LWP 5.837 You have /bin/tar: tar (GNU tar) 1.23 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.55_02) Checking if you have ExtUtils::Install 1.46 ... Yes (1.54) Checking if you have Module::Build 0.36 ... Yes (0.3800) --> Working on . Entering /home/rob/.cpanm/work/1308241098.14274/Data-Serializer-0.58 Checking configure dependencies from META.yml Checking if you have Module::Build 0.36 ... Yes (0.3800) Configuring Data-Serializer-0.58 ... Running Build.PL Checking prerequisites... recommends: * Bencode is not installed * Convert::Bencode is not installed * Convert::Bencode_XS is not installed * Crypt::Blowfish is not installed * Data::Denter is not installed * Data::Taxi is not installed * PHP::Serialization is not installed * XML::Dumper is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Data-Serializer' version '0.58' OK Checking dependencies from MYMETA.yml ... Finding PREREQ from Makefile ... Checking if you have IO::File 0 ... Yes (1.14) Checking if you have Digest::SHA 0 ... Yes (5.47) Checking if you have Data::Dumper 2.08 ... Yes (2.124) Checking if you have Exporter 0 ... Yes (5.63) Checking if you have AutoLoader 0 ... Yes (5.68) Checking if you have Test::More 0 ... Yes (0.98) Checking if you have IO::File 0 ... Yes (1.14) Checking if you have File::Spec 0 ... Yes (3.30) Checking if you have Test::More 0 ... Yes (0.98) Checking if you have IO::File 0 ... Yes (1.14) Checking if you have File::Spec 0 ... Yes (3.30) Checking if you have Digest::SHA 0 ... Yes (5.47) Checking if you have Data::Dumper 2.08 ... Yes (2.124) Checking if you have Exporter 0 ... Yes (5.63) Checking if you have AutoLoader 0 ... Yes (5.68) Building and testing Data-Serializer-0.58 ... Building Data-Serializer t/00-01-Signature.t ........... skipped: (no reason given) t/00-02-Kwalitee.t ............ skipped: Test::Kwalitee not installed; skipping t/01-01-Data-Dumper.t ......... ok t/01-02-Data-Denter.t ......... skipped: Data::Denter not installed t/01-03-Storable.t ............ ok t/01-04-FreezeThaw.t .......... ok t/01-05-Config-General.t ...... ok t/01-06-YAML.t ................ ok t/01-07-XML-Dumper.t .......... skipped: XML::Dumper not installed t/01-08-PHP-Serialization.t ... skipped: PHP::Serialization not installed t/01-09-XML-Simple.t .......... Wide character in print at t/ExtUtils/TBone.pm line 442. t/01-09-XML-Simple.t .......... Failed 2/11 subtests t/01-10-Data-Taxi.t ........... skipped: Data::Taxi not installed t/01-11-YAML-Syck.t ........... ok t/01-12-JSON.t ................ ok t/01-13-JSON-Syck.t ........... ok t/01-14-Bencode.t ............. skipped: Bencode not installed t/01-15-Convert-Bencode.t ..... skipped: Convert::Bencode not installed t/01-16-Convert-Bencode_XS.t .. skipped: Convert::Bencode_XS not installed t/02-01-Orig-Raw.t ............ Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. t/02-01-Orig-Raw.t ............ Failed 4/232 subtests t/02-02-Fast-Raw.t ............ Wide character in print at t/ExtUtils/TBone.pm line 442. t/02-02-Fast-Raw.t ............ Failed 2/116 subtests t/03-Non-Portable.t ........... Wide character in print at t/ExtUtils/TBone.pm line 442. t/03-Non-Portable.t ........... Failed 2/116 subtests t/04-01-Compress-Zlib.t ....... Wide character in print at t/ExtUtils/TBone.pm line 442. t/04-01-Compress-Zlib.t ....... Failed 2/116 subtests t/04-02-Compress-PPMd.t ....... Wide character in print at t/ExtUtils/TBone.pm line 442. t/04-02-Compress-PPMd.t ....... Failed 2/116 subtests t/05-Encryption.t ............. skipped: encryption not installed t/06-B64-Encoding.t ........... Wide character in print at t/ExtUtils/TBone.pm line 442. t/06-B64-Encoding.t ........... Failed 2/116 subtests t/07-01-MD5-Digest.t .......... skipped: md5 not installed t/07-02-SHA1-Digest.t ......... skipped: sha1 not installed t/07-03-SHA-256-Digest.t ...... skipped: sha-256 not installed t/08-Store-Retrieve.t ......... Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. t/08-Store-Retrieve.t ......... Failed 8/464 subtests t/09-Feature-Combos.t ......... Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. Wide character in print at t/ExtUtils/TBone.pm line 442. t/09-Feature-Combos.t ......... Failed 8/464 subtests t/10-01-Pod.t ................. ok t/10-02-Pod-Coverage.t ........ ok Test Summary Report ------------------- t/01-09-XML-Simple.t (Wstat: 0 Tests: 11 Failed: 2) Failed tests: 10-11 t/02-01-Orig-Raw.t (Wstat: 0 Tests: 232 Failed: 4) Failed tests: 115-118 t/02-02-Fast-Raw.t (Wstat: 0 Tests: 116 Failed: 2) Failed tests: 58-59 t/03-Non-Portable.t (Wstat: 0 Tests: 116 Failed: 2) Failed tests: 58-59 t/04-01-Compress-Zlib.t (Wstat: 0 Tests: 116 Failed: 2) Failed tests: 58-59 t/04-02-Compress-PPMd.t (Wstat: 0 Tests: 116 Failed: 2) Failed tests: 58-59 t/06-B64-Encoding.t (Wstat: 0 Tests: 116 Failed: 2) Failed tests: 58-59 t/08-Store-Retrieve.t (Wstat: 0 Tests: 464 Failed: 8) Failed tests: 229-236 t/09-Feature-Combos.t (Wstat: 0 Tests: 464 Failed: 8) Failed tests: 229-236 Files=32, Tests=1903, 3 wallclock secs ( 0.22 usr 0.04 sys + 2.94 cusr 0.44 csys = 3.64 CPU) Result: FAIL Failed 9/32 test programs. 32/1903 subtests failed. FAIL ! Installing . failed. See /home/rob/.cpanm/build.log for details.
The new UTF8 tests are really testing the underlying serializers support for UTF8 encoding - In this case it's running into XML::Simple not liking something. Can you provide what version of XML::Simple you are running? Can you also attach the contents of testout/01-09-XML-Simple.tlog after running the "make test"? Thanks, Neil
Subject: Re: [rt.cpan.org #68871] multiple installation test failures
Date: Thu, 16 Jun 2011 11:31:39 -0700
To: bug-Data-Serializer [...] rt.cpan.org
From: Robert Buels <rmb32 [...] cornell.edu>
rob@nightshade Data-Serializer-0.58$ perl -MXML::Simple -E 'say $XML::Simple::VERSION' 2.18 rob@nightshade Data-Serializer-0.58$ cat testout/01-09-XML-Simple.tlog ** Found serializer XML::Simple ** Found XML::SAX to support XML::Simple ** Found feature basic 1..11 ** Begin Testing for basic ** Test XML::Simple simplearray basic 1: array 1: A: "one" 1: B: "one" 1: ok 1 ** Test XML::Simple simplehash basic 2: hash 2: A: "1" 2: B: "1" 2: ok 2 ** Test XML::Simple complexarray basic 3: array of arrays 3: A: "bob" 3: B: "bob" 3: ok 3 4: array of hashes 4: A: "1" 4: B: "1" 4: ok 4 ** Test XML::Simple selfrefarray basic 5: array self ref to internal array 5: A: "1" 5: B: "1" 5: ok 5 ** Test XML::Simple complexhash basic 6: hash of arrays 6: A: "two" 6: B: "two" 6: ok 6 7: hash of hashes 7: A: "1" 7: B: "1" 7: ok 7 8: hash of hash of hashes 8: A: "smelly" 8: B: "smelly" 8: ok 8 ** Test XML::Simple selfrefhash basic 9: hash self ref to internal array 9: A: "two" 9: B: "two" 9: ok 9 ** Test XML::Simple utf8hash basic 10: utf8 hash 10: A: "\E2\80\9Cwater\E2\80\9D and \E2\80\9Croad\E2\80\9D" warning: Wide character in print at t/ExtUtils/TBone.pm line 442. 10: B: "“water” and “road”" 10: not ok 10 11: utf8 hash 2 11: A: "ma\C3\B1ana" 11: B: "ma\F1ana" 11: not ok 11
I'm marking XML::Simple as unsuitable for use with utf8 and removing the XML::Simple utf8 tests from the test harness for now. XML::Simple itself doesn't appear to be where the true problem is, as it just turns around and uses either XML::SAX, or XML::Parser, and the testing I could do with the version available to me showed a mess for what worked and what didn't. I'll leave it as a recommendation to not use XML::Simple as a serializer if you need to use utf8 at this point. Thanks for reporting this.