Checking if your kit is complete... Looks good Writing Makefile for File::Lock cp Lock.pm blib/lib/File/Lock.pm AutoSplitting blib/lib/File/Lock.pm (blib/lib/auto/File/Lock) /Users/cpanrun/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -typemap /Users/cpanrun/build/5.10.0/lib/ExtUtils/typemap -typemap typemap Lock.xs > Lock.xsc && mv Lock.xsc Lock.c Please specify prototyping behavior for Lock.xs (see perlxs manual) gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.9\" -DXS_VERSION=\"0.9\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" Lock.c Lock.c: In function 'XS_File__Lock_lockfile': Lock.c:709: error: 'na' undeclared (first use in this function) Lock.c:709: error: (Each undeclared identifier is reported only once Lock.c:709: error: for each function it appears in.) Lock.c: In function 'XS_File__Lock_fcntl': Lock.c:784: error: 'na' undeclared (first use in this function) Lock.xs:700: error: 'sv_undef' undeclared (first use in this function) Lock.xs:700: error: 'sv_yes' undeclared (first use in this function) Lock.c: In function 'XS_File__Lock_flock': Lock.c:917: error: 'na' undeclared (first use in this function) Lock.xs:752: error: 'sv_undef' undeclared (first use in this function) Lock.xs:752: error: 'sv_yes' undeclared (first use in this function) Lock.c: In function 'XS_File__Lock_lockfile': Lock.c:709: error: 'na' undeclared (first use in this function) Lock.c:709: error: (Each undeclared identifier is reported only once Lock.c:709: error: for each function it appears in.) Lock.c: In function 'XS_File__Lock_lockf': Lock.c:995: error: 'na' undeclared (first use in this function) Lock.xs:782: error: 'sv_undef' undeclared (first use in this function) Lock.xs:782: error: 'sv_yes' undeclared (first use in this function) Lock.c: In function 'XS_File__Lock_fcntl': Lock.c:784: error: 'na' undeclared (first use in this function) Lock.xs:700: error: 'sv_undef' undeclared (first use in this function) Lock.xs:700: error: 'sv_yes' undeclared (first use in this function) Lock.c: In function 'XS_File__Lock_flock': Lock.c:917: error: 'na' undeclared (first use in this function) Lock.c: In function 'XS_File__Lock__mode': Lock.c:1216: error: 'na' undeclared (first use in this function) Lock.xs:871: error: 'sv_undef' undeclared (first use in this function)Lock.xs:752: error: 'sv_undef' undeclared (first use in this function) Lock.xs:871: error: 'sv_yes' undeclared (first use in this function) Lock.xs:752: error: 'sv_yes' undeclared (first use in this function) Lock.c: In function 'XS_File__Lock_new': Lock.c:1276: error: 'na' undeclared (first use in this function) Lock.c: In function 'XS_File__Lock_lockf': Lock.c:995: error: 'na' undeclared (first use in this function) Lock.xs:782: error: 'sv_undef' undeclared (first use in this function) Lock.xs:916: error: 'sv_undef' undeclared (first use in this function) Lock.xs:782: error: 'sv_yes' undeclared (first use in this function) Lock.c: In function 'XS_File__Lock__mode': Lock.c:1216: error: 'na' undeclared (first use in this function) Lock.xs:871: error: 'sv_undef' undeclared (first use in this function) Lock.xs:871: error: 'sv_yes' undeclared (first use in this function) Lock.c: In function 'XS_File__Lock_new': Lock.c:1276: error: 'na' undeclared (first use in this function) Lock.xs:916: error: 'sv_undef' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccmoMnvO.out (No such file or directory) make: *** [Lock.o] Error 1 PERL_DL_NONLAZY=1 /Users/cpanrun/build/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/base.......1..1 ok 1 ok t/fcntl......Returning `yes' from has_fcntl() 1..9 Entering fcntl(10,Lock_shared,0,0,0) Entering _base_fcntl(10,Lock_shared,0,0,0) fcntl(10,9,-) = -1 V- Err: Invalid argument Returning -1 (bad) from _base_fcntl (l_type=Lock_exclusive) Entering fcntl(10,Lock_unlock,0,0,0) Entering _base_fcntl(10,Lock_unlock,0,0,0) fcntl(10,8,-) = 0 Returning 0 (good) from _base_fcntl (l_type=Lock_shared) Entering fcntl(10,Lock_exclusive,0,0,0) Entering _base_fcntl(10,Lock_exclusive,0,0,0) fcntl(10,9,-) = -1 V- Err: Invalid argument Returning -1 (bad) from _base_fcntl (l_type=Lock_test) Entering fcntl(10,Lock_unlock,0,0,0) Entering _base_fcntl(10,Lock_unlock,0,0,0) fcntl(10,8,-) = 0 Returning 0 (good) from _base_fcntl (l_type=Lock_shared) ok 1 not ok 2 ok 3 ok 4 ok 5 not ok 6 ok 7 ok 8 ok 9 FAILED tests 2, 6 Failed 2/9 tests, 77.78% okay t/fcntl_r....Returning `yes' from has_fcntl() Entering fcntl(10,Lock_shared|Lock_nowait,0,0,0) Entering _base_fcntl(10,Lock_shared|Lock_nowait,0,0,0) fcntl(10,8,-) = -1 1..5 V- Err: Invalid argument Returning -1 (bad) from _base_fcntl (l_type=Lock_exclusive) not ok 1 Entering fcntl(10,Lock_shared|Lock_nowait,0,0,0) Entering _base_fcntl(10,Lock_shared|Lock_nowait,0,0,0) fcntl(10,8,-) = -1 V- Err: Invalid argument Returning -1 (bad) from _base_fcntl (l_type=Lock_exclusive) not ok 2 Entering fcntl(10,Lock_exclusive|Lock_nowait,0,0,0) Entering _base_fcntl(10,Lock_exclusive|Lock_nowait,0,0,0) fcntl(10,8,-) = -1 V- Err: Invalid argument Returning -1 (bad) from _base_fcntl (l_type=Lock_test) ok 3 Entering fcntl(10,Lock_unlock,0,0,0) Entering _base_fcntl(10,Lock_unlock,0,0,0) fcntl(10,8,-) = 0 Returning 0 (good) from _base_fcntl (l_type=Lock_shared) Entering fcntl(10,Lock_test,0,0,0) Entering _base_fcntl(10,Lock_test,0,0,0) fcntl(10,7,-) = 0 ok 4 dubious Test returned status 0 (wstat 10, 0xa) DIED. FAILED tests 1-2, 5 Failed 3/5 tests, 40.00% okay t/fcntl_w....Returning `yes' from has_fcntl() Entering fcntl(10,Lock_exclusive|Lock_nowait,0,0,0) Entering _base_fcntl(10,Lock_exclusive|Lock_nowait,0,0,0) fcntl(10,8,-) = -1 V- Err: Invalid argument Returning -1 (bad) from _base_fcntl (l_type=Lock_test) 1..6 not ok 1 Entering fcntl(10,Lock_exclusive|Lock_nowait,0,0,0) Entering _base_fcntl(10,Lock_exclusive|Lock_nowait,0,0,0) fcntl(10,8,-) = -1 V- Err: Invalid argument Returning -1 (bad) from _base_fcntl (l_type=Lock_test) ok 2 We = 28196, he = 28195 Returning `yes' from has_fcntl() Entering fcntl(10,Lock_test,0,0,0) Entering _base_fcntl(10,Lock_test,0,0,0) fcntl(10,7,-) = 0 Entering fcntl(10,Lock_shared|Lock_nowait,0,0,0) Entering _base_fcntl(10,Lock_shared|Lock_nowait,0,0,0) fcntl(10,8,-) = -1 V- Err: Invalid argument Returning -1 (bad) from _base_fcntl (l_type=Lock_exclusive) ok 4 Entering fcntl(10,Lock_unlock,0,0,0) Entering _base_fcntl(10,Lock_unlock,0,0,0) fcntl(10,8,-) = 0 Returning 0 (good) from _base_fcntl (l_type=Lock_shared) Entering fcntl(10,Lock_test,0,0,0) Entering _base_fcntl(10,Lock_test,0,0,0) fcntl(10,7,-) = 0 ok 5 Confused test output: test 4 answered after test 4 dubious Test returned status 0 (wstat 10, 0xa) DIED. FAILED tests 1, 3, 6 Failed 3/6 tests, 50.00% okay t/flock......Returning `yes' from has_flock() 1..9 Entering flock(10,Lock_shared) Entering _base_flock(10,Lock_shared) flock(10,1) = 0 Returning 0 (good) from _base_flock Entering flock(10,Lock_unlock) Entering _base_flock(10,Lock_unlock) flock(10,8) = 0 Returning 0 (good) from _base_flock Entering flock(10,Lock_exclusive) Entering _base_flock(10,Lock_exclusive) flock(10,2) = 0 Returning 0 (good) from _base_flock Entering flock(10,Lock_unlock) Entering _base_flock(10,Lock_unlock) flock(10,8) = 0 Returning 0 (good) from _base_flock ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok t/flock_r....Returning `yes' from has_flock() Entering flock(10,Lock_shared) Entering _base_flock(10,Lock_shared) flock(10,1) = 0 Returning 0 (good) from _base_flock 1..5 ok 1 Entering flock(10,Lock_shared) Entering _base_flock(10,Lock_shared) flock(10,1) = 0 Returning 0 (good) from _base_flock ok 2 Entering flock(10,Lock_exclusive|Lock_nowait) Entering _base_flock(10,Lock_exclusive|Lock_nowait) flock(10,6) = -1 V- Err: Resource temporarily unavailable Returning -1 (bad) from _base_flock ok 3 Entering flock(10,Lock_unlock) Entering _base_flock(10,Lock_unlock) flock(10,8) = 0 Returning 0 (good) from _base_flock Returning `yes' from has_fcntl() Entering fcntl(10,Lock_test,0,0,0) Entering _base_fcntl(10,Lock_test,0,0,0) fcntl(10,7,-) = 0 ok 4 dubious Test returned status 0 (wstat 10, 0xa) DIED. FAILED test 5 Failed 1/5 tests, 80.00% okay t/flock_w....Returning `yes' from has_flock() 1..6 Entering flock(10,Lock_exclusive|Lock_nowait) Entering _base_flock(10,Lock_exclusive|Lock_nowait) flock(10,6) = 0 Returning 0 (good) from _base_flock ok 1 Entering flock(10,Lock_exclusive|Lock_nowait) Entering _base_flock(10,Lock_exclusive|Lock_nowait) flock(10,6) = -1 V- Err: Resource temporarily unavailable Returning -1 (bad) from _base_flock ok 2 We = 28206, he = 28205 Returning `yes' from has_fcntl() Entering fcntl(10,Lock_test,0,0,0) Entering _base_fcntl(10,Lock_test,0,0,0) fcntl(10,7,-) = -1 fcntl(10,7,-) = -1 -1 Entering flock(10,Lock_shared|Lock_nowait) Entering _base_flock(10,Lock_shared|Lock_nowait) flock(10,5) = -1 V- Err: Resource temporarily unavailable Returning -1 (bad) from _base_flock ok 4 Entering flock(10,Lock_unlock) Entering _base_flock(10,Lock_unlock) flock(10,8) = 0 Returning 0 (good) from _base_flock Returning `yes' from has_fcntl() Entering flock(10,Lock_test) Entering _base_flock(10,Lock_test) Returning 0 (good) from _base_flock Entering _base_flock(10,Lock_test) Returning 0 (good) from _base_flock ok 5 Confused test output: test 4 answered after test 4 ok 6 Confused test output: test 5 answered after test 5 FAILED test 3 Failed 1/6 tests, 83.33% okay t/lockf......Returning `yes' from has_lockf() 1..5 Entering lockf(10,Lock_exclusive,0,0,0) Entering _base_lockf(10,Lock_exclusive,0,0,0) Seeking in _base_lockf ok 1 lockf(10,1,8) = 3241528 Returning 0 (good) from _base_lockf Entering lockf(10,Lock_unlock,0,0,0) Entering _base_lockf(10,Lock_unlock,0,0,0) Seeking in _base_lockf lockf(10,0,8) = 3241528 Returning 0 (good) from _base_lockf ok 2 ok 3 ok 4 ok 5 ok t/lockf_w....Returning `yes' from has_lockf() Entering lockf(10,Lock_exclusive,0,0,0) Entering _base_lockf(10,Lock_exclusive,0,0,0) Seeking in _base_lockf lockf(10,1,8) = 3241528 Returning 0 (good) from _base_lockf 1..5 ok 1 Entering lockf(10,Lock_exclusive|Lock_nowait,0,0,0) Entering _base_lockf(10,Lock_exclusive|Lock_nowait,0,0,0) Seeking in _base_lockf lockf(10,2,8) = 3241528 V- Err: Resource temporarily unavailable Returning -1 (bad) from _base_lockf ok 2 We = 28211, he = 28210 Returning `yes' from has_fcntl() Entering fcntl(10,Lock_test,0,0,0) Entering _base_fcntl(10,Lock_test,0,0,0) fcntl(10,7,-) = -1 fcntl(10,7,-) = -1 -1 Entering lockf(10,Lock_unlock,0,0,0) Entering _base_lockf(10,Lock_unlock,0,0,0) Seeking in _base_lockf lockf(10,0,8) = 3241528 Returning 0 (good) from _base_lockf Returning `yes' from has_fcntl() Entering fcntl(10,Lock_test,0,0,0) Entering _base_fcntl(10,Lock_test,0,0,0) fcntl(10,7,-) = 0 ok 4 dubious Test returned status 0 (wstat 10, 0xa) DIED. FAILED tests 3, 5 Failed 2/5 tests, 60.00% okay t/new_r......Entering new File::Lock(10,Lock_shared,0,0,0) Entering _base_fcntl(10,Lock_shared,0,0,0) fcntl(10,9,-) = 0 Returning 0 (good) from _base_fcntl (l_type=Lock_exclusive) 1..5 ok 1 Entering new File::Lock(10,Lock_shared,0,0,0) Entering _base_fcntl(10,Lock_shared,0,0,0) fcntl(10,9,-) = 0 Returning 0 (good) from _base_fcntl (l_type=Lock_exclusive) ok 2 Entering new File::Lock(10,Lock_exclusive|Lock_nowait,0,0,0) Entering _base_fcntl(10,Lock_exclusive|Lock_nowait,0,0,0) fcntl(10,8,-) = -1 V- Err: Resource temporarily unavailable Returning -1 (bad) from _base_fcntl (l_type=Lock_test) ok 3 Entering fcntl(10,Lock_unlock,0,0,0) Entering _base_fcntl(10,Lock_unlock,0,0,0) fcntl(10,8,-) = -1 V- Err: Invalid argument Returning -1 (bad) from _base_fcntl (l_type=Lock_shared) Returning `yes' from has_fcntl() Entering fcntl(10,Lock_test,0,0,0) Entering _base_fcntl(10,Lock_test,0,0,0) fcntl(10,7,-) = -1 fcntl(10,7,-) = -1 -1 not ok 4 dubious Test returned status 0 (wstat 10, 0xa) DIED. FAILED tests 4-5 Failed 2/5 tests, 60.00% okay t/new_w......1..6 Entering new File::Lock(10,Lock_exclusive|Lock_nowait,0,0,0) Entering _base_fcntl(10,Lock_exclusive|Lock_nowait,0,0,0) fcntl(10,8,-) = 0 Returning 0 (good) from _base_fcntl (l_type=Lock_test) ok 1 Entering new File::Lock(10,Lock_exclusive|Lock_nowait,0,0,0) Entering _base_fcntl(10,Lock_exclusive|Lock_nowait,0,0,0) fcntl(10,8,-) = -1 V- Err: Resource temporarily unavailable Returning -1 (bad) from _base_fcntl (l_type=Lock_test) ok 2 We = 28219, he = 28218 Returning `yes' from has_fcntl() Entering fcntl(10,Lock_test,0,0,0) Entering _base_fcntl(10,Lock_test,0,0,0) fcntl(10,7,-) = -1 fcntl(10,7,-) = -1 -1 Entering new File::Lock(10,Lock_shared|Lock_nowait,0,0,0) Entering _base_fcntl(10,Lock_shared|Lock_nowait,0,0,0) fcntl(10,8,-) = -1 V- Err: Resource temporarily unavailable Returning -1 (bad) from _base_fcntl (l_type=Lock_exclusive) ok 4 Entering fcntl(10,Lock_unlock,0,0,0) Entering _base_fcntl(10,Lock_unlock,0,0,0) fcntl(10,8,-) = -1 V- Err: Invalid argument Returning -1 (bad) from _base_fcntl (l_type=Lock_shared) Returning `yes' from has_fcntl() Entering fcntl(10,Lock_test,0,0,0) Entering _base_fcntl(10,Lock_test,0,0,0) fcntl(10,7,-) = -1 fcntl(10,7,-) = -1 -1 not ok 5 Confused test output: test 4 answered after test 4 dubious Test returned status 0 (wstat 10, 0xa) DIED. FAILED tests 3, 5-6 Failed 3/6 tests, 50.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/fcntl.t 9 2 2 6 t/fcntl_r.t 0 10 5 4 1-2 5 t/fcntl_w.t 0 10 6 4 1 3 6 t/flock_r.t 0 10 5 2 5 t/flock_w.t 6 1 3 t/lockf_w.t 0 10 5 3 3 5 t/new_r.t 0 10 5 3 4-5 t/new_w.t 0 10 6 4 3 5-6 Failed 8/11 test scripts. 17/62 subtests failed. Files=11, Tests=62, 3 wallclock secs ( 0.64 cusr + 0.34 csys = 0.98 CPU) Failed 8/11 test programs. 17/62 subtests failed. make: *** [test_dynamic] Error 255