Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jul 2021 10:12:07 +0200
From:      =?utf-8?Q?S=C3=B8ren_Schmidt?= <soren.schmidt@gmail.com>
To:        Rozhuk Ivan <rozhuk.im@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 13 stable build fail
Message-ID:  <E6A10569-1073-4D0B-8D23-1FB040ABB584@gmail.com>
In-Reply-To: <20210703043324.30b8b309@rimwks.local>
References:  <20210703043324.30b8b309@rimwks.local>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_A65A5144-998D-4AD2-BBBC-87F7AF555203
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On 3 Jul 2021, at 03.33, Rozhuk Ivan <rozhuk.im@gmail.com> wrote:
> ...
> In file included from /usr/src/lib/libc/gen/fstab.c:38:
> In file included from =
/tmp/obj.world/usr/src/amd64.amd64/tmp/usr/include/sys/mount.h:38:
> /tmp/obj.world/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.
> --- fstab.o ---
> *** [fstab.o] Error code 1
>=20
> make[4]: stopped in /usr/src/lib/libc
> In file included from /usr/src/lib/libc/gen/fts.c:40:
> In file included from =
/tmp/obj.world/usr/src/amd64.amd64/tmp/usr/include/sys/mount.h:38:
> /tmp/obj.world/usr/src/amd64.amd64/tmp/usr/include/sys/ucred.h:42:10: =
fatal error: 'bsm/audit.h' file not found
> #include <bsm/audit.h>
>         ^~~~~~~~~~~~~
> In file included from /usr/src/lib/libc/gen/fts-compat.c:41:
> In file included from =
/tmp/obj.world/usr/src/amd64.amd64/tmp/usr/include/sys/mount.h:38:
> /tmp/obj.world/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.
> --- fts.o ---
> *** [fts.o] Error code 1
>=20
> make[4]: stopped in /usr/src/lib/libc
> ...
>=20


The latest changes to include/Makefile broke building with =
"WITHOUT_AUDIT=3D1"

This patch works for me:

Index: stable13/include/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- stable13/include/Makefile	(revision 550)
+++ stable13/include/Makefile	(revision 552)
@@ -223,6 +223,7 @@
 INCSGROUPS=3D	INCS \
 		ACPICA \
 		AGP \
+		BSM \
 		CAM \
 		CAMATA \
 		CAMMMC \
@@ -240,7 +241,6 @@
 		VERIEXEC
=20
 .if ${MK_AUDIT} !=3D "no"
-INCSGROUPS+=3D	BSM
 INCSGROUPS+=3D	SECAUDIT
 .endif
=20

--
S=C3=B8ren Schmidt
sos@deepcore.dk / sos@freebsd.org
"So much code to hack, so little time"




--Apple-Mail=_A65A5144-998D-4AD2-BBBC-87F7AF555203--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E6A10569-1073-4D0B-8D23-1FB040ABB584>