PATH=/usr/bin:/bin Start 2011-05-21T12:55:46 ActivePerl-1400 CPAN-1.9402 Going to read '/Users/fly1400/var/cpan/Metadata' Database was generated on Fri, 20 May 2011 22:31:42 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.9722.tar.gz Checksum for /net/nas/data/cpan/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9722.tar.gz ok Time-HiRes-1.9722/ Time-HiRes-1.9722/META.yml Time-HiRes-1.9722/MANIFEST Time-HiRes-1.9722/HiRes.pm Time-HiRes-1.9722/Changes Time-HiRes-1.9722/ppport.h Time-HiRes-1.9722/README Time-HiRes-1.9722/hints/ Time-HiRes-1.9722/hints/aix.pl Time-HiRes-1.9722/hints/dynixptx.pl Time-HiRes-1.9722/hints/solaris.pl Time-HiRes-1.9722/hints/linux.pl Time-HiRes-1.9722/hints/irix.pl Time-HiRes-1.9722/hints/dec_osf.pl Time-HiRes-1.9722/hints/svr4.pl Time-HiRes-1.9722/hints/sco.pl Time-HiRes-1.9722/TODO Time-HiRes-1.9722/HiRes.xs Time-HiRes-1.9722/fallback/ Time-HiRes-1.9722/fallback/const-c.inc Time-HiRes-1.9722/fallback/const-xs.inc Time-HiRes-1.9722/typemap Time-HiRes-1.9722/Makefile.PL Time-HiRes-1.9722/t/ Time-HiRes-1.9722/t/HiRes.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.9722.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.9722\" -DXS_VERSION=\"1.9722\" "-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.9722.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/HiRes.t .. 1..48 ok 1 # have_gettimeofday = 1 # have_usleep = 1 # have_nanosleep = 1 # have_ualarm = 1 # have_clock_gettime = 0 # have_clock_getres = 0 # have_clock_nanosleep = 0 # have_clock = 1 # have_hires_stat = 1 # I am the main process 8476, starting the timer process... # The timer process 8477 launched, continuing testing... ok 2 ok 3 # I am the timer process 8477, sleeping for 360 seconds... ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 # tick = 1, one = 1306007760, two = 1306007760, three = 1306007760 ok 13 # tick = 3, one = 1306007760, two = 1306007760, three = 1306007760 ok 14 # s = 12.3850891590118, n = 100, s/n = 0.123850891590118 # time...1306007760.13484 ok 15 # sleep...0.500055 ok 16 # sigaction tick, ALRM = 14 # Tick! 4 0.300995 # Select returned! 4 0.301076 # 0.899641333333333 # Tick! 3 0.601392 # Select returned! 3 0.601453 # 0.799515666666667 # Tick! 2 0.901665 # Select returned! 2 0.901728 # 0.699424 # Tick! 1 1.201963 # Select returned! 1 1.202032 # 0.599322666666667 # Tick! 0 1.502682 # Select returned! 0 1.502746 # 0.499084666666667 ok 17 # 0 # setitimer: 0 0 ok 18 # getitimer: 0.499988 0.4 # Tick! 2 0.511818 # Tick! 1 0.919817 # Tick! 0 1.353038 # Tick! 0 1.765622 # getitimer: 0 0 ok 19 ok 20 # 1.50082516670227 went by while sleeping 1.5, ratio 1.000538. ok 21 # 1.50081396102905 went by while sleeping 1.5, ratio 1.00052866666667. ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 # Finding delay loop... # N = 1024, t1 = 1306007767.42674, t0 = 1306007767.42659, dt = 0.00014805793762207 # N = 2048, t1 = 1306007767.42723, t0 = 1306007767.42676, dt = 0.000463962554931641 # N = 4096, t1 = 1306007767.42785, t0 = 1306007767.42725, dt = 0.000604867935180664 # N = 8192, t1 = 1306007767.42882, t0 = 1306007767.42787, dt = 0.000952959060668945 # N = 16384, t1 = 1306007767.43057, t0 = 1306007767.42883, dt = 0.0017399787902832 # N = 32768, t1 = 1306007767.43407, t0 = 1306007767.43058, dt = 0.00348806381225586 # N = 65536, t1 = 1306007767.44064, t0 = 1306007767.43409, dt = 0.00655007362365723 # N = 131072, t1 = 1306007767.45295, t0 = 1306007767.44066, dt = 0.0122940540313721 # Alarm 1 - 1306007767.46306 # Alarm 2 - 1306007767.48065 ok 29 # No clock_gettime ok 30 # skipped # No clock_getres ok 31 # skipped # No clock_nanosleep ok 32 # skipped # clock = 2.015334 # clock = 2.015334 2.084623 # clock = 2.015334 2.084623 2.154017 # clock = 2.015334 2.084623 2.154017 2.22353 ok 33 # t0 = 1306007767.82389 # ualarm(100000) # t1 = 1306007767.92424 # dt = 0.100348949432373 # r = 1.00348949432373 ok 34 # t0 = 1306007767.92431 # ualarm(1100000) # t1 = 1306007769.02495 # dt = 1.10063791275024 # r = 1.00057992068204 ok 35 # t0 = 1306007769.02504 # ualarm(2200000) # t1 = 1306007771.22596 # dt = 2.20091891288757 # r = 1.00041768767617 ok 36 # t0 = 1306007771.22605 # ualarm(4300000) # t1 = 1306007775.5278 # dt = 4.3017430305481 # r = 1.00040535594142 ok 37 # mtime = 1306007775 1306007776 1306007776 1306007776 1306007776 # atime = 1306007775 1306007776 1306007776 1306007776 1306007777 # ai = 4, mi = 4, ss = 0 # No subsecond timestamps detected ok 38 # skipped ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 # t0 = 1306007781.05748 # t1 = 1306007781.35748 # t1 - t0 = 0.30000114440918 ok 46 ok 47 ok 48 # I am the main process 8476, terminating the timer process 8477 # before it terminates me in 336 seconds (testing took 23 seconds). # kill KILL 8477 = 1 # All done. ok All tests successful. Files=1, Tests=48, 24 wallclock secs ( 0.04 usr 0.00 sys + 14.11 cusr 0.04 csys = 14.19 CPU) Result: PASS ZEFRAM/Time-HiRes-1.9722.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.9722-ouyUz0 && tar cvf - Time-HiRes-1.9722.ppd blib) | gzip -c >/Users/fly1400/var/REPO/Z/ZE/ZEFRAM/Time-HiRes-1.9722.tar.gz Time-HiRes-1.9722.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.9722-ouyUz0/Time-HiRes-1.9722.ppd /Users/fly1400/var/REPO/Z/ZE/ZEFRAM Finished 2011-05-21T12:56:21