PATH=/usr/bin:/bin Start 2011-05-22T01:49:52 ActivePerl-818 CPAN-1.9402 Going to read '/Users/fly818/var/cpan/Metadata' Database was generated on Sat, 21 May 2011 22:27:09 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 Fetching with LWP: http://cpan.nas.activestate.com/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9722.tar.gz Checksum for /Users/fly818/var/cpan/sources/authors/id/Z/ZE/ZEFRAM/Time-HiRes-1.9722.tar.gz ok Will not use Archive::Tar, need 1.00 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/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.9722.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.9722\" -DXS_VERSION=\"1.9722\" "-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.9722.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/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 28322, starting the timer process... # I am the timer process 28323, sleeping for 360 seconds... # The timer process 28323 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 = 1306054252, two = 1306054252, three = 1306054252 ok 13 # tick = 3, one = 1306054252, two = 1306054252, three = 1306054252 ok 14 # s = 82.220281124115, n = 100, s/n = 0.82220281124115 # time...1306054252.83443 ok 15 # sleep...0.500071 ok 16 # sigaction tick, ALRM = 14 # Tick! 4 0.39102 # Select returned! 4 0.39172 # 0.869426666666667 # Tick! 3 0.692737 # Select returned! 3 0.692871 # 0.769043 # Tick! 2 0.99304 # Select returned! 2 0.993178 # 0.668940666666667 # Tick! 1 1.293346 # Select returned! 1 1.293469 # 0.568843666666667 # Tick! 0 1.593636 # Select returned! 0 1.59376 # 0.468746666666667 ok 17 # 0 ok 18 # Skip: no virtual interval timers ok 19 # Skip: no virtual interval timers ok 20 # 1.50007104873657 went by while sleeping 1.5, ratio 1.00002733333333. ok 21 # 1.50007104873657 went by while sleeping 1.5, ratio 1.000026. ok 22 # skipped ok 23 # skipped ok 24 ok 25 ok 26 ok 27 ok 28 # skipped # Finding delay loop... # N = 1024, t1 = 1306054257.93185, t0 = 1306054257.93146, dt = 0.000390052795410156 # N = 2048, t1 = 1306054257.9327, t0 = 1306054257.9319, dt = 0.000808000564575195 # N = 4096, t1 = 1306054257.93431, t0 = 1306054257.93273, dt = 0.00158405303955078 # N = 8192, t1 = 1306054257.93754, t0 = 1306054257.93434, dt = 0.00319504737854004 # N = 16384, t1 = 1306054257.94384, t0 = 1306054257.93757, dt = 0.0062708854675293 # N = 32768, t1 = 1306054257.95673, t0 = 1306054257.94389, dt = 0.0128448009490967 # Alarm 1 - 1306054257.96765 # Alarm 2 - 1306054258.03346 ok 29 # No clock_gettime ok 30 # skipped # No clock_getres ok 31 # skipped # No clock_nanosleep ok 32 # skipped ok 33 # skipped # t0 = 1306054258.74087 # ualarm(100000) # t1 = 1306054258.87677 # dt = 0.135893106460571 # r = 1.35893106460571 ok 34 # t0 = 1306054258.87882 # ualarm(1100000) # t1 = 1306054259.98386 # dt = 1.10504102706909 # r = 1.00458275188099 ok 35 # t0 = 1306054259.98619 # ualarm(2200000) # t1 = 1306054262.23379 # dt = 2.24759817123413 # r = 1.02163553237915 ok 36 # t0 = 1306054262.23487 # ualarm(4300000) # t1 = 1306054266.54885 # dt = 4.3139820098877 # r = 1.00325163020644 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 = 1306054270.60565 # t1 = 1306054270.90671 # t1 - t0 = 0.301067113876343 ok 46 ok 47 ok 48 # I am the main process 28322, terminating the timer process 28323 # before it terminates me in 339 seconds (testing took 20 seconds). # kill KILL 28323 = 1 # All done. ok All tests successful. Files=1, Tests=48, 20 wallclock secs ( 0.10 usr 0.04 sys + 2.68 cusr 0.05 csys = 2.87 CPU) Result: PASS ZEFRAM/Time-HiRes-1.9722.tar.gz make test TEST_VERBOSE=1 -- OK Fetching with LWP: http://cpan.nas.activestate.com/authors/id/Z/ZE/ZEFRAM/CHECKSUMS Andrew Main (Zefram) <zefram@fysh.org> High resolution alarm, sleep, gettimeofday, interval timers >>> (cd /Users/fly818/var/cpan/build/Time-HiRes-1.9722-_LNpcK && tar cvf - Time-HiRes-1.9722.ppd blib) | gzip -c >/Users/fly818/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/fly818/var/cpan/build/Time-HiRes-1.9722-_LNpcK/Time-HiRes-1.9722.ppd /Users/fly818/var/REPO/Z/ZE/ZEFRAM Finished 2011-05-22T01:51:21