On Mon, 2005-05-02 at 09:42 -0700, Eric Rybski wrote:
>    I've had no problems installing Event on Solaris 8 or 9 with 32-bit 
> compiled
> perl, but have not been able to install it on a 64-bit (sparcv9) perl using 
> the
> same build of GCC (3.4.2).  Compilation works without a problem, but failures
> (including one core dump) occur in several of the tests.  From the little
> information I've been able to find, I've pretty much seen an identical set of
> test failures with version of Event ranging from 0.87 to 1.03 on different 
> UNIX
> platforms (HPUX w/ cc, Solaris 2.6 w/ gcc, linux 2.4.7-0.44.29) with different
> versions of perl (5.6.1, 5.8.0, 5.8.3)...and the one similarity I've seen is
> that ALL of them are using 64-bit perl (all have use64bitint=define; all but
> one have use64bitall=define).
> 
>    This leads me to strongly believe that there are unresolved 64-bit issues
> with the Event libraries.  Are you aware of any such issues yourself that you
> are working on?  Is there any source of information you are aware of that has
> troubleshooting tips to resolve this issue?  I am trying to install the Event
> package so I can use the Coro package on a new system that uses 64-bit perl
> (the software works fine on a 32-bit perl installation)
> 
>    I am including my 64-bit perl Event.pm build report below for your
> information.   This is definately an issue that needs to be investigated, and
> I'm willing to help in any way I can.
> 
> Sincerely,
> Eric Rybski
> 
> ##################################################
> cpan> install Event
> CPAN: Storable loaded ok
> Going to read /.cpan/Metadata
>   Database was generated on Mon, 02 May 2005 15:04:13 GMT
> Running install for module Event
> Running make for J/JP/JPRIT/Event-1.05.tar.gz
> CPAN: Digest::MD5 loaded ok
> CPAN: Compress::Zlib loaded ok
> Checksum for /.cpan/sources/authors/id/J/JP/JPRIT/Event-1.05.tar.gz ok
> Scanning cache /.cpan/build for sizes
> x Event-1.05, 0 bytes, 0 tape blocks
> x Event-1.05/t, 0 bytes, 0 tape blocks
> x Event-1.05/t/idle2.t, 1134 bytes, 3 tape blocks
> x Event-1.05/t/generic.t, 687 bytes, 2 tape blocks
> x Event-1.05/t/callback.t, 864 bytes, 2 tape blocks
> x Event-1.05/t/timer.t, 1110 bytes, 3 tape blocks
> x Event-1.05/t/io.t, 1789 bytes, 4 tape blocks
> x Event-1.05/t/leak2.t, 1062 bytes, 3 tape blocks
> x Event-1.05/t/idle.t, 746 bytes, 2 tape blocks
> x Event-1.05/t/eval.t, 834 bytes, 2 tape blocks
> x Event-1.05/t/loop.t, 659 bytes, 2 tape blocks
> x Event-1.05/t/hup.t, 703 bytes, 2 tape blocks
> x Event-1.05/t/now.t, 676 bytes, 2 tape blocks
> x Event-1.05/t/group.t, 380 bytes, 1 tape blocks
> x Event-1.05/t/timeout_cb.t, 490 bytes, 1 tape blocks
> x Event-1.05/t/leak.t, 658 bytes, 2 tape blocks
> x Event-1.05/t/var.t, 800 bytes, 2 tape blocks
> x Event-1.05/t/attach_to.t, 306 bytes, 1 tape blocks
> x Event-1.05/t/hook.t, 344 bytes, 1 tape blocks
> x Event-1.05/t/signal.t, 549 bytes, 2 tape blocks
> x Event-1.05/t/bored.t, 410 bytes, 1 tape blocks
> x Event-1.05/t/fifo.t, 612 bytes, 2 tape blocks
> x Event-1.05/t/delete.t, 283 bytes, 1 tape blocks
> x Event-1.05/t/reenter.t, 894 bytes, 2 tape blocks
> x Event-1.05/t/unconfigured.t, 446 bytes, 1 tape blocks
> x Event-1.05/t/data.t, 299 bytes, 1 tape blocks
> x Event-1.05/c, 0 bytes, 0 tape blocks
> x Event-1.05/c/io.c, 5475 bytes, 11 tape blocks
> x Event-1.05/c/timer.c, 2218 bytes, 5 tape blocks
> x Event-1.05/c/hook.c, 1615 bytes, 4 tape blocks
> x Event-1.05/c/generic.c, 2561 bytes, 6 tape blocks
> x Event-1.05/c/idle.c, 3577 bytes, 7 tape blocks
> x Event-1.05/c/tied.c, 2563 bytes, 6 tape blocks
> x Event-1.05/c/queue.c, 6075 bytes, 12 tape blocks
> x Event-1.05/c/ev.c, 8740 bytes, 18 tape blocks
> x Event-1.05/c/timeable.c, 2653 bytes, 6 tape blocks
> x Event-1.05/c/typemap.c, 5073 bytes, 10 tape blocks
> x Event-1.05/c/var.c, 4272 bytes, 9 tape blocks
> x Event-1.05/c/watcher.c, 9719 bytes, 19 tape blocks
> x Event-1.05/c/group.c, 3764 bytes, 8 tape blocks
> x Event-1.05/c/unix.c, 11838 bytes, 24 tape blocks
> x Event-1.05/c/signal.c, 4156 bytes, 9 tape blocks
> x Event-1.05/lib, 0 bytes, 0 tape blocks
> x Event-1.05/lib/Event, 0 bytes, 0 tape blocks
> x Event-1.05/lib/Event/typemap, 363 bytes, 1 tape blocks
> x Event-1.05/lib/Event/io.pm, 393 bytes, 1 tape blocks
> x Event-1.05/lib/Event/group.pm, 523 bytes, 2 tape blocks
> x Event-1.05/lib/Event/MakeMaker.pm, 3382 bytes, 7 tape blocks
> x Event-1.05/lib/Event/signal.pm, 375 bytes, 1 tape blocks
> x Event-1.05/lib/Event/EventAPI.h, 6469 bytes, 13 tape blocks
> x Event-1.05/lib/Event/timer.pm, 1055 bytes, 3 tape blocks
> x Event-1.05/lib/Event/generic.pod, 2420 bytes, 5 tape blocks
> x Event-1.05/lib/Event/generic.pm, 451 bytes, 1 tape blocks
> x Event-1.05/lib/Event/var.pm, 309 bytes, 1 tape blocks
> x Event-1.05/lib/Event/idle.pm, 569 bytes, 2 tape blocks
> x Event-1.05/lib/Event/Watcher.pm, 2555 bytes, 5 tape blocks
> x Event-1.05/lib/Event/type.pm, 304 bytes, 1 tape blocks
> x Event-1.05/lib/Event.pm, 5081 bytes, 10 tape blocks
> x Event-1.05/lib/Event.pod, 30154 bytes, 59 tape blocks
> x Event-1.05/MANIFEST, 1060 bytes, 3 tape blocks
> x Event-1.05/TODO, 2411 bytes, 5 tape blocks
> x Event-1.05/demo, 0 bytes, 0 tape blocks
> x Event-1.05/demo/perlqt.t, 2506 bytes, 5 tape blocks
> x Event-1.05/demo/msg.pm, 1016 bytes, 2 tape blocks
> x Event-1.05/demo/readline.t, 2343 bytes, 5 tape blocks
> x Event-1.05/demo/process.pm, 1626 bytes, 4 tape blocks
> x Event-1.05/demo/queue_pending.t, 792 bytes, 2 tape blocks
> x Event-1.05/demo/group.t, 564 bytes, 2 tape blocks
> x Event-1.05/demo/echo.t, 752 bytes, 2 tape blocks
> x Event-1.05/demo/repeat.t, 998 bytes, 2 tape blocks
> x Event-1.05/demo/rand_interval.t, 316 bytes, 1 tape blocks
> x Event-1.05/demo/semaphore.pm, 1308 bytes, 3 tape blocks
> x Event-1.05/util, 0 bytes, 0 tape blocks
> x Event-1.05/util/bench.pl, 7735 bytes, 16 tape blocks
> x Event-1.05/util/filehandle.txt, 11865 bytes, 24 tape blocks
> x Event-1.05/ANNOUNCE, 1345 bytes, 3 tape blocks
> x Event-1.05/Event.h, 4077 bytes, 8 tape blocks
> x Event-1.05/ppport.h, 7868 bytes, 16 tape blocks
> x Event-1.05/Event.xs, 19852 bytes, 39 tape blocks
> x Event-1.05/README, 194 bytes, 1 tape blocks
> x Event-1.05/META.yml, 333 bytes, 1 tape blocks
> x Event-1.05/ChangeLog, 31466 bytes, 62 tape blocks
> x Event-1.05/Tutorial.pdf, 220257 bytes, 431 tape blocks
> x Event-1.05/MANIFEST.SKIP, 49 bytes, 1 tape blocks
> x Event-1.05/INSTALL, 230 bytes, 1 tape blocks
> x Event-1.05/Makefile.PL, 616 bytes, 2 tape blocks
> 
>   CPAN.pm: Going to build J/JP/JPRIT/Event-1.05.tar.gz
> 
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Event
> cp lib/Event/signal.pm blib/lib/Event/signal.pm
> cp lib/Event/io.pm blib/lib/Event/io.pm
> cp lib/Event/generic.pod blib/lib/Event/generic.pod
> cp lib/Event/timer.pm blib/lib/Event/timer.pm
> cp lib/Event/generic.pm blib/lib/Event/generic.pm
> cp lib/Event/var.pm blib/lib/Event/var.pm
> cp lib/Event/idle.pm blib/lib/Event/idle.pm
> cp lib/Event/typemap blib/lib/Event/typemap
> cp lib/Event.pm blib/lib/Event.pm
> cp lib/Event/EventAPI.h blib/lib/Event/EventAPI.h
> cp lib/Event.pod blib/lib/Event.pod
> cp lib/Event/group.pm blib/lib/Event/group.pm
> cp lib/Event/Watcher.pm blib/lib/Event/Watcher.pm
> cp lib/Event/type.pm blib/lib/Event/type.pm
> cp lib/Event/MakeMaker.pm blib/lib/Event/MakeMaker.pm
> /usr/bin/perl /usr/local/lib/perl5/5.8.6/ExtUtils/xsubpp  -typemap
> /usr/local/lib/perl5/5.8.6/ExtUtils/typemap -typemap ./lib/Event/typemap 
> Event.xs > Event.xsc && mv Event.xsc Event.c
> gcc -c  -Ic -Ilib/Event  -mcpu=v9 -m64 -Wa,-xarch=v9 -fno-strict-aliasing 
> -pipe
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   
> -DVERSION=\"1.05\"  -DXS_VERSION=\"1.05\" -fPIC
> "-I/usr/local/lib/perl5/5.8.6/sun4-solaris-64/CORE"   Event.c
> Running Mkbootstrap for Event ()
> chmod 644 Event.bs
> rm -f blib/arch/auto/Event/Event.so
> LD_RUN_PATH="" gcc  -G -m64 -mcpu=v9 -m64 -L/usr/lib/sparcv9 -L/usr/local/lib
> -L/usr/local/lib/sparcv9 Event.o  -o blib/arch/auto/Event/Event.so
> chmod 755 blib/arch/auto/Event/Event.so
> cp Event.bs blib/arch/auto/Event/Event.bs
> chmod 644 blib/arch/auto/Event/Event.bs
> Manifying blib/man3/Event.3
> Manifying blib/man3/Event::generic.3
> Manifying blib/man3/Event::MakeMaker.3
>   /usr/ccs/bin/make  -- OK
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
> "test_harness(0,
> 'blib/lib', 'blib/arch')" t/*.t
> t/attach_to.......ok
> t/bored...........ok
> t/callback........FAILED tests 5-6
>         Failed 2/6 tests, 66.67% okay
> t/data............ok
> t/delete..........ok
> t/eval............Event: loop without active watchers at t/eval.t line 27
> # Test 1 got: <UNDEF> (t/eval.t at line 27)
> #   Expected: "ok"
> #  t/eval.t line 27 is: ok loop(), $status;
> t/eval............FAILED tests 1-7
>         Failed 7/7 tests, 0.00% okay
> t/fifo............ok
> t/generic.........ok
> t/group...........ok
> t/hook............ok
> t/hup.............ok
> t/idle............ok
> t/idle2...........ok
> t/io..............ok
> t/leak............ok
> t/leak2...........ok
> t/loop............ok
> t/now.............ok
> t/reenter.........# Test 2 got: "95" (t/reenter.t at line 22)
> t/reenter.........NOK 2#   Expected: "0"
> #  t/reenter.t line 22 is: ok $rep->is_running, 0;
> t/reenter.........dubious
>         Test returned status 0 (wstat 139, 0x8b)
>         test program seems to have generated a core
> DIED. FAILED tests 2-7
>         Failed 6/7 tests, 14.29% okay
> t/signal..........ok
> t/timeout_cb......ok
> t/timer...........ok
> t/unconfigured....ok
> t/var.............ok
> Failed Test  Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/callback.t                6    2  33.33%  5-6
> t/eval.t                    7    7 100.00%  1-7
> t/reenter.t     0   139     7   11 157.14%  2-7
> Failed 3/24 test scripts, 87.50% okay. 15/126 subtests failed, 88.10% okay.
> *** Error code 255
> make: Fatal error: Command failed for target `test_dynamic'
>   /usr/ccs/bin/make test -- NOT OK
> Running make install
>   make test had returned bad status, won't install without force

Can you run t/eval.t with $Event::DebugLevel = 10; ?

-- 
If you are an American then support http://fairtax.org
 (Permanently replace 50,000+ pages of tax law with about 200 pages.)

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to