Opened 7 weeks ago

Closed 6 weeks ago

#70999 closed defect (fixed)

xmlstarlet @1.6.1_4 Failed to build: incompatible function pointer types

Reported by: briankennison Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: xmlstarlet

Description (last modified by jmroot (Joshua Root))

:error:build Failed to build xmlstarlet: command execution failed
:debug:build Error code: CHILDSTATUS 94110 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

Attachments (1)

main.log (109.1 KB) - added by briankennison 7 weeks ago.
main.log

Download all attachments as: .zip

Change History (5)

Changed 7 weeks ago by briankennison

Attachment: main.log added

main.log

comment:1 Changed 6 weeks ago by jmroot (Joshua Root)

Description: modified (diff)
Summary: xmlstarlet @1.6.1_4 Failed to build xmlstarlet: command execution failedxmlstarlet @1.6.1_4 Failed to build: incompatible function pointer types
:info:build src/xml.c:300:43: error: incompatible function pointer types passing 'void (void *, xmlErrorPtr)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
:info:build   300 |     xmlSetStructuredErrorFunc(&errorInfo, reportError);
:info:build       |                                           ^~~~~~~~~~~

comment:2 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

This is probably due to changes in the latest libxml2; we've had to make fixes for this in other ports already.

xmlstarlet bugs, such as this one, should be reported here: https://sourceforge.net/p/xmlstar/bugs/

comment:3 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

…although this might be fixed by the patches at https://sourceforge.net/p/xmlstar/patches/22/; checking…

comment:4 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 600f734a0152d27f1f8509234c5ef5e942b50013/macports-ports (master):

xmlstarlet: Fix build with latest libxml2

Closes: #70999

Note: See TracTickets for help on using tickets.