Opened 7 months ago
Closed 7 months ago
#69859 closed defect (fixed)
R-xslt @1.4.4: error: no matching function for call to 'xmlSetStructuredErrorFunc'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ||
Port: | R-xslt |
Description
xslt_init.cpp:36:5: error: no matching function for call to 'xmlSetStructuredErrorFunc' xmlSetStructuredErrorFunc(NULL, handleError); ^~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/libxml2/libxml/xmlerror.h:897:5: note: candidate function not viable: no known conversion from 'void (void *, xmlError *)' (aka 'void (void *, _xmlError *)') to 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const _xmlError *)') for 2nd argument xmlSetStructuredErrorFunc (void *ctx, ^ 1 error generated. make: *** [xslt_init.o] Error 1 ERROR: compilation failed for package ‘xslt’
This is explained here: https://gitlab.gnome.org/GNOME/libxml2/-/issues/622
It is an intentional change in libxml2 2.12 and consumers of libxml2 must adapt.
Change History (2)
comment:1 Changed 7 months ago by barracuda156
comment:2 Changed 7 months ago by barracuda156
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I will try updating it to 1.4.5, maybe it is fixed now: https://cran.r-project.org/web/packages/xslt/index.html