atrodo / App-MechaCPAN

Mechanize the installation of CPAN things
Other
2 stars 2 forks source link

Tests (still) fail without '.' in @INC #5

Closed dcollinsn closed 7 years ago

dcollinsn commented 7 years ago

A recent security patch to Perl itself removed '.', the current working directory, from \@INC, the default search path for 'use', 'do', and 'require'. This fix for CVE-2016-1238 will be part of Perl 5.26.0, due to be released this April, 2017. CPAN clients will temporarily provide backwards compatibility during the module build/test process by setting the environment variable PERL_USE_UNSAFE_INC=1 during build, test, and install. HOWEVER:

1) This environment variable is a temporary fix only for compatibility, due to be removed for Perl 5.30.0. 2) This may mask errors in your module itself, by testing your module under different conditions than those that it will actually be run under.

To read more about this, you may find the following links helpful:

During a smoke-test of all of cpan, your distribution was found to be unable to configure, build, test, or install without adding '.' to @INC. This means that your distribution will stop building properly for all users when the CPAN clients remove this temporary compatibility fix, and that it may already have problems when used, problems which are being masked by this temporary compatibility fix.

A full error log follows:


Output from '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/home/cpan2/install/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/01_sanity.t .............. ok
t/02_cmds.t ................ ok
t/11_perl.t ................ ok
t/04_opts.t ................ ok
t/12_perl__get_targz.t ..... ok
t/03_run.t ................. ok
t/22_install__get_targz.t .. ok
t/24_simple_source.t ....... ok
t/25_depend_source.t ....... ok
t/26_avoid_reinstall.t ..... ok
t/26_subseq_prereq.t ....... ok

