Start 2010-02-14T06:27:17 ActivePerl-1003 CPAN-1.9402 Going to read '/Users/fly1003/var/cpan/Metadata' Database was generated on Sat, 13 Feb 2010 22:43:37 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.9720.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/J/JH/JHI/Time-HiRes-1.9720.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/J/JH/JHI/CHECKSUMS Checksum for /Users/fly1003/var/cpan/sources/authors/id/J/JH/JHI/Time-HiRes-1.9720.tar.gz ok Will not use Archive::Tar, need 1.00 Time-HiRes-1.9720/ Time-HiRes-1.9720/Changes Time-HiRes-1.9720/fallback/ Time-HiRes-1.9720/hints/ Time-HiRes-1.9720/HiRes.pm Time-HiRes-1.9720/HiRes.xs Time-HiRes-1.9720/Makefile.PL Time-HiRes-1.9720/MANIFEST Time-HiRes-1.9720/META.yml Time-HiRes-1.9720/ppport.h Time-HiRes-1.9720/README Time-HiRes-1.9720/t/ Time-HiRes-1.9720/TODO Time-HiRes-1.9720/typemap Time-HiRes-1.9720/t/HiRes.t Time-HiRes-1.9720/hints/aix.pl Time-HiRes-1.9720/hints/dec_osf.pl Time-HiRes-1.9720/hints/dynixptx.pl Time-HiRes-1.9720/hints/irix.pl Time-HiRes-1.9720/hints/linux.pl Time-HiRes-1.9720/hints/sco.pl Time-HiRes-1.9720/hints/solaris.pl Time-HiRes-1.9720/hints/svr4.pl Time-HiRes-1.9720/fallback/const-c.inc /usr/bin/tar: Read 6144 bytes from - Time-HiRes-1.9720/fallback/const-xs.inc Going to apply 1 patch: /Users/fly1003/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.9720.tar.gz >>> /Users/fly1003/bin/perl Makefile.PL Configuring Time::HiRes... Have syscall()... looking for syscall.h... NOT 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... 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/fly1003/bin/perl /Users/fly1003/var/megalib/ExtUtils/xsubpp -typemap /Users/fly1003/ap1003/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 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"1.9720\" -DXS_VERSION=\"1.9720\" "-I/Users/fly1003/ap1003/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 JHI/Time-HiRes-1.9720.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /Users/fly1003/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 = 0 # have_ualarm = 1 # have_clock_gettime = 0 # have_clock_getres = 0 # have_clock_nanosleep = 0 # have_clock = 0 # have_hires_stat = 0 # I am the main process 226, starting the timer process... # I am the timer process 227, sleeping for 360 seconds... # The timer process 227 launched, continuing testing... 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 = 1266157653, two = 1266157653, three = 1266157653 ok 13 # tick = 3, one = 1266157653, two = 1266157653, three = 1266157653 ok 14 # s = 65.837301492691, n = 100, s/n = 0.65837301492691 # time...1266157653.68164 ok 15 # sleep...0.500058 ok 16 # sigaction tick, ALRM = 14 # Tick! 4 0.341621 # Select returned! 4 0.341772 # 0.886076 # Tick! 3 0.642004 # Select returned! 3 0.64213 # 0.785956666666667 # Tick! 2 0.942298 # Select returned! 2 0.942415 # 0.685861666666667 # Tick! 1 1.242595 # Select returned! 1 1.242727 # 0.585757666666667 # Tick! 0 1.542922 # Select returned! 0 1.543052 # 0.485649333333333 ok 17 # 0 # setitimer: 0 0 ok 18 # getitimer: 0.5 0.4 # Tick! 2 2.002503 # Tick! 1 2.402455 # Tick! 0 2.802457 # Tick! 0 3.21246 # getitimer: 0 0 ok 19 ok 20 # 1.50007104873657 went by while sleeping 1.5, ratio 1.000026. ok 21 # 1.500079870224 went by while sleeping 1.5, ratio 1.00002933333333. ok 22 # skipped ok 23 # skipped ok 24 ok 25 ok 26 ok 27 ok 28 # skipped # Finding delay loop... # N = 1024, t1 = 1266157661.94025, t0 = 1266157661.9398, dt = 0.00045013427734375 # N = 2048, t1 = 1266157661.94116, t0 = 1266157661.9403, dt = 0.000860929489135742 # N = 4096, t1 = 1266157661.943, t0 = 1266157661.94118, dt = 0.00181198120117188 # N = 8192, t1 = 1266157661.94665, t0 = 1266157661.94303, dt = 0.00361990928649902 # N = 16384, t1 = 1266157661.95385, t0 = 1266157661.94668, dt = 0.00716590881347656 # N = 32768, t1 = 1266157661.97013, t0 = 1266157661.95388, dt = 0.0162570476531982 # Alarm 1 - 1266157661.98039 # Alarm 2 - 1266157662.00129 ok 29 # No clock_gettime ok 30 # skipped # No clock_getres ok 31 # skipped # No clock_nanosleep ok 32 # skipped ok 33 # skipped # t0 = 1266157662.12647 # ualarm(100000) # t1 = 1266157662.22662 # dt = 0.100152015686035 # r = 1.00152015686035 ok 34 # t0 = 1266157662.22683 # ualarm(1100000) # t1 = 1266157663.32698 # dt = 1.10014414787292 # r = 1.00013104352084 ok 35 # t0 = 1266157663.32722 # ualarm(2200000) # t1 = 1266157665.52736 # dt = 2.2001371383667 # r = 1.00006233562123 ok 36 # t0 = 1266157665.52761 # ualarm(4300000) # t1 = 1266157669.82777 # dt = 4.30015993118286 # r = 1.00003719329834 ok 37 # No effectual d_hires_stat ok 38 # skipped ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 # t0 = 1266157673.82928 # t1 = 1266157674.12928 # t1 - t0 = 0.300000905990601 ok 46 ok 47 ok 48 # I am the main process 226, terminating the timer process 227 # before it terminates me in 336 seconds (testing took 23 seconds). # kill KILL 227 = 1 # All done. ok All tests successful. Files=1, Tests=48, 23 wallclock secs ( 0.10 usr 0.04 sys + 15.45 cusr 0.10 csys = 15.69 CPU) Result: PASS JHI/Time-HiRes-1.9720.tar.gz make test TEST_VERBOSE=1 -- OK Jarkko Hietaniemi <jhi@iki.fi> High resolution alarm, sleep, gettimeofday, interval timers >>> (cd /Users/fly1003/var/cpan/build/Time-HiRes-1.9720-bzjVwJ && tar cvf - Time-HiRes-1.9720.ppd blib) | gzip -c >/Users/fly1003/var/REPO/J/JH/JHI/Time-HiRes-1.9720.tar.gz Time-HiRes-1.9720.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/fly1003/var/cpan/build/Time-HiRes-1.9720-bzjVwJ/Time-HiRes-1.9720.ppd /Users/fly1003/var/REPO/J/JH/JHI Finished 2010-02-14T06:27:55