You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by root at grayling <ro...@necs.demon.co.uk> on 2000/08/18 15:50:06 UTC
mod_perl Apache::Symbol::undef() is deprecated
This is a bug report for perl from brian.craigie@necs.demon.co.uk,
generated with the help of perlbug 1.28 running under perl v5.6.0.
-----------------------------------------------------------------
Building mod_perl fails the following tests:
modules/symbol......ok 1/2FAILED test 2
Failed 1/2 tests, 50.00% okay
internal/api........ok 6/76FAILED tests 7-76
Failed 70/76 tests, 7.89% okay
The contents of the error_log file in t/logs (warnings omitted) is:-
---
Constant subroutine WIN32 redefined at /.cpan/build/mod_perl-1.24/blib/lib/Apache/test.pm line 33.
Use of inherited AUTOLOAD for non-method Apache::Symbol::undef() is deprecated at /.cpan/build/mod_perl-1.24/blib/lib/Apache/Symbol.pm line 50, <fh00001> chunk 1.
[Thu Aug 17 20:23:37 2000] [error] Can't locate auto/Apache/Symbol/undef.al in @INC (@INC contains: /.cpan/build/mod_perl-1.24/blib/lib /.cpan/build/mod_perl-1.24/blib/arch /.cpan/build/mod_perl-1.24/t/docs /.cpan/build/mod_perl-1.24/blib/lib /.cpan/build/mod_perl-1.24/blib/arch blib/arch blib/lib /usr/local/lib/perl5/sun4-solaris/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl /.cpan/build/mod_perl-1.24/t/ /.cpan/build/mod_perl-1.24/t/lib/perl) at /.cpan/build/mod_perl-1.24/blib/lib/Apache/Symbol.pm line 50
[Thu Aug 17 20:23:52 2000] [error] Usage: Apache::the_request(r) at /.cpan/build/mod_perl-1.24/t/net/perl/api.pl line 74, <fh00001> chunk 1.
---
Line 74 of api.pl is:-
$r->the_request(join ' ', map { $r->$_() } qw(method uri protocol));
Ultimately I'm trying to build Apache::ASP, but need mod_perl to work properly first. mod_perl 1.21 was OK with perl 5.004_05, but Apache::ASP came up with run-time errors and perl core-dumps, so I decided to upgrade to perl 5.6.0 (which passed 100% tests) before reporting the problem. Now I can't get mod_perl to pass these tests, and though it might work anyway, I would not be comfortable with it in a production environment. :-(
-----------------------------------------------------------------
---
Flags:
category=core
severity=high
---
Site configuration information for perl v5.6.0:
Configured by root at Thu Aug 17 14:12:04 BST 2000.
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.7, archname=sun4-solaris
uname='sunos grayling 5.7 generic_106541-07 sun4m sparc sunw,sparcstation-5 '
config_args='-de'
hint=previous, 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=define
Compiler:
cc='gcc', optimize='-O', gccversion=2.95.1 19990816 (release)
cppflags='-DSOCKS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSOCKS'
ccflags ='-DSOCKS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSOCKS'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
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, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt -lsec -lsocks5 -lsocks5_sh
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Locally applied patches:
---
@INC for perl v5.6.0:
/usr/local/lib/perl5/5.6.0/sun4-solaris
/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
.
---
Environment for perl v5.6.0:
HOME=/
LANG (unset)
LANGUAGE (unset)
LC_COLLATE=en_GB
LC_CTYPE=en_GB
LC_MESSAGES=C
LC_MONETARY=en_GB
LC_NUMERIC=en_GB
LC_TIME=en_GB
LC_TYPE=iso8859_1
LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/usr/dt/lib:/usr/local/lib:/usr/local/hpnp/lib
LOGDIR (unset)
PATH=/opt/FSFm4/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/ucb:/usr/lib/nis:/opt/gnu/bin:/usr/openwin/bin:/usr/dt/bin:/etc:/opt/SUNWxt/v2.1/bin:/usr/opt/SUNWmd/sbin:/opt/SUNWwabi/bin:/usr/local/hpnp/bin:/opt/SUNWsunpc/bin:/opt/SUNWfw/bin:/opt/SUNWsymon/sbin:/opt/SUNWsymon/bin:/opt/SoftWindows2/SoftWindows2/bin:/opt/SUNWremon/bin:/usr/sbin/nsr:/usr/bin/nsr:/opt/FSFautoc/bin
PERL_BADLANG (unset)
SHELL=/sbin/sh