Re: make buildworld broken when WITHOUT_MITKRB5="yes" is set

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Sat, 04 Oct 2025 16:57:44 UTC
On 10/4/25 11:54, Rick Macklem wrote:
> When WITHOUT_MITKRB5="yes" is set in /etc/src.conf,
> a "make buildworld" fails with...
> 
> ===> secure/lib/libssl (cleandir)
> make[6]: /posix-acl/src.oct2025/share/mk/src.libnames.mk:919:
> /posix-acl/src.oct2025/secure/lib/libssl: Missing or incorrect _DP_ssl
> entry in src.libnames.mk.  Should match LIBADD for ssl ('pthread
> crypto' vs 'crypto')
> in /posix-acl/src.oct2025/share/mk/bsd.libnames.mk:12
> in /posix-acl/src.oct2025/share/mk/bsd.lib.mk:146
> in /posix-acl/src.oct2025/secure/lib/libssl/Makefile:84
> in directory /posix-acl/src.oct2025/secure/lib/libssl
> 
> make[6]: stopped making "cleandir" in /posix-acl/src.oct2025/secure/lib/libssl
> *** Error code 1
> 
> If you know how to fix this, please do so (or let me know
> what I need to change), since I am trying to get a large
> patch in main that allows a Heimdal KDC database be
> dumped in a format that works with the MIT KDC.
> 

No idea about this one, but...

> rick
> ps: It also complains about "duplicate script for
>        _bootstrap-tools-lib/libmd", but that's just a warning.
> 

... I just finished posting this: https://reviews.freebsd.org/D52904
that would avoid duplicating the target if multiple bootstrap tools might
want to be sure that a lib is built.

Thanks,

Kyle Evans