Skip Menu |

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

Report information
The Basics
Id: 120974
Status: resolved
Priority: 0/
Queue: XML-CanonicalizeXML

People
Owner: Nobody in particular
Requestors: fernandez-fernandez [...] hpe.com
Cc:
AdminCc:

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



Subject: Package not installing correctly on Strawberry Perl
Date: Wed, 5 Apr 2017 16:01:42 +0000
To: "bug-XML-CanonicalizeXML [...] rt.cpan.org" <bug-XML-CanonicalizeXML [...] rt.cpan.org>
From: "Fernandez, Mauricio (EG SC Quality PM)" <fernandez-fernandez [...] hpe.com>
Hi, I tried several things to install this libary, which is a dependency for a library I must use, every time I get the same error. Methods Used: cpan install XML::CanonicalizeXML cpan notest install XML::CanonicalizeXML cpanm XML::CanonicalizeXML cpanm --force XML::CanonicalizeXML Relevant information: Seems like there is a problem with the c code (type mismatch), this is what I see, CanonicalizeXML.xs: In function 'XS_XML__CanonicalizeXML_canonicalize': CanonicalizeXML.xs:28:82: warning: passing argument 6 of 'canonicalize' from incompatible pointer type error = canonicalize(xml,xpath,namespace,exclusive,with_comments,&output); ^ In file included from CanonicalizeXML.xs:8:0: canon/canon.h:2:12: note: expected 'char *' but argument is of type 'xmlChar **' extern int canonicalize (char *xmlString, char *xpathString, char *nameSpace, int exc, int comm, char *output); ^ Please Find attached the log file from cpanm with no force.
Download build.log
application/octet-stream 7.4k

Message body not shown because it is not plain text.

Thanks for the report. I've updated canon.c to work with newer versions of libxml2 and pushed the new version to CPAN. Please test and close the ticket if it works.
On Mon Jan 15 13:20:10 2018, SJZASADA wrote: Show quoted text
> Thanks for the report. I've updated canon.c to work with newer > versions of libxml2 and pushed the new version to CPAN. Please test > and close the ticket if it works.