Opened 7 weeks ago

Closed 7 weeks 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

https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/273250/steps/install-port/logs/stdio

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 weeks ago by barracuda156

I will try updating it to 1.4.5, maybe it is fixed now: https://cran.r-project.org/web/packages/xslt/index.html

comment:2 Changed 7 weeks ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 47b76e40535e41151daeeddd787a008930361b00/macports-ports (master):

R-xslt: update to 1.4.5

Closes: #69859

Note: See TracTickets for help on using tickets.