PATH=/usr/bin:/bin Start 2011-06-11T12:11:24 ActivePerl-1400 CPAN-1.9402 Going to read '/Users/fly1400/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 Checksum for /net/nas/data/cpan/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9724.tar.gz ok 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/fly1400/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/fly1400/bin/perl Makefile.PL Configuring Time::HiRes... Have syscall()... looking for syscall.h... found . Looking for gettimeofday()... found. Looking for setitimer()... found. Looking for getitimer()... found. You have interval timers (both setitimer and getitimer). Looking for ualarm()... found. Looking for usleep()... found. Looking for nanosleep()... testing... found. You can mix subsecond sleeps with signals, if you want to. (It's still not portable, though.) Looking for clock_gettime()... NOT found. Looking for clock_getres()... NOT found. Looking for clock_nanosleep()... NOT found. Looking for clock()... found. Looking for stat() subsecond timestamps... Trying struct stat st_atimespec.tv_nsec...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 seem to have stat() subsecond timestamps. (Your struct stat has them, but the filesystems must help.) Checking if your kit is complete... Looks good Writing Makefile for Time::HiRes Writing MYMETA.yml Now you may issue 'make'. Do not forget also 'make test'. >>> make cp HiRes.pm blib/lib/Time/HiRes.pm /Users/fly1400/bin/perl /Users/fly1400/var/megalib/ExtUtils/xsubpp -typemap /Users/fly1400/ap1400/lib/ExtUtils/typemap -typemap typemap HiRes.xs > HiRes.xsc && mv HiRes.xsc HiRes.c gcc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -arch i386 -arch x86_64 -nostdinc -B/Developer/SDKs/MacOSX10.5.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.5.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.5.sdk/usr/include -F/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks -mmacosx-version-min=10.5 -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fno-strict-aliasing -pipe -fstack-protector -O3 -DVERSION=\"1.9724\" -DXS_VERSION=\"1.9724\" "-I/Users/fly1400/ap1400/lib/CORE" -DTIME_HIRES_NANOSLEEP -DTIME_HIRES_CLOCK -DTIME_HIRES_STAT=1 -DATLEASTFIVEOHOHFIVE HiRes.c Running Mkbootstrap for Time::HiRes () chmod 644 HiRes.bs rm -f blib/arch/auto/Time/HiRes/HiRes.bundle cc -mmacosx-version-min=10.5 -bundle -undefined dynamic_lookup -Wl,-search_paths_first -arch i386 -arch x86_64 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -fstack-protector 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/fly1400/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 39030, starting the watchdog process... # The watchdog process 39031 launched, continuing testing... # I am the watchdog process 39031, sleeping for 360 seconds... ok 1 - require Time::HiRes; # sigaction tick, ALRM = 14 # Tick! 4 0.301039 # Select returned! 4 0.301209 # 0.899597 # Tick! 3 0.601509 # Select returned! 3 0.601685 # 0.799438333333333 # Tick! 2 0.902076 # Select returned! 2 0.902254 # 0.699248666666667 # Tick! 1 1.202985 # Select returned! 1 1.203155 # 0.598948333333333 # Tick! 0 1.503336 # Select returned! 0 1.503504 # 0.498832 ok 2 # 0 ok 3 - negative time error # Finding delay loop... # N = 1024, t1 = 1307819496.67625, t0 = 1307819496.67617, dt = 7.70092010498047e-05 # N = 2048, t1 = 1307819496.67645, t0 = 1307819496.6763, dt = 0.000149965286254883 # N = 4096, t1 = 1307819496.67678, t0 = 1307819496.67648, dt = 0.000298023223876953 # N = 8192, t1 = 1307819496.6775, t0 = 1307819496.67683, dt = 0.000668048858642578 # N = 16384, t1 = 1307819496.6788, t0 = 1307819496.6776, dt = 0.00119304656982422 # N = 32768, t1 = 1307819496.68126, t0 = 1307819496.67889, dt = 0.00237607955932617 # N = 65536, t1 = 1307819496.68612, t0 = 1307819496.68132, dt = 0.0048069953918457 # N = 131072, t1 = 1307819496.6956, t0 = 1307819496.68618, dt = 0.00941586494445801 # N = 262144, t1 = 1307819496.7145, t0 = 1307819496.69564, dt = 0.0188660621643066 # Alarm 1 - 1307819496.72461 # Alarm 2 - 1307819496.75935 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 # I am the main process 39030, terminating the watchdog process 39031 before it terminates me in 355 seconds (testing took 5 seconds). # kill KILL 39031 = 1 # All done. ok t/clock.t ......... 1..5 # I am the main process 39032, starting the watchdog process... # The watchdog process 39035 launched, continuing testing... # I am the watchdog process 39035, sleeping for 360 seconds... ok 1 - require Time::HiRes; # have_clock_gettime = 0 # have_clock_getres = 0 # have_clock_nanosleep = 0 # have_clock = 1 ok 2 # skip no clock_gettime ok 3 # skip no clock_getres ok 4 # skip no clock_nanosleep # clock = 0.03934 # clock = 0.03934 0.108459 # clock = 0.03934 0.108459 0.17763 # clock = 0.03934 0.108459 0.17763 0.2467 ok 5 # I am the main process 39032, terminating the watchdog process 39035 before it terminates me in 360 seconds (testing took 0 seconds). # kill KILL 39035 = 1 # All done. ok t/gettimeofday.t .. 1..6 # I am the main process 39036, starting the watchdog process... # The watchdog process 39037 launched, continuing testing... # I am the watchdog process 39037, sleeping for 360 seconds... # gettimeofday returned 2 args ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 # I am the main process 39036, terminating the watchdog process 39037 before it terminates me in 359 seconds (testing took 1 seconds). # kill KILL 39037 = 1 # All done. ok t/itimer.t ........ 1..2 # I am the main process 39038, starting the watchdog process... # The watchdog process 39039 launched, continuing testing... # I am the watchdog process 39039, sleeping for 360 seconds... # setitimer: 0 0 ok 1 # getitimer: 0.498446 0.4 # Tick! 2 0.507666 # Tick! 1 0.913161 # Tick! 0 1.319157 # Tick! 0 1.724775 # getitimer: 0 0 ok 2 # I am the main process 39038, terminating the watchdog process 39039 before it terminates me in 358 seconds (testing took 2 seconds). # kill KILL 39039 = 1 # All done. ok t/nanosleep.t ..... 1..3 # I am the main process 39040, starting the watchdog process... # The watchdog process 39041 launched, continuing testing... # I am the watchdog process 39041, sleeping for 360 seconds... ok 1 - negative time error ok 2 ok 3 # I am the main process 39040, terminating the watchdog process 39041 before it terminates me in 360 seconds (testing took 0 seconds). # kill KILL 39041 = 1 # All done. ok t/sleep.t ......... 1..4 # I am the main process 39042, starting the watchdog process... # The watchdog process 39043 launched, continuing testing... # I am the watchdog process 39043, sleeping for 360 seconds... ok 1 - require Time::HiRes; ok 2 - negative time error # time...1307819504.68631 ok 3 # sleep...0.500145 ok 4 # I am the main process 39042, terminating the watchdog process 39043 before it terminates me in 359 seconds (testing took 1 seconds). # kill KILL 39043 = 1 # All done. ok t/stat.t .......... 1..1 # I am the main process 39044, starting the watchdog process... # The watchdog process 39045 launched, continuing testing... # I am the watchdog process 39045, sleeping for 360 seconds... # mtime = 1307819505 1307819505 1307819505 1307819506 1307819506 # atime = 1307819505 1307819505 1307819506 1307819506 1307819506 # ai = 4, mi = 4, ss = 0 ok 1 # skip no subsecond timestamps detected # I am the main process 39044, terminating the watchdog process 39045 before it terminates me in 359 seconds (testing took 1 seconds). # kill KILL 39045 = 1 # All done. ok t/time.t .......... 1..2 # I am the main process 39046, starting the watchdog process... # I am the watchdog process 39047, sleeping for 360 seconds... # The watchdog process 39047 launched, continuing testing... ok 1 - require Time::HiRes; ok 2 # s = 79.1856799125671, n = 100, s/n = 0.791856799125671 # I am the main process 39046, terminating the watchdog process 39047 before it terminates me in 360 seconds (testing took 0 seconds). # kill KILL 39047 = 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 39049, starting the watchdog process... # The watchdog process 39050 launched, continuing testing... # I am the watchdog process 39050, sleeping for 360 seconds... ok 1 # tick = 1, one = 1307819506, two = 1307819506, three = 1307819506 ok 2 # tick = 3, one = 1307819506, two = 1307819506, three = 1307819506 ok 3 - negative time error # t0 = 1307819506.93673 # ualarm(100000) # t1 = 1307819507.03687 # dt = 0.100138187408447 # r = 1.00138187408447 ok 4 # t0 = 1307819507.03725 # ualarm(1100000) # t1 = 1307819508.13779 # dt = 1.10054087638855 # r = 1.00049170580777 ok 5 # t0 = 1307819508.13816 # ualarm(2200000) # t1 = 1307819510.33944 # dt = 2.2012791633606 # r = 1.00058143789118 ok 6 # t0 = 1307819510.33981 # ualarm(4300000) # t1 = 1307819514.64172 # dt = 4.30190300941467 # r = 1.00044256032899 ok 7 # t0 = 1307819514.64211 # got0 = 0 # t1 = 1307819514.94211 # t1 - t0 = 0.300000190734863 # got1 = 200002 ok 8 ok 9 ok 10 ok 11 ok 12 # I am the main process 39049, terminating the watchdog process 39050 before it terminates me in 352 seconds (testing took 8 seconds). # kill KILL 39050 = 1 # All done. ok t/usleep.t ........ 1..6 # I am the main process 39051, starting the watchdog process... # The watchdog process 39052 launched, continuing testing... # I am the watchdog process 39052, sleeping for 360 seconds... ok 1 - negative time error ok 2 ok 3 ok 4 ok 5 ok 6 # I am the main process 39051, terminating the watchdog process 39052 before it terminates me in 355 seconds (testing took 5 seconds). # kill KILL 39052 = 1 # All done. ok All tests successful. Files=11, Tests=53, 24 wallclock secs ( 0.08 usr 0.03 sys + 14.58 cusr 0.13 csys = 14.82 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/fly1400/var/cpan/build/Time-HiRes-1.9724-IQY6GP && tar cvf - Time-HiRes-1.9724.ppd blib) | gzip -c >/Users/fly1400/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/fly1400/var/cpan/build/Time-HiRes-1.9724-IQY6GP/Time-HiRes-1.9724.ppd /Users/fly1400/var/REPO/Z/ZE/ZEFRAM Finished 2011-06-11T12:11:59