Trying to build Current

Willem Jan Withagen wjw at digiware.nl
Thu Apr 15 08:51:47 UTC 2021


Hi,

I actually went completely back to the basic setup with directories 
/usr/src and /usr/obj
But even then I do not manage to buildworld.
The process keeps bumping into missing bsm/audit.

First case was when it tried to build the 64bit libc.
I copied the bsm directory into
     /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/

Which allowed it to continue.
But then a bit further on it halts again in 32bit libc.
Whcih I could fix the same way.

--- fts.o ---
In file included from /usr/src/lib/libc/gen/fts.c:40:
In file included from 
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/mount.h:38:
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/sys/ucred.h:42:10: 
fatal error: 'bsm/audit.h' file not found
#include <bsm/audit.h>
          ^~~~~~~~~~~~~

Even defining HISTORICAL_MAKE_WORLD did not help, but then I'm not doing 
'make world'

So why is this include file missing?

--WjW



More information about the freebsd-current mailing list