Skip Menu |

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

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

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

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



Subject: t/36-leaks.t fails if XML-.Parser-Lite is not installed
See subject. make test says: ... XML::Parser is not used and Can't locate XML/Parser/Lite.pm in @INC (you may need to install the XML::Parser::Lite module) (@INC contains: /var/tmp/build/SOAP-Lite-1.03-NgOP4a/blib/lib /var/tmp/build/SOAP-Lite-1.03-NgOP4a/blib/arch /usr/local/src/CPAN/build/IO-SessionData-1.03-WpphXA/blib/arch /usr/local/src/CPAN/build/IO-SessionData-1.03-WpphXA/blib/lib /usr/local/src/CPAN/build/Crypt-SSLeay-0.64-HDf29G/blib/arch /usr/local/src/CPAN/build/Crypt-SSLeay-0.64-HDf29G/blib/lib /usr/local/src/CPAN/build/MIME-tools-5.504-vsnfER/blib/arch /usr/local/src/CPAN/build/MIME-tools-5.504-vsnfER/blib/lib /usr/local/src/CPAN/build/Data-UUID-1.219-HORoI2/blib/arch /usr/local/src/CPAN/build/Data-UUID-1.219-HORoI2/blib/lib /usr/local/src/CPAN/build/Class-Inspector-1.28-OsAVl8/blib/arch /usr/local/src/CPAN/build/Class-Inspector-1.28-OsAVl8/blib/lib /usr/local/src/CPAN/build/IO-SessionData-1.03-WpphXA/blib/arch /usr/local/src/CPAN/build/IO-SessionData-1.03-WpphXA/blib/lib /usr/local/src/CPAN/build/Crypt-SSLeay-0.64-HDf29G/blib/arch /usr/local/src/CPAN/build/Crypt-SSLeay-0.64-HDf29G/blib/lib /usr/local/src/CPAN/build/MIME-tools-5.504-vsnfER/blib/arch /usr/local/src/CPAN/build/MIME-tools-5.504-vsnfER/blib/lib /usr/local/src/CPAN/build/Data-UUID-1.219-HORoI2/blib/arch /usr/local/src/CPAN/build/Data-UUID-1.219-HORoI2/blib/lib /usr/local/src/CPAN/build/Class-Inspector-1.28-OsAVl8/blib/arch /usr/local/src/CPAN/build/Class-Inspector-1.28-OsAVl8/blib/lib /usr/perl5.18.0/lib/site_perl/5.18.0/amd64-freebsd /usr/perl5.18.0/lib/site_perl/5.18.0 /usr/perl5.18.0/lib/5.18.0/amd64-freebsd /usr/perl5.18.0/lib/5.18.0 .) at /var/tmp/build/SOAP-Lite-1.03-NgOP4a/blib/lib/SOAP/Lite.pm line 1730. <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp1:echoResponse xmlns:namesp1="Echo"><s-gensym3 xsi:null="1"/></namesp1:echoResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> at t/36-leaks.t line 68. # Looks like you planned 16 tests but ran 8. # Looks like your test exited with 2 just after 8. t/36-leaks.t ................... ... Probably this is a new error since XML-Parser-Lite was unbundled from SOAP-Lite. (And even worse that I cannot install XML-Parser-Lite because it depends on SOAP-Lite, see https://rt.cpan.org/Ticket/Display.html?id=87604 ) Regards, Slaven
Subject: Re: [rt.cpan.org #87605] t/36-leaks.t fails if XML-.Parser-Lite is not installed
Date: Sun, 4 Aug 2013 14:38:45 -0700
To: bug-SOAP-Lite [...] rt.cpan.org
From: Fred Moyer <fred [...] redhotpenguin.com>
Can you suggest a patch? On Sun, Aug 4, 2013 at 2:11 PM, Slaven_Rezic via RT <bug-SOAP-Lite@rt.cpan.org> wrote: Show quoted text
> Sun Aug 04 17:11:59 2013: Request 87605 was acted upon. > Transaction: Ticket created by SREZIC > Queue: SOAP-Lite > Subject: t/36-leaks.t fails if XML-.Parser-Lite is not installed > Broken in: 1.02 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=87605 > > > > See subject. make test says: > > ... > XML::Parser is not used and Can't locate XML/Parser/Lite.pm in @INC (you may need to install the XML::Parser::Lite module) (@INC contains: /var/tmp/build/SOAP-Lite-1.03-NgOP4a/blib/lib /var/tmp/build/SOAP-Lite-1.03-NgOP4a/blib/arch /usr/local/src/CPAN/build/IO-SessionData-1.03-WpphXA/blib/arch /usr/local/src/CPAN/build/IO-SessionData-1.03-WpphXA/blib/lib /usr/local/src/CPAN/build/Crypt-SSLeay-0.64-HDf29G/blib/arch /usr/local/src/CPAN/build/Crypt-SSLeay-0.64-HDf29G/blib/lib /usr/local/src/CPAN/build/MIME-tools-5.504-vsnfER/blib/arch /usr/local/src/CPAN/build/MIME-tools-5.504-vsnfER/blib/lib /usr/local/src/CPAN/build/Data-UUID-1.219-HORoI2/blib/arch /usr/local/src/CPAN/build/Data-UUID-1.219-HORoI2/blib/lib /usr/local/src/CPAN/build/Class-Inspector-1.28-OsAVl8/blib/arch /usr/local/src/CPAN/build/Class-Inspector-1.28-OsAVl8/blib/lib /usr/local/src/CPAN/build/IO-SessionData-1.03-WpphXA/blib/arch /usr/local/src/CPAN/build/IO-SessionData-1.03-WpphXA/blib/lib /usr/local/src/CPAN/buil > d/Crypt-SSLeay-0.64-HDf29G/blib/arch /usr/local/src/CPAN/build/Crypt-SSLeay-0.64-HDf29G/blib/lib /usr/local/src/CPAN/build/MIME-tools-5.504-vsnfER/blib/arch /usr/local/src/CPAN/build/MIME-tools-5.504-vsnfER/blib/lib /usr/local/src/CPAN/build/Data-UUID-1.219-HORoI2/blib/arch /usr/local/src/CPAN/build/Data-UUID-1.219-HORoI2/blib/lib /usr/local/src/CPAN/build/Class-Inspector-1.28-OsAVl8/blib/arch /usr/local/src/CPAN/build/Class-Inspector-1.28-OsAVl8/blib/lib /usr/perl5.18.0/lib/site_perl/5.18.0/amd64-freebsd /usr/perl5.18.0/lib/site_perl/5.18.0 /usr/perl5.18.0/lib/5.18.0/amd64-freebsd /usr/perl5.18.0/lib/5.18.0 .) at /var/tmp/build/SOAP-Lite-1.03-NgOP4a/blib/lib/SOAP/Lite.pm line 1730. > <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><namesp1:echoResponse xmlns:namesp1="Echo"><s-gensym3 xsi:null="1"/></namesp1:echoResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> at t/36-leaks.t line 68. > # Looks like you planned 16 tests but ran 8. > # Looks like your test exited with 2 just after 8. > t/36-leaks.t ................... > ... > > Probably this is a new error since XML-Parser-Lite was unbundled from SOAP-Lite. (And even worse that I cannot install XML-Parser-Lite because it depends on SOAP-Lite, see https://rt.cpan.org/Ticket/Display.html?id=87604 ) > > Regards, > Slaven >
On Sun Aug 04 17:39:02 2013, fred@redhotpenguin.com wrote: Show quoted text
> Can you suggest a patch? > > On Sun, Aug 4, 2013 at 2:11 PM, Slaven_Rezic via RT > <bug-SOAP-Lite@rt.cpan.org> wrote:
> > Probably this is a new error since XML-Parser-Lite was unbundled from > > SOAP-Lite. (And even worse that I cannot install XML-Parser-Lite > > because it depends on SOAP-Lite, see > > https://rt.cpan.org/Ticket/Display.html?id=87604 )
I can confirm seeing this bug (perl 5.16.3). Solution was to confirm t/36-leaks.t was the only test failing then force install SOAP::Lite. This allowed me to install XML::Parser::Lite, which then allowed me to re-run the SOAP::Lite tests with a no failures. There is already a big against XML::Parser::Lite - https://rt.cpan.org/Ticket/Display.html?id=87604 but the fix is probably required here rather than there?
It could be an option to skip the test if it isn't installed? See Test::Requires for a solution to that, or write your own if you want :)
I submitted a pull request [1] with a solution that skips those tests if XML::Parser::Lite isn't installed. [1]: https://github.com/redhotpenguin/soaplite/pull/4
Going out with 1.04
Subject: Re: [rt.cpan.org #87605] t/36-leaks.t fails if XML-.Parser-Lite is not installed
Date: Fri, 9 Aug 2013 20:46:14 -0700
To: bug-SOAP-Lite [...] rt.cpan.org
From: Fred Moyer <fred [...] redhotpenguin.com>
1.04 released to CPAN with this change. Thanks! On Fri, Aug 9, 2013 at 2:42 AM, Andreas Marienborg via RT <bug-SOAP-Lite@rt.cpan.org> wrote: Show quoted text
> Queue: SOAP-Lite > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=87605 > > > I submitted a pull request [1] with a solution that skips those tests if XML::Parser::Lite isn't installed. > > > [1]: https://github.com/redhotpenguin/soaplite/pull/4