Skip Menu |
 

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

Report information
The Basics
Id: 70280
Status: resolved
Priority: 0/
Queue: RPC-XML

People
Owner: rjray [...] blackperl.com
Requestors: CARNIL [...] cpan.org
Cc:
AdminCc:

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



Subject: RPC::XML 0.75 failing to build (test failures)
Date: Mon, 15 Aug 2011 20:49:56 +0200
To: bug-RPC-XML [...] rt.cpan.org
From: Salvatore Bonaccorso <carnil [...] cpan.org>
Download (untitled) / with headers
text/plain 3.7k
Hi Randy Thanks for you great work, and your fast reply on last bureport. In Debian I tried to update RPC-XML package, but get a build failure due to problems in the tests. The first one is easy, RPC::XML::Method was removed, so t/00_load.t fails. Removing RPC::XML::Method from the list of modules, solves this. I did not investigate the second issue, but I attach the full build log for me: Show quoted text
> /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/make_method > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > > # Failed test 'use RPC::XML::Method;' > # at t/00_load.t line 26. > # Tried to use 'RPC::XML::Method'. > # Error: Can't locate RPC/XML/Method.pm in @INC (@INC contains: /tmp/buildd/librpc-xml-perl-0.75/blib/lib /tmp/buildd/librpc-xml-perl-0.75/blib/arch /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at (eval 23) line 2. > # BEGIN failed--compilation aborted at (eval 23) line 2. > # Looks like you failed 1 test of 10. > t/00_load.t ..................... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/10 subtests > (less 2 skipped subtests: 7 okay) > t/10_data.t ..................... ok > t/11_base64_fh.t ................ ok > t/12_nil.t ...................... ok > t/13_no_deep_recursion.t ........ ok > t/15_serialize.t ................ ok > t/20_xml_parser.t ............... ok > Use of uninitialized value in subroutine entry at /usr/lib/perl5/XML/LibXML.pm line 843. > t/21_xml_libxml.t ............... ok > t/25_parser_negative.t .......... ok > t/29_parserfactory.t ............ ok > t/30_method.t ................... ok > t/35_namespaces.t ............... ok > t/40_server.t ................... ok > t/40_server_xmllibxml.t ......... ok > t/41_server_hang.t .............. ok > t/50_client.t ................... ok > # Tests were run but no plan was declared and done_testing() was not seen. > > # Failed test 'without_host_header' > # at /usr/share/perl/5.12/Test/Builder.pm line 229. > # Tests were run but no plan was declared and done_testing() was not seen. > > # Failed test 'with_host_header' > # at /usr/share/perl/5.12/Test/Builder.pm line 229. > # Looks like you failed 2 tests of 2. > t/51_client_with_host_header.t .. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/2 subtests > t/60_net_server.t ............... ok > t/70_compression_detect.t ....... ok > t/90_rt50013_parser_bugs.t ...... ok > t/90_rt54183_sigpipe.t .......... ok > t/90_rt54494_blessed_refs.t ..... ok > t/90_rt58065_allow_nil.t ........ ok > t/90_rt58323_push_parser.t ...... ok > > Test Summary Report > ------------------- > t/00_load.t (Wstat: 256 Tests: 10 Failed: 1) > Failed test: 6 > Non-zero exit status: 1 > t/10_data.t (Wstat: 0 Tests: 250 Failed: 0) > TODO passed: 138-139 > t/51_client_with_host_header.t (Wstat: 512 Tests: 2 Failed: 2) > Failed tests: 1-2 > Non-zero exit status: 2 > Files=24, Tests=973, 45 wallclock secs ( 0.17 usr 0.04 sys + 2.46 cusr 0.33 csys = 3.00 CPU) > Result: FAIL > Failed 2/24 test programs. 3/973 subtests failed. > make[1]: *** [test_dynamic] Error 255 > make[1]: Leaving directory `/tmp/buildd/librpc-xml-perl-0.75' > dh_auto_test: make -j1 test returned exit code 2 > make: *** [build] Error 29 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > E: Failed autobuilding of package > I: unmounting /var/cache/pbuilder/ccache filesystem > I: unmounting dev/pts filesystem > I: unmounting proc filesystem > -> Cleaning COW directory > forking: rm -rf /home/pbuilder/build//cow.25478
Many thanks and regards Salvatore
Download librpc-xml-perl_0.75-1_amd64.build.gz
application/octet-stream 5.3k