Could not execute 'make test'
PID: 20765  Exit Code: 2        
make[1]: Entering directory '/tmp/mechacpan_NSTM3WPw/Test-Simple-1.302078'
PERL_DL_NONLAZY=1 "/home/cpan2/install/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Legacy/*.t t/Legacy/Bugs/*.t t/Legacy/Builder/*.t t/Legacy/Regression/*.t t/Legacy/Simple/*.t t/Legacy/Test2/*.t t/Legacy/Tester/*.t t/Legacy/subtest/*.t t/Legacy_And_Test2/*.t t/Test2/acceptance/*.t t/Test2/behavior/*.t t/Test2/legacy/*.t t/Test2/modules/*.t t/Test2/modules/API/*.t t/Test2/modules/Event/*.t t/Test2/modules/Formatter/*.t t/Test2/modules/Hub/*.t t/Test2/modules/Hub/Interceptor/*.t t/Test2/modules/IPC/*.t t/Test2/modules/IPC/Driver/*.t t/Test2/modules/Tools/*.t t/Test2/modules/Util/*.t t/Test2/regression/*.t t/regression/*.t
t/00-report.t .................................. ok
t/00compile.t .................................. ok
t/Legacy/00test_harness_check.t ................ ok
t/Legacy/01-basic.t ............................ ok
t/Legacy/478-cmp_ok_hash.t ..................... ok
t/Legacy/auto.t ................................ ok
t/Legacy/bad_plan.t ............................ ok
t/Legacy/bail_out.t ............................ ok
t/Legacy/BEGIN_require_ok.t .................... ok
t/Legacy/BEGIN_use_ok.t ........................ ok
t/Legacy/buffer.t .............................. ok
t/Legacy/Bugs/600.t ............................ ok
t/Legacy/Bugs/629.t ............................ ok
t/Legacy/Builder/Builder.t ..................... ok
t/Legacy/Builder/carp.t ........................ ok
t/Legacy/Builder/create.t ...................... ok
t/Legacy/Builder/current_test.t ................ ok
t/Legacy/Builder/current_test_without_plan.t ... ok
t/Legacy/Builder/details.t ..................... ok
t/Legacy/Builder/done_testing.t ................ ok
t/Legacy/Builder/done_testing_double.t ......... ok
t/Legacy/Builder/done_testing_plan_mismatch.t .. ok
t/Legacy/Builder/done_testing_with_no_plan.t ... ok
t/Legacy/Builder/done_testing_with_number.t .... ok
t/Legacy/Builder/done_testing_with_plan.t ...... ok
t/Legacy/Builder/fork_with_new_stdout.t ........ ok
t/Legacy/Builder/has_plan.t .................... ok
t/Legacy/Builder/has_plan2.t ................... ok
t/Legacy/Builder/is_fh.t ....................... ok
t/Legacy/Builder/is_passing.t .................. ok
t/Legacy/Builder/maybe_regex.t ................. ok
t/Legacy/Builder/no_diag.t ..................... ok
t/Legacy/Builder/no_ending.t ................... ok
t/Legacy/Builder/no_header.t ................... ok
t/Legacy/Builder/no_plan_at_all.t .............. ok
t/Legacy/Builder/ok_obj.t ...................... ok
t/Legacy/Builder/output.t ...................... ok
t/Legacy/Builder/reset.t ....................... ok
t/Legacy/Builder/reset_outputs.t ............... ok
t/Legacy/Builder/try.t ......................... ok
t/Legacy/c_flag.t .............................. ok
t/Legacy/capture.t ............................. ok
t/Legacy/check_tests.t ......................... ok
t/Legacy/circular_data.t ....................... ok
t/Legacy/cmp_ok.t .............................. ok
t/Legacy/depth.t ............................... ok
t/Legacy/diag.t ................................ ok
t/Legacy/died.t ................................ ok
t/Legacy/dont_overwrite_die_handler.t .......... ok
t/Legacy/eq_set.t .............................. ok
t/Legacy/exit.t ................................ ok
t/Legacy/explain.t ............................. ok
t/Legacy/explain_err_vars.t .................... ok
t/Legacy/extra.t ............................... ok
t/Legacy/extra_one.t ........................... ok
t/Legacy/fail-like.t ........................... ok
t/Legacy/fail-more.t ........................... ok
t/Legacy/fail.t ................................ ok
t/Legacy/fail_one.t ............................ ok
t/Legacy/filehandles.t ......................... ok
t/Legacy/fork.t ................................ ok
t/Legacy/harness_active.t ...................... ok
t/Legacy/import.t .............................. ok
t/Legacy/is_deeply_dne_bug.t ................... ok
t/Legacy/is_deeply_fail.t ...................... ok
t/Legacy/is_deeply_with_threads.t .............. skipped: many perls have broken threads.  Enable with AUTHOR_TESTING.
t/Legacy/missing.t ............................. ok
t/Legacy/More.t ................................ ok
t/Legacy/new_ok.t .............................. ok
t/Legacy/no_plan.t ............................. ok
t/Legacy/no_tests.t ............................ ok
t/Legacy/note.t ................................ ok
t/Legacy/overload.t ............................ ok
t/Legacy/overload_threads.t .................... ok
t/Legacy/plan.t ................................ ok
t/Legacy/plan_bad.t ............................ ok
t/Legacy/plan_is_noplan.t ...................... ok
t/Legacy/plan_no_plan.t ........................ ok
t/Legacy/plan_shouldnt_import.t ................ ok
t/Legacy/plan_skip_all.t ....................... skipped: Just testing plan & skip_all
t/Legacy/Regression/637.t ...................... skipped: many perls have broken threads.  Enable with AUTHOR_TESTING.
t/Legacy/Regression/683_thread_todo.t .......... ok
t/Legacy/Regression/6_cmp_ok.t ................. ok
t/Legacy/Regression/736_use_ok.t ............... ok
t/Legacy/require_ok.t .......................... ok
t/Legacy/run_test.t ............................ ok
t/Legacy/simple.t .............................. ok
t/Legacy/Simple/load.t ......................... ok
t/Legacy/skip.t ................................ ok
t/Legacy/skipall.t ............................. ok
t/Legacy/strays.t .............................. skipped: not completed
t/Legacy/subtest/args.t ........................ ok
t/Legacy/subtest/bail_out.t .................... ok
t/Legacy/subtest/basic.t ....................... ok
t/Legacy/subtest/die.t ......................... ok
t/Legacy/subtest/do.t .......................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests 
t/Legacy/subtest/events.t ...................... ok
t/Legacy/subtest/fork.t ........................ ok
t/Legacy/subtest/implicit_done.t ............... ok
t/Legacy/subtest/line_numbers.t ................ ok
t/Legacy/subtest/plan.t ........................ ok
t/Legacy/subtest/predicate.t ................... ok
t/Legacy/subtest/singleton.t ................... ok
t/Legacy/subtest/threads.t ..................... ok
t/Legacy/subtest/todo.t ........................ ok
t/Legacy/subtest/wstat.t ....................... ok
t/Legacy/tbm_doesnt_set_exported_to.t .......... ok
t/Legacy/Test2/Subtest.t ....................... ok
t/Legacy/Tester/tbt_01basic.t .................. ok
t/Legacy/Tester/tbt_02fhrestore.t .............. ok
t/Legacy/Tester/tbt_03die.t .................... ok
t/Legacy/Tester/tbt_04line_num.t ............... ok
t/Legacy/Tester/tbt_05faildiag.t ............... ok
t/Legacy/Tester/tbt_06errormess.t .............. ok
t/Legacy/Tester/tbt_07args.t ................... ok
t/Legacy/Tester/tbt_08subtest.t ................ ok
t/Legacy/Tester/tbt_09do.t ..................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 3/3 subtests 
t/Legacy/thread_taint.t ........................ ok
t/Legacy/threads.t ............................. ok
t/Legacy/todo.t ................................ ok
t/Legacy/undef.t ............................... ok
t/Legacy/use_ok.t .............................. ok
t/Legacy/useing.t .............................. ok
t/Legacy/utf8.t ................................ ok
t/Legacy/versions.t ............................ ok
t/Legacy_And_Test2/builder_loaded_late.t ....... ok
t/Legacy_And_Test2/hidden_warnings.t ........... ok
t/regression/642_persistent_end.t .............. ok
t/regression/662-tbt-no-plan.t ................. ok
t/regression/684-nested_todo_diag.t ............ ok
t/regression/694_note_diag_return_values.t ..... ok
t/regression/696-intercept_skip_all.t .......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 
t/regression/721-nested-streamed-subtest.t ..... ok
t/regression/757-reset_in_subtest.t ............ ok
t/regression/no_name_in_subtest.t .............. ok
t/Test2/acceptance/try_it_done_testing.t ....... ok
t/Test2/acceptance/try_it_fork.t ............... ok
t/Test2/acceptance/try_it_no_plan.t ............ ok
t/Test2/acceptance/try_it_plan.t ............... ok
t/Test2/acceptance/try_it_skip.t ............... skipped: testing skip all
t/Test2/acceptance/try_it_threads.t ............ ok
t/Test2/acceptance/try_it_todo.t ............... ok
t/Test2/behavior/err_var.t ..................... ok
t/Test2/behavior/Formatter.t ................... ok
t/Test2/behavior/init_croak.t .................. ok
t/Test2/behavior/nested_context_exception.t .... ok
t/Test2/behavior/no_load_api.t ................. ok
t/Test2/behavior/run_subtest_inherit.t ......... ok
t/Test2/behavior/special_names.t ............... ok
t/Test2/behavior/Subtest_buffer_formatter.t .... ok
t/Test2/behavior/Subtest_events.t .............. ok
t/Test2/behavior/Subtest_plan.t ................ ok
t/Test2/behavior/Subtest_todo.t ................ ok
t/Test2/behavior/Taint.t ....................... ok
t/Test2/behavior/trace_signature.t ............. ok
t/Test2/legacy/TAP.t ........................... ok
t/Test2/modules/API.t .......................... ok
t/Test2/modules/API/Breakage.t ................. ok
t/Test2/modules/API/Context.t .................. ok
t/Test2/modules/API/Instance.t ................. ok
t/Test2/modules/API/Stack.t .................... ok
t/Test2/modules/Event.t ........................ ok
t/Test2/modules/Event/Bail.t ................... ok
t/Test2/modules/Event/Diag.t ................... ok
t/Test2/modules/Event/Exception.t .............. ok
t/Test2/modules/Event/Generic.t ................ ok
t/Test2/modules/Event/Info.t ................... ok
t/Test2/modules/Event/Note.t ................... ok
t/Test2/modules/Event/Ok.t ..................... ok
t/Test2/modules/Event/Plan.t ................... ok
t/Test2/modules/Event/Skip.t ................... ok
t/Test2/modules/Event/Subtest.t ................ ok
t/Test2/modules/Event/Waiting.t ................ ok
t/Test2/modules/Formatter/TAP.t ................ ok
t/Test2/modules/Hub.t .......................... ok
t/Test2/modules/Hub/Interceptor.t .............. ok
t/Test2/modules/Hub/Interceptor/Terminator.t ... ok
t/Test2/modules/Hub/Subtest.t .................. ok
t/Test2/modules/IPC.t .......................... ok
t/Test2/modules/IPC/Driver.t ................... ok
t/Test2/modules/IPC/Driver/Files.t ............. ok
t/Test2/modules/Tools/Tiny.t ................... ok
t/Test2/modules/Util.t ......................... ok
t/Test2/modules/Util/ExternalMeta.t ............ ok
t/Test2/modules/Util/HashBase.t ................ ok
t/Test2/modules/Util/Trace.t ................... ok
t/Test2/regression/693_ipc_ordering.t .......... ok
t/Test2/regression/746-forking-subtest.t ....... ok
t/Test2/regression/gh_16.t ..................... ok
t/Test2/regression/ipc_files_abort_exit.t ...... ok
t/zzz-check-breaks.t ........................... ok

