Opened 4 years ago

Last modified 4 years ago

#60882 closed defect

ddd: error: no matching function for call to 'XtAppSetErrorHandler' — at Version 1

Reported by: photondreams Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: ddd

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

Changed 4 years ago by photondreams

Attachment: main.log added

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: Failed to build ddd: command execution failed on mac os 10.15.5 catalinaddd: error: no matching function for call to 'XtAppSetErrorHandler'

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

Note: See TracTickets for help on using tickets.