[MacPorts] #69859: R-xslt @1.4.4: error: no matching function for call to 'xmlSetStructuredErrorFunc'

MacPorts noreply at macports.org
Mon Apr 29 07:55:39 UTC 2024


#69859: R-xslt @1.4.4: error: no matching function for call to
'xmlSetStructuredErrorFunc'
------------------------+--------------------------
 Reporter:  ryandesign  |      Owner:  barracuda156
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.9.3
 Keywords:              |       Port:  R-xslt
------------------------+--------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/69859>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list