PATH=/usr/bin:/bin Start 2011-06-11T00:35:49 ActivePerl-818 CPAN-1.9402 Going to read '/Users/fly818/var/cpan/Metadata' Database was generated on Fri, 10 Jun 2011 18:29:59 GMT ______________________ D i s t r o P r e f s ______________________ Time-HiRes.yml[0] Running make for Z/ZE/ZEFRAM/Time-HiRes-1.9724.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9724.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/Z/ZE/ZEFRAM/CHECKSUMS Checksum for /Users/fly818/var/cpan/sources/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9724.tar.gz ok Will not use Archive::Tar, need 1.00 Time-HiRes-1.9724/ Time-HiRes-1.9724/META.yml Time-HiRes-1.9724/MANIFEST Time-HiRes-1.9724/HiRes.pm Time-HiRes-1.9724/Changes Time-HiRes-1.9724/ppport.h Time-HiRes-1.9724/README Time-HiRes-1.9724/hints/ Time-HiRes-1.9724/hints/aix.pl Time-HiRes-1.9724/hints/dynixptx.pl Time-HiRes-1.9724/hints/solaris.pl Time-HiRes-1.9724/hints/linux.pl Time-HiRes-1.9724/hints/irix.pl Time-HiRes-1.9724/hints/dec_osf.pl Time-HiRes-1.9724/hints/svr4.pl Time-HiRes-1.9724/hints/sco.pl Time-HiRes-1.9724/TODO Time-HiRes-1.9724/HiRes.xs Time-HiRes-1.9724/fallback/ Time-HiRes-1.9724/fallback/const-c.inc Time-HiRes-1.9724/fallback/const-xs.inc Time-HiRes-1.9724/typemap Time-HiRes-1.9724/Makefile.PL Time-HiRes-1.9724/t/ Time-HiRes-1.9724/t/Watchdog.pm Time-HiRes-1.9724/t/sleep.t Time-HiRes-1.9724/t/nanosleep.t Time-HiRes-1.9724/t/itimer.t Time-HiRes-1.9724/t/usleep.t Time-HiRes-1.9724/t/ualarm.t Time-HiRes-1.9724/t/clock.t Time-HiRes-1.9724/t/gettimeofday.t Time-HiRes-1.9724/t/time.t Time-HiRes-1.9724/t/tv_interval.t Time-HiRes-1.9724/t/stat.t Time-HiRes-1.9724/t/alarm.t Going to apply 1 patch: /Users/fly818/etc/distroprefs/Time-HiRes-1.9719.patch /usr/bin/patch -N --fuzz=3 -p1 <= IV_1E6 || uinterval >= IV_1E6) - croak("Time::HiRes::ualarm(%d, %d): useconds or uinterval equal to or more than %"IVdf, useconds, uinterval, IV_1E6); RETVAL = ualarm(useconds, uinterval); #endif @@ -948,8 +946,6 @@ } } #else - if (useconds >= IV_1E6 || uinterval >= IV_1E6) - croak("Time::HiRes::alarm(%d, %d): seconds or interval equal to or more than 1.0 ", useconds, uinterval, IV_1E6); RETVAL = (NV)ualarm( useconds, uinterval ) / NV_1E6; #endif } EOT patching file HiRes.xs Hunk #1 succeeded at 921 (offset 1 line). Hunk #2 succeeded at 949 (offset 3 lines). CPAN.pm: Going to build Z/ZE/ZEFRAM/Time-HiRes-1.9724.tar.gz >>> /Users/fly818/bin/perl Makefile.PL Configuring Time::HiRes... Have syscall()... looking for syscall.h... NOT found. Looking for gettimeofday()... found. Looking for setitimer()... NOT found. Looking for getitimer()... NOT found. You do not have interval timers. Looking for ualarm()... found. Looking for usleep()... found. Looking for nanosleep()... testing... NOT found. You cannot mix subsecond sleeps with signals. (It would not be portable anyway.) Looking for clock_gettime()... NOT found. Looking for clock_getres()... NOT found. Looking for clock_nanosleep()... NOT found. Looking for clock()... NOT found. Looking for stat() subsecond timestamps... Trying struct stat st_atimespec.tv_nsec...NOT found. Trying struct stat st_atimensec...NOT found. Trying struct stat st_atime_n...NOT found. Trying struct stat st_atim.tv_nsec...NOT found. Trying struct stat st_uatime...NOT found. You do not seem to have stat subsecond timestamps. Checking if your kit is complete... Looks good Writing Makefile for Time::HiRes Now you may issue 'make'. Do not forget also 'make test'. >>> make cp HiRes.pm blib/lib/Time/HiRes.pm /Users/fly818/bin/perl /Users/fly818/var/megalib/ExtUtils/xsubpp -typemap /Users/fly818/ap818/lib/ExtUtils/typemap -typemap typemap HiRes.xs > HiRes.xsc && mv HiRes.xsc HiRes.c 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 -Wdeclaration-after-statement -O3 -DVERSION=\"1.9724\" -DXS_VERSION=\"1.9724\" "-I/Users/fly818/ap818/lib/CORE" -DATLEASTFIVEOHOHFIVE HiRes.c Running Mkbootstrap for Time::HiRes () chmod 644 HiRes.bs rm -f blib/arch/auto/Time/HiRes/HiRes.bundle env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -Wl,-search_paths_first -arch ppc -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.3 HiRes.o -o blib/arch/auto/Time/HiRes/HiRes.bundle \ \ chmod 755 blib/arch/auto/Time/HiRes/HiRes.bundle cp HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs chmod 644 blib/arch/auto/Time/HiRes/HiRes.bs Manifying blib/man3/Time::HiRes.3 ZEFRAM/Time-HiRes-1.9724.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /Users/fly818/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/alarm.t ......... 1..10 # I am the main process 1516, starting the watchdog process... # The watchdog process 1517 launched, continuing testing... # I am the watchdog process 1517, sleeping for 360 seconds... ok 1 - require Time::HiRes; # sigaction tick, ALRM = 14 # Tick! 4 0.313426 # Select returned! 4 0.313719 # 0.895427 # Tick! 3 0.614011 # Select returned! 3 0.614297 # 0.795234333333333 # Tick! 2 0.91461 # Select returned! 2 0.914877 # 0.695041 # Tick! 1 1.21517 # Select returned! 1 1.215403 # 0.594865666666667 # Tick! 0 1.515714 # Select returned! 0 1.516003 # 0.494665666666667 ok 2 # 0 ok 3 - negative time error # Finding delay loop... # N = 1024, t1 = 1307777766.44062, t0 = 1307777766.44022, dt = 0.000399112701416016 # N = 2048, t1 = 1307777766.44152, t0 = 1307777766.44075, dt = 0.000776052474975586 # N = 4096, t1 = 1307777766.44315, t0 = 1307777766.44162, dt = 0.00153899192810059 # N = 8192, t1 = 1307777766.44633, t0 = 1307777766.44324, dt = 0.00308609008789062 # N = 16384, t1 = 1307777766.45258, t0 = 1307777766.44641, dt = 0.00616884231567383 # N = 32768, t1 = 1307777766.46529, t0 = 1307777766.45267, dt = 0.012617826461792 # Alarm 1 - 1307777766.47556 # Alarm 2 - 1307777766.49834 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 # I am the main process 1516, terminating the watchdog process 1517 before it terminates me in 354 seconds (testing took 6 seconds). # kill KILL 1517 = 1 # All done. ok t/clock.t ......... 1..5 # I am the main process 1519, starting the watchdog process... # The watchdog process 1520 launched, continuing testing... # I am the watchdog process 1520, sleeping for 360 seconds... ok 1 - require Time::HiRes; # have_clock_gettime = 0 # have_clock_getres = 0 # have_clock_nanosleep = 0 # have_clock = 0 ok 2 # skip no clock_gettime ok 3 # skip no clock_getres ok 4 # skip no clock_nanosleep ok 5 # skip no clock # I am the main process 1519, terminating the watchdog process 1520 before it terminates me in 360 seconds (testing took 0 seconds). # kill KILL 1520 = 1 # All done. ok t/gettimeofday.t .. 1..6 # I am the main process 1521, starting the watchdog process... # The watchdog process 1522 launched, continuing testing... # gettimeofday returned 2 args # I am the watchdog process 1522, sleeping for 360 seconds... ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 # I am the main process 1521, terminating the watchdog process 1522 before it terminates me in 359 seconds (testing took 1 seconds). # kill KILL 1522 = 1 # All done. ok t/itimer.t ........ skipped: no itimer t/nanosleep.t ..... skipped: no nanosleep() t/sleep.t ......... 1..4 # I am the main process 1525, starting the watchdog process... # The watchdog process 1526 launched, continuing testing... # I am the watchdog process 1526, sleeping for 360 seconds... ok 1 - require Time::HiRes; ok 2 - negative time error # time...1307777772.25468 ok 3 # sleep...0.500085 ok 4 # I am the main process 1525, terminating the watchdog process 1526 before it terminates me in 360 seconds (testing took 0 seconds). # kill KILL 1526 = 1 # All done. ok t/stat.t .......... skipped: no hi-res stat t/time.t .......... 1..2 # I am the main process 1528, starting the watchdog process... # The watchdog process 1529 launched, continuing testing... # I am the watchdog process 1529, sleeping for 360 seconds... ok 1 - require Time::HiRes; ok 2 # s = 99.8104372024536, n = 100, s/n = 0.998104372024536 # I am the main process 1528, terminating the watchdog process 1529 before it terminates me in 360 seconds (testing took 0 seconds). # kill KILL 1529 = 1 # All done. ok t/tv_interval.t ... 1..2 ok 1 - require Time::HiRes; ok 2 ok t/ualarm.t ........ 1..12 # I am the main process 1531, starting the watchdog process... # The watchdog process 1532 launched, continuing testing... # I am the watchdog process 1532, sleeping for 360 seconds... ok 1 # tick = 1, one = 1307777773, two = 1307777773, three = 1307777773 ok 2 # tick = 3, one = 1307777773, two = 1307777773, three = 1307777773 ok 3 - negative time error # t0 = 1307777773.30184 # ualarm(100000) # t1 = 1307777773.40224 # dt = 0.100401163101196 # r = 1.00401163101196 ok 4 # t0 = 1307777773.40308 # ualarm(1100000) # t1 = 1307777774.50337 # dt = 1.10028982162476 # r = 1.00026347420432 ok 5 # t0 = 1307777774.50433 # ualarm(2200000) # t1 = 1307777776.70463 # dt = 2.20029902458191 # r = 1.0001359202645 ok 6 # t0 = 1307777776.7056 # ualarm(4300000) # t1 = 1307777781.00592 # dt = 4.3003249168396 # r = 1.00007556205572 ok 7 # t0 = 1307777781.00682 # got0 = 0 # t1 = 1307777781.30682 # t1 - t0 = 0.30000114440918 # got1 = 200016 ok 8 ok 9 ok 10 ok 11 ok 12 # I am the main process 1531, terminating the watchdog process 1532 before it terminates me in 352 seconds (testing took 8 seconds). # kill KILL 1532 = 1 # All done. ok t/usleep.t ........ 1..6 # I am the main process 1533, starting the watchdog process... # The watchdog process 1534 launched, continuing testing... # I am the watchdog process 1534, sleeping for 360 seconds... ok 1 - negative time error ok 2 ok 3 ok 4 ok 5 ok 6 # I am the main process 1533, terminating the watchdog process 1534 before it terminates me in 356 seconds (testing took 4 seconds). # kill KILL 1534 = 1 # All done. ok All tests successful. Files=11, Tests=47, 21 wallclock secs ( 0.19 usr 0.19 sys + 13.10 cusr 0.42 csys = 13.90 CPU) Result: PASS ZEFRAM/Time-HiRes-1.9724.tar.gz make test TEST_VERBOSE=1 -- OK Andrew Main (Zefram) <zefram@fysh.org> High resolution alarm, sleep, gettimeofday, interval timers >>> (cd /Users/fly818/var/cpan/build/Time-HiRes-1.9724-q5_ste && tar cvf - Time-HiRes-1.9724.ppd blib) | gzip -c >/Users/fly818/var/REPO/Z/ZE/ZEFRAM/Time-HiRes-1.9724.tar.gz Time-HiRes-1.9724.ppd blib/ blib/arch/ blib/arch/auto/ blib/arch/auto/Time/ blib/arch/auto/Time/HiRes/ blib/arch/auto/Time/HiRes/HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bundle blib/lib/ blib/lib/Time/ blib/lib/Time/HiRes.pm blib/man3/ blib/man3/Time::HiRes.3 >>> mv /Users/fly818/var/cpan/build/Time-HiRes-1.9724-q5_ste/Time-HiRes-1.9724.ppd /Users/fly818/var/REPO/Z/ZE/ZEFRAM Finished 2011-06-11T00:36:27