Message body not shown because it is not plain text.

Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 658b
I've fixed the issue in t/00_load.t and it committed to git. I didn't notice the error because the use_ok() test from Test::More picked up the existing RPC/XML/Method.pm from previous installs in Perl's @INC path. As to the problems with t/51_client_with_host_header.t, I'm at a loss there. The test runs fine on my platforms (tested on 64-bit and 32-bit Linux, and on MacOS). Can you tell me what version of Test::More you have? It's possible that the sub-test syntax this test is using might be the problem, and I might have to change the minimum requirement for Test::More in the package. Randy -- Randy J. Ray rjray@blackperl.com randy.j.ray@gmail.com
Subject: Re: [rt.cpan.org #70280] RPC::XML 0.75 failing to build (test failures)
Date: Mon, 15 Aug 2011 21:57:53 +0200
To: Randy J Ray via RT <bug-RPC-XML [...] rt.cpan.org>
From: Salvatore Bonaccorso <carnil [...] cpan.org>
Download (untitled) / with headers
text/plain 951b
Hi Randy On Mon, Aug 15, 2011 at 03:35:20PM -0400, Randy J Ray via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70280 > > > I've fixed the issue in t/00_load.t and it committed to git. I didn't > notice the error because the use_ok() test from Test::More picked up the > existing RPC/XML/Method.pm from previous installs in Perl's @INC path.
Okay thank you! Show quoted text
> As to the problems with t/51_client_with_host_header.t, I'm at a loss > there. The test runs fine on my platforms (tested on 64-bit and 32-bit > Linux, and on MacOS). Can you tell me what version of Test::More you > have? It's possible that the sub-test syntax this test is using might be > the problem, and I might have to change the minimum requirement for > Test::More in the package.
The build failures are with Test::More from Perl core 5.12.4. That is Test::More 0.94. I just tried the build with Test::More 0.98 it seems to work. Thanks for your work, Salvatore
Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 771b
On Mon Aug 15 17:49:31 2011, CARNIL wrote: Show quoted text
> The build failures are with Test::More from Perl core 5.12.4. That is > Test::More 0.94. I just tried the build with Test::More 0.98 it seems > to work.
Yes, I discovered that after I updated the ticket. Between 0.94 and 0.98, they added a feature in which a subtest with no plan gets automatically given a "done_testing()" at the end. I have updated the test to work with Test::More 0.94, so you won't have to update the Test::Simple package if you don't want to. I'm not sure when I would normally release 0.76, since I am still doing a lot of code-coverage analysis. But if you need these fixes soon, let me know and I'll release sooner rather than later. Randy -- Randy J. Ray rjray@blackperl.com randy.j.ray@gmail.com
Subject: Re: [rt.cpan.org #70280] RPC::XML 0.75 failing to build (test failures)
Date: Tue, 16 Aug 2011 07:54:13 +0200
To: Randy J Ray via RT <bug-RPC-XML [...] rt.cpan.org>
From: Salvatore Bonaccorso <carnil [...] cpan.org>
Download (untitled) / with headers
text/plain 1.1k
Hi On Mon, Aug 15, 2011 at 06:36:11PM -0400, Randy J Ray via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70280 > > > On Mon Aug 15 17:49:31 2011, CARNIL wrote:
> > The build failures are with Test::More from Perl core 5.12.4. That is > > Test::More 0.94. I just tried the build with Test::More 0.98 it seems > > to work.
> > Yes, I discovered that after I updated the ticket. Between 0.94 and > 0.98, they added a feature in which a subtest with no plan gets > automatically given a "done_testing()" at the end.
Great! Indeed that would be our prefered possibility. Show quoted text
> I have updated the test to work with Test::More 0.94, so you won't have > to update the Test::Simple package if you don't want to. I'm not sure > when I would normally release 0.76, since I am still doing a lot of > code-coverage analysis. But if you need these fixes soon, let me know > and I'll release sooner rather than later.
Not urgent at all. So don't hurry to release new version. We usually try to keep goo pace on updating the modules when new upstream versions appear, to have them in Debian unstable soon too. So, no we don't need these fixes soon, we can wait for next normal 0.76 release. Regards, Salvatore
Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

Fixes delivered in 0.76 release. -- Randy J. Ray rjray@blackperl.com randy.j.ray@gmail.com


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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