On 2020/09/27 13:43, Kurt Mosiejczuk wrote: > Had a build failure on sparc64 > > In file included from usage.c:27: > include/conf.h:103:22: error: execinfo.h: No such file or directory > > devel/libexecinfo seems to be a hidden dependency. It got picked up as > available during configure. > > This fixes it. > > ok?
This is the same as many other ports where it picks up and requires the header if present but doesn't actually use the backtrace() (or in some other ports backtrace_fd) function because it only looks for it in libc. It is better to neuter the autoconf check rather than add a dep; the fewer ports that depend on devel/libexecinfo, the less often it will be installed during build, so the less often other ports will randomly run into build failures due to this + dpb junking. I would be OK with a diff that just added ac_cv_header_execinfo_h=no to CONFIGURE_ENV (no need to bump REVISION).
