Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2023 00:40:36 -0800 (PST)
From:      "Jeffrey Bouquet" <jbtakk@iherebuywisely.com>
To:        "Jeffrey Bouquet" <jbtakk@iherebuywisely.com>
Cc:        "current" <current@freebsd.org>
Subject:   Re: buildworld failure
Message-ID:  <E1pU1iu-0006DF-QZ@rmmprod05.runbox>
In-Reply-To: <E1pTUlO-0006pz-Ec@rmmprod05.runbox>

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


On Sat, 18 Feb 2023 13:28:58 -0800 (PST), "Jeffrey Bouquet" <jbtakk@iherebu=
ywisely.com> wrote:

>=20
>=20
> On Sat, 18 Feb 2023 00:33:11 -0800 (PST), "Jeffrey Bouquet" <jbtakk@ihere=
buywisely.com> wrote:
>=20
> > Building /usr/obj/usr/src/amd64.amd64/tools/build/test-includes/sys_bit=
count.c
> > Building /usr/obj/usr/src/amd64.amd64/tools/build/test-includes/sys_bit=
count.o
> > sys_bitcount.c:1:10: fatal error: 'sys/bitcount.h' file not found
> > #include <sys/bitcount.h>
> >          ^~~~~~~~~~~~~~~~
> > 1 error generated.
> > *** Error code 1
> >=20
> > Stop.
> > make[3]: stopped in /usr/src/tools/build/test-includes
> > .ERROR_TARGET=3D'sys_bitcount.o'
> > .ERROR_META_FILE=3D'/usr/obj/usr/src/amd64.amd64/tools/build/test-inclu=
des/sys_bitcount.o.meta'
> > .MAKE.LEVEL=3D'3'
> > MAKEFILE=3D''
> > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dye=
s verbose'
> > _ERROR_CMD=3D'/usr/local/bin/clang14  -O2 -pipe -fno-common   -g -gz=3D=
zlib -std=3Dgnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/loc=
al/llvm14/lib/clang/14.0.6/include -fstack-protector-strong -Wsystem-header=
s -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototype=
s -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-st=
rings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -=
Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmiss=
ing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-=
int -Wno-unused-const-variable -Wno-error=3Dunused-but-set-variable  -Qunus=
ed-arguments    -c sys_bitcount.c -o sys_bitcount.o; ;'
> > .CURDIR=3D'/usr/src/tools/build/test-includes'
> > .MAKE=3D'make'
> > .OBJDIR=3D'/usr/obj/usr/src/amd64.amd64/tools/build/test-includes'
> > .TARGETS=3D'test-includes'
> > DESTDIR=3D'/usr/obj/usr/src/amd64.amd64/tmp'
> > LD_LIBRARY_PATH=3D''
> > MACHINE=3D'amd64'
> > MACHINE_ARCH=3D'amd64'
> > MAKEOBJDIRPREFIX=3D''
> > MAKESYSPATH=3D'/usr/src/share/mk'
> > MAKE_VERSION=3D'20220208'
> > PATH=3D'/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd=
64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/a=
md64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/=
bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd6=
4/tmp/legacy/usr/libexec::/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr=
/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr=
/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/t=
mp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/=
src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin'
> > SRCTOP=3D'/usr/src'
> > OBJTOP=3D'/usr/obj/usr/src/amd64.amd64
> > .....................................
> >=20
> > Anyone see/know anything causing this error?=20
> > Also, the buildworld command most likely to build the most amd64 compon=
ents from scratch?=20
>=20
>=20
> seems "make hier" fixed it partially
> then WITHOUT_OFED=3Dyes in src.conf.  maybe fixed, maybe not.=20

Not fixed.
question 1.=20=20
While building, it fails in some subtree.=20
I change to that location and "make" which succeeds
back in buildworld, stage 4.4, it then fails at the same place despite the
"make" success.
also, it re attempts to build in places I've WITHOUT_ in src.conf
BOTH situations appear concurrently during the build, which halts, confusin=
g me
as to which condition causes the failure.
Any workaround or fix?

Seems the system is a hybrid of CURRENT and of 13-stable now, running witho=
ut
issues otherwise.

leading to
question 2.
Ideally, I could overcome the buildworld failure by sequentially installing=
 all parts of
the buildworld which have SO FAR not failed? and where would I find the
sequence of locations from which to do a "make" "make install" mimicing an
installworld DURING buildworld, as if each part of=20
buildworld after success coud be installed, leading to a greater
probability that the entire buildworld could finish without error
and to the likelihood also that an installworld would not fail
due to most of its parts already having been completed.
...
might as well put this question in also.
...............
3... there is pending a UFS2 packagebase somewhere still in code review or =
beta?
How might I use that to overcome this issue and install CURRENT if packages=
ets
were available?=20

thanks in advance.=20

Jeff=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1pU1iu-0006DF-QZ>