Re: build failed for 12.2-p5
On Sat, Mar 27, 2021 at 02:52:09PM +0100, Miroslav Lachman wrote: The same error is there after make delete-old + delete-old-libs again. I am out of ideas. Hi, does it have a /etc/src.conf? if so, does it use ccache? The way i'd build 12.2-p5 from scratch would be like this: 1. rm -rf /usr/src 2. rm -rf /usr/obj 3. mkdir /usr/obj 4. cd /usr 5. git clone https://git.freebsd.org/src.git 6. cd src 7. git checkout releng/12.2 8. make cleanworld && make cleandir && make clean 9. make buildworld [...] you said you used https://github.com/freebsd/freebsd.git but I don't know if it's equivalent or in step with https://git.freebsd.org/src.git maybe this is the issue - I don't know. -- J. signature.asc Description: PGP signature
Re: build failed for 12.2-p5
On 27/03/2021 14:23, Miroslav Lachman wrote: On 27/03/2021 13:57, Juraj Lutter wrote: On 27 Mar 2021, at 13:24, Miroslav Lachman <000.f...@quip.cz> wrote: [Creating objdir /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/kerberos5/lib/libroken...] make-roken > roken.h *** Signal 11 Stop. make[3]: stopped in /usr/src/kerberos5/lib/libroken *** Error code 1 *** Error code 1 *** Error code 1 Usr: 399.369s Krnl: 9.440s Totl: 6:48.81s CPU: 99.9% swppd: 0 I/O: 2907+51057 This machine built 12.2-p4 two days ago and the failure is always on the same point so I do not suspect random HW failure but of course it can be new HW problem. Did you do a source-upgrade from 11.4 to 12.2? If yes, then did you also do `make delete-old` and `make delete-old-libs` after upgrade? Yes it was source upgrade from 11.4 to 12.2 but no, make delete-old was not run. Waited to upgrade all packages. I will try it soon. Thanks for the pointer. In the meantime I tired to rebuild 12.2-p4 again and it failed at the same point on libroken. I will go for make delete-old + delete-old-libs before the next test. The same error is there after make delete-old + delete-old-libs again. I am out of ideas. Miroslav Lachman ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: build failed for 12.2-p5
On 27/03/2021 13:57, Juraj Lutter wrote: On 27 Mar 2021, at 13:24, Miroslav Lachman <000.f...@quip.cz> wrote: [Creating objdir /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/kerberos5/lib/libroken...] make-roken > roken.h *** Signal 11 Stop. make[3]: stopped in /usr/src/kerberos5/lib/libroken *** Error code 1 *** Error code 1 *** Error code 1 Usr: 399.369s Krnl: 9.440s Totl: 6:48.81s CPU: 99.9% swppd: 0 I/O: 2907+51057 This machine built 12.2-p4 two days ago and the failure is always on the same point so I do not suspect random HW failure but of course it can be new HW problem. Did you do a source-upgrade from 11.4 to 12.2? If yes, then did you also do `make delete-old` and `make delete-old-libs` after upgrade? Yes it was source upgrade from 11.4 to 12.2 but no, make delete-old was not run. Waited to upgrade all packages. I will try it soon. Thanks for the pointer. In the meantime I tired to rebuild 12.2-p4 again and it failed at the same point on libroken. I will go for make delete-old + delete-old-libs before the next test. Kind regards Miroslav Lachman ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: build failed for 12.2-p5
> On 27 Mar 2021, at 13:24, Miroslav Lachman <000.f...@quip.cz> wrote: > [Creating objdir > /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/kerberos5/lib/libroken...] > make-roken > roken.h > *** Signal 11 > > Stop. > make[3]: stopped in /usr/src/kerberos5/lib/libroken > *** Error code 1 > *** Error code 1 > *** Error code 1 > > Usr: 399.369s Krnl: 9.440s Totl: 6:48.81s CPU: 99.9% swppd: 0 I/O: > 2907+51057 > > This machine built 12.2-p4 two days ago and the failure is always on the same > point so I do not suspect random HW failure but of course it can be new HW > problem. > Did you do a source-upgrade from 11.4 to 12.2? If yes, then did you also do `make delete-old` and `make delete-old-libs` after upgrade? otis ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: build failed for 12.2-p5
On 27/03/2021 12:57, Dimitry Andric wrote: On 27 Mar 2021, at 12:39, Miroslav Lachman <000.f...@quip.cz> wrote: [...] # make -DNO_CLEAN buildkernel cc -O2 -pipe -fno-common -I/usr/src/crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/include -g -MD -MF.depend.copyhostent.o -MTcopyhostent.o -std=gnu99 -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -c /usr/src/crypto/heimdal/lib/roken/copyhostent.c -o copyhostent.o /usr/src/crypto/heimdal/lib/roken/copyhostent.c:42:1: error: unknown type name 'ROKEN_LIB_FUNCTION' ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL ^ /usr/src/crypto/heimdal/lib/roken/copyhostent.c:42:51: error: expected ';' after top level declarator ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL ^ ; Since the roken.h file is bad, it won't compile. Delete the bad roken.h, or maybe your entire /usr/obj, and after your hardware turns out to be okay, try again. I repeatedly deleted /usr/src and /usr/obj and it always failed on roklen. This is from the last attempt from clean src and obj on the first run with "make buildworld" sh /usr/src/tools/install.sh -o root -g wheel -m 444 make-roken.debug /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/lib/debug/usr/bin/make-roken.debug ===> kerberos5/lib/libroken (obj,all,install) [Creating objdir /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/kerberos5/lib/libroken...] make-roken > roken.h *** Signal 11 Stop. make[3]: stopped in /usr/src/kerberos5/lib/libroken *** Error code 1 *** Error code 1 *** Error code 1 Usr: 399.369s Krnl: 9.440s Totl: 6:48.81s CPU: 99.9% swppd: 0 I/O: 2907+51057 This machine built 12.2-p4 two days ago and the failure is always on the same point so I do not suspect random HW failure but of course it can be new HW problem. Kind regards Miroslav Lachman ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: build failed for 12.2-p5
On 27 Mar 2021, at 12:39, Miroslav Lachman <000.f...@quip.cz> wrote: > > I compiled 12.2-p4 from sources 2 days ago but any attempt to build update > for 12.2-p5 ends with error. > > Previous build was done on 11.4: > > # cd /usr/src/ > # git clone https://github.com/freebsd/freebsd.git -b releng/12.2 ./ > # make buildworld > # make buildkernel > > 11.4 machine was upgraded to 12.2 (I did also run mergemaster) so now I have > FreeBSD 12.2-RELEASE-p4 amd64 GENERIC > > # cd /usr/src/ > # git pull --ff-only > # make -DNO_CLEAN buildworld > > it ends with the following error > > sh /usr/src/tools/install.sh -s -o root -g wheel -m 555 xinstall > /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin/install > sh /usr/src/tools/install.sh -o root -g wheel -m 444 install.debug > /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/lib/debug/usr/bin/install.debug > *** Signal 11 You'll need to debug the core dump to see what it segfaulted on. In this case, I would first suspect the hardware. Run a full memtest86 for 24 hours to see if it results in any errors. > Stop. > make[3]: stopped in /usr/src/usr.bin/xinstall > *** Error code 1 > > Usr: 437.951s Krnl: 15.620s Totl: 7:48.92s CPU: 96.7% swppd: 0 I/O: > 55800+84576 > > I tried without -DNO_CLEAN but it failed again > > sh /usr/src/tools/install.sh -o root -g wheel -m 444 make-roken.debug > /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/lib/debug/usr/bin/make-roken.debug > ===> kerberos5/lib/libroken (obj,all,install) > [Creating objdir > /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/kerberos5/lib/libroken...] > make-roken > roken.h > *** Signal 11 This won't help you at all, if the first build failed then there is no reason the next will work. If your hardware is faulty then you will only run into random errors like this, which is why I would suggest checking your hardware first. Now, the roken.h file that was produced is obviously prematurely cut off, which is almost certainly the cause for the next failure: > # make -DNO_CLEAN buildkernel > > cc -O2 -pipe -fno-common -I/usr/src/crypto/heimdal/lib/roken -I. > -DHAVE_CONFIG_H -I/usr/src/kerberos5/include -g -MD -MF.depend.copyhostent.o > -MTcopyhostent.o -std=gnu99 -Qunused-arguments > -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -c > /usr/src/crypto/heimdal/lib/roken/copyhostent.c -o copyhostent.o > /usr/src/crypto/heimdal/lib/roken/copyhostent.c:42:1: error: unknown type name > 'ROKEN_LIB_FUNCTION' > ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL > ^ > /usr/src/crypto/heimdal/lib/roken/copyhostent.c:42:51: error: expected ';' > after top level > declarator > ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL > ^ > ; Since the roken.h file is bad, it won't compile. Delete the bad roken.h, or maybe your entire /usr/obj, and after your hardware turns out to be okay, try again. -Dimitry signature.asc Description: Message signed with OpenPGP
build failed for 12.2-p5
I compiled 12.2-p4 from sources 2 days ago but any attempt to build update for 12.2-p5 ends with error. Previous build was done on 11.4: # cd /usr/src/ # git clone https://github.com/freebsd/freebsd.git -b releng/12.2 ./ # make buildworld # make buildkernel 11.4 machine was upgraded to 12.2 (I did also run mergemaster) so now I have FreeBSD 12.2-RELEASE-p4 amd64 GENERIC # cd /usr/src/ # git pull --ff-only # make -DNO_CLEAN buildworld it ends with the following error sh /usr/src/tools/install.sh -s -o root -g wheel -m 555 xinstall /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin/install sh /usr/src/tools/install.sh -o root -g wheel -m 444 install.debug /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/lib/debug/usr/bin/install.debug *** Signal 11 Stop. make[3]: stopped in /usr/src/usr.bin/xinstall *** Error code 1 Usr: 437.951s Krnl: 15.620s Totl: 7:48.92s CPU: 96.7% swppd: 0 I/O: 55800+84576 I tried without -DNO_CLEAN but it failed again sh /usr/src/tools/install.sh -o root -g wheel -m 444 make-roken.debug /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/lib/debug/usr/bin/make-roken.debug ===> kerberos5/lib/libroken (obj,all,install) [Creating objdir /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/kerberos5/lib/libroken...] make-roken > roken.h *** Signal 11 Stop. make[3]: stopped in /usr/src/kerberos5/lib/libroken *** Error code 1 Usr: 398.859s Krnl: 10.054s Totl: 7:07.24s CPU: 95.7% swppd: 0 I/O: 8544+51057 OK I deleted all sources and clone again # git clone https://github.com/freebsd/freebsd.git -b releng/12.2 ./ # make buildworld objcopy --only-keep-debug make-roken.full make-roken.debug objcopy --strip-debug --add-gnu-debuglink=make-roken.debug make-roken.full make-roken sh /usr/src/tools/install.sh -s -o root -g wheel -m 555 make-roken /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin/make-roken sh /usr/src/tools/install.sh -o root -g wheel -m 444 make-roken.debug /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/lib/debug/usr/bin/make-roken.debug ===> kerberos5/lib/libroken (obj,all,install) [Creating objdir /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/kerberos5/lib/libroken...] make-roken > roken.h *** Signal 11 Stop. make[3]: stopped in /usr/src/kerberos5/lib/libroken *** Error code 1 Usr: 399.257s Krnl: 9.732s Totl: 6:49.00s CPU: 99.9% swppd: 0 I/O: 3080+51057 # make -DNO_CLEAN buildkernel cc -O2 -pipe -fno-common -I/usr/src/crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/include -g -MD -MF.depend.copyhostent.o -MTcopyhostent.o -std=gnu99 -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -c /usr/src/crypto/heimdal/lib/roken/copyhostent.c -o copyhostent.o /usr/src/crypto/heimdal/lib/roken/copyhostent.c:42:1: error: unknown type name 'ROKEN_LIB_FUNCTION' ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL ^ /usr/src/crypto/heimdal/lib/roken/copyhostent.c:42:51: error: expected ';' after top level declarator ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL ^ ; 2 errors generated. *** Error code 1 Stop. make[3]: stopped in /usr/src/kerberos5/lib/libroken *** Error code 1 What can caused this error? Am I the only one who cannot build 12.2-p5? Kind regards Miroslav Lachman ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"