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