[MacPorts] #70999: xmlstarlet @1.6.1_4 Failed to build: incompatible function pointer types (was: xmlstarlet @1.6.1_4 Failed to build xmlstarlet: command execution failed)

MacPorts noreply at macports.org
Tue Oct 1 03:21:59 UTC 2024


#70999: xmlstarlet @1.6.1_4 Failed to build: incompatible function pointer types
----------------------------+--------------------
  Reporter:  briankennison  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.10.1
Resolution:                 |   Keywords:
      Port:  xmlstarlet     |
----------------------------+--------------------

Old description:

> :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"

New description:

 {{{
 :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"
 }}}

--

Comment (by jmroot):

 {{{
 :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       |                                           ^~~~~~~~~~~
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70999#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list