Date: Thu, 15 Apr 2021 21:55:28 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Willem Jan Withagen <wjw@digiware.nl> Cc: Yuri Pankov <yuripv@ftml.net>, Gary Jennejohn <gljennjohn@gmail.com>, Willem Jan Withagen via freebsd-current <freebsd-current@freebsd.org> Subject: Re: Trying to build Current Message-ID: <CAN6yY1sOA34xZnZiqK6Et3rLufxC20DQNBu9jVmpU6c23ZhrTg@mail.gmail.com> In-Reply-To: <3d098c53-c241-e0f3-2ade-bfe5334a4ad2@digiware.nl> References: <18228aca-e835-d3d1-245d-dca1068d5023@digiware.nl> <20210415094744.2bd9dd62@ernst.home> <50812822-0395-5656-5d6e-736a40925729@digiware.nl> <70a6f9b7-5dd3-2831-738c-321a1cc05815@ftml.net> <3d098c53-c241-e0f3-2ade-bfe5334a4ad2@digiware.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 15, 2021 at 4:19 AM Willem Jan Withagen via freebsd-current < freebsd-current@freebsd.org> wrote: > On 15-4-2021 12:44, Yuri Pankov wrote: > > Willem Jan Withagen via freebsd-current wrote: > >> On 15-4-2021 11:47, Gary Jennejohn 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 running make includes first. This step is missing because you are > NOT > >>> doing a buildworld. > >>> > >> Well actual the commands were: > >> > >> rm -rf /usr/src /usr/obj > >> mkdir -p /usr/src /usr/obj > >> cd /usr/src > >> git clone https://git.freebsd.org/src.git . > >> make -j16 buildworld > >> > >> But I'll give it a shot anyways. > > Anything in /etc/make.conf and /etc/src.conf? > I had the same idea, .... but only after I asked the question > There was quite a lot of old cruft there.... > Removed it all, and I'm trying fresh again. > But Clang building, even with ccache takes quite some time. > > --WjW > --WjW > You can greatly reduce buildworld time by adding "WITHOUT_LLVM_TARGET_ALL=YES" to /etc/src.conf. This will not build all of the back-ends for other platforms. Of course, it means that you can't cross-compile for them, but I would assume that installing the full llvm11 port would take care of this, so I don't understand why building them is default. This may be shortened to "I don't understand", of course. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sOA34xZnZiqK6Et3rLufxC20DQNBu9jVmpU6c23ZhrTg>