Front page | perl.cpan.testers |
Postings from July 2000
FAIL Data-Direct-0.02 ppc-linux 2.2.14
Thread Next
From:
schinder
Date:
July 8, 2000 13:47
Subject:
FAIL Data-Direct-0.02 ppc-linux 2.2.14
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.
--
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.0/ppc-linux -I/usr/local/lib/perl5/5.6.0 test.pl
1..1
syntax error at blib/lib/Data/Direct.pm line 412, near ") return"
Compilation failed in require at test.pl line 11.
BEGIN failed--compilation aborted at test.pl line 11.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Here's a patch:
--- blib/lib/Data/Direct.pm~ Wed Jul 5 11:34:58 2000
+++ blib/lib/Data/Direct.pm Sat Jul 8 16:44:12 2000
@@ -409,7 +409,7 @@
return $fn if ($fn);
$fn = join("-", "data_direct", $$, $0, time, localtime, rand, $gen_unique++);
$fn =~ s/[^a-zA-Z0-9]/_/g;
- if (-e $fn) return &gentemp;
+ return &gentemp if (-e $fn);
$fn;
}
With the patch the trivial test.pl works.
--
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.14, archname=ppc-linux
uname='linux c22234-c.scllg1.pa.home.com 2.2.14 #2 sun jan 9 20:34:00 est 2000 ppc unknown '
config_args='-Dcc=gcc -Dprefix=/usr/local -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='gcc', optimize='-O2', gccversion=2.95.2 19991024 (release/franzo)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Thread Next
-
FAIL Data-Direct-0.02 ppc-linux 2.2.14
by schinder