[Bug 256947] Unable to make buildworld with WITHOUT_AUDIT=1

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 02 Jul 2021 21:50:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256947

            Bug ID: 256947
           Summary: Unable to make buildworld with WITHOUT_AUDIT=1
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: xxjack12xx@gmail.com

Having WITHOUT_AUDIT=1 causes a make buildworld failure on the latest
13-stable.

cc -target x86_64-unknown-freebsd13.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common  
-DNO__SCCSID -DNO__RCSID -I/usr/src/lib/libc/include -I/usr/src/include
-I/usr/src/lib/libc/amd64 -DNLS  -D__DBINTERFACE_PRIVATE
-I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6
-I/usr/obj/usr/src/amd64.amd64/lib/libc -I/usr/src/lib/libc/resolv
-D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libmd
-I/usr/src/contrib/jemalloc/include -DMALLOC_PRODUCTION
-I/usr/src/contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime
-I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
-I/usr/src/lib/libc/rpc -DYP -DSYMBOL_VERSIONING -DNDEBUG -MD 
-MF.depend.fstab.o -MTfstab.o -std=gnu99 -Wno-format-zero-length
-fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch
-Wno-switch-enum -Wno-knr-promoted-parameter  -Qunused-arguments   
-I/usr/src/lib/libutil -I/usr/src/lib/msun/amd64 -I/usr/src/lib/msun/x86
-I/usr/src/lib/msun/src -c /usr/src/lib/libc/gen/fstab.c -o fstab.o
In file included from /usr/src/lib/libc/gen/fstab.c:38:
In file included from
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/mount.h:38:
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/ucred.h:42:10: fatal error:
'bsm/audit.h' file not found
#include <bsm/audit.h>
         ^~~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/src/lib/libc
*** Error code 1

Stop.
make[3]: stopped in /usr/src
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

-- 
You are receiving this mail because:
You are the assignee for the bug.