[MacPorts] #60882: ddd: error: no matching function for call to 'XtAppSetErrorHandler' (was: Failed to build ddd: command execution failed on mac os 10.15.5 catalina)

MacPorts noreply at macports.org
Mon Jul 20 22:26:36 UTC 2020


#60882: ddd: error: no matching function for call to 'XtAppSetErrorHandler'
---------------------------+--------------------
  Reporter:  photondreams  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.3
Resolution:                |   Keywords:
      Port:  ddd           |
---------------------------+--------------------

Old description:

> All prerequisites build successfully, ddd fails after configuration while
> building with message :
> Error: Failed to build ddd: command execution failed
> Error: Processing of port ddd failed
>
> See attached main.log

New description:

 All prerequisites build successfully, ddd fails after configuration while
 building with message :

 {{{
 Error: Failed to build ddd: command execution failed
 Error: Processing of port ddd failed
 }}}

 See attached main.log

--

Comment (by ryandesign):

 Looks like the real error in the log is:

 {{{
 :info:build exit.C:815:12: error: no matching function for call to
 'XtAppSetErrorHandler'
 :info:build     (void) XtAppSetErrorHandler(app_context, ddd_xt_error);
 :info:build            ^~~~~~~~~~~~~~~~~~~~
 :info:build /opt/local/include/X11/Intrinsic.h:1769:23: note: candidate
 function not viable: no known conversion from 'void (String)' (aka 'void
 (char *)') to 'void (*)(String) __attribute__((noreturn))' (aka 'void
 (*)(char *) __attribute__((noreturn))') for 2nd argument
 :info:build extern XtErrorHandler XtAppSetErrorHandler(
 :info:build                       ^
 }}}

 I found a couple places mentioning this error in a quick search:

 https://www.freshports.org/devel/ddd

 https://www.mail-archive.com/ports@openbsd.org/msg92519.html

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


More information about the macports-tickets mailing list