Test Summary Report
-------------------
t/Legacy/subtest/do.t                        (Wstat: 256 Tests: 4 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
t/Legacy/Tester/tbt_09do.t                   (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 3 tests but ran 1.
t/regression/696-intercept_skip_all.t        (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=191, Tests=2269, 24 wallclock secs ( 0.96 usr  0.18 sys + 19.90 cusr  1.22 csys = 22.26 CPU)
Result: FAIL
Makefile:903: recipe for target 'test_dynamic' failed
make[1]: Leaving directory '/tmp/mechacpan_NSTM3WPw/Test-Simple-1.302078'


# DIAGNOSTICS INFO IN CASE OF FAILURE:

# Perl: 5.026000

# CAPABILITIES:
# CAN_FORK         Yes
# CAN_REALLY_FORK  Yes
# CAN_THREAD       Yes

# DEPENDENCIES:
# Carp          1.42
# File::Spec    3.67
# File::Temp    0.2304
# PerlIO        1.10
# Scalar::Util  1.4602
# Storable      2.62
# Test2         1.302078
# overload      1.28
# threads       2.15
# utf8          1.19
do "t/Legacy/subtest/for_do_t.test" failed, '.' is no longer in @INC; did you mean do "./t/Legacy/subtest/for_do_t.test"? at t/Legacy/subtest/do.t line 13.
    # No tests run!

#   Failed test 'No tests run for subtest "t/Legacy/subtest/for_do_t.test"'
#   at t/Legacy/subtest/do.t line 13.
# Looks like you failed 1 test of 4.
do "t/Legacy/Tester/tbt_09do_script.pl" failed, '.' is no longer in @INC; did you mean do "./t/Legacy/Tester/tbt_09do_script.pl"? at t/Legacy/Tester/tbt_09do.t line 12.

#   Failed test 'do succeeded'
#   at t/Legacy/Tester/tbt_09do.t line 13.
#   $! is 'No such file or directory'
# Looks like you planned 3 tests but ran 1.
# Looks like you failed 1 test of 1 run.

# Failed test 'in_require'
# at t/regression/696-intercept_skip_all.t line 39.
# Caught exception in subtest: Can't locate t/lib/SkipAll.pm in @INC (you may need to install the t::lib::SkipAll module) (@INC contains: /tmp/mechacpan_NSTM3WPw/Test-Simple-1.302078/blib/lib /tmp/mechacpan_NSTM3WPw/Test-Simple-1.302078/blib/arch /tmp/mechacpan_t_Pt36YWuy/local/lib/perl5 /tmp/mechacpan_t_Pt36YWuy/local/lib/perl5 /home/cpan2/install/lib/perl5/site_perl/5.26.0/x86_64-linux-thread-multi /home/cpan2/install/lib/perl5/site_perl/5.26.0 /home/cpan2/install/lib/perl5/5.26.0/x86_64-linux-thread-multi /home/cpan2/install/lib/perl5/5.26.0) at t/regression/696-intercept_skip_all.t line 32.
Failed 3/191 test programs. 3/2269 subtests failed.
make[1]: *** [test_dynamic] Error 255

 at /home/cpan2/.cpan/build/App-MechaCPAN-0.18-0/blib/lib/App/MechaCPAN/Install.pm line 339.
cannot remove path when cwd is /tmp/mechacpan_NSTM3WPw/Test-Simple-1.302078 for /tmp/mechacpan_NSTM3WPw:  at /home/cpan2/install/lib/perl5/5.26.0/File/Temp.pm line 784.
t/23_install_array.t ....... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/27_opts.t ................ ok
t/31_cpanfile.t ............ ok
t/33_snapshot.t ............ ok
t/34_deploy_correct.t ...... ok
t/32_deploy.t .............. ok
t/author-pod-syntax.t ...... skipped: these tests are for testing by the author
t/35_deploy_snapshot.t ..... ok

#   Failed test 'Set PERL_USE_UNSAFE_INC: /home/cpan2/.cpan/build/App-MechaCPAN-0.18-0/t/../test_dists/UnsafeInc/UnsafeInc-1.0.tar.gz'
#   at t/gh3.t line 19.
#          got: '-1'
#     expected: '0'
# Looks like you failed 1 test of 8.
t/gh3.t .................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests 

Could not execute 'make test'
PID: 15573  Exit Code: 2        
make[1]: Entering directory '/tmp/mechacpan_xWqV9cL2/UnsafeInc-1.0'
PERL_DL_NONLAZY=1 "/home/cpan2/install/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests 

Test Summary Report
-------------------
t/basic.t (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=1, Tests=2,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.05 cusr  0.00 csys =  0.08 CPU)
Result: FAIL
Makefile:847: recipe for target 'test_dynamic' failed
make[1]: Leaving directory '/tmp/mechacpan_xWqV9cL2/UnsafeInc-1.0'


#   Failed test 'PERL_USE_UNSAFE_INC set'
#   at t/basic.t line 6.
#          got: '0'
#     expected: '1'
# Looks like you failed 1 test of 2.
Failed 1/1 test programs. 1/2 subtests failed.
make[1]: *** [test_dynamic] Error 1

 at /home/cpan2/.cpan/build/App-MechaCPAN-0.18-0/blib/lib/App/MechaCPAN/Install.pm line 339.

#   Failed test 'Can install /home/cpan2/.cpan/build/App-MechaCPAN-0.18-0/t/../test_dists/UnsafeInc/UnsafeInc-1.0.tar.gz'
#   at t/21_install.t line 22.
#          got: '-1'
#     expected: '0'

#   Failed test 'Library exists as expected'
#   at t/21_install.t line 24.
# Looks like you failed 2 tests of 21.
t/21_install.t ............. 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/21 subtests 

Test Summary Report
-------------------
t/23_install_array.t     (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/gh3.t                  (Wstat: 256 Tests: 8 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/21_install.t           (Wstat: 512 Tests: 21 Failed: 2)
  Failed tests:  19, 21
  Non-zero exit status: 2
Files=21, Tests=109, 110 wallclock secs ( 0.11 usr  0.02 sys + 155.91 cusr 14.58 csys = 170.62 CPU)
Result: FAIL
Failed 3/21 test programs. 3/109 subtests failed.
Makefile:887: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 2

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

Prerequisite modules loaded:

requires:

    Module              Need     Have    
    ------------------- -------- --------
    CPAN::Meta          0        2.150010
    perl                5.014000 5.026000

build_requires:

    Module              Need     Have    
    ------------------- -------- --------
    ExtUtils::MakeMaker 0        7.24    
    Test::More          0.96     1.302073

configure_requires:

    Module              Need     Have    
    ------------------- -------- --------
    ExtUtils::MakeMaker 0        7.24    

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

Environment variables:

    AUTOMATED_TESTING = 1
    HARNESS_OPTIONS = j3
    LANG = en_US.UTF-8
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 16744
    PERL5_CPAN_IS_RUNNING = 16744
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 28757,16744
    PERL_CR_SMOKER_CURRENT = App-MechaCPAN-0.18
    PERL_CR_SMOKER_RUNONCE = 1
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    PERL_USE_UNSAFE_INC = 0
    SHELL = /bin/bash
    TERM = putty-256color

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

    $^X = /home/cpan2/install/bin/perl
    $UID/$EUID = 1003 / 1003
    $GID = 1003 1003
    $EGID = 1003 1003

Perl module toolchain versions installed:

    Module              Have      
    ------------------- ----------
    CPAN                2.17      
    CPAN::Meta          2.150010  
    Cwd                 3.67      
    ExtUtils::CBuilder  0.280225  
    ExtUtils::Command   7.24      
    ExtUtils::Install   2.04      
    ExtUtils::MakeMaker 7.24      
    ExtUtils::Manifest  1.70      
    ExtUtils::ParseXS   3.34      
    File::Spec          3.67      
    JSON                n/a       
    JSON::PP            2.27400_02
    Module::Build       0.4222    
    Module::Signature   n/a       
    Parse::CPAN::Meta   2.150010  
    Test::Harness       3.38      
    Test::More          1.302073  
    YAML                n/a       
    YAML::Syck          1.29      
    version             0.9917    

--

Summary of my perl5 (revision 5 version 26 subversion 0) configuration:
  Commit id: f57d8456e7b8d6b2dad0bb49899cfdc68007b794
  Platform:
    osname=linux
    osvers=3.16.0-4-amd64
    archname=x86_64-linux-thread-multi
    uname='linux digitalis 3.16.0-4-amd64 #1 smp debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 gnulinux '
    config_args='-Dusedevel -DDEBUGGING -Dusethreads -Dprefix=/home/cpan2/install -Uversiononly -des'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=define
    usemultiplicity=define
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='cc'
    ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
    optimize='-O2 -g'
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -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 /lib64 /usr/lib64
    libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -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 -g -L/usr/local/lib -fstack-protector-strong'

Characteristics of this binary (from libperl): 
  Compile-time options:
    DEBUGGING
    HAS_TIMES
    MULTIPLICITY
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_IMPLICIT_CONTEXT
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_TRACK_MEMPOOL
    PERL_USE_DEVEL
    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_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
    USE_REENTRANT_API
  Built under linux
  Compiled at Apr 11 2017 21:42:25
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="16744"
    PERL5_CPAN_IS_RUNNING="16744"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="28757,16744"
    PERL_CR_SMOKER_CURRENT="App-MechaCPAN-0.18"
    PERL_CR_SMOKER_RUNONCE="1"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
    PERL_USE_UNSAFE_INC="0"
  @INC:
    /home/cpan2/install/lib/perl5/site_perl/5.26.0/x86_64-linux-thread-multi
    /home/cpan2/install/lib/perl5/site_perl/5.26.0
    /home/cpan2/install/lib/perl5/5.26.0/x86_64-linux-thread-multi
    /home/cpan2/install/lib/perl5/5.26.0
atrodo commented 7 years ago

Thanks for the report. This one is actually a bit trickier than your last report. The last one was fixed by adding . to all the requires in the test files. This one appears to have 2 less obvious things going wrong.

First, one of the tests ends up trying to install Test-Simple-1.302078, which appears to be the version right before Test::Simple fixed it's own . in @INC issue. I'm going to look into removing the download-and-install part of t/23_install_array.t to prevent errors in Test::Simple from tripping it up again. However, looking more closely at the time stamps in the error log, 1.302079 (the version with the @INC fix) was released well before April 11th, which concerns me a little why it chose 1.302078 instead of a later version. (edit: Oops, just noticed, 1.302079-1.302082 were trial releases, so they would not have been chosen. Rerunning this smoke now would remove this issue, but the other one would remain.)

Second, t/gh3.t and t/21_install.t both appear to be failing because PERL_USE_UNSAFE_INC was explicitly set to 0 and were trying to install the UnsafeInc test dist which intentionally fails when PERL_USE_UNSAFE_INC is false. So I'm going to look into fixing that condition, although I'm not entirely sure what the right way to go about it might be right now.

atrodo commented 7 years ago

Okay, I just pushed a new version (v0.19) to CPAN that should correct this issue. @dcollinsn, would you mind verifying that this new version is fixed for you as well?