Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 13:24:43 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-stable stable <freebsd-stable@freebsd.org>
Subject:   Re: build failed for 12.2-p5
Message-ID:  <ebe08860-1fa2-09a4-953b-9db639e5aa03@quip.cz>
In-Reply-To: <392639F2-04C0-4953-B706-B9F27CD3826B@FreeBSD.org>
References:  <4dd371b4-7135-fc0d-ce62-ae68467cb289@quip.cz> <392639F2-04C0-4953-B706-B9F27CD3826B@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27/03/2021 12:57, Dimitry Andric wrote:
> On 27 Mar 2021, at 12:39, Miroslav Lachman <000.fbsd@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ebe08860-1fa2-09a4-953b-9db639e5aa03>