Back
From: metabase:user:30ae4450-2aae-11df-837a-5e0a49663a4f
Subject: FAIL Petal-Utils-0.06 v5.16.2 GNU/Linux
Date: 2013-06-26T02:33:22Z
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.16.2, 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 /home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/lib/Petal.pm line 650.
Petal::_code_memory_cached('Petal=HASH(0x94ee570)') called at /home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/lib/Petal.pm line 375
eval {...} called at /home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/lib/Petal.pm line 369
Petal::process('Petal=HASH(0x94ee570)', 'HASH(0x94ee4f0)') called at t/06__list.t line 22
. Debug info written in /tmp/petal_debug.20560.1372214000.wctyzirjwd at /home/c/.cpan/build/Petal-2.22-Ih1K1I/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 /home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/lib/Petal.pm line 650.
Petal::_code_memory_cached('Petal=HASH(0x8953d40)') called at /home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/lib/Petal.pm line 375
eval {...} called at /home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/lib/Petal.pm line 369
Petal::process('Petal=HASH(0x8953d40)', 'HASH(0x893b5b0)') called at t/07__hash.t line 31
. Debug info written in /tmp/petal_debug.20561.1372214001.mhiymxokiq at /home/c/.cpan/build/Petal-2.22-Ih1K1I/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, 1 wallclock secs ( 0.01 usr 0.10 sys + 1.00 cusr 0.35 csys = 1.46 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 = ru_RU.utf8
PATH = /home/c/perl5/perlbrew/bin:/home/c/perl5/perlbrew/perls/5.16.2i/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PERL5LIB = /home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/arch:/home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/lib:/home/c/.cpan/build/MKDoc-XML-0.75-5nQhIg/blib/arch:/home/c/.cpan/build/MKDoc-XML-0.75-5nQhIg/blib/lib:/home/c/.cpan/build/Dist-Joseki-0.20-fsSWw9/blib/arch:/home/c/.cpan/build/Dist-Joseki-0.20-fsSWw9/blib/lib:/home/c/.cpan/build/Getopt-Attribute-2.101700-GdpPaA/blib/arch:/home/c/.cpan/build/Getopt-Attribute-2.101700-GdpPaA/blib/lib
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 19815
PERL5_CPAN_IS_RUNNING = 19815
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 23405,19815
PERLBREW_MANPATH = /home/c/perl5/perlbrew/perls/5.16.2i/man
PERLBREW_PATH = /home/c/perl5/perlbrew/bin:/home/c/perl5/perlbrew/perls/5.16.2i/bin
PERLBREW_PERL = 5.16.2i
PERLBREW_ROOT = /home/c/perl5/perlbrew
PERLBREW_SKIP_INIT = 1
PERLBREW_VERSION = 0.58
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 = /home/c/perl5/perlbrew/perls/5.16.2i/bin/perl
$UID/$EUID = 1000 / 1000
$GID = 1000 24 25 27 29 30 44 46 108 109 115 1000 1001
$EGID = 1000 24 25 27 29 30 44 46 108 109 115 1000 1001
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.00
CPAN::Meta 2.120921
Cwd 3.40
ExtUtils::CBuilder 0.280206
ExtUtils::Command 1.17
ExtUtils::Install 1.58
ExtUtils::MakeMaker 6.63_02
ExtUtils::Manifest 1.61
ExtUtils::ParseXS 3.16
File::Spec 3.40
JSON 2.53
JSON::PP 2.27200
Module::Build 0.4005
Module::Signature 0.70
Parse::CPAN::Meta 1.4404
Test::Harness 3.28
Test::More 0.98
YAML 0.84
YAML::Syck 1.22
version 0.9901
--
Summary of my perl5 (revision 5 version 16 subversion 2) configuration:
Platform:
osname=linux, osvers=2.6.32-5-686, archname=i686-linux-thread-multi
uname='linux deb1 2.6.32-5-686 #1 smp sun sep 23 09:49:36 utc 2012 i686 gnulinux '
config_args='-de -Dprefix=/home/c/perl5/perlbrew/perls/5.16.2i -Dusethreads -Aeval:scriptdir=/home/c/perl5/perlbrew/perls/5.16.2i/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.5', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib /usr/lib/i486-linux-gnu /usr/lib64
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.11.3.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.11.3'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF USE_REENTRANT_API
Built under linux
Compiled at Jan 26 2013 16:12:36
%ENV:
PERL5LIB="/home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/arch:/home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/lib:/home/c/.cpan/build/MKDoc-XML-0.75-5nQhIg/blib/arch:/home/c/.cpan/build/MKDoc-XML-0.75-5nQhIg/blib/lib:/home/c/.cpan/build/Dist-Joseki-0.20-fsSWw9/blib/arch:/home/c/.cpan/build/Dist-Joseki-0.20-fsSWw9/blib/lib:/home/c/.cpan/build/Getopt-Attribute-2.101700-GdpPaA/blib/arch:/home/c/.cpan/build/Getopt-Attribute-2.101700-GdpPaA/blib/lib"
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="19815"
PERL5_CPAN_IS_RUNNING="19815"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="23405,19815"
PERLBREW_MANPATH="/home/c/perl5/perlbrew/perls/5.16.2i/man"
PERLBREW_PATH="/home/c/perl5/perlbrew/bin:/home/c/perl5/perlbrew/perls/5.16.2i/bin"
PERLBREW_PERL="5.16.2i"
PERLBREW_ROOT="/home/c/perl5/perlbrew"
PERLBREW_SKIP_INIT="1"
PERLBREW_VERSION="0.58"
PERL_CR_SMOKER_CURRENT="Dist-Joseki-Command-smoke-0.01"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/arch
/home/c/.cpan/build/Petal-2.22-Ih1K1I/blib/lib
/home/c/.cpan/build/MKDoc-XML-0.75-5nQhIg/blib/arch
/home/c/.cpan/build/MKDoc-XML-0.75-5nQhIg/blib/lib
/home/c/.cpan/build/Dist-Joseki-0.20-fsSWw9/blib/arch
/home/c/.cpan/build/Dist-Joseki-0.20-fsSWw9/blib/lib
/home/c/.cpan/build/Getopt-Attribute-2.101700-GdpPaA/blib/arch
/home/c/.cpan/build/Getopt-Attribute-2.101700-GdpPaA/blib/lib
/home/c/perl5/perlbrew/perls/5.16.2i/lib/site_perl/5.16.2/i686-linux-thread-multi
/home/c/perl5/perlbrew/perls/5.16.2i/lib/site_perl/5.16.2
/home/c/perl5/perlbrew/perls/5.16.2i/lib/5.16.2/i686-linux-thread-multi
/home/c/perl5/perlbrew/perls/5.16.2i/lib/5.16.2
.