This queue is for tickets about the XML-XSH2 CPAN distribution.

Report information
The Basics
Id:
18139
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
pajas [...] matfyz.cz
Requestors:
rene.geers [...] phonzo.com
Cc:
AdminCc:

BugTracker
Severity:
Critical
Broken in:
(no value)
Fixed in:
(no value)



Subject: Test failure under Perl 5.8.7
Install of Bundle XML::XSH2 fails under Ubuntu using perl version 5.8.7. Used to work OK with perl verion 5.8.4. Here is some lines from my build under cpan:
Show quoted text
cpan> Install Bundle XML::XSH2
. . . /usr/bin/make -- OK Running make test Argument "0.4.0" isn't numeric in numeric eq (==) at /usr/share/perl/5.8/CPAN.pm line 4624. PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basic.............ok 1/70Warning: XML::LibXML::XPathContext not found! XSH will lack namespace and function registering functionality! t/01basic.............ok 9/70xmlXPathCompiledEval: evaluation failed at line 1, column 13, t/01basic.............NOK 12# Failed test 12 in t/01basic.t at line 203 fail #8 # t/01basic.t line 203 is: ok( !$@ ); xmlXPathCompiledEval: evaluation failed at line 5, column 14, offset 154. . . . Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/01basic.t 70 20 28.57% 12-13 22 27-28 32 34 42-46 48 50 52-54 67-69 t/03copy.t 13 3 23.08% 8-9 11 t/04flow.t 43 29 67.44% 8-9 13-15 18-21 23-29 31-43 t/05misc.t 38 3 7.89% 9 35 38 t/06wrap.t 56 21 37.50% 7 19 21-23 30 33 35 37 39- 40 42 44 47-54 t/07functions.t 126 111 88.10% 5-6 8-43 45-51 53-56 59-67 69-73 75-78 80-87 89-96 98- 115 117-126 t/08more_functions.t 17 12 70.59% 5 7-17 Failed 7/8 test scripts, 12.50% okay. 199/364 subtests failed, 45.33% okay.
From: Petr Pajas
It appears that one of XML::XSH2 pre-requisities, namely XML-LibXML-XPathContext, is not installed, hence the failure. Please check that you can install it separately via CPAN. -- Petr On Mon, March 13, 2006 03:21:55, guest wrote:
Show quoted text
> Install of Bundle XML::XSH2 fails under Ubuntu using perl version > 5.8.7. > Used to work OK with perl verion 5.8.4. Here is some lines from my > build > under cpan: >
> cpan> Install Bundle XML::XSH2
> . > . > . > /usr/bin/make -- OK > Running make test > Argument "0.4.0" isn't numeric in numeric eq (==) at > /usr/share/perl/5.8/CPAN.pm line 4624. > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/01basic.............ok 1/70Warning: XML::LibXML::XPathContext not > found! > XSH will lack namespace and function registering functionality! > > t/01basic.............ok 9/70xmlXPathCompiledEval: evaluation failed > at > line 1, column 13, > t/01basic.............NOK 12# Failed test 12 in t/01basic.t at line > 203 > fail #8 > # t/01basic.t line 203 is: ok( !$@ ); > xmlXPathCompiledEval: evaluation failed at line 5, column 14,
offset
Show quoted text
> 154. > . > . > . > Failed Test Stat Wstat Total Fail Failed List of Failed >
-------------------------------------------------------------------------------
Show quoted text
> t/01basic.t 70 20 28.57% 12-13 22 27-28
32
Show quoted text
> 34 > 42-46 > 48 50 52-54
67-69
Show quoted text
> t/03copy.t 13 3 23.08% 8-9 11 > t/04flow.t 43 29 67.44% 8-9 13-15 18-21 > 23-29 31-43 > t/05misc.t 38 3 7.89% 9 35 38 > t/06wrap.t 56 21 37.50% 7 19 21-23 30 33 > 35 > 37 39- > 40 42 44 47-54 > t/07functions.t 126 111 88.10% 5-6 8-43 45-51
53-
Show quoted text
> 56 > 59-67 > 69-73 75-78
80-87
Show quoted text
> 89-96 98- > 115 117-126 > t/08more_functions.t 17 12 70.59% 5 7-17 > Failed 7/8 test scripts, 12.50% okay. 199/364 subtests failed,
45.33%
Show quoted text
> okay.
Subject: Re: [rt.cpan.org #18139] Test failure under Perl 5.8.7
Date: Mon, 13 Mar 2006 11:14:19 +0100
To: bug-XML-XSH2@rt.cpan.org
From: Rene Geers <rene.geers@phonzo.com>
This is correct the module fails: c -c -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.06\" -DXS_VERSION=\"0.06\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DHAVE_U TF8 -DHAVE_BLANK XPathContext.c XPathContext.xs: In function ‘xpc_LibXML_save_context’: XPathContext.xs:208: error: invalid lvalue in assignment XPathContext.xs: In function ‘xpc_LibXML_restore_context’: XPathContext.xs:242: error: invalid lvalue in assignment XPathContext.xs: In function ‘xpc_LibXML_generic_extension_function’: XPathContext.xs:340: warning: pointer targets in assignment differ in signedness XPathContext.xs:341: warning: pointer targets in assignment differ in signedness XPathContext.xs:429: warning: pointer targets in passing argument 1 of ‘xpc_C2Sv’ differ in signedness XPathContext.xs: In function ‘XS_XML__LibXML__XPathContext_registerNs’: XPathContext.xs:692: warning: pointer targets in passing argument 2 of ‘xmlXPathRegisterNs’ differ in signedness XPathContext.xs:692: warning: pointer targets in passing argument 3 of ‘xmlXPathRegisterNs’ differ in signedness XPathContext.xs:696: warning: pointer targets in passing argument 2 of ‘xmlXPathRegisterNs’ differ in signedness XPathContext.xs: In function ‘XS_XML__LibXML__XPathContext_lookupNs’: XPathContext.xs:714: warning: pointer targets in passing argument 2 of ‘xmlXPathNsLookup’ differ in signedness XPathContext.xs: In function ‘XS_XML__LibXML__XPathContext_registerFunctionNS’: XPathContext.xs:857: warning: pointer targets in passing argument 2 of ‘xmlXPathRegisterFuncNS’ differ in signedness XPathContext.xs:857: warning: pointer targets in passing argument 3 of ‘xmlXPathRegisterFuncNS’ differ in signedness XPathContext.xs:861: warning: pointer targets in passing argument 2 of ‘xmlXPathRegisterFunc’ differ in signedness via RT wrote:
Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=18139 > > > It appears that one of XML::XSH2 pre-requisities, namely > XML-LibXML-XPathContext, is not installed, hence the failure. Please > check that you can install it separately via CPAN. > > -- Petr > > On Mon, March 13, 2006 03:21:55, guest wrote: >
>>Install of Bundle XML::XSH2 fails under Ubuntu using perl version >>5.8.7. >>Used to work OK with perl verion 5.8.4. Here is some lines from my >>build >>under cpan: >>
>>cpan> Install Bundle XML::XSH2
>>. >>. >>. >> /usr/bin/make -- OK >>Running make test >>Argument "0.4.0" isn't numeric in numeric eq (==) at >>/usr/share/perl/5.8/CPAN.pm line 4624. >>PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >>"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >>t/01basic.............ok 1/70Warning: XML::LibXML::XPathContext not >>found! >>XSH will lack namespace and function registering functionality! >> >>t/01basic.............ok 9/70xmlXPathCompiledEval: evaluation failed >>at >> line 1, column 13, >>t/01basic.............NOK 12# Failed test 12 in t/01basic.t at line >>203 >>fail #8 >># t/01basic.t line 203 is: ok( !$@ ); >>xmlXPathCompiledEval: evaluation failed at line 5, column 14,
> > offset >
>>154. >>. >>. >>. >>Failed Test Stat Wstat Total Fail Failed List of Failed >>
> > ------------------------------------------------------------------------------- >
>>t/01basic.t 70 20 28.57% 12-13 22 27-28
> > 32 >
>>34 >>42-46 >> 48 50 52-54
> > 67-69 >
>>t/03copy.t 13 3 23.08% 8-9 11 >>t/04flow.t 43 29 67.44% 8-9 13-15 18-21 >>23-29 31-43 >>t/05misc.t 38 3 7.89% 9 35 38 >>t/06wrap.t 56 21 37.50% 7 19 21-23 30 33 >>35 >>37 39- >> 40 42 44 47-54 >>t/07functions.t 126 111 88.10% 5-6 8-43 45-51
> > 53- >
>>56 >>59-67 >> 69-73 75-78
> > 80-87 >
>>89-96 98- >> 115 117-126 >>t/08more_functions.t 17 12 70.59% 5 7-17 >>Failed 7/8 test scripts, 12.50% okay. 199/364 subtests failed,
> > 45.33% >
>>okay.
> > > > >
Subject: Re: [rt.cpan.org #18139] Test failure under Perl 5.8.7
Date: Mon, 13 Mar 2006 11:31:57 +0100
To: bug-XML-XSH2@rt.cpan.org
From: Rene Geers <rene.geers@phonzo.com>
I did a new install after I moved the compiler from version 4.0.2 to 3.4, and now I can build the pre-requisites. I just made a link from /usr/bin/gcc to /usr/bin/gcc-3.4. This was a symbolic link to /usr/bin/gcc-4.0. Thanks for your help. via RT wrote:
Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=18139 > > > It appears that one of XML::XSH2 pre-requisities, namely > XML-LibXML-XPathContext, is not installed, hence the failure. Please > check that you can install it separately via CPAN. > > -- Petr > > On Mon, March 13, 2006 03:21:55, guest wrote: >
>>Install of Bundle XML::XSH2 fails under Ubuntu using perl version >>5.8.7. >>Used to work OK with perl verion 5.8.4. Here is some lines from my >>build >>under cpan: >>
>>cpan> Install Bundle XML::XSH2
>>. >>. >>. >> /usr/bin/make -- OK >>Running make test >>Argument "0.4.0" isn't numeric in numeric eq (==) at >>/usr/share/perl/5.8/CPAN.pm line 4624. >>PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" >>"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t >>t/01basic.............ok 1/70Warning: XML::LibXML::XPathContext not >>found! >>XSH will lack namespace and function registering functionality! >> >>t/01basic.............ok 9/70xmlXPathCompiledEval: evaluation failed >>at >> line 1, column 13, >>t/01basic.............NOK 12# Failed test 12 in t/01basic.t at line >>203 >>fail #8 >># t/01basic.t line 203 is: ok( !$@ ); >>xmlXPathCompiledEval: evaluation failed at line 5, column 14,
> > offset >
>>154. >>. >>. >>. >>Failed Test Stat Wstat Total Fail Failed List of Failed >>
> > ------------------------------------------------------------------------------- >
>>t/01basic.t 70 20 28.57% 12-13 22 27-28
> > 32 >
>>34 >>42-46 >> 48 50 52-54
> > 67-69 >
>>t/03copy.t 13 3 23.08% 8-9 11 >>t/04flow.t 43 29 67.44% 8-9 13-15 18-21 >>23-29 31-43 >>t/05misc.t 38 3 7.89% 9 35 38 >>t/06wrap.t 56 21 37.50% 7 19 21-23 30 33 >>35 >>37 39- >> 40 42 44 47-54 >>t/07functions.t 126 111 88.10% 5-6 8-43 45-51
> > 53- >
>>56 >>59-67 >> 69-73 75-78
> > 80-87 >
>>89-96 98- >> 115 117-126 >>t/08more_functions.t 17 12 70.59% 5 7-17 >>Failed 7/8 test scripts, 12.50% okay. 199/364 subtests failed,
> > 45.33% >
>>okay.
> > > > >


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.