On netbsd-7, mk/krb5.buildlink3.mk chooses heimdal, which is in base. That works fine with cups15 and cups. But, if mit-krb5 is installed, then apparently cups's configure finds a libgssapi_krb5 which mit-krb5 has but heimdal doesn't at configure time, but then doesn't find it at link time. I am not clear what happens, but it appears to be a bl3 isolation failure. To reproduce, install mit-krb5 and then build cups, I think. (I am not sure why mit-krb5 was installed on this machine.)
Attachment:
signature.asc
Description: PGP signature