Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2021 11:30:36 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        Willem Jan Withagen via freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Trying to build Current
Message-ID:  <e641c759-1b5e-6f5c-5cbd-adea534ea14d@digiware.nl>
In-Reply-To: <20210415142040.b0b714fd68e9b98a07d413b3@bidouilliste.com>
References:  <18228aca-e835-d3d1-245d-dca1068d5023@digiware.nl> <20210415142040.b0b714fd68e9b98a07d413b3@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15-4-2021 14:20, Emmanuel Vadot wrote:
> On Thu, 15 Apr 2021 10:51:39 +0200
> Willem Jan Withagen via freebsd-current <freebsd-current@freebsd.org>
> wrote:
> 
>> 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?

>   Try with
> https://cgit.freebsd.org/src/commit/?id=f41efc453ab5563cde214cb19273d87e6e4aa2d4
> applied.
>   You probably have WITHOUT_AUDIT=yes in src.conf

That seems to do the trick.

Thanx,
--WjW





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e641c759-1b5e-6f5c-5cbd-adea534ea14d>