PATH=/Users/fly1400/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin Start 2011-04-28T11:06:50 ActivePerl-1400 CPAN-1.9402 Going to read '/Users/fly1400/var/cpan/Metadata' Database was generated on Wed, 27 Apr 2011 22:27:21 GMT ______________________ D i s t r o P r e f s ______________________ Time-HiRes.yml[0] Running make for J/JH/JHI/Time-HiRes-1.9721.tar.gz Checksum for /net/nas/data/cpan/authors/id/J/JH/JHI/Time-HiRes-1.9721.tar.gz ok Time-HiRes-1.9721/ Time-HiRes-1.9721/Changes Time-HiRes-1.9721/fallback/ Time-HiRes-1.9721/hints/ Time-HiRes-1.9721/HiRes.pm Time-HiRes-1.9721/HiRes.xs Time-HiRes-1.9721/Makefile.PL Time-HiRes-1.9721/MANIFEST Time-HiRes-1.9721/META.yml Time-HiRes-1.9721/ppport.h Time-HiRes-1.9721/README Time-HiRes-1.9721/t/ Time-HiRes-1.9721/TODO Time-HiRes-1.9721/typemap Time-HiRes-1.9721/t/HiRes.t Time-HiRes-1.9721/hints/aix.pl Time-HiRes-1.9721/hints/dec_osf.pl Time-HiRes-1.9721/hints/dynixptx.pl Time-HiRes-1.9721/hints/irix.pl Time-HiRes-1.9721/hints/linux.pl Time-HiRes-1.9721/hints/sco.pl Time-HiRes-1.9721/hints/solaris.pl Time-HiRes-1.9721/hints/svr4.pl Time-HiRes-1.9721/fallback/const-c.inc Time-HiRes-1.9721/fallback/const-xs.inc 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 922 (offset 2 lines). Hunk #2 succeeded at 950 (offset 4 lines). CPAN.pm: Going to build J/JH/JHI/Time-HiRes-1.9721.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/ap1400/lib/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.9721\" -DXS_VERSION=\"1.9721\" "-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 JHI/Time-HiRes-1.9721.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 59571, starting the timer process... # The timer process 59572 launched, continuing testing... # I am the timer process 59572, sleeping for 360 seconds... ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 # tick = 1, one = 1304014022, two = 1304014022, three = 1304014022 ok 13 # tick = 3, one = 1304014022, two = 1304014022, three = 1304014022 ok 14 # s = 5.32933735847473, n = 100, s/n = 0.0532933735847473 # time...1304014022.06381 ok 15 # sleep...0.500128 ok 16 # sigaction tick, ALRM = 14 # Tick! 4 0.301181 # Select returned! 4 0.301275 # 0.899575 # Tick! 3 0.60152 # Select returned! 3 0.601603 # 0.799465666666667 # Tick! 2 0.901744 # Select returned! 2 0.901821 # 0.699393 # Tick! 1 1.202072 # Select returned! 1 1.202155 # 0.599281666666667 # Tick! 0 1.50239 # Select returned! 0 1.502475 # 0.499175 ok 17 # 0 # setitimer: 0 0 ok 18 # getitimer: 0.499983 0.4 # Tick! 2 0.516511 # Tick! 1 0.922602 # Tick! 0 1.328615 # Tick! 0 1.734508 # getitimer: 0 0 ok 19 ok 20 # 1.50016403198242 went by while sleeping 1.5, ratio 1.00009866666667. ok 21 # 1.50014710426331 went by while sleeping 1.5, ratio 1.000084. ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 # Finding delay loop... # N = 1024, t1 = 1304014029.3244, t0 = 1304014029.32432, dt = 8.32080841064453e-05 # N = 2048, t1 = 1304014029.32465, t0 = 1304014029.32443, dt = 0.000221967697143555 # N = 4096, t1 = 1304014029.32497, t0 = 1304014029.32466, dt = 0.000311136245727539 # N = 8192, t1 = 1304014029.32737, t0 = 1304014029.32498, dt = 0.00238490104675293 # N = 16384, t1 = 1304014029.32859, t0 = 1304014029.3274, dt = 0.0011899471282959 # N = 32768, t1 = 1304014029.33085, t0 = 1304014029.32861, dt = 0.00223612785339355 # N = 65536, t1 = 1304014029.33533, t0 = 1304014029.33086, dt = 0.00446796417236328 # N = 131072, t1 = 1304014029.34429, t0 = 1304014029.33533, dt = 0.00896000862121582 # N = 262144, t1 = 1304014029.36191, t0 = 1304014029.34431, dt = 0.0176088809967041 # Alarm 1 - 1304014029.37202 # Alarm 2 - 1304014029.40779 ok 29 # No clock_gettime ok 30 # skipped # No clock_getres ok 31 # skipped # No clock_nanosleep ok 32 # skipped # clock = 2.097228 # clock = 2.097228 2.162003 # clock = 2.097228 2.162003 2.226858 # clock = 2.097228 2.162003 2.226858 2.291604 ok 33 # t0 = 1304014029.80484 # ualarm(100000) # t1 = 1304014029.90492 # dt = 0.100080966949463 # r = 1.00080966949463 ok 34 # t0 = 1304014029.90501 # ualarm(1100000) # t1 = 1304014031.00506 # dt = 1.10004591941833 # r = 1.00004174492576 ok 35 # t0 = 1304014031.00515 # ualarm(2200000) # t1 = 1304014033.20518 # dt = 2.20002889633179 # r = 1.00001313469627 ok 36 # t0 = 1304014033.20527 # ualarm(4300000) # t1 = 1304014037.50522 # dt = 4.29995393753052 # r = 0.999989287797795 ok 37 # mtime = 1304014037 1304014037 1304014038 1304014038 1304014038 # atime = 1304014037 1304014038 1304014038 1304014038 1304014038 # 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 = 1304014042.9616 # t1 = 1304014043.2616 # t1 - t0 = 0.300000905990601 ok 46 ok 47 ok 48 # I am the main process 59571, terminating the timer process 59572 # before it terminates me in 335 seconds (testing took 24 seconds). # kill KILL 59572 = 1 # All done. ok All tests successful. Files=1, Tests=48, 24 wallclock secs ( 0.04 usr 0.00 sys + 14.23 cusr 0.04 csys = 14.31 CPU) Result: PASS JHI/Time-HiRes-1.9721.tar.gz make test TEST_VERBOSE=1 -- OK Jarkko Hietaniemi <jhi@iki.fi> High resolution alarm, sleep, gettimeofday, interval timers >>> (cd /Users/fly1400/var/cpan/build/Time-HiRes-1.9721-XLJKvq && tar cvf - Time-HiRes-1.9721.ppd blib) | gzip -c >/Users/fly1400/var/REPO/J/JH/JHI/Time-HiRes-1.9721.tar.gz Time-HiRes-1.9721.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.9721-XLJKvq/Time-HiRes-1.9721.ppd /Users/fly1400/var/REPO/J/JH/JHI Finished 2011-04-28T11:07:23