Back
From: metabase:user:d2c9f356-b46f-11df-9a90-20a83c0b7757
Subject: FAIL Petal-Utils-0.06 v5.18.0 SunOS/Solaris
Date: 2013-07-19T09:58:54Z
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear William McKee,
This is a computer-generated report for Petal-Utils-0.06
on perl 5.18.0, created by CPAN-Reporter-1.2010.
Thank you for uploading your work to CPAN. However, there was a problem
testing your distribution.
If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from './Build test':
t/01__import.t ....... ok
t/02__debug.t ........ ok
t/03__text.t ......... ok
t/04__logic.t ........ ok
t/05__date.t ......... ok
[PETAL ERROR] Global symbol "$array_ref" requires explicit package name at (eval 31) line 7.
1. $VAR1 = sub {
2. my $hash = shift;
3. my $res = "";
4. local $^W = 0;
5. $res .= "\<html\>\
6. \ \<body\>\
7. \ \ \<p\>\
8. \ \ \ \
9. \ \ \ sort\:\ ";
10. my $array = $hash->get ('sort: $array_ref');
11. die "tried to repeat but sort: $array_ref gave no array reference" unless defined $array and ref $array eq 'ARRAY';
12. my @array = @$array;
13. for (my $i=0; $i < @array; $i++) {
14. my $hash = $hash->new();
15. my $number = $i + 1;
16. my $odd = $number % 2;
17. my $even = $i % 2;
18. my $start = ($i == 0);
19. my $end = ($i == $#array);
20. my $inner = ($i and $i < @array);
21. $hash->{__count__} = $number;
22. $hash->{__is_first__} = $start;
23. $hash->{__is_last__} = $end;
24. $hash->{__is_inner__} = $inner;
25. $hash->{__even__} = $even;
26. $hash->{__odd__} = $odd;
27. $hash->{repeat} = {
28. index => $i,
29. number => $number,
30. even => $even,
31. odd => $odd,
32. start => $start,
33. end => $end,
34. inner => $inner,
35. };
36. $hash->{'key'} = $array[$i];
37. $res .= "";
38. $res .= do {
39. my $res = $hash->get_encoded ('key');
40. (defined $res) ? $res : "";
41. };
42. $res .= "\,";
43. };
44. $res .= "\
45. \ \ \<\/p\>\
46. \ \<\/body\>\
47. \<\/html\>";
48. return $res;
49. }; at /export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/lib/Petal.pm line 650.
Petal::_code_memory_cached('Petal=HASH(0x8191484)') called at /export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/lib/Petal.pm line 375
eval {...} called at /export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/lib/Petal.pm line 369
Petal::process('Petal=HASH(0x8191484)', 'HASH(0x81913e4)') called at t/06__list.t line 22
. Debug info written in /tmp/petal_debug.12926.1374227931.sdmrtszuix at /export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/lib/Petal.pm line 483.
# Looks like your test exited with 255 before it could output anything.
t/06__list.t .........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
[PETAL ERROR] Global symbol "$each_hash_ref" requires explicit package name at (eval 29) line 7.
Global symbol "$keys_hash_ref" requires explicit package name at (eval 29) line 47.
1. $VAR1 = sub {
2. my $hash = shift;
3. my $res = "";
4. local $^W = 0;
5. $res .= "\<html\>\
6. \ \<body\>\
7. \ \ \<p\>\
8. \ \ \ \
9. \ \ \ \<ul\>\
10. \ \ \ \ ";
11. my $array = $hash->get ('each: $each_hash_ref');
12. die "tried to repeat but each: $each_hash_ref gave no array reference" unless defined $array and ref $array eq 'ARRAY';
13. my @array = @$array;
14. for (my $i=0; $i < @array; $i++) {
15. my $hash = $hash->new();
16. my $number = $i + 1;
17. my $odd = $number % 2;
18. my $even = $i % 2;
19. my $start = ($i == 0);
20. my $end = ($i == $#array);
21. my $inner = ($i and $i < @array);
22. $hash->{__count__} = $number;
23. $hash->{__is_first__} = $start;
24. $hash->{__is_last__} = $end;
25. $hash->{__is_inner__} = $inner;
26. $hash->{__even__} = $even;
27. $hash->{__odd__} = $odd;
28. $hash->{repeat} = {
29. index => $i,
30. number => $number,
31. even => $even,
32. odd => $odd,
33. start => $start,
34. end => $end,
35. inner => $inner,
36. };
37. $hash->{'item'} = $array[$i];
38. $res .= "\<li\>";
39. $res .= do {
40. my $res = $hash->get_encoded ('item/key');
41. (defined $res) ? $res : "";
42. };
43. $res .= "\ \=\>\ ";
44. $res .= do {
45. my $res = $hash->get_encoded ('item/val');
46. (defined $res) ? $res : "";
47. };
48. $res .= "\<\/li\>";
49. };
50. $res .= "\
51. \ \ \ \<\/ul\>\
52. \
53. \ \ \ \
54. \ \ \ \<ul\>\
55. \ \ \ \ \
56. \ \ \ \ ";
57. $array = $hash->get ('keys: $keys_hash_ref');
58. die "tried to repeat but keys: $keys_hash_ref gave no array reference" unless defined $array and ref $array eq 'ARRAY';
59. @array = @$array;
60. for (my $i=0; $i < @array; $i++) {
61. my $hash = $hash->new();
62. my $number = $i + 1;
63. my $odd = $number % 2;
64. my $even = $i % 2;
65. my $start = ($i == 0);
66. my $end = ($i == $#array);
67. my $inner = ($i and $i < @array);
68. $hash->{__count__} = $number;
69. $hash->{__is_first__} = $start;
70. $hash->{__is_last__} = $end;
71. $hash->{__is_inner__} = $inner;
72. $hash->{__even__} = $even;
73. $hash->{__odd__} = $odd;
74. $hash->{repeat} = {
75. index => $i,
76. number => $number,
77. even => $even,
78. odd => $odd,
79. start => $start,
80. end => $end,
81. inner => $inner,
82. };
83. $hash->{'key'} = $array[$i];
84. $res .= "\<li\>";
85. $res .= do {
86. my $res = $hash->get_encoded ('key');
87. (defined $res) ? $res : "";
88. };
89. $res .= "\ \=\>\ ";
90. $res .= do {
91. my $res = $hash->get_encoded ('keys_hash_ref/$key');
92. (defined $res) ? $res : "";
93. };
94. $res .= "\<\/li\>";
95. };
96. $res .= "\
97. \ \ \ \<\/ul\>\
98. \ \ \<\/p\>\
99. \ \<\/body\>\
100. \<\/html\>";
101. return $res;
102. }; at /export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/lib/Petal.pm line 650.
Petal::_code_memory_cached('Petal=HASH(0x81914fc)') called at /export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/lib/Petal.pm line 375
eval {...} called at /export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/lib/Petal.pm line 369
Petal::process('Petal=HASH(0x81914fc)', 'HASH(0x81914d4)') called at t/07__hash.t line 31
. Debug info written in /tmp/petal_debug.12927.1374227931.syymetchup at /export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/lib/Petal.pm line 483.
# Looks like your test exited with 255 before it could output anything.
t/07__hash.t .........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/08__uri.t .......... ok
t/20__Base.t ......... ok
t/21__Limit.t ........ ok
t/22__Limitr.t ....... ok
t/23__Create_Href.t .. ok
t/24__Substr.t ....... ok
t/25__Decode.t ....... ok
t/26__Printf.t ....... ok
Test Summary Report
-------------------
t/06__list.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/07__hash.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=15, Tests=99, 2 wallclock secs ( 0.21 usr 0.12 sys + 1.81 cusr 0.67 csys = 2.81 CPU)
Result: FAIL
Failed 2/15 test programs. 0/99 subtests failed.
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
------------- ---- ------
Date::Format 0.01 2.24
Petal 1.06 2.22
URI::Escape 3.0 3.31
build_requires:
Module Need Have
------------- ---- ------
Module::Build 0.20 0.4005
Test::More 0.01 0.98
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = C
LD_LIBRARY_PATH = /usr/local/lib:
MANPATH_WITHOUT_PERLBREW =
PATH = /export/home/cpant5/perl5/perlbrew/bin:/export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0/bin:/export/home/cpant5/perl5/bin:/usr/local/bin:/usr/bin
PATH_WITHOUT_PERLBREW = /export/home/cpant5/perl5/bin:/usr/local/bin:/usr/bin
PERL5LIB = /export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/arch:/export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/lib:/export/home/cpant5/.cpan/build/MKDoc-XML-0.75-A_i2oQ/blib/arch:/export/home/cpant5/.cpan/build/MKDoc-XML-0.75-A_i2oQ/blib/lib:/export/home/cpant5/.cpan/build/Test-TAP-Model-0.10-k0vUuN/blib/arch:/export/home/cpant5/.cpan/build/Test-TAP-Model-0.10-k0vUuN/blib/lib:/export/home/cpant5/.cpan/build/Test-Harness-Straps-0.30-ezikRp/blib/arch:/export/home/cpant5/.cpan/build/Test-Harness-Straps-0.30-ezikRp/blib/lib:/export/home/cpant5/.cpan/build/Method-Alias-1.03-yECQjC/blib/arch:/export/home/cpant5/.cpan/build/Method-Alias-1.03-yECQjC/blib/lib:/export/home/cpant5/.cpan/build/Dist-Joseki-0.20-AX0zP5/blib/arch:/export/home/cpant5/.cpan/build/Dist-Joseki-0.20-AX0zP5/blib/lib:/export/home/cpant5/.cpan/build/Class-Accessor-Complex-1.100880-FI9Vvn/blib/arch:/export/home/cpant5/.cpan/build/Class-Accessor-Complex-1.100880-FI9Vvn/blib/lib:/export/home/cpant5/.cpan/build/Class-Accessor-Installer-1.100880-h7iqlQ/blib/arch:/export/home/cpant5/.cpan/build/Class-Accessor-Installer-1.100880-h7iqlQ/blib/lib:/export/home/cpant5/.cpan/build/UNIVERSAL-require-0.13-cIP_5H/blib/arch:/export/home/cpant5/.cpan/build/UNIVERSAL-require-0.13-cIP_5H/blib/lib:/export/home/cpant5/.cpan/build/App-Cmd-0.320-WqL1fO/blib/arch:/export/home/cpant5/.cpan/build/App-Cmd-0.320-WqL1fO/blib/lib:/export/home/cpant5/.cpan/build/IO-TieCombine-1.002-dRQWqH/blib/arch:/export/home/cpant5/.cpan/build/IO-TieCombine-1.002-dRQWqH/blib/lib:/export/home/cpant5/.cpan/build/Getopt-Attribute-2.101700-mU3eYf/blib/arch:/export/home/cpant5/.cpan/build/Getopt-Attribute-2.101700-mU3eYf/blib/lib
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 11840
PERL5_CPAN_IS_RUNNING = 11840
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 27917,11840
PERLBREW_BASHRC_VERSION = 0.44
PERLBREW_HOME = /export/home/cpant5/.perlbrew
PERLBREW_MANPATH = /export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0/man
PERLBREW_PATH = /export/home/cpant5/perl5/perlbrew/bin:/export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0/bin
PERLBREW_PERL = perl-5.18.0
PERLBREW_ROOT = /export/home/cpant5/perl5/perlbrew
PERLBREW_VERSION = 0.44
PERL_CR_SMOKER_CURRENT = Dist-Joseki-Command-smoke-0.01
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
SHELL = /bin/bash
TERM = xterm
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0/bin/perl5.18.0
$UID/$EUID = 105 / 105
$GID = 1 1
$EGID = 1 1
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.00
CPAN::Meta 2.131560
Cwd 3.40
ExtUtils::CBuilder 0.280210
ExtUtils::Command 1.17
ExtUtils::Install 1.59
ExtUtils::MakeMaker 6.68
ExtUtils::Manifest 1.63
ExtUtils::ParseXS 3.18
File::Spec 3.40
JSON 2.59
JSON::PP 2.27202
Module::Build 0.4005
Module::Signature n/a
Parse::CPAN::Meta 1.4404
Test::Harness 3.28
Test::More 0.98
YAML 0.84
YAML::Syck 1.27
version 0.9902
--
Summary of my perl5 (revision 5 version 18 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.10, archname=i86pc-solaris-64int
uname='sunos vmrz0046 5.10 generic_141445-09 i86pc i386 i86pc solaris '
config_args='-de -Dprefix=/export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0 -Dcc=gcc -Duse64bitint -Dusedevel -Aeval:scriptdir=/export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPTR_IS_LONG -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
optimize='-O',
cppflags='-DPTR_IS_LONG -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_SAWAMPERSAND PERL_USE_DEVEL
PERL_USE_SAFE_PUTENV USE_64_BIT_INT USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under solaris
Compiled at May 21 2013 08:43:42
%ENV:
PERL5LIB="/export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/arch:/export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/lib:/export/home/cpant5/.cpan/build/MKDoc-XML-0.75-A_i2oQ/blib/arch:/export/home/cpant5/.cpan/build/MKDoc-XML-0.75-A_i2oQ/blib/lib:/export/home/cpant5/.cpan/build/Test-TAP-Model-0.10-k0vUuN/blib/arch:/export/home/cpant5/.cpan/build/Test-TAP-Model-0.10-k0vUuN/blib/lib:/export/home/cpant5/.cpan/build/Test-Harness-Straps-0.30-ezikRp/blib/arch:/export/home/cpant5/.cpan/build/Test-Harness-Straps-0.30-ezikRp/blib/lib:/export/home/cpant5/.cpan/build/Method-Alias-1.03-yECQjC/blib/arch:/export/home/cpant5/.cpan/build/Method-Alias-1.03-yECQjC/blib/lib:/export/home/cpant5/.cpan/build/Dist-Joseki-0.20-AX0zP5/blib/arch:/export/home/cpant5/.cpan/build/Dist-Joseki-0.20-AX0zP5/blib/lib:/export/home/cpant5/.cpan/build/Class-Accessor-Complex-1.100880-FI9Vvn/blib/arch:/export/home/cpant5/.cpan/build/Class-Accessor-Complex-1.100880-FI9Vvn/blib/lib:/export/home/cpant5/.cpan/build/Class-Accessor-Installer-1.100880-h7iqlQ/blib/arch:/export/home/cpant5/.cpan/build/Class-Accessor-Installer-1.100880-h7iqlQ/blib/lib:/export/home/cpant5/.cpan/build/UNIVERSAL-require-0.13-cIP_5H/blib/arch:/export/home/cpant5/.cpan/build/UNIVERSAL-require-0.13-cIP_5H/blib/lib:/export/home/cpant5/.cpan/build/App-Cmd-0.320-WqL1fO/blib/arch:/export/home/cpant5/.cpan/build/App-Cmd-0.320-WqL1fO/blib/lib:/export/home/cpant5/.cpan/build/IO-TieCombine-1.002-dRQWqH/blib/arch:/export/home/cpant5/.cpan/build/IO-TieCombine-1.002-dRQWqH/blib/lib:/export/home/cpant5/.cpan/build/Getopt-Attribute-2.101700-mU3eYf/blib/arch:/export/home/cpant5/.cpan/build/Getopt-Attribute-2.101700-mU3eYf/blib/lib"
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="11840"
PERL5_CPAN_IS_RUNNING="11840"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="27917,11840"
PERLBREW_BASHRC_VERSION="0.44"
PERLBREW_HOME="/export/home/cpant5/.perlbrew"
PERLBREW_MANPATH="/export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0/man"
PERLBREW_PATH="/export/home/cpant5/perl5/perlbrew/bin:/export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0/bin"
PERLBREW_PERL="perl-5.18.0"
PERLBREW_ROOT="/export/home/cpant5/perl5/perlbrew"
PERLBREW_VERSION="0.44"
PERL_CR_SMOKER_CURRENT="Dist-Joseki-Command-smoke-0.01"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
/export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/arch
/export/home/cpant5/.cpan/build/Petal-2.22-xwA_mw/blib/lib
/export/home/cpant5/.cpan/build/MKDoc-XML-0.75-A_i2oQ/blib/arch
/export/home/cpant5/.cpan/build/MKDoc-XML-0.75-A_i2oQ/blib/lib
/export/home/cpant5/.cpan/build/Test-TAP-Model-0.10-k0vUuN/blib/arch
/export/home/cpant5/.cpan/build/Test-TAP-Model-0.10-k0vUuN/blib/lib
/export/home/cpant5/.cpan/build/Test-Harness-Straps-0.30-ezikRp/blib/arch
/export/home/cpant5/.cpan/build/Test-Harness-Straps-0.30-ezikRp/blib/lib
/export/home/cpant5/.cpan/build/Method-Alias-1.03-yECQjC/blib/arch
/export/home/cpant5/.cpan/build/Method-Alias-1.03-yECQjC/blib/lib
/export/home/cpant5/.cpan/build/Dist-Joseki-0.20-AX0zP5/blib/arch
/export/home/cpant5/.cpan/build/Dist-Joseki-0.20-AX0zP5/blib/lib
/export/home/cpant5/.cpan/build/Class-Accessor-Complex-1.100880-FI9Vvn/blib/arch
/export/home/cpant5/.cpan/build/Class-Accessor-Complex-1.100880-FI9Vvn/blib/lib
/export/home/cpant5/.cpan/build/Class-Accessor-Installer-1.100880-h7iqlQ/blib/arch
/export/home/cpant5/.cpan/build/Class-Accessor-Installer-1.100880-h7iqlQ/blib/lib
/export/home/cpant5/.cpan/build/UNIVERSAL-require-0.13-cIP_5H/blib/arch
/export/home/cpant5/.cpan/build/UNIVERSAL-require-0.13-cIP_5H/blib/lib
/export/home/cpant5/.cpan/build/App-Cmd-0.320-WqL1fO/blib/arch
/export/home/cpant5/.cpan/build/App-Cmd-0.320-WqL1fO/blib/lib
/export/home/cpant5/.cpan/build/IO-TieCombine-1.002-dRQWqH/blib/arch
/export/home/cpant5/.cpan/build/IO-TieCombine-1.002-dRQWqH/blib/lib
/export/home/cpant5/.cpan/build/Getopt-Attribute-2.101700-mU3eYf/blib/arch
/export/home/cpant5/.cpan/build/Getopt-Attribute-2.101700-mU3eYf/blib/lib
/export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/i86pc-solaris-64int
/export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0
/export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0/i86pc-solaris-64int
/export/home/cpant5/perl5/perlbrew/perls/perl-5.18.0/lib/5.18.0
.