Back
From: metabase:user:320bfe00-2aae-11df-837a-5e0a49663a4f
Subject: FAIL Petal-Utils-0.06 v5.14.3 GNU/Linux
Date: 2013-05-11T21:30: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.14.3, 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 25) 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/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/site_perl/5.14.3/Petal.pm line 650.
Petal::_code_memory_cached('Petal=HASH(0x123ee50)') called at /home/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/site_perl/5.14.3/Petal.pm line 375
eval {...} called at /home/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/site_perl/5.14.3/Petal.pm line 369
Petal::process('Petal=HASH(0x123ee50)', 'HASH(0x123ed90)') called at t/06__list.t line 22
. Debug info written in /tmp/petal_debug.3222.1368307809.kxmhlnrbgs at /home/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/site_perl/5.14.3/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 23) line 7.
Global symbol "$keys_hash_ref" requires explicit package name at (eval 23) 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/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/site_perl/5.14.3/Petal.pm line 650.
Petal::_code_memory_cached('Petal=HASH(0x2488ee0)') called at /home/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/site_perl/5.14.3/Petal.pm line 375
eval {...} called at /home/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/site_perl/5.14.3/Petal.pm line 369
Petal::process('Petal=HASH(0x2488ee0)', 'HASH(0x2488eb0)') called at t/07__hash.t line 31
. Debug info written in /tmp/petal_debug.3241.1368307810.vceifgaczg at /home/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/site_perl/5.14.3/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, 3 wallclock secs ( 0.05 usr 0.02 sys + 1.25 cusr 0.22 csys = 1.54 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_05
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
LANGUAGE = en_US:en
PATH = /usr/lib/ccache:/home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 29572
PERL5_CPAN_IS_RUNNING = 29572
PERL_MM_USE_DEFAULT = 1
SHELL = /usr/bin/zsh
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/sand/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/bin/perl
$UID/$EUID = 1005 / 1005
$GID = 1005 1005
$EGID = 1005 1005
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.00
CPAN::Meta 2.130880
Cwd 3.40
ExtUtils::CBuilder 0.280205
ExtUtils::Command 1.17
ExtUtils::Install 1.56
ExtUtils::MakeMaker 6.67_01
ExtUtils::Manifest 1.60
ExtUtils::ParseXS 3.18_03
File::Spec 3.40
JSON 2.57
JSON::PP 2.27202
Module::Build 0.4005
Module::Signature 0.70
Parse::CPAN::Meta 1.4404
Test::Harness 3.28
Test::More 0.98_05
YAML 0.84
YAML::Syck 1.25
version 0.9902
--
Summary of my perl5 (revision 5 version 14 subversion 3) configuration:
Commit id: 3e467ae0bf0a6262b07746bbeba550202da6acf8
Platform:
osname=linux, osvers=3.2.0-4-amd64, archname=x86_64-linux-thread-multi
uname='linux k83 3.2.0-4-amd64 #1 smp debian 3.2.35-2 x86_64 gnulinux '
config_args='-Dprefix=/home/src/perl/repoperls/installed-perls/perl/v5.14.3/9980 -Dmyhostname=k83 -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Duseithreads -Uuselongdouble -DDEBUGGING=-g'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, 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 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.7.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.13'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
Built under linux
Compiled at Jan 1 2013 18:55:47
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="29572"
PERL5_CPAN_IS_RUNNING="29572"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/site_perl/5.14.3/x86_64-linux-thread-multi
/home/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/site_perl/5.14.3
/home/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/5.14.3/x86_64-linux-thread-multi
/home/src/perl/repoperls/installed-perls/perl/v5.14.3/9980/lib/5.14.3
.