Back
From: metabase:user:30ae4450-2aae-11df-837a-5e0a49663a4f
Subject: FAIL Petal-Utils-0.06 v5.16.2 GNU/Linux
Date: 2013-01-17T14:49:24Z
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.2009.
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.21-vZyYXA/blib/lib/Petal.pm line 650.
Petal::_code_memory_cached('Petal=HASH(0x974ae08)') called at /home/c/.cpan/build/Petal-2.21-vZyYXA/blib/lib/Petal.pm line 375
eval {...} called at /home/c/.cpan/build/Petal-2.21-vZyYXA/blib/lib/Petal.pm line 369
Petal::process('Petal=HASH(0x974ae08)', 'HASH(0x974ad88)') called at t/06__list.t line 22
. Debug info written in /tmp/petal_debug.29160.1358434162.zpdrdiegss at /home/c/.cpan/build/Petal-2.21-vZyYXA/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.21-vZyYXA/blib/lib/Petal.pm line 650.
Petal::_code_memory_cached('Petal=HASH(0x9ffde68)') called at /home/c/.cpan/build/Petal-2.21-vZyYXA/blib/lib/Petal.pm line 375
eval {...} called at /home/c/.cpan/build/Petal-2.21-vZyYXA/blib/lib/Petal.pm line 369
Petal::process('Petal=HASH(0x9ffde68)', 'HASH(0x9ffde48)') called at t/07__hash.t line 31
. Debug info written in /tmp/petal_debug.29161.1358434162.mgybanhlyv at /home/c/.cpan/build/Petal-2.21-vZyYXA/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.04 usr 0.07 sys + 0.98 cusr 0.23 csys = 1.32 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.21
URI::Escape 3.0 3.31
build_requires:
Module Need Have
------------- ---- ------
Module::Build 0.20 0.4003
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/perl-5.16.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PERL5LIB = /home/c/.cpan/build/Petal-2.21-vZyYXA/blib/arch:/home/c/.cpan/build/Petal-2.21-vZyYXA/blib/lib:/home/c/.cpan/build/MKDoc-XML-0.75-3XfBpf/blib/arch:/home/c/.cpan/build/MKDoc-XML-0.75-3XfBpf/blib/lib:/home/c/.cpan/build/Dist-Joseki-0.20-YpENAn/blib/arch:/home/c/.cpan/build/Dist-Joseki-0.20-YpENAn/blib/lib:/home/c/.cpan/build/Getopt-Attribute-2.101700-kpIA78/blib/arch:/home/c/.cpan/build/Getopt-Attribute-2.101700-kpIA78/blib/lib
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 28415
PERL5_CPAN_IS_RUNNING = 28415
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 6607,28415
PERLBREW_MANPATH = /home/c/perl5/perlbrew/perls/perl-5.16.2/man
PERLBREW_PATH = /home/c/perl5/perlbrew/bin:/home/c/perl5/perlbrew/perls/perl-5.16.2/bin
PERLBREW_PERL = perl-5.16.2
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/perl-5.16.2/bin/perl
$UID/$EUID = 1000 / 1000
$GID = 1000 24 25 27 29 30 44 46 108 109 115 1000
$EGID = 1000 24 25 27 29 30 44 46 108 109 115 1000
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 1.9800
CPAN::Meta 2.120921
Cwd 3.39_02
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.39_02
JSON 2.53
JSON::PP 2.27200
Module::Build 0.4003
Module::Signature 0.70
Parse::CPAN::Meta 1.4404
Test::Harness 3.23
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
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/perl-5.16.2 -Aeval:scriptdir=/home/c/perl5/perlbrew/perls/perl-5.16.2/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-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 -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -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 PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Jan 4 2013 21:20:12
%ENV:
PERL5LIB="/home/c/.cpan/build/Petal-2.21-vZyYXA/blib/arch:/home/c/.cpan/build/Petal-2.21-vZyYXA/blib/lib:/home/c/.cpan/build/MKDoc-XML-0.75-3XfBpf/blib/arch:/home/c/.cpan/build/MKDoc-XML-0.75-3XfBpf/blib/lib:/home/c/.cpan/build/Dist-Joseki-0.20-YpENAn/blib/arch:/home/c/.cpan/build/Dist-Joseki-0.20-YpENAn/blib/lib:/home/c/.cpan/build/Getopt-Attribute-2.101700-kpIA78/blib/arch:/home/c/.cpan/build/Getopt-Attribute-2.101700-kpIA78/blib/lib"
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="28415"
PERL5_CPAN_IS_RUNNING="28415"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="6607,28415"
PERLBREW_MANPATH="/home/c/perl5/perlbrew/perls/perl-5.16.2/man"
PERLBREW_PATH="/home/c/perl5/perlbrew/bin:/home/c/perl5/perlbrew/perls/perl-5.16.2/bin"
PERLBREW_PERL="perl-5.16.2"
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.21-vZyYXA/blib/arch
/home/c/.cpan/build/Petal-2.21-vZyYXA/blib/lib
/home/c/.cpan/build/MKDoc-XML-0.75-3XfBpf/blib/arch
/home/c/.cpan/build/MKDoc-XML-0.75-3XfBpf/blib/lib
/home/c/.cpan/build/Dist-Joseki-0.20-YpENAn/blib/arch
/home/c/.cpan/build/Dist-Joseki-0.20-YpENAn/blib/lib
/home/c/.cpan/build/Getopt-Attribute-2.101700-kpIA78/blib/arch
/home/c/.cpan/build/Getopt-Attribute-2.101700-kpIA78/blib/lib
/home/c/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/i686-linux
/home/c/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2
/home/c/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2/i686-linux
/home/c/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2
.