develooper Front page | perl.cpan.testers | Postings from February 2003

FAIL Games-Euchre-1.00 i386-netbsd-thread-multi 1.6

From:
alian
Date:
February 21, 2003 06:07
Subject:
FAIL Games-Euchre-1.00 i386-netbsd-thread-multi 1.6
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible.  See
http://testers.cpan.org/

Please cc any replies to cpan-testers@perl.org to keep other
test volunteers informed and to prevent any duplicate effort.
	
--
This is an error report generated automatically by CPANPLUS,
version 0.042.

Below is the error stack during 'make test':

PERL_DL_NONLAZY=1 /usr/local/perl-5.8.0/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..4
not ok 1 - use Games::Euchre;
ok 2 - use Games::Euchre::AI;
#     Failed test (test.pl at line 6)
#     Tried to use 'Games::Euchre'.
#     Error:  Can't locate WeakRef.pm in @INC (@INC contains: blib/lib blib/arch /home/alian/.cpanplus/5.8.0/build/Games-Euchre-1.00/blib/lib /home/alian/.cpanplus/5.8.0/build/Games-Euchre-1.00/blib/arch /home/alian/.cpanplus/5.8.0/build/Games-Cards-1.45/blib/lib /home/alian/.cpanplus/5.8.0/build/Games-Cards-1.45/blib/arch /home/alian/.cpanplus/5.8.0/build/Games-Euchre-1.00/blib/lib /home/alian/.cpanplus/5.8.0/build/Games-Euchre-1.00/blib/arch /usr/local/perl-5.8.0/lib/5.8.0/i386-netbsd-thread-multi /usr/local/perl-5.8.0/lib/5.8.0 /usr/local/perl-5.8.0/lib/site_perl/5.8.0/i386-netbsd-thread-multi /usr/local/perl-5.8.0/lib/site_perl/5.8.0 /usr/local/perl-5.8.0/lib/site_perl .) at blib/lib/Games/Euchre/Player.pm line 17.
# 	Games::Euchre::Player::BEGIN() called at WeakRef.pm line 17
# 	eval {...} called at WeakRef.pm line 17
# 	require Games/Euchre/Player.pm called at blib/lib/Games/Euchre.pm line 52
# 	Games::Euchre::BEGIN() called at WeakRef.pm line 17
# 	eval {...} called at WeakRef.pm line 17
# 	require Games/Euchre.pm called at (eval 1) line 2
# 	eval 'package main;
# require Games::Euchre;
# \'Games::Euchre\'->import(@imports);
# 
# ;' called at /usr/local/perl-5.8.0/lib/5.8.0/Test/More.pm line 685
# 	Test::More::use_ok('Games::Euchre') called at test.pl line 6
# BEGIN failed--compilation aborted at blib/lib/Games/Euchre/Player.pm line 17.
# 	require Games/Euchre/Player.pm called at blib/lib/Games/Euchre.pm line 52
# 	Games::Euchre::BEGIN() called at blib/lib/Games/Euchre/Player.pm line 17
# 	eval {...} called at blib/lib/Games/Euchre/Player.pm line 17
# 	require Games/Euchre.pm called at (eval 1) line 2
# 	eval 'package main;
# require Games::Euchre;
# \'Games::Euchre\'->import(@imports);
# 
# ;' called at /usr/local/perl-5.8.0/lib/5.8.0/Test/More.pm line 685
# 	Test::More::use_ok('Games::Euchre') called at test.pl line 6
# Compilation failed in require at blib/lib/Games/Euchre.pm line 52.
# 	Games::Euchre::BEGIN() called at blib/lib/Games/Euchre/Player.pm line 52
# 	eval {...} called at blib/lib/Games/Euchre/Player.pm line 52
# 	require Games/Euchre.pm called at (eval 1) line 2
# 	eval 'package main;
# require Games::Euchre;
# \'Games::Euchre\'->import(@imports);
# 
# ;' called at /usr/local/perl-5.8.0/lib/5.8.0/Test/More.pm line 685
# 	Test::More::use_ok('Games::Euchre') called at test.pl line 6
# BEGIN failed--compilation aborted at blib/lib/Games/Euchre.pm line 52.
# 	require Games/Euchre.pm called at (eval 1) line 2
# 	eval 'package main;
# require Games::Euchre;
# \'Games::Euchre\'->import(@imports);
# 
# ;' called at /usr/local/perl-5.8.0/lib/5.8.0/Test/More.pm line 685
# 	Test::More::use_ok('Games::Euchre') called at test.pl line 6
# Compilation failed in require at (eval 1) line 2.
# 	eval 'package main;
# require Games::Euchre;
# \'Games::Euchre\'->import(@imports);
# 
# ;' called at /usr/local/perl-5.8.0/lib/5.8.0/Test/More.pm line 685
# 	Test::More::use_ok('Games::Euchre') called at test.pl line 6
# Looks like you failed 1 tests of 4.
ok 3 - use Games::Euchre::AI::Human;
ok 4 - use Games::Euchre::AI::Simple;
*** Error code 1

Stop.
make: stopped in /home/alian/.cpanplus/5.8.0/build/Games-Euchre-1.00


Additional comments:

Hello, Chris Dolan! Thanks for uploading your works to CPAN.

I noticed that the test suite seem to fail without these modules:

WeakRef

As such, adding the prerequisite module(s) to 'PREREQ_PM' in your
Makefile.PL should solve this problem.  For example:

WriteMakefile(
    AUTHOR      => 'Chris Dolan (chris@clotho.com)',
    ... # other information
    PREREQ_PM   => {
	'WeakRef'	=> '0', # or a minimum workable version
    }
);

If you are interested in making a more flexible Makefile.PL that can
probe for missing dependencies and install them, ExtUtils::AutoInstall
at <http://search.cpan.org/search?dist=ExtUtils-AutoInstall> may be
worth a look.

Thanks! :-)

******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender.  Also, because many people perform automatic
tests on CPAN, chances are that you will receive identical messages
about the same problem.

If you believe that the message is mistaken, please reply to the first
one with correction and/or additional information, and do not take
it personally.  We appreciate your patience. :)
**********************************************************************


--

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=netbsd, osvers=1.6, archname=i386-netbsd-thread-multi
    uname='netbsd mars 1.6 netbsd 1.6 (generic) #0: sun sep 8 19:43:40 utc 2002 autobuild@tgm.daemon.org:autobuildi386objautobuildsrcsysarchi386compilegeneric i386 '
    config_args='-Dcf_email=alian@cpan.org -Dprefix=/usr/local/perl-5.8.0 -Dusethreads -des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=y, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/pkg/include',
    optimize='-O',
    cppflags='-fno-strict-aliasing -I/usr/pkg/include'
    ccversion='', gccversion='2.95.3 20010315 (release) (NetBSD nb3)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/pkg/lib -L/usr/local/lib'
    libpth=/usr/pkg/lib /usr/local/lib /usr/lib
    libs=-lm -lc -lposix -lcrypt -lutil -lpthread
    perllibs=-lm -lc -lposix -lcrypt -lutil -lpthread
    libc=/usr/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-whole-archive -lgcc -Wl,-no-whole-archive 			-Wl,-E '
    cccdlflags='-DPIC -fPIC ', lddlflags='--whole-archive -shared  -L/usr/pkg/lib -L/usr/local/lib'



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About