Enbugger v2.016 Perl 5 v5.24.4 amd64-freebsd

Status
Fail
From
Slaven Rezić (SREZIC)
Dist
Enbugger v2.016
Platform
Perl 5 v5.24.4 amd64-freebsd
Date
2019-05-15 21:36:20
ID
7ab54150-7759-11e9-bce5-ce4b1f24ea8f
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 report for Enbugger-2.016
on perl 5.24.4, created by CPAN-Reporter-1.2018.

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':

Running Mkbootstrap for Enbugger ()
chmod 644 "Enbugger.bs"
PERL_DL_NONLAZY=1 "/usr/perl5.24.4p/bin/perl5.24.4" "-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 ............ 
All 1 subtests passed 
#!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 /usr/perl5.24.4p/bin/perl5.24.4 -Mblib t/30break.pl /var/tmp/cpansmoker-1023/2019051604/QQtsoQ5uYh: 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 
t/nytprof.t ............. skipped: Skipped because Devel::NYTProf isn't installed
t/release-pod-syntax.t .. skipped: these tests are for release candidate testing
t/trepantest.t .......... skipped: Skipped because Devel::Trepan isn't installed

Test Summary Report
-------------------
t/22signal.t          (Wstat: 11 Tests: 1 Failed: 0)
  Non-zero wait status: 11
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=17, 27 wallclock secs ( 0.05 usr  0.01 sys + 26.85 cusr  0.53 csys = 27.44 CPU)
Result: FAIL
Failed 2/9 test programs. 0/17 subtests failed.
*** Error code 255

Stop.
make: stopped in /home/cpansand/.cpan/build/2019051604/Enbugger-2.016-0

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module              Need Have    
    ------------------- ---- --------
    B::Utils            0.25 0.27    
    Test::More          0    1.001014

build_requires:

    Module              Need Have    
    ------------------- ---- --------
    ExtUtils::MakeMaker 0    7.10_02 

configure_requires:

    Module              Need Have    
    ------------------- ---- --------
    B::Utils            0.22 0.27    
    ExtUtils::CBuilder  0    0.280225
    Test::More          0    1.001014


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/freebsd11.2:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
    PERL5LIB = /home/cpansand/.cpan/build/2019051604/B-Utils-0.27-0/blib/arch:/home/cpansand/.cpan/build/2019051604/B-Utils-0.27-0/blib/lib:/home/cpansand/.cpan/build/2019051604/Task-Weaken-1.06-0/blib/arch:/home/cpansand/.cpan/build/2019051604/Task-Weaken-1.06-0/blib/lib:/home/cpansand/.cpan/build/2019051604/ExtUtils-Depends-0.8000-0/blib/arch:/home/cpansand/.cpan/build/2019051604/ExtUtils-Depends-0.8000-0/blib/lib
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 19309
    PERL5_CPAN_IS_RUNNING = 19309
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 19294,19309
    PERLDOC = -MPod::Perldoc::ToTextOverstrike
    PERL_BATCH = yes
    PERL_CANARY_STABILITY_NOPROMPT = 1
    PERL_CPAN_REPORTER_CONFIG = /var/tmp/cpansmoker-1023/2019051604/cpanreporter_000_config.ini
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_USE_UNSAFE_INC = 1
    SHELL = /usr/local/bin/zsh
    TERM = screen
    TMPDIR = /var/tmp/cpansmoker-1023/2019051604

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = /usr/perl5.24.4p/bin/perl5.24.4
    $UID/$EUID = 1023 / 1023
    $GID = 1023 1023
    $EGID = 1023 1023

Perl module toolchain versions installed:

    Module              Have      
    ------------------- ----------
    CPAN                2.26      
    CPAN::Meta          2.150005  
    Cwd                 3.63_01   
    ExtUtils::CBuilder  0.280225  
    ExtUtils::Command   7.10_02   
    ExtUtils::Install   2.04      
    ExtUtils::MakeMaker 7.10_02   
    ExtUtils::Manifest  1.70      
    ExtUtils::ParseXS   3.31      
    File::Spec          3.63_01   
    JSON                n/a       
    JSON::PP            2.27300_01
    Module::Build       0.4224    
    Module::Signature   n/a       
    Parse::CPAN::Meta   1.4417_001
    Test::Harness       3.36_01   
    Test::More          1.001014  
    YAML                1.27      
    YAML::Syck          1.31      
    version             0.9916    


--

Summary of my perl5 (revision 5 version 24 subversion 4) configuration:
   
  Platform:
    osname=freebsd, osvers=11.2-stable, archname=amd64-freebsd
    uname='freebsd ali3.bbbike.org 11.2-stable freebsd 11.2-stable #0 1d2092adf5e(stable11): wed dec 12 08:11:51 pst 2018 root@ali3.bbbike.org:usrobjhomeprojectsfreebsdsysgeneric amd64 '
    config_args='-ds -e -Dprefix=/usr/perl5.24.4p -Dcf_email=srezic@cpan.org -Dnoextensions=GDBM_File -Doptimize=-O2 -pipe'
    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 ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2',
    optimize='-O2 -pipe',
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion='', gccversion='4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-pthread -Wl,-E  -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib /usr/lib/clang/6.0.1/lib /usr/lib
    libs=-lpthread -lgdbm -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -ldl -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 -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_COPY_ON_WRITE
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
                        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_LOCALE_TIME
                        USE_PERLIO USE_PERL_ATOF
  Built under freebsd
  Compiled at Dec 13 2018 06:54:47
  %ENV:
    PERL5LIB="/home/cpansand/.cpan/build/2019051604/B-Utils-0.27-0/blib/arch:/home/cpansand/.cpan/build/2019051604/B-Utils-0.27-0/blib/lib:/home/cpansand/.cpan/build/2019051604/Task-Weaken-1.06-0/blib/arch:/home/cpansand/.cpan/build/2019051604/Task-Weaken-1.06-0/blib/lib:/home/cpansand/.cpan/build/2019051604/ExtUtils-Depends-0.8000-0/blib/arch:/home/cpansand/.cpan/build/2019051604/ExtUtils-Depends-0.8000-0/blib/lib"
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="19309"
    PERL5_CPAN_IS_RUNNING="19309"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="19294,19309"
    PERLDOC="-MPod::Perldoc::ToTextOverstrike"
    PERL_BATCH="yes"
    PERL_CANARY_STABILITY_NOPROMPT="1"
    PERL_CPAN_REPORTER_CONFIG="/var/tmp/cpansmoker-1023/2019051604/cpanreporter_000_config.ini"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_USE_UNSAFE_INC="1"
  @INC:
    /home/cpansand/.cpan/build/2019051604/B-Utils-0.27-0/blib/arch
    /home/cpansand/.cpan/build/2019051604/B-Utils-0.27-0/blib/lib
    /home/cpansand/.cpan/build/2019051604/Task-Weaken-1.06-0/blib/arch
    /home/cpansand/.cpan/build/2019051604/Task-Weaken-1.06-0/blib/lib
    /home/cpansand/.cpan/build/2019051604/ExtUtils-Depends-0.8000-0/blib/arch
    /home/cpansand/.cpan/build/2019051604/ExtUtils-Depends-0.8000-0/blib/lib
    /usr/perl5.24.4p/lib/site_perl/5.24.4/amd64-freebsd
    /usr/perl5.24.4p/lib/site_perl/5.24.4
    /usr/perl5.24.4p/lib/5.24.4/amd64-freebsd
    /usr/perl5.24.4p/lib/5.24.4
    .