Re: 15.0-CURRENT build broken in lib/libmagic

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Sun, 10 Sep 2023 03:18:44 UTC
Rainer Hurling <rhurlin@gwdg.de> writes:
> Unfortunately, here it breaks with:
> [...]
> /usr/src/lib/libc/gdtoa/machdep_ldisx.c:40:10: fatal error: 'sys/cdefs.h' file not found

That's because you wiped /usr/obj before starting.  Try running 'make
buildincludes' inside the buildenv before building libc.  If that still
fails, just run buildworld; it will fail in libmagic as before but it
will have built libc before failing, and you can install libc and
restart the build.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org