Front page | perl.cpan.testers |
Postings from August 2009
FAIL Enbugger-2.009 amd64-freebsd 7.0-release
From:
srezic
Date:
August 9, 2009 06:52
Subject:
FAIL Enbugger-2.009 amd64-freebsd 7.0-release
Message ID:
1249821461.5F64AE0.43267@biokovo-amd64.herceg.de
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 Whitepages.com, Inc.,
This is a computer-generated report for Enbugger-2.009
on perl 5.10.0, created by CPAN-Reporter-1.1708.
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:
none provided
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 /usr/perl-5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10load.t .... ok
#!perl
# COPYRIGHT AND LICENCE
#
# Copyright (C) 2007,2008 WhitePages.com, Inc. with primary
# development by Joshua ben Jore.
#
# This program is distributed WITHOUT ANY WARRANTY, including but not
# limited to the implied warranties of merchantability or fitness for
# a particular purpose.
#
# The program is free software. You may distribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation (either version 2 or any later version)
# and the Perl Artistic License as published by O’Reilly Media, Inc.
# Please open the files named gpl-2.0.txt and Artistic for a copy of
# these licenses.
use strict;
use warnings;
use Getopt::Long qw( GetOptions );
use vars qw( $Ok );
BEGIN {
=head1 DESCRIPTION
This test attempts to run the perl5db debugger, gives it some
commands, then tests that the commands occurred. In general the idea
is that depending on how the Enbugger.xs code is modifying COP nodes,
it could have either removed instrumentation from code that should be
instrumented or done the reverse and instrumented the debugger itself.
The output of this program can be read by another program and used in
a test.
=head1 OPTIONS
=over
=item --noimport
Enbugger will be loaded without calling C<< ->import >>.
=item --import ELT
Adds an item to the C<< ->import >> argument list.
=item --help
Runs perldoc on this program.
=item --load_perl5db
After loading Enbugger, C<< Enbugger->load_perl5db >> will also be called.
=back
=cut
# Option parsing.
my $import = 1;
my @import = ();
my $loadPerl5Db = 0;
my $onError = 0;
GetOptions(
help => sub { exec {'perldoc'} 'perldoc', $0 },
noimport => sub { $import = 0 },
'import=s' => \@import,
load_perl5db => \ $loadPerl5Db,
onerror => \ $onError,
)
or exec {'perldoc'} 'perldoc', $0;
# Promote some options into constants.
require constant;
constant->import( LoadPerl5Db => !! $loadPerl5Db );
# The test is whether the debugger runs and is controlled by my
# test commands here.
{
no warnings 'once';
push @DB::typeahead, '$main::Ok = 1', 'c', 'q';
}
# All our output will go to *OUT. If this program was given a
# paramter, we accept it as file that we should write our output too.
{
my ( $file ) = shift @ARGV;
if ( defined $file ) {
open OUT, '>', $file
or die "Can't open $file for writing: $!";
}
else {
*OUT = *STDOUT;
}
# OUTPUT is HOT.
select *OUT;
$| = 1;
# Things written to STDERR should also go to our single *OUT.
no warnings 'once';
*STDERR = $DB::OUT = $DB::LINEINFO = *OUT;
}
# Look to see if the debugger is on. Before I go and load
# Enbugger, I figure I can at least count on being able to examine
# $^P to see if we were started with the -d debugger flag.
constant->import( UnderTheDebugger => !! $^P );
# Load Enbugger and completely knacker our process. This little
# snippet used to just be a static `use Enbugger;' but I moved it
# up here when it became obvious that I wanted to optionally avoid
# importing anything.
if ( $onError ) {
require Enbugger::OnError;
Enbugger::OnError->import;
}
else {
require Enbugger;
if ( $import ) {
Enbugger->import( @import );
}
}
# Now dropping into normal run-time.
}
# Load the perl5db debugger if the user asked for us to do it
# manually. Normally the ->stop method call will also do this for us.
if ( LoadPerl5Db ) {
Enbugger->load_perl5db;
}
# Trigger a breakpoint.
#
# At this point, I already supplied some commands to the debugger so
# it should go set our $ok variable and then continue on
# automatically.
Enbugger->stop unless $Ok;
# Check that the debugger was stopped and it processed the commands
# requested of it.
$Ok = 'undef' if not defined $Ok;
print "\$ok = $Ok.\n";
## Local Variables:
## mode: cperl
## mode: auto-fill
## cperl-indent-level: 4
## tab-width: 8
## End:
main::(t/11load.pl:154): $Ok = 'undef' if not defined $Ok;
main::(t/11load.pl:155): print "\$ok = $Ok.\n";
Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. at /usr/perl-5.10.0/lib/site_perl/5.10.0/amd64-freebsd/Term/ReadKey.pm line 362.
Compilation failed in require at /usr/perl-5.10.0/lib/site_perl/5.10.0/Term/ReadLine/Perl.pm line 63.
at /usr/perl-5.10.0/lib/site_perl/5.10.0/Term/ReadLine/Perl.pm line 63
Term::ReadLine::Perl::new('Term::ReadLine', 'perldb', 'GLOB(0x2072d1b0)', 'GLOB(0x201681c8)') called at /usr/perl-5.10.0/lib/5.10.0/perl5db.pl line 5998
DB::setterm called at /usr/perl-5.10.0/lib/5.10.0/perl5db.pl line 2227
DB::DB called at t/11load.pl line 154
Term::ReadLine::Perl::Tie::DESTROY(/usr/perl-5.10.0/lib/site_perl/5.10.0/Term/ReadLine/Perl.pm:129):
129: sub DESTROY {}
IO::Handle::DESTROY(/usr/perl-5.10.0/lib/5.10.0/amd64-freebsd/IO/Handle.pm:330):
330: sub DESTROY {}
Failed to run /usr/perl-5.10.0/bin/perl -Mblib t/11load.pl /mnt/i386/tmp/cpansmoker-1023/Ph8sLbAm84: exit: 9 at t/Test/Enbugger.pm line 114.
# Looks like your test exited with 9 before it could output anything.
t/11load.t ....
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 12/12 subtests
Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment variables didn't work. The resize program didn't work. at /usr/perl-5.10.0/lib/site_perl/5.10.0/amd64-freebsd/Term/ReadKey.pm line 362.
Compilation failed in require at /usr/perl-5.10.0/lib/site_perl/5.10.0/Term/ReadLine/Perl.pm line 63.
at /usr/perl-5.10.0/lib/site_perl/5.10.0/Term/ReadLine/Perl.pm line 63
Term::ReadLine::Perl::new('Term::ReadLine', 'perldb', 'GLOB(0x20b181f8)', 'GLOB(0x206a85b8)') called at /usr/perl-5.10.0/lib/5.10.0/perl5db.pl line 5998
DB::setterm called at /usr/perl-5.10.0/lib/5.10.0/perl5db.pl line 2227
DB::DB() called at /mnt/i386/var/tmp/CPAN-build/Enbugger-2.009-uGJtGC/blib/lib/Enbugger/OnError.pm line 107
Enbugger::OnError::ExceptionHandler('An exception.\x{a}') called at t/20error.t line 41
Attempt to reload Term/ReadLine/readline.pm aborted.
Compilation failed in require at /usr/perl-5.10.0/lib/site_perl/5.10.0/Term/ReadLine/Perl.pm line 63.
t/20error.t ...
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 1/1 subtests
t/21error.t ... ok
at t/22signal.t line 49
Attempt to reload Term/ReadLine/readline.pm aborted.
Compilation failed in require at /usr/perl-5.10.0/lib/site_perl/5.10.0/Term/ReadLine/Perl.pm line 63.
END failed--call queue aborted at t/22signal.t line 49.
at t/22signal.t line 49
t/22signal.t ..
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 1/1 subtests
Test Summary Report
-------------------
t/11load.t (Wstat: 2304 Tests: 0 Failed: 0)
Non-zero exit status: 9
Parse errors: Bad plan. You planned 12 tests but ran 0.
t/20error.t (Wstat: 2304 Tests: 0 Failed: 0)
Non-zero exit status: 9
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/22signal.t (Wstat: 2304 Tests: 0 Failed: 0)
Non-zero exit status: 9
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=5, Tests=3, 2 wallclock secs ( 0.02 usr 0.02 sys + 1.16 cusr 0.06 csys = 1.27 CPU)
Result: FAIL
Failed 3/5 test programs. 0/3 subtests failed.
*** Error code 9
Stop in /mnt/i386/var/tmp/CPAN-build/Enbugger-2.009-uGJtGC.
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
------------------- ---- ----
B::Utils 0 0.07
Test::More 0 0.92
configure_requires:
Module Need Have
------------------- ---- ----
ExtUtils::MakeMaker 0 6.54
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
DBIC_NO_WARN_BAD_PERL = 1
PATH = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin:/usr/perl5.8.0/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/pilot/bin:/home/cpansand/bin/freebsd6.3:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/X386/bin:/usr/games:/home/cpansand/devel:/mnt/i386/usr/home/e/eserte/work/srezic-misc/scripts
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 10473
PERL5_CPAN_IS_RUNNING = 10473
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 68020,10473
PERL_BATCH = yes
PERL_CPAN_REPORTER_DIR = /home/cpansand/.cpanreporter/set-5.10.0
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_HTML_DISPLAY_CLASS = HTML::Display::Mozilla
SHELL = /usr/local/bin/zsh
TERM = screen
TMPDIR = /mnt/i386/tmp/cpansmoker-1023
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /usr/perl-5.10.0/bin/perl
$UID/$EUID = 1023 / 1023
$GID = 1023 1023 1023
$EGID = 1023 1023 1023
Perl module toolchain versions installed:
Module Have
------------------- ------
CPAN 1.9402
Cwd 3.30
ExtUtils::CBuilder 0.2603
ExtUtils::Command 1.16
ExtUtils::Install 1.54
ExtUtils::MakeMaker 6.54
ExtUtils::Manifest 1.56
ExtUtils::ParseXS 2.2002
File::Spec 3.30
Module::Build 0.34
Module::Signature 0.55
Test::Harness 3.17
Test::More 0.92
YAML 0.68
YAML::Syck 1.07
version 0.7701
--
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=freebsd, osvers=7.0-release, archname=amd64-freebsd
uname='freebsd biokovo-amd64.herceg.de 7.0-release freebsd 7.0-release #0: sun feb 24 10:35:36 utc 2008 root@driscoll.cse.buffalo.edu:usrobjusrsrcsysgeneric amd64 '
config_args='-Dprefix=/usr/perl-5.10.0 -Dusemymalloc=n -D cc=ccache cc -Dgccansipedantic -de'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='ccache cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-O2 -pipe',
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.2.1 20070719 [FreeBSD]', 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='ccache cc', ldflags ='-Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lcrypt -lutil -lc
perllibs=-lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
-
FAIL Enbugger-2.009 amd64-freebsd 7.0-release
by srezic