Package Details: perl-rpc-xml 0.80-1

Git Clone URL: https://aur.archlinux.org/perl-rpc-xml.git (read-only)
Package Base: perl-rpc-xml
Description: A set of classes for core data, message and XML handling
Upstream URL: https://metacpan.org/release/RPC-XML
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: jnbek
Last Packager: jnbek
Votes: 67
Popularity: 2.063759
First Submitted: 2007-04-16 06:52
Last Updated: 2016-06-13 17:17

Latest Comments

noirvent commented on 2016-06-15 20:38

Should add perl-datetime-format-iso8601 as dependancy

sl1pkn07 commented on 2016-06-14 19:32

t/14_datetime_iso8601.t ......... skipped: DateTime::Format::ISO8601 not available

jnbek commented on 2016-05-25 14:18

I'll fix it when i get home from work

Rethil commented on 2016-05-25 14:17

In 0.80 some compilation errors were fixed.

@@ -2,7 +2,7 @@
# Generator : CPANPLUS::Dist::Arch 1.32

pkgname='perl-rpc-xml'
-pkgver='0.79'
+pkgver='0.80'
pkgrel='1'
pkgdesc="A set of classes for core data, message and XML handling"
arch=('any')
@@ -12,10 +12,10 @@
makedepends=()
optdepends=('perl-net-server: Net::Server support')
url='https://metacpan.org/release/RPC-XML'
-source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/RPC-XML-0.79.tar.gz')
-md5sums=('64fb3a4a597574b97ea5c989edffb21d')
-sha512sums=('541ee3abf4e44cff68a2b7b7c4f78095e8e4ec479d72b52d300503bc1688f64fd01a0ff3c2cdf8e18573d19af0bae467ac68befe7ad8756e6287ed494a50ce26')
-_distdir="RPC-XML-0.79"
+source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/RPC-XML-0.80.tar.gz')
+md5sums=('b3350083c139dcdcb2bde8644cc92179')
+sha512sums=('a91586ea903b3e633f85ca8d9048181a7c3aedcff6788c7ae5fb4971e8552c421c86f30254517c25caa35f1991146dcceb34301bb49002e4ec75a2ee9c195992')
+_distdir="RPC-XML-0.80"

build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""

jnbek commented on 2016-03-10 16:06

@eigengrau, can you please post the full output of the build?

eigengrau commented on 2016-03-10 10:34

Currently fails to build because the test suite fails:
> Makefile:987: recipe for target 'test_dynamic' failed
> make: *** [test_dynamic] Error 255

sl1pkn07 commented on 2016-03-09 17:17

t/14_datetime_iso8601.t ......... skipped: DateTime::Format::ISO8601 not available

jakkin commented on 2015-04-30 23:15

If anyone has a problem with this hanging at
t/41_server_hang.t .............. 1/91
Check to make sure your firewall is not blocking the build.

eomarjee commented on 2015-02-02 19:39

Any ideas about how to fix that?

eomarjee commented on 2015-02-02 19:38

==> Starting check()...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ..................... ok
t/10_data.t ..................... ok
t/11_base64_fh.t ................ ok
t/12_nil.t ...................... ok
t/13_no_deep_recursion.t ........ ok
t/14_datetime_iso8601.t ......... ok
t/15_serialize.t ................ ok
t/20_xml_parser.t ............... ok
t/21_xml_libxml.t ............... ok
t/25_parser_negative.t .......... ok
t/29_parserfactory.t ............ ok
t/30_procedure.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
t/51_client_with_host_header.t .. ok
t/60_net_server.t ............... 2/30
# Failed test 'system.identity matches $srv->product_tokens'
# at t/60_net_server.t line 60.
# got: undef
# expected: 'RPC::XML::Server/1.73'

# Failed test 'system.listMethods returned ARRAY ref'
# at t/60_net_server.t line 68.
# got: ''
# expected: 'ARRAY'

# Failed test 'system.listMethods returned ARRAY ref'
# at t/60_net_server.t line 80.
# got: ''
# expected: 'ARRAY'

# Failed test 'system.listMethods returned ARRAY ref'
# at t/60_net_server.t line 90.
# got: ''
# expected: 'ARRAY'

# Failed test 'system.listMethods returned HASH ref'
# at t/60_net_server.t line 100.
# got: ''
# expected: 'HASH'

# Failed test 'system.methodHelp returned correct string'
# at t/60_net_server.t line 110.
# got: undef
# expected: 'Return the server name and version as a string'

# Failed test 'system.methodHelp returned ARRAY ref'
# at t/60_net_server.t line 116.
# got: ''
# expected: 'ARRAY'

# Failed test ''system.methodHelp (bad arg) response' isa 'RPC::XML::fault''
# at t/60_net_server.t line 127.
# 'system.methodHelp (bad arg) response' isn't a 'RPC::XML::fault'

# Failed test 'system.methodHelp returned ARRAY ref'
# at t/60_net_server.t line 136.
# got: ''
# expected: 'ARRAY'

# Failed test ''system.methodSignature (bad arg) response' isa 'RPC::XML::fault''
# at t/60_net_server.t line 146.
# 'system.methodSignature (bad arg) response' isn't a 'RPC::XML::fault'

# Failed test 'system.methodHelp returned ARRAY ref'
# at t/60_net_server.t line 193.
# got: ''
# expected: 'ARRAY'
# Looks like you planned 30 tests but ran 29.
# Looks like you failed 11 tests of 29 run.
t/60_net_server.t ............... Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 12/30 subtests
(less 16 skipped subtests: 2 okay)
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/60_net_server.t (Wstat: 2816 Tests: 29 Failed: 11)
Failed tests: 3-4, 7, 9, 11, 14-15, 17, 19, 21, 24
Non-zero exit status: 11
Parse errors: Bad plan. You planned 30 tests but ran 29.
Files=25, Tests=1103, 50 wallclock secs ( 0.22 usr 0.04 sys + 4.58 cusr 0.29 csys = 5.13 CPU)
Result: FAIL
Failed 1/25 test programs. 11/1103 subtests failed.
Makefile:984: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
==> ERROR: A failure occurred in check().
Aborting...

jnbek commented on 2014-03-26 23:12

k

sl1pkn07 commented on 2014-03-26 22:36

please add Net::Server for unittest

t/60_net_server.t ............... skipped: Net::Server not available

greetings

jnbek commented on 2014-03-26 21:42

Try now :)

paulst commented on 2014-03-26 18:20

For me, installation fails with:

==> Starting build()...
[...]
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/make_method
Unknown option: perm_rw
Makefile:493: recipe for target 'manifypods' failed
make: *** [manifypods] Error 1
==> ERROR: A failure occurred in build().

Any suggestions?

test0 commented on 2014-01-30 11:02

Just add perl-xml-libxml to dependencies.

jnbek commented on 2013-09-20 23:27

no, it's
perl-xml-libxml
missing from depends, I'll try to get this corrected this evening after work or tomorrow.

jnbek commented on 2013-09-20 23:25

@Spheerys: I suspect that the problem may be related to some remote test that can not connect to it's host. Are you behind some company firewall? It does in fact build well:

==> Starting check()...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ..................... ok
t/10_data.t ..................... ok
t/11_base64_fh.t ................ ok
t/12_nil.t ...................... ok
t/13_no_deep_recursion.t ........ ok
t/14_datetime_iso8601.t ......... skipped: DateTime::Format::ISO8601 not available
t/15_serialize.t ................ ok
t/20_xml_parser.t ............... ok
t/21_xml_libxml.t ............... ok
t/25_parser_negative.t .......... ok
t/29_parserfactory.t ............ ok
t/30_procedure.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
t/51_client_with_host_header.t .. ok
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
All tests successful.
Files=25, Tests=988, 44 wallclock secs ( 0.18 usr 0.03 sys + 2.41 cusr 0.20 csys = 2.82 CPU)
Result: PASS

If you continue to have the problem, simply remove the:

make test

from the PKGBUILD.

Spheerys commented on 2013-09-20 12:48

I have an error during compiling :

==> Lancement de check()...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ..................... ok
t/10_data.t ..................... ok
t/11_base64_fh.t ................ ok
t/12_nil.t ...................... ok
t/13_no_deep_recursion.t ........ ok
t/14_datetime_iso8601.t ......... skipped: DateTime::Format::ISO8601 not available
t/15_serialize.t ................ 1/20
# Failed test 'Fault-response content is correct'
# at t/15_serialize.t line 99.
# got: '<?xml version="1.0" encoding="us-ascii"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>1</int></value></member><member><name>faultString</name><value><string>test</string></value></member></struct></value></fault></methodResponse>'
# expected: '<?xml version="1.0" encoding="us-ascii"?><methodResponse><fault><value><struct><member><name>faultString</name><value><string>test</string></value></member><member><name>faultCode</name><value><int>1</int></value></member></struct></value></fault></methodResponse>'
# Looks like you failed 1 test of 20.
t/15_serialize.t ................ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/20 subtests
t/20_xml_parser.t ............... ok
t/21_xml_libxml.t ............... ok
t/25_parser_negative.t .......... ok
t/29_parserfactory.t ............ ok
t/30_procedure.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
t/51_client_with_host_header.t .. ok
t/60_net_server.t ............... skipped: Net::Server not available
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/15_serialize.t (Wstat: 256 Tests: 20 Failed: 1)
Failed test: 8
Non-zero exit status: 1
Files=25, Tests=958, 43 wallclock secs ( 0.16 usr 0.03 sys + 1.91 cusr 0.22 csys = 2.32 CPU)
Result: FAIL
Failed 1/25 test programs. 1/958 subtests failed.
make: *** [test_dynamic] Erreur 255
==> ERREUR : Une erreur s’est produite dans check().
Abandon...


What's going wrong ?

sl1pkn07 commented on 2013-06-08 03:14

@@@@@
XML::LibXML not found

You may ignore the warnings about XML::LibXML not being present, if
you plan only to use the XML::Parser-based parsing engine. The use
of XML::LibXML is completely optional.
@@@@@

need add 'perl-xml-libxml' to dependencies?

if not, the check() fail http://sl1pkn07.no-ip.com/paste/view/e48da09f

sl1pkn07 commented on 2013-06-08 03:06

@@@@@
XML::LibXML not found

You may ignore the warnings about XML::LibXML not being present, if
you plan only to use the XML::Parser-based parsing engine. The use
of XML::LibXML is completely optional.
@@@@@

need add 'perl-xml-libxml' to dependencies?

sakaru commented on 2013-06-05 10:57

The check() fails for me with the following error:
# Failed test 'Fault-response content is correct'
# at t/15_serialize.t line 99.
# got: '<?xml version="1.0" encoding="us-ascii"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>1</int></value></member><member><name>faultString</name><value><string>test</string></value></member></struct></value></fault></methodResponse>'
# expected: '<?xml version="1.0" encoding="us-ascii"?><methodResponse><fault><value><struct><member><name>faultString</name><value><string>test</string></value></member><member><name>faultCode</name><value><int>1</int></value></member></struct></value></fault></methodResponse>'
# Looks like you failed 1 test of 20.

For now I've removed the check function, obviously I'm aware things may break.

maandree commented on 2013-04-12 00:32

Move declaration of _destdir into build().

sverdj commented on 2012-07-09 13:04

Works for me.

dvzrv commented on 2012-06-29 20:06

@derloy: this still doesn't built because of failed tests, but it is needed! :I

Anonymous comment on 2011-10-25 16:24

I spent some time on this today but I can't figure out why this is happening. I have run out of time but will keep at it.

Anonymous comment on 2011-10-23 20:36

Tests break, seemingly here:

t/20_xml_parser.t ............... 1/137 Can't locate object method "args" via package "Parse error:
error in processing external entity reference at line 9, column 34, byte 223:
<param>
<value><string>Entity test: &foo;</string></value>
=================================^
</param>
at /usr/lib/perl5/vendor_perl/XML/Parser.pm line 187
" (perhaps you forgot to load "Parse error:
error in processing external entity reference at line 9, column 34, byte 223:
<param>
<value><string>Entity test: &foo;</string></value>
=================================^
</param>
at /usr/lib/perl5/vendor_perl/XML/Parser.pm line 187
"?) at t/20_xml_parser.t line 161.
# Looks like you planned 137 tests but ran 43.
# Looks like your test exited with 255 just after 43.
t/20_xml_parser.t ............... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 94/137 subtests

Anonymous comment on 2010-10-29 21:43

Hi, perlxml dependency should be changed to perl-xml-parser.

It also fails to complete the tests and thus cannot be built.