Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#60882 closed defect (fixed)

ddd: error: no matching function for call to 'XtAppSetErrorHandler'

Reported by: photondreams Owned by: ryandesign (Ryan Carsten Schmidt)
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

Attachments (1)

main.log (186.7 KB) - added by photondreams 4 years ago.

Download all attachments as: .zip

Change History (5)

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

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

Owner: set to ryandesign
Status: newaccepted

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

Resolution: fixed
Status: acceptedclosed

In 62284b72bac95049e503648de8cf961a35545fdb/macports-ports (master):

ddd: Fix build failure with latest libXt

and modernize checksums.

Closes: #60882

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

So now it builds, but unfortunately it still won't run properly; it hasn't for years. See #50463.

Note: See TracTickets for help on using tickets.