Skip Menu |

This queue is for tickets about the IPC-Run3 CPAN distribution.

Report information
The Basics
Id: 15741
Status: resolved
Priority: 0/
Queue: IPC-Run3

People
Owner: Nobody in particular
Requestors: jkeen [...] verizon.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.032
Fixed in: (no value)

Attachments


Subject: Failed tests when installing on Darwin
IPC::Run3 (v0.032) failed to pass all test when I was attempting to install it on Darwin. More specifically, it was named as a prerequisite for ExtUtils-ModuleMaker-TT-0.81. After IPC-Run3 failed during that module's installation, I tried it by itself, where it failed again. This is perl, v5.8.7 built for darwin-2level Copyright 1987-2005, Larry Wall $ perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=darwin, osvers=7.9.0, archname=darwin-2level uname='darwin macintosh.local 7.9.0 darwin kernel version 7.9.0: wed mar 30 20:11:17 pst 2005; root:xnuxnu-517.12.7.obj~1release_ppc power macintosh powerpc ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include', optimize='-Os', cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1495)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-ldbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under darwin Compiled at Oct 24 2005 21:19:21 %ENV: PERL5LIB="/usr/local/lib/perl5/site_perl" @INC: /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.4/darwin-2level /usr/local/lib/perl5/site_perl/5.8.4 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.7/darwin-2level /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.4/darwin-2level /usr/local/lib/perl5/site_perl/5.8.4 /usr/local/lib/perl5/site_perl . Here's the relevant part of the output from the cpan shell: Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/fd_leak.....................NOK 6# Test 6 got: "4" (t/fd_leak.t at line 33 fail #5) # Expected: "18" (undef,SCALAR) # t/fd_leak.t line 33 is: ok $after_fd, $before_fd, $desc; t/fd_leak.....................FAILED test 6 Failed 1/11 tests, 90.91% okay t/fork........................ok 1/5Use of uninitialized value in numeric eq (==) at t/fork.t line 72. t/fork........................ok t/IPC-Run3-ProfArrayBuffer....ok t/IPC-Run3-profiling..........ok t/IPC-Run3-ProfLogger.........ok t/IPC-Run3-ProfLogReader......ok t/IPC-Run3-ProfPP.............IPC::Run3 parent: parent_prog IPC::Run3 child: child_prog IPC::Run3 run3() : 0.300000 secs IPC::Run3 child : 0.100000 secs IPC::Run3 overhead: 0.200000 secs (200%) IPC::Run3 total elapsed: 0.500000 secs IPC::Run3 calls to run3(): 1 IPC::Run3 total spent in run3(): 0.300000 secs ( 60%), 0.300000 per call IPC::Run3 total spent not in run3(): 0.200000 secs ( 40%) IPC::Run3 total spent in children: 0.100000 secs ( 20%), 0.100000 per call IPC::Run3 total overhead: 0.200000 secs (200%), 0.200000 per call t/IPC-Run3-ProfPP.............ok t/IPC-Run3-ProfReporter.......ok 1/7Use of uninitialized value in subtraction (-) at /Users/jimk/.cpan/build/IPC-Run3-0.032/blib/lib/IPC/Run3/ProfReporter.pm line 201. Use of uninitialized value in subtraction (-) at /Users/jimk/.cpan/build/IPC-Run3-0.032/blib/lib/IPC/Run3/ProfReporter.pm line 222. t/IPC-Run3-ProfReporter.......ok t/IPC-Run3....................Unrecognized escape \I passed through at t/IPC-Run3.t line 121. Unrecognized escape \I passed through at t/IPC-Run3.t line 130. t/IPC-Run3....................ok t/pod-coverage................NOK 6 # Failed test 'Pod coverage on IPC::Run3::ProfReporter' # in /usr/local/lib/perl5/site_perl/5.8.4/Test/Pod/Coverage.pm at line 112. # Coverage for IPC::Run3::ProfReporter is 95.5%, with 1 naked subroutine: # new # Looks like you failed 1 test of 6. t/pod-coverage................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 6 Failed 1/6 tests, 83.33% okay t/pod.........................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/fd_leak.t 11 1 9.09% 6 t/pod-coverage.t 1 256 6 1 16.67% 6 Failed 2/11 test scripts, 81.82% okay. 2/60 subtests failed, 96.67% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
From: DAGOLDEN
Show quoted text
> IPC::Run3 (v0.032) failed to pass all test when I was attempting to > install it on Darwin. More specifically, it was named as a > prerequisite for ExtUtils-ModuleMaker-TT-0.81. After IPC-Run3 > failed during that module's installation, I tried it by itself, > where it failed again.
As the author of ExtUtils-ModuleMaker-TT, I've been looking into this. One of the failures is just a pod-coverage dependency issue, which I've separately documented and is easily fixed.
[JKEENAN - Sat Nov 12 22:45:36 2005]: Show quoted text
> t/fd_leak.....................NOK 6# Test 6 got: "4" (t/fd_leak.t at > line 33 fail #5) > # Expected: "18" (undef,SCALAR) > # t/fd_leak.t line 33 is: ok $after_fd, $before_fd, $desc; > t/fd_leak.....................FAILED test 6 > Failed 1/11 tests, 90.91% okay
Strange - we have less open file descriptors after the test than before. Also the number before the test (18) looks totally bogus. Can you try the attached candidate 0.033 (should definitely fix the failing t/pod-coverage.t)? Thx, Roderich
Download IPC-Run3-0.033.tar.gz
application/x-gzip 14k

Message body not shown because it is not plain text.

RT-Send-CC: David Golden <david [...] hyperbolic.net>
- changed t/fd_leak.t to use after_fds <= before_fds as workaround for strange behaviour on Darwin 7.2 - fixed warnings in test suite when run under -w - -w also uncovered a bug with binmode being called without a filehandle (only on Windows) - uploaded as IPC::Run3 0.033 Thanks for thorough testing, Roderich