Back
From: metabase:user:3215efbe-2aae-11df-837a-5e0a49663a4f
Subject: FAIL Petal-Utils-0.06 v5.16.3 GNU/Linux
Date: 2013-04-13T23:02:59Z
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.3, 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 199) 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 /opt/perl/threads/5.16.3/lib/site_perl/5.16.3/Petal.pm line 650.
Petal::_code_memory_cached('Petal=HASH(0x1fbfd10)') called at /opt/perl/threads/5.16.3/lib/site_perl/5.16.3/Petal.pm line 375
eval {...} called at /opt/perl/threads/5.16.3/lib/site_perl/5.16.3/Petal.pm line 369
Petal::process('Petal=HASH(0x1fbfd10)', 'HASH(0x1fbfc50)') called at t/06__list.t line 22
. Debug info written in /tmp/petal_debug.19608.1365894175.azketloujz at /opt/perl/threads/5.16.3/lib/site_perl/5.16.3/Petal.pm line 483.
# No tests run!
# Looks like your test exited with 255 before it could output anything.
t/06__list.t ......... skipped: (no reason given)
[PETAL ERROR] Global symbol "$each_hash_ref" requires explicit package name at (eval 197) line 7.
Global symbol "$keys_hash_ref" requires explicit package name at (eval 197) 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 /opt/perl/threads/5.16.3/lib/site_perl/5.16.3/Petal.pm line 650.
Petal::_code_memory_cached('Petal=HASH(0x156bda0)') called at /opt/perl/threads/5.16.3/lib/site_perl/5.16.3/Petal.pm line 375
eval {...} called at /opt/perl/threads/5.16.3/lib/site_perl/5.16.3/Petal.pm line 369
Petal::process('Petal=HASH(0x156bda0)', 'HASH(0x156bd70)') called at t/07__hash.t line 31
. Debug info written in /tmp/petal_debug.19609.1365894176.ksiwztyhlb at /opt/perl/threads/5.16.3/lib/site_perl/5.16.3/Petal.pm line 483.
# No tests run!
# Looks like your test exited with 255 before it could output anything.
t/07__hash.t ......... skipped: (no reason given)
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
t/07__hash.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Files=15, Tests=99, 3 wallclock secs ( 0.07 usr 0.03 sys + 2.55 cusr 0.30 csys = 2.95 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.4004
Test::More 0.01 1.005000_006
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = C
PATH = /opt/perl/threads/5.16.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 19428
PERL5_CPAN_IS_RUNNING = 19428
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 2558,19428
PERL_CR_SMOKER_CURRENT = Dist-Joseki-Command-smoke-0.01
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
SHELL = /bin/bash
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /opt/perl/threads/5.16.3/bin/perl
$UID/$EUID = 1000 / 1000
$GID = 1000 4 24 27 30 46 112 113 1000
$EGID = 1000 4 24 27 30 46 112 113 1000
Perl module toolchain versions installed:
Module Have
------------------- ------------
CPAN 2.00
CPAN::Meta 2.120351
Cwd 3.40
ExtUtils::CBuilder 0.280205
ExtUtils::Command 1.17
ExtUtils::Install 1.58
ExtUtils::MakeMaker 6.64
ExtUtils::Manifest 1.61
ExtUtils::ParseXS 3.18_01
File::Spec 3.40
JSON 2.57
JSON::PP 2.27200
Module::Build 0.4004
Module::Signature 0.70
Parse::CPAN::Meta 1.4404
Test::Harness 3.26
Test::More 1.005000_006
YAML 0.84
YAML::Syck 1.25
version 0.9902
--
Summary of my perl5 (revision 5 version 16 subversion 3) configuration:
Platform:
osname=linux, osvers=3.2.0-38-virtual, archname=x86_64-linux-thread-multi
uname='linux cpansmoker 3.2.0-38-virtual #61-ubuntu smp tue feb 19 12:37:47 utc 2013 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Dprefix=/opt/perl/threads/5.16.3 -Dusethreads'
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',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.6.3', 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 -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.15'
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_64_BIT_ALL
USE_64_BIT_INT 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 Mar 18 2013 17:07:24
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="19428"
PERL5_CPAN_IS_RUNNING="19428"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="2558,19428"
PERL_CR_SMOKER_CURRENT="Dist-Joseki-Command-smoke-0.01"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
/opt/perl/threads/5.16.3/lib/site_perl/5.16.3/x86_64-linux-thread-multi
/opt/perl/threads/5.16.3/lib/site_perl/5.16.3
/opt/perl/threads/5.16.3/lib/5.16.3/x86_64-linux-thread-multi
/opt/perl/threads/5.16.3/lib/5.16.3
.