Re: xmlParseMemory() and xmlParseMemory gone rawhide?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 18 Nov 2023 12:30:04 -0500
Steve Dickson <steved@xxxxxxxxxx> wrote:

> Hello,
> 
> When building an nfs-utils rpm in rawhide
> I get the following errors:
> 
> xml.c: In function ‘junction_parse_xml_buf’:
> xml.c:293:15: error: implicit declaration of function ‘xmlParseMemory’ 
> [-Werror=implicit-function-declaration]
>    293 |         tmp = xmlParseMemory(buf, (int)len);
>        |               ^~~~~~~~~~~~~~
> xml.c:293:13: error: assignment to ‘xmlDocPtr’ {aka ‘struct _xmlDoc *’} 
> from ‘int’ makes pointer from integer without a cast 
> [-Werror=int-conversion]
>    293 |         tmp = xmlParseMemory(buf, (int)len);
>        |             ^
> xml.c: In function ‘junction_xml_write’:
> xml.c:390:9: error: ‘xmlIndentTreeOutput’ undeclared (first use in this 
> function)
>    390 |         xmlIndentTreeOutput = 1;
>        |         ^~~~~~~~~~~~~~~~~~~
> xml.c:390:9: note: each undeclared identifier is reported only once for 
> each function it appears in
> cc1: some warnings being treated as errors
> 
> Now I can build the upstream nfs-utils in rawhide, f39 and f38
> without a problem... It is only when I try to build a rawhide
> rpm that these errors happen. Any ideas??

https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-parser.html
says xmlParseMemory() has been deprecated and thus probably not
available in the rawhide build of libxml2.


		Dan
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux