Back
From: metabase:user:ade1afce-f882-11e3-b8e5-e4ac2292c85c
Subject: FAIL Enbugger-2.016 v5.20.1 GNU/Linux
Date: 2014-11-04T12:34:27Z
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 Joshua ben Jore,
This is a computer-generated error report created automatically by
CPANPLUS, version 0.9152. Testers personal comments may appear
at the end of this report.
Thank you for uploading your work to CPAN. However, it appears that
there were some problems testing your distribution.
TEST RESULTS:
Below is the error stack from stage 'make test':
Running Mkbootstrap for Enbugger ()
chmod 644 "Enbugger.bs"
PERL_DL_NONLAZY=1 "/opt/perl5/perls/perl-5.20.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10load.t .............. ok
t/11load.t .............. ok
t/20error.t ............. ok
t/21error.t ............. ok
t/22signal.t ............ ok
#!perl
# COPYRIGHT AND LICENCE
#
# Copyright (C) 2014 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( $Caught $Value );
use lib qw( ./t );
BEGIN {
require 'reset_perms.pl';
=head1 DESCRIPTION
This test attempts to run the perl5db debugger, break on a line, then
tests that the break occurred where expected. This tests both that
%{"_<30break.pl"} with L magic and @{"_<30break.pl"} with dual-var
strings has been created.
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
$ENV{PERLDB_OPTS} = 'noTTY';
# Option parsing.
my $import = 1;
my @import = ();
my $loadPerl5Db = 0;
GetOptions(
help => sub { exec {'perldoc'} 'perldoc', $0 },
noimport => sub { $import = 0 },
'import=s' => \@import,
load_perl5db => \ $loadPerl5Db,
)
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';
@DB::typeahead = (
'l 1-200',
'b 146',
'c',
'$main::Caught = $main::Value',
'c',
'q'
);
}
# All our output will go to *OUT. If this program was given a
# parameter, 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.
require Enbugger;
if ( $import ) {
Enbugger->import( @import );
}
}
# Commands executed here:
# > l 1-200
# > b 146
# > c
Enbugger->stop;
$Value = 0;
$Value = 1;
$Value = 2;
$Value = 3;
# Commands executed here when the breakpoint works.
# > $main::Caught = $main::Value
# > c
$Value = 4;
$Value = 5;
$Value = 6;
$Value = 7;
$Value = 8;
$Value = 9;
$Value = 0;
$Caught = 'undef' if ! defined $Caught;
print "\$Caught = $main::Caught.\n";
# Commands executed here:
# > q
main::(t/30break.pl:138): $Value = 0;
Failed to run /opt/perl5/perls/perl-5.20.0/bin/perl -Mblib t/30break.pl /tmp/oYr32gLc0s: signal: 6 at t/Test/Enbugger.pm line 104.
# Looks like your test exited with 255 before it could output anything.
t/30break.t .............
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 24/24 subtests
# report_file: t/nytprof.out
# report_dir: t/nytprof
# nytprofcsv: /opt/perl5/perls/perl-5.20.0/bin/nytprofcsv
t/nytprof.t ............. ok
t/release-pod-syntax.t .. skipped: these tests are for release candidate testing
t/trepantest.t .......... ok
Test Summary Report
-------------------
t/30break.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 24 tests but ran 0.
Files=9, Tests=32, 26 wallclock secs ( 0.07 usr 0.02 sys + 25.11 cusr 0.43 csys = 25.63 CPU)
Result: FAIL
Failed 1/9 test programs. 0/32 subtests failed.
make: *** [test_dynamic] ÐÑибка 255
PREREQUISITES:
Here is a list of prerequisites you specified and versions we
managed to load:
Module Name Have Want
B::Utils 0.25 0.25
ExtUtils::MakeMaker 7.00 0
Test::More 1.001009 0
Perl module toolchain versions installed:
Module Name Have
CPANPLUS 0.9152
CPANPLUS::Dist::Build 0.78
Cwd 3.48
ExtUtils::CBuilder 0.280220
ExtUtils::Command 1.18
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.00
ExtUtils::Manifest 1.68
ExtUtils::ParseXS 3.24
File::Spec 3.48
Module::Build 0.4210
Pod::Parser 1.62
Pod::Simple 3.28
Test::Harness 3.33
Test::More 1.001009
version 0.9909
******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender. As there are many people performing automatic
tests on each upload to CPAN, it is likely that you will receive
identical messages about the same problem.
If you believe that the message is mistaken, please reply to the first
one with correction and/or additional informations, and do not take
it personally. We appreciate your patience. :)
**********************************************************************
Additional comments:
--
Summary of my perl5 (revision 5 version 20 subversion 1) configuration:
Platform:
osname=linux, osvers=3.13.0-39-generic, archname=x86_64-linux
uname='linux skydevel 3.13.0-39-generic #66-ubuntu smp tue oct 28 13:30:27 utc 2014 x86_64 x86_64 x86_64 gnulinux '
config_args='-de -Dprefix=/opt/perl5/perls/perl-5.20.0 -Aeval:scriptdir=/opt/perl5/perls/perl-5.20.0/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.8.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 /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.19'
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_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Nov 3 2014 11:47:02
%ENV:
PERL5LIB=":/home/skyrider/.cpanplus/5.20.1/build/Enbugger-2.016/blib/lib:/home/skyrider/.cpanplus/5.20.1/build/Enbugger-2.016/blib/arch"
PERL5_CPANPLUS_IS_RUNNING="16913"
PERL5_CPANPLUS_IS_VERSION="0.9152"
PERLBREW_MANPATH="/opt/perl5/perls/perl-5.20.0/man"
PERLBREW_PATH="/opt/perl5/bin:/opt/perl5/perls/perl-5.20.0/bin"
PERLBREW_PERL="perl-5.20.0"
PERLBREW_ROOT="/opt/perl5"
PERLBREW_SKIP_INIT="1"
PERLBREW_VERSION="0.67.1"
PERLDOC_PAGER="most"
PERL_MM_USE_DEFAULT="1"
PERL_READLINE_NOWARN="1"
@INC:
/home/skyrider/.cpanplus/5.20.1/build/Enbugger-2.016/blib/lib
/home/skyrider/.cpanplus/5.20.1/build/Enbugger-2.016/blib/arch
/opt/perl5/perls/perl-5.20.0/lib/site_perl/5.20.1/x86_64-linux
/opt/perl5/perls/perl-5.20.0/lib/site_perl/5.20.1
/opt/perl5/perls/perl-5.20.0/lib/5.20.1/x86_64-linux
/opt/perl5/perls/perl-5.20.0/lib/5.20.1
/opt/perl5/perls/perl-5.20.0/lib/site_perl/5.20.0/x86_64-linux
/opt/perl5/perls/perl-5.20.0/lib/site_perl/5.20.0
/opt/perl5/perls/perl-5.20.0/lib/site_perl
.