Fri Apr 04 13:56:12 2014: Request 85336 was acted upon. Transaction: Correspondence added by rur...@x-ray.at Queue: Inline Subject: Fails often when tested in parallel Broken in: 0.53 Severity: (no value) Owner: Nobody Requestors: a...@cpan.org, ken...@cpan.org Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=85336 >
On Fri Apr 04 11:51:31 2014, rur...@x-ray.at wrote: > On Thu Feb 20 03:51:10 2014, KENTNL wrote: > > You'll note quite a few fail reports on cpan testers from me. > > Confirmed and repro even standalone. > > The pure Inline/C tests fail on SMP systems with make (tested with > gmake 4.0) > in t/25proto.t and t/08taint_1.p > On 5.6 and 5.14 perls (linux) > > $@: make[1]: Entering directory > `/home/rurban/Perl/Inline/C/_Inline_test/build/PROTO4_7cc8' > make[1]: *** write jobserver: Bad file descriptor. Stop. > make[1]: *** Waiting for unfinished jobs.... > make[1]: *** write jobserver: Bad file descriptor. Stop. > > I'll try to fix it at https://github.com/rurban/Inline The problem is obvious. make inherits these ENV values from the master make test: MAKEFLAGS = w --jobserver-fds=3,4 -j -- PREFIX=/usr/local LINKTYPE=dynamic LIBPERL_A=libperl.a MAKELEVEL = 2 MAKEOVERRIDES = ${-*-command-variables-*-} The jobserver-fds are wrong, need to be stripped. All tests with make -j4 pass now. See https://github.com/rurban/Inline