|
Hi all, I have recently switched to perl 5.14.1 and recompiled all my Catalyst modules. All went fine, except Catalyst::Engine::HTTP::Prefork. It turns out that this module brings HTTP::HeaderParser::XS as a dependency, and 'make test' for this last module fails (see below). Reading DynaLoader.pm line 213 it says that very often programs fail saying that there's an error in there, but it's really the XS initialization code for the module which is really failing. Since my XS skills are, well, close to zero, I can't trace anything there. How can I trace the loading of an XS module? I have tried even with strace, but I didn't see anything... Has anyone stepped on this problem before? I have googled for it for an hour, with no success... Regards J. P.S. I'm copying the module author... ---- HTTP::HeaderParser::XS test log ---- [jorgegv@desarrollo3 HTTP-HeaderParser-XS-0.20-TnpClr]$ make test PERL_DL_NONLAZY=1 /home/jorgegv/perl5/perlbrew/perls/perl-5.14.1/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/10-basic.t .. 1/39 # Failed test 'use HTTP::HeaderParser::XS;' # at t/10-basic.t line 10. # Tried to use 'HTTP::HeaderParser::XS'. # Error: Not a CODE reference at /home/jorgegv/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/i686-linux-thread-multi/DynaLoader.pm line 213. # END failed--call queue aborted at /home/jorgegv/.cpan/build/HTTP-HeaderParser-XS-0.20-TnpClr/blib/lib/HTTP/HeaderParser/XS.pm line 213. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. Bizarre copy of UNKNOWN in list assignment at /home/jorgegv/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/Test/Builder.pm line 942. Attempt to free unreferenced scalar: SV 0x935f500, Perl interpreter: 0x935f008 at /home/jorgegv/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/Test/Builder.pm line 942. # Looks like you planned 39 tests but ran 6. # Looks like you failed 1 test of 6 run. # Looks like your test exited with 255 just after 6. t/10-basic.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 34/39 subtests Test Summary Report ------------------- t/10-basic.t (Wstat: 65280 Tests: 6 Failed: 1) Failed test: 1 Non-zero exit status: 255 Parse errors: Bad plan. You planned 39 tests but ran 6. Files=1, Tests=6, 0 wallclock secs ( 0.07 usr 0.02 sys + 0.06 cusr 0.04 csys = 0.19 CPU) Result: FAIL Failed 1/1 test programs. 1/6 subtests failed. make: *** [test_dynamic] Error 255 ---- --
|
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/

