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??

tia,

steved.
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to