Report for Unix-Pledge-0.004

Back
From: metabase:user:7a78640e-b558-11e5-b2cd-310256c0a606
Subject: FAIL Unix-Pledge-0.004 v5.22.1 GNU/Linux
Date: 2016-01-13T11:11:16Z

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 REF,

This is a computer-generated report for Unix-Pledge-0.004
on perl 5.22.1, created by App::cpanminus::reporter 0.13 (1.7027).

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

Building and testing Unix-Pledge-0.004
cp lib/Unix/Pledge.pm blib/lib/Unix/Pledge.pm
Running Mkbootstrap for Unix::Pledge ()
chmod 644 "Pledge.bs"
"/home/rr/perl5/perlbrew/perls/perl-5.22.1/bin/perl" "/home/rr/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/ExtUtils/xsubpp"  -typemap "/home/rr/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/ExtUtils/typemap"  Pledge.xs > Pledge.xsc && mv Pledge.xsc Pledge.c
cc -c   -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"0.004\" -DXS_VERSION=\"0.004\" -fPIC "-I/home/rr/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/x86_64-linux/CORE"   Pledge.c
rm -f blib/arch/auto/Unix/Pledge/Pledge.so
cc  -shared -O2 -L/usr/local/lib -fstack-protector-strong Pledge.o  -o blib/arch/auto/Unix/Pledge/Pledge.so 	\
     	\
  
chmod 755 blib/arch/auto/Unix/Pledge/Pledge.so
"/home/rr/perl5/perlbrew/perls/perl-5.22.1/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pledge.bs blib/arch/auto/Unix/Pledge/Pledge.bs 644
Manifying 1 pod document
Running Mkbootstrap for Unix::Pledge ()
chmod 644 "Pledge.bs"
PERL_DL_NONLAZY=1 "/home/rr/perl5/perlbrew/perls/perl-5.22.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

#   Failed test 'use Unix::Pledge;'
#   at t/Unix-Pledge.t line 15.
#     Tried to use 'Unix::Pledge'.
#     Error:  Can't load '/home/rr/.cpanm/work/1452683312.30923/Unix-Pledge-0.004/blib/arch/auto/Unix/Pledge/Pledge.so' for module Unix::Pledge: /home/rr/.cpanm/work/1452683312.30923/Unix-Pledge-0.004/blib/arch/auto/Unix/Pledge/Pledge.so: undefined symbol: pledge at /home/rr/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/x86_64-linux/DynaLoader.pm line 193.
#  at t/Unix-Pledge.t line 15.
# Compilation failed in require at t/Unix-Pledge.t line 15.
# BEGIN failed--compilation aborted at t/Unix-Pledge.t line 15.
Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 53.
Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 42.

#   Failed test 'File::Temp, ok'
#   at t/Unix-Pledge.t line 103.
Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 74.

#   Failed test 'INET Socket, ok'
#   at t/Unix-Pledge.t line 103.
Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 67.

#   Failed test 'UNIX Socket, ok'
#   at t/Unix-Pledge.t line 103.
Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 60.

#   Failed test 'File::Temp, ok no flock'
#   at t/Unix-Pledge.t line 103.
Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 35.
Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 21.

#   Failed test 'stdio only, ok'
#   at t/Unix-Pledge.t line 103.
Undefined subroutine &main::pledge called at t/Unix-Pledge.t line 28.
# Looks like you planned 10 tests but ran 9.
# Looks like you failed 6 tests of 9 run.
t/Unix-Pledge.t .. 
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 7/10 subtests 

Test Summary Report
-------------------
t/Unix-Pledge.t (Wstat: 1536 Tests: 9 Failed: 6)
  Failed tests:  1, 3-6, 8
  Non-zero exit status: 6
  Parse errors: Bad plan.  You planned 10 tests but ran 9.
Files=1, Tests=9,  0 wallclock secs ( 0.01 usr  0.00 sys +  0.04 cusr  0.00 csys =  0.05 CPU)
Result: FAIL

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

Prerequisite modules loaded:

    No requirements found

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

Environment variables:

    LANG = en_GB.UTF-8
    LANGUAGE = en_GB:en
    PATH = /home/rr/perl5/perlbrew/bin:/home/rr/perl5/perlbrew/perls/perl-5.22.1/bin:/home/rr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
    PERLBREW_BASHRC_VERSION = 0.71
    PERLBREW_HOME = /home/rr/.perlbrew
    PERLBREW_MANPATH = /home/rr/perl5/perlbrew/perls/perl-5.22.1/man
    PERLBREW_PATH = /home/rr/perl5/perlbrew/bin:/home/rr/perl5/perlbrew/perls/perl-5.22.1/bin
    PERLBREW_PERL = perl-5.22.1
    PERLBREW_ROOT = /home/rr/perl5/perlbrew
    PERLBREW_VERSION = 0.71
    SHELL = /bin/bash
    TERM = xterm

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

    EGID = 1000 4 24 27 30 46 108 124 1000
    EUID = 1000
    EXECUTABLE_NAME = /home/rr/perl5/perlbrew/perls/perl-5.22.1/bin/perl
    GID = 1000 4 24 27 30 46 108 124 1000
    UID = 1000

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.11    
    CPAN::Meta          2.150005
    Cwd                 3.60    
    ExtUtils::CBuilder  0.280224
    ExtUtils::Command   7.10    
    ExtUtils::Install   2.04    
    ExtUtils::MakeMaker 7.10    
    ExtUtils::Manifest  1.70    
    ExtUtils::ParseXS   3.30    
    File::Spec          3.60    
    JSON                2.90    
    JSON::PP            2.27300 
    Module::Build       0.4214  
    Module::Signature   n/a     
    Parse::CPAN::Meta   1.4417  
    Test::Harness       3.36    
    Test::More          1.001014
    YAML                1.15    
    YAML::Syck          n/a     
    version             0.9912  


--

Summary of my perl5 (revision 5 version 22 subversion 1) configuration:
   
  Platform:
    osname=linux, osvers=3.19.0-22-generic, archname=x86_64-linux
    uname='linux lightheart 3.19.0-22-generic #22-ubuntu smp tue jun 16 17:15:15 utc 2015 x86_64 x86_64 x86_64 gnulinux '
    config_args='-de -Dprefix=/home/rr/perl5/perlbrew/perls/perl-5.22.1 -Aeval:scriptdir=/home/rr/perl5/perlbrew/perls/perl-5.22.1/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-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion='', gccversion='4.9.2', 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 =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.9/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=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.21.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.21'
  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-strong'


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_LOCALE_TIME USE_PERLIO
                        USE_PERL_ATOF
  Built under linux
  Compiled at Jan  7 2016 14:20:42
  %ENV:
    PERLBREW_BASHRC_VERSION="0.71"
    PERLBREW_HOME="/home/rr/.perlbrew"
    PERLBREW_MANPATH="/home/rr/perl5/perlbrew/perls/perl-5.22.1/man"
    PERLBREW_PATH="/home/rr/perl5/perlbrew/bin:/home/rr/perl5/perlbrew/perls/perl-5.22.1/bin"
    PERLBREW_PERL="perl-5.22.1"
    PERLBREW_ROOT="/home/rr/perl5/perlbrew"
    PERLBREW_VERSION="0.71"
  @INC:
    /home/rr/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/x86_64-linux
    /home/rr/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1
    /home/rr/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/x86_64-linux
    /home/rr/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1
    .