From: Kevin G. <ke...@go...> - 2003-06-13 16:38:46
|
It looks like this open failed: open (F, File::Spec->catfile($WORK_DIR, 'rolltest.log.2')); sorry, we should check the return on that. The first thing that occurs to me would be try adding an || die "can't open file $WORK_DIR/rolltest.log.2 $!" and resubmit to CPAN, at least we'll get more information. Mike Schilli wrote: > Hmm, strange, it seems like something's failing in t/032JRollFile.t. I > removed the line that caused the warning (checked in), but I'm not sure > what caused the error - it worked fine on my Linux box. Ideas? > > -- Mike > > Mike Schilli > log...@pe... > http://perlmeister.com > http://log4perl.sourceforge.net > > ---------- Forwarded message ---------- > Date: 13 Jun 2003 09:53:35 -0000 > From: Josts Smokehouse <Jos...@ru...> > To: cpa...@pe... > Cc: MSC...@cp... > Subject: FAIL Log-Log4perl-0.34 sun4-solaris 2.8 > > 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 cpa...@pe... 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/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/001Level...........ok > t/002Logger..........ok > t/003Layout..........ok > t/004Config..........ok > t/005Config-Perl.....ok > t/006Config-Java.....ok > t/007LogPrio.........ok > t/008ConfCat.........ok > t/009Deuce...........ok > t/010JConsole........ok > t/011JFile...........ok > t/012Deeper..........ok > t/013Bench...........ok > t/014ConfErrs........ok > t/015fltmsg..........ok > t/016Export..........ok > t/017Watch...........ok > t/018Init............ok > t/019Warn............ok > t/020Easy............ok > t/021AppThres........ok > t/022Wrap............ok > t/023Date............ok > t/024WarnDieCarp.....ok > t/025CustLevels......ok > t/026FileApp.........ok > t/027Watch2..........ok > t/028Additivity......ok > t/029SysWide.........ok > t/030LDLevel.........ok > t/031NDC.............ok > t/032JRollFile......."my" variable $WORK_DIR masks earlier declaration in same scope at t/032JRollFile.t line 24. > readline() on closed filehandle F at t/032JRollFile.t line 59. > # Failed test (t/032JRollFile.t at line 61) > # undef > # doesn't match '(?-xism:^INFO cat1 - info message 1)' > # Looks like you failed 1 tests of 2. > dubious > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 1 > Failed 1/2 tests, 50.00% okay > t/033UsrCspec........ok > t/034DBI.............ok > t/035JDBCAppender....ok > t/036JSyslog.........unix passed to setlogsock, but path not available at /usr/local/perl/lib/site_perl/5.8.0/Log/Dispatch/Syslog.pm line 66 > ok > t/037JWin32Event.....skipped > all skipped: only with Log::Dispatch::Win32EventLog > t/038XML-DOM1........ok > t/039XML-DOM2........ok > t/040Filter..........ok > t/041SafeEval........Use of uninitialized value in stat at (eval 17) line 1. > Use of uninitialized value in concatenation (.) or string at (eval 17) line 1. > ok > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t/032JRollFile.t 1 256 2 1 50.00% 1 > 1 test skipped. > Failed 1/41 test scripts, 97.56% okay. 1/426 subtests failed, 99.77% okay. > make: *** [test_dynamic] Error 29 > > > Additional comments: > > -- > > Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: > Platform: > osname=solaris, osvers=2.8, archname=sun4-solaris > uname='sunos sunu991 5.8 generic_108528-14 sun4u sparc ' > config_args='-de' > hint=recommended, useposix=true, d_sigaction=define > usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-O', > cppflags='-fno-strict-aliasing -I/usr/local/include' > ccversion='', gccversion='3.0', gccosandvers='solaris2.8' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='gcc', ldflags =' -L/usr/local/lib ' > libpth=/usr/local/lib /usr/lib /usr/ccs/lib > libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc > perllibs=-lsocket -lnsl -ldl -lm -lc > libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' > cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > log4perl-devel mailing list > log...@li... > https://lists.sourceforge.net/lists/listinfo/log4perl-devel -- Happy Trails . . . Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510) 525-5217 |