pjf / ipc-system-simple

Perl module to make running system commands and capturing errors as simple as possible.

Home Page:http://search.cpan.org/perldoc?IPC::System::Simple

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows 10 issue on 5.30.2

TBSliver opened this issue · comments

Cannot install lastest IPC::System::Simple version for what seems to be a variety of issues:

cpanm (App::cpanminus) 1.7044 on perl 5.030002 built for MSWin32-x64-multi-thread
Work directory is C:\Users\TOMBLO~1/.cpanm/work/1591174710.30836
You have make "C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\c\bin\gmake.exe"
You have LWP 6.43
Falling back to Archive::Tar 2.36
Searching IPC::System::Simple () on cpanmetadb ...
--> Working on IPC::System::Simple
Fetching http://www.cpan.org/authors/id/J/JK/JKEENAN/IPC-System-Simple-1.30.tar.gz
-> OK
Unpacking IPC-System-Simple-1.30.tar.gz
Entering IPC-System-Simple-1.30
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.44)
Configuring IPC-System-Simple-1.30
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for IPC::System::Simple
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Scalar::Util 0 ... Yes (1.54)
Checking if you have Exporter 0 ... Yes (5.74)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.44)
Checking if you have Win32::Process 0 ... Yes (0.16)
Checking if you have warnings 0 ... Yes (1.44)
Checking if you have POSIX 0 ... Yes (1.88)
Checking if you have Carp 0 ... Yes (1.50)
Checking if you have Test 0 ... Yes (1.31)
Checking if you have List::Util 0 ... Yes (1.54)
Checking if you have Win32::ShellQuote 0 ... Yes (0.003001)
Checking if you have File::Basename 0 ... Yes (2.85)
Checking if you have strict 0 ... Yes (1.11)
Checking if you have constant 0 ... Yes (1.33)
Checking if you have Test::More 0 ... Yes (1.302172)
Checking if you have re 0 ... Yes (0.37)
Building and testing IPC-System-Simple-1.30
cp lib/IPC/System/Simple.pm blib\lib\IPC\System\Simple.pm
"C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/01_load.t ........... ok
'C:\Users\Tom' is not recognized as an internal or external command,
operable program or batch file.
"C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe exiter.pl 0" unexpectedly returned exit value 1 at t/02_exit.t line 32.
# Looks like your test exited with 255 just after 12.
t/02_exit.t ........... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 16/28 subtests 
t/03_signal.t ......... skipped: Signals not implemented on Win32
"C:\Users\Tom" failed to start: "The filename, directory name, or volume label syntax is incorrect" at t/04_capture.t line 25.
# Looks like your test exited with 25 just after 1.
t/04_capture.t ........ 
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 11/12 subtests 
t/05_multi_capture.t .. ok
t/06_fail.t ........... ok

#   Failed test '$perl_path is clean'
#   at t/07_taint.t line 14.

#   Failed test 'Single-arg, tainted ENV'
#   at t/07_taint.t line 32.
#                   'IPC::System::Simple::run called with tainted argument "C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe exiter.pl 0" at t/07_taint.t line 31.
# '
#     doesn't match '(?^:called with tainted environment)'

#   Failed test 'Multi-arg, tainted ENV'
#   at t/07_taint.t line 35.
#                   'IPC::System::Simple::run called with tainted argument "C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe" at t/07_taint.t line 34.
# '
#     doesn't match '(?^:called with tainted environment)'

#   Failed test 'Single-arg, clean data and ENV'
#   at t/07_taint.t line 47.
#          got: 'IPC::System::Simple::run called with tainted argument "C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe exiter.pl 0" at t/07_taint.t line 46.
# '
#     expected: ''

#   Failed test 'Multi-arg, clean data and ENV'
#   at t/07_taint.t line 50.
#          got: 'IPC::System::Simple::run called with tainted argument "C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe" at t/07_taint.t line 49.
# '
#     expected: ''

#   Failed test 'Returns of multi-arg capture should be tainted'
#   at t/07_taint.t line 53.

#   Failed test 'Returns of single-arg capture should be tainted'
#   at t/07_taint.t line 56.
# Looks like you failed 7 tests of 13.
t/07_taint.t .......... 
Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/13 subtests 
t/08_core.t ........... skipped: BSD::Resource required for coredump tests
'C:\Users\Tom' is not recognized as an internal or external command,
operable program or batch file.
"C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe exiter.pl 0" unexpectedly returned exit value 1 at t/09_system.t line 21.
# Looks like your test exited with 255 just after 1.
t/09_system.t ......... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 23/24 subtests 
t/10_formatting.t ..... ok
'C:\Users\Tom' is not recognized as an internal or external command,
operable program or batch file.

#   Failed test 'Run works with single arg'
#   at t/11_newlines.t line 15.
#          got: '"C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe -e1" unexpectedly returned exit value 1 at t/11_newlines.t line 14.
# '
#     expected: ''
'C:\Users\Tom' is not recognized as an internal or external command,
operable program or batch file.

#   Failed test 'Run works with \n'
#   at t/11_newlines.t line 18.
#          got: '"C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe -e1
# " unexpectedly returned exit value 1 at t/11_newlines.t line 17.
# '
#     expected: ''
'C:\Users\Tom' is not recognized as an internal or external command,
operable program or batch file.

#   Failed test 'Run works with \r\n'
#   at t/11_newlines.t line 21.
#          got: '"C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe -e1

# " unexpectedly returned exit value 1 at t/11_newlines.t line 20.
# '
#     expected: ''

#   Failed test 'Run works with single arg'
#   at t/11_newlines.t line 24.
#          got: '"C:\Users\Tom" failed to start: "The filename, directory name, or volume label syntax is incorrect" at t/11_newlines.t line 23.
# '
#     expected: ''

#   Failed test 'Run works with \n'
#   at t/11_newlines.t line 27.
#          got: '"C:\Users\Tom" failed to start: "The filename, directory name, or volume label syntax is incorrect" at t/11_newlines.t line 26.
# '
#     expected: ''

#   Failed test 'Run works with \r\n'
#   at t/11_newlines.t line 30.
#          got: '"C:\Users\Tom" failed to start: "The filename, directory name, or volume label syntax is incorrect" at t/11_newlines.t line 29.
# '
#     expected: ''
# Looks like you failed 6 tests of 6.
t/11_newlines.t ....... 
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/6 subtests 
'C:\Users\Tom' is not recognized as an internal or external command,
operable program or batch file.

#   Failed test 'system invokes the shell'
#   at t/12_systemx.t line 23.
#          got: '"C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe exiter.pl 0" unexpectedly returned exit value 1 at t/12_systemx.t line 20.
# '
#     expected: ''

#   Failed test 'capture invokes the shell'
#   at t/12_systemx.t line 42.
#                   undef
#     doesn't match '(?^:Hello)'
# Looks like you failed 2 tests of 7.
t/12_systemx.t ........ 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/7 subtests 
t/13_exports.t ........ ok
t/14_uninitialised.t .. ok
'C:\Users\Tom' is not recognized as an internal or external command,
operable program or batch file.

#   Failed test 'Should have no error from run with redirection'
#   at t/args.t line 75.
#          got: '"C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe output.pl > test.tmp" unexpectedly returned exit value 1 at t/args.t line 74.
# '
#     expected: ''

#   Failed test 'Should have exit 0 from run with redirection'
#   at t/args.t line 76.
#          got: undef
#     expected: '0'

#   Failed test 'Should have redirected text run'
#   at t/args.t line 77.
#          got: ''
#     expected: 'Hello
# Goodbye
# '
'C:\Users\Tom' is not recognized as an internal or external command,
operable program or batch file.

#   Failed test 'Should have no error from systemx with redirection'
#   at t/args.t line 80.
#          got: '"C:\Users\Tom Bloor\_psperl\_perls\perl64-5.30.2.1\perl\bin\perl.exe output.pl > test.tmp" unexpectedly returned exit value 1 at t/args.t line 79.
# '
#     expected: ''

#   Failed test 'Should have exit 0 from systemx with redirection'
#   at t/args.t line 81.
#          got: undef
#     expected: '0'

#   Failed test 'Should have redirected text systemx'
#   at t/args.t line 82.
#          got: ''
#     expected: 'Hello
# Goodbye
# '

#   Failed test 'Should have no error from single-string capture'
#   at t/args.t line 86.
#          got: '"C:\Users\Tom" failed to start: "The filename, directory name, or volume label syntax is incorrect" at t/args.t line 85.
# '
#     expected: ''

#   Failed test 'Should have output from capture'
#   at t/args.t line 87.
#          got: undef
#     expected: 'Hello
# Goodbye
# '
# Looks like you failed 8 tests of 56.
t/args.t .............. 
Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/56 subtests 
t/internal.t .......... ok
t/win32.t ............. ok

Test Summary Report
-------------------
t/02_exit.t         (Wstat: 65280 Tests: 12 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 28 tests but ran 12.
t/04_capture.t      (Wstat: 6400 Tests: 1 Failed: 0)
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 12 tests but ran 1.
t/07_taint.t        (Wstat: 1792 Tests: 13 Failed: 7)
  Failed tests:  1, 6-7, 10-13
  Non-zero exit status: 7
t/09_system.t       (Wstat: 65280 Tests: 1 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 24 tests but ran 1.
t/11_newlines.t     (Wstat: 1536 Tests: 6 Failed: 6)
  Failed tests:  1-6
  Non-zero exit status: 6
t/12_systemx.t      (Wstat: 512 Tests: 7 Failed: 2)
  Failed tests:  1, 4
  Non-zero exit status: 2
t/args.t            (Wstat: 2048 Tests: 56 Failed: 8)
  Failed tests:  49-56
  Non-zero exit status: 8
Files=17, Tests=167,  6 wallclock secs ( 0.08 usr +  0.03 sys =  0.11 CPU)
Result: FAIL
Failed 7/17 test programs. 23/167 subtests failed.
gmake: *** [Makefile:897: test_dynamic] Error 255
-> FAIL Installing IPC::System::Simple failed. See C:\Users\TOMBLO~1\.cpanm\work\1591174710.30836\build.log for details. Retry with --force to force install it.

From the list, seems that, at a minimum #9 is an issue still, as well as #34. Note the perl was installed using psperl

Hi, just ran headfirst back into this - can either #38 be checked and merged or at least some reply on this? its been over 6 months and the problem is still there @pjf @jkeenan