Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Storable CPAN distribution.

Report information
The Basics
Id: 1822
Status: open
Priority: 0/
Queue: Storable

People
Owner: Nobody in particular
Requestors: larrysh [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.06
Fixed in: (no value)



Subject: croak.t fails on FreeBSD 4.7 and perl 5.8
t/croak..........Oi! No! Don't change this test so that Carp is used before Storable at t/croak.t line 23. BEGIN failed--compilation aborted at t/croak.t line 25. t/croak..........dubious Test returned status 255 (wstat 65280, 0xff00) perl version 5.8.0
From: larrysh [...] cpan.org
[guest - Tue Nov 26 12:19:53 2002]: Show quoted text
> t/croak..........Oi! No! Don't change this test so that Carp is used > before Storable at t/croak.t line 23. > BEGIN failed--compilation aborted at t/croak.t line 25. > t/croak..........dubious > Test returned status 255 (wstat 65280, 0xff00) > > perl version 5.8.0
It does this on FreeBSD 5.0-RELEASE also.
From: markstos [...] cpan.org
[guest - Fri Mar 21 15:36:40 2003]: Show quoted text
> [guest - Tue Nov 26 12:19:53 2002]: >
> > t/croak..........Oi! No! Don't change this test so that Carp is used > > before Storable at t/croak.t line 23. > > BEGIN failed--compilation aborted at t/croak.t line 25. > > t/croak..........dubious > > Test returned status 255 (wstat 65280, 0xff00) > > > > perl version 5.8.0
> > It does this on FreeBSD 5.0-RELEASE also.
And on FreeBSD 5.1. Here's the full output of my "perl -V". I don't really understand what the "croak" test is doing, but if you give me something specific to try, I can do it. Mark root@sap# perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=freebsd, osvers=5.1-beta, archname=i386-freebsd uname='freebsd freebsd.org 5.1-beta freebsd 5.1-beta #0: fri may 23 07:41:21 pdt 2003 kris@freebsd.org:usrsrcsysmagickernelpath i386 ' config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.8.0/mach -Dprivlib=/usr/local/lib/perl5/5.8.0 -Dman3dir=/usr/local/lib/perl5/5.8.0/man/man3 -Dsitearch=/usr/local/lib/perl5/site_perl/5.8.0/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.0 -Dscriptdir=/usr/local/bin -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.0/BSDPAN" -Ui_gdbm -Dusemymalloc=n -Dusethreads=n' 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='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.0/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include', optimize='-O -pipe -mcpu=pentiumpro', cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.0/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='3.2.2 [FreeBSD] 20030205 (release)', 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,-E -L/usr/local/lib' libpth=/usr/lib /usr/local/lib libs=-lm -lc -lcrypt -lutil perllibs=-lm -lc -lcrypt -lutil libc=, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under freebsd Compiled at May 23 2003 14:56:58 @INC: /usr/local/lib/perl5/site_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0
Looks like it has something to do with the following check in croak.t: BEGIN { die "Oi! No! Don't change this test so that Carp is used before Storable" if defined &Carp::carp; } If I comment the above check out, croak.t does not fail.
On Thu Jul 15 16:51:06 2004, guest wrote: Show quoted text
> Looks like it has something to do with the following check in croak.t: > > BEGIN { > die "Oi! No! Don't change this test so that Carp is used before Storable" > if defined &Carp::carp; > } > > If I comment the above check out, croak.t does not fail.
Storable 2.51 tests fine on FreeBSD 10.3 (perl 5.20.3) That check you've quoted should pass - I can only see it failing if perl is built with -Dsitecustomize and the customization loads Carp.pm (or defines Carp::carp() itself.) Tony