On Sun, Mar 10, 2024 at 07:22:31PM +0100, Havard Eidnes wrote: > > dependall ===> lib/../external/mpl/bind/lib/libdns > > create libdns/gssapictx.d > > /u/NetBSD/src.ks/external/mpl/bind/lib/libdns/../../dist/lib/dns/gssapictx.c:24:10: > > fatal error: gssapi/gssapi.h: No such file or directory > > 24 | #include <gssapi/gssapi.h> > > | ^~~~~~~~~~~~~~~~~ > > compilation terminated. > > nbmkdep: compile failed. > > Hm, yes... Our in-tree BIND ships with a "static" config.h file > which has "#define HAVE_GSSAPI 1", and while BIND has a configure > option --without-gssapi which would probably make HAVE_GSSAPI not > be defined, the configure script isn't used in our setup. > > You could try to comment out HAVE_GSSAPI in the include/config.h > file and see how that goes.
Yep, applying the following patch let compiling new bind succeed: Index: external/mpl/bind/include/config.h =================================================================== RCS file: /cvsroot/src/external/mpl/bind/include/config.h,v retrieving revision 1.16 diff -u -r1.16 config.h --- external/mpl/bind/include/config.h 21 Feb 2024 22:52:52 -0000 1.16 +++ external/mpl/bind/include/config.h 11 Mar 2024 13:12:15 -0000 @@ -178,6 +178,7 @@ /* Define to 1 if you have the <glob.h> header file. */ #define HAVE_GLOB_H 1 +#if (USE_KERBEROS != no) /* Define to 1 if you have the Kerberos Framework available */ #define HAVE_GSSAPI 1 @@ -195,6 +196,7 @@ /* Define to 1 if you have the `gss_acquire_cred' function. */ #define HAVE_GSS_ACQUIRE_CRED 1 +#endif /* Define to 1 if you have the <idn2.h> header file. */ /* #undef HAVE_IDN2_H */ @@ -214,6 +216,7 @@ /* Use json-c library */ /* #undef HAVE_JSON_C */ +#if (USE_KERBEROS != no) /* Define to 1 if you have the <krb5.h> header file. */ /* #undef HAVE_KRB5_H */ @@ -222,6 +225,7 @@ /* Define to 1 if you have the <krb5/krb5.h> header file. */ #define HAVE_KRB5_KRB5_H 1 +#endif /* Define if libidn2 was found */ /* #undef HAVE_LIBIDN2 */