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/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/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 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.9\" -DXS_VERSION=\"0.9\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" Lock.c Lock.c: In function 'XS_File__Lock_lockfile': Lock.c:701: error: 'na' undeclared (first use in this function) Lock.c:701: error: (Each undeclared identifier is reported only once Lock.c:701: error: for each function it appears in.) Lock.c: In function 'XS_File__Lock_fcntl': Lock.c:772: 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_lockfile': Lock.c:701: error: 'na' undeclared (first use in this function) Lock.c:701: error: (Each undeclared identifier is reported only once Lock.c:701: error: for each function it appears in.) Lock.c: In function 'XS_File__Lock_fcntl': Lock.c:772: 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:901: 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_lockf': Lock.c:975: 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_flock': Lock.c:901: 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_lockf': Lock.c:975: 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__mode': Lock.c:1176: 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__mode': Lock.c:1176: 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:1232: error: 'na' undeclared (first use in this function) Lock.xs:916: error: 'sv_undef' undeclared (first use in this function) Lock.c: In function 'XS_File__Lock_new': Lock.c:1232: 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//ccn9ROHz.out (No such file or directory) make: *** [Lock.o] Error 1 PERL_DL_NONLAZY=1 /Users/cpanrun/pristine/5.8.7/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/base.......ok t/fcntl......Returning `yes' from has_fcntl() 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) 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 V- Err: Invalid argument Returning -1 (bad) from _base_fcntl (l_type=Lock_exclusive) 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) 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) 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 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) 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) We = 13888, he = 13887 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) 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) Confused test output: test 4 answered after test 4 Entering fcntl(10,Lock_test,0,0,0) Entering _base_fcntl(10,Lock_test,0,0,0) fcntl(10,7,-) = 0 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() 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 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 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_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 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 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() 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 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 We = 13901, he = 13900 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 Entering flock(10,Lock_unlock) Entering _base_flock(10,Lock_unlock) flock(10,8) = 0 Returning 0 (good) from _base_flock Confused test output: test 4 answered after test 4 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 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() 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) = 3076400 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) = 3076400 Returning 0 (good) from _base_lockf 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) = 3076400 Returning 0 (good) from _base_lockf 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) = 3076400 V- Err: Resource temporarily unavailable Returning -1 (bad) from _base_lockf We = 13908, he = 13907 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) = 3076400 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 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) 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) 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) 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 dubious Test returned status 0 (wstat 10, 0xa) DIED. FAILED tests 4-5 Failed 2/5 tests, 60.00% okay t/new_w......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) 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) We = 13918, he = 13917 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) 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) Confused test output: test 4 answered after test 4 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 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 Failed List of Failed ------------------------------------------------------------------------------- t/fcntl.t 9 2 22.22% 2 6 t/fcntl_r.t 0 10 5 4 80.00% 1-2 5 t/fcntl_w.t 0 10 6 4 66.67% 1 3 6 t/flock_r.t 0 10 5 2 40.00% 5 t/flock_w.t 6 1 16.67% 3 t/lockf_w.t 0 10 5 3 60.00% 3 5 t/new_r.t 0 10 5 3 60.00% 4-5 t/new_w.t 0 10 6 4 66.67% 3 5-6 Failed 8/11 test scripts, 27.27% okay. 17/62 subtests failed, 72.58% okay. make: *** [test_dynamic] Error 255