Skip Menu |

This queue is for tickets about the Proc-Exists CPAN distribution.

Report information
The Basics
Id: 120979
Status: open
Priority: 0/
Queue: Proc-Exists

People
Owner: Nobody in particular
Requestors: jason [...] froebe.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.01
Fixed in: (no value)



Subject: Tests fail on Strawberry Perl 5.24.1.1 (64bit) Windows 10 (pure perl)
Platform: Strawberry Perl 5.24.1.1 (64bit) Windows 10 Proc::Exists version: 1.01 Pure perl build Show quoted text
cpan> install Proc::Exists
Database was generated on Tue, 04 Apr 2017 18:56:26 GMT Running install for module 'Proc::Exists' Checksum for C:\Perl\STRAWB~1\cpan\sources\authors\id\B\BR\BRIANSKI\Proc-Exists-1.01.tar.gz ok Scanning cache C:\Perl\STRAWB~1\cpan\build for sizes ............................................................................DONE Configuring B/BR/BRIANSKI/Proc-Exists-1.01.tar.gz with Makefile.PL It is recommended to use the XS code, which is faster, and compatible with non-cygwin win32. You should only use the pureperl option if you are on a POSIX system *without* a functional c compiler, or you have trouble compiling the XS. Do you want to use the pureperl implementation (y/n)? [no] yes updating Configuration.pm -- want_pureperl: 0 => 1 on os: MSWin32 Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Proc::Exists Writing MYMETA.yml and MYMETA.json BRIANSKI/Proc-Exists-1.01.tar.gz C:\Perl\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for B/BR/BRIANSKI/Proc-Exists-1.01.tar.gz cp Exists/Configuration.pm blib\lib\Proc\Exists\Configuration.pm cp Exists.pm blib\lib\Proc\Exists.pm BRIANSKI/Proc-Exists-1.01.tar.gz C:\Perl\STRAWB~1\c\bin\dmake.exe -- OK Running make test "C:\Perl\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00-info.t ... # WARNING: ignore all warnings from this test ;-) # osname: MSWin32 # perl cc: gcc 4.9.2 # perl version: 5.24.1 # POSIX::uname: Windows NT - DESKTOP-UST899C - 10.0 - Build 14393 - amd64 # EPERM: 1 ESRCH: 3 # tested by a person # errno 22 (Invalid argument) was the result on these pids: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 , 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47 , 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77 , 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 12712 t/00-info.t ... ok t/01-load.t ... # Testing Proc::Exists 1.01, pureperl implementation t/01-load.t ... ok t/02-usage.t .. 1/? can't do pure perl on MSWin32 - $!: (22): Invalid argument at blib/lib/Proc/Exists.pm line 74. # Looks like your test exited with 22 just after 13. t/02-usage.t .. Dubious, test returned 22 (wstat 5632, 0x1600) All 13 subtests passed Test Summary Report ------------------- t/02-usage.t (Wstat: 5632 Tests: 13 Failed: 0) Non-zero exit status: 22 Files=3, Tests=15, 1 wallclock secs ( 0.06 usr + 0.00 sys = 0.06 CPU) Result: FAIL Failed 1/3 test programs. 0/15 subtests failed. dmake.exe: Error code 150, while making 'test_dynamic' BRIANSKI/Proc-Exists-1.01.tar.gz C:\Perl\STRAWB~1\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports BRIANSKI/Proc-Exists-1.01.tar.gz Stopping: 'install' failed for 'Proc::Exists'. Failed during this command: BRIANSKI/Proc-Exists-1.01.tar.gz : make_test NO
duplicate of 120978.
not duplicate (pure perl implementation)
As the perldoc mentions, there is no pure perl implementation under windows. The test should fail with a "Pure Perl implementation on Windows is not supported. Use build XS implementation instead." or similar