Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 27027
Status: resolved
Priority: 0/
Queue: SOAP-Lite

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

Bug Information
Severity: (no value)
Broken in: 0.69
Fixed in: (no value)



Subject: Tests fail on OS X
Hi, I'm getting a test failure in SOAP::Lite 0.69: Failed Test Stat Wstat Total Fail List of Failed ----------------------------------------------- t/03-server.t 32 6 3-5 8-10 t/04-attach.t 255 65280 15 30 1-15 t/06-modules.t 19 2 15 19 4 subtests skipped. Running through the perl debugger, I see that it seems to be dying with a URI problem: DB<2> main::(t/03-server.t:174): skip(($_ =~ /XML/ || !$is_mimetools_installed), main::(t/03-server.t:175): ($result->faultstring || '') =~ /Failed to access class \ (Calculator\)/); DB<2> x $_ 0 'message with headers' DB<3> x $result->faultstring 0 'Died at /System/Library/Perl/Extras/5.8.6/URI/_generic.pm line 37. ' I haven't looked at the other failures yet, but I'm hoping they're all kind of related to the same thing. -Ken Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=darwin, osvers=8.0, archname=darwin-thread-multi-2level uname='darwin b19.apple.com 8.0 darwin kernel version 8.3.0: mon oct 3 20:04:04 pdt 2005; root:xnu-792.6.22.obj~2release_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-Dman3ext=3pm - Duseithreads -Duseshrplib' 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=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict- aliasing -I/usr/local/include', optimize='-O3', cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5363)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lc perllibs=-ldl -lm -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: 23953 - fix for File::Path::rmtree CAN-2004-0452 security issue 33990 - fix for setuid perl security issues SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962 Built under darwin Compiled at Nov 1 2006 17:07:31 %ENV: PERL5LIB="/sw/lib/perl5:/sw/lib/perl5/darwin" @INC: /sw/lib/perl5 /sw/lib/perl5/darwin /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .
Hi, please attach a full test output (run as "TEST_VERBOSE=1 make test"). Regards, Martin
From: KWILLIAMS [...] cpan.org
Here it is, attached. I also included the configuration & 'make' steps. -Ken

Message body is not shown because it is too large.

Here's a clue about why it's failing: % perl -le 'require Apache::Constants; print $Apache::Constants::VERSION; Apache::Constants- Show quoted text
>import("OK"); &Apache::Constants::OK;'
1.09 Undefined subroutine &Apache::Constants::OK called at -e line 1. Same thing happens if I replace import("OK") with import(":common") as the Apache::Constants docs say. Not sure why it's not defined. -Ken
Hi, thanks for the full report, it shed light on the issue. Your test failures are not Mac OS X specific, but are general issues with mod_perl < 2. Unfortunately, Apache::Constants accesses it's constants via AUTOLOAD, and happens to do so only when running under mod_perl. Therefore, all tests calling something like Apache::Constant::OK() fail fatally. The issue has already been fixed in CVS and will be in the next release. Thanks for reporting, Martin