build failed for 12.2-p5

Miroslav Lachman 000.fbsd at quip.cz
Sat Mar 27 12:24:48 UTC 2021


On 27/03/2021 12:57, Dimitry Andric wrote:
> On 27 Mar 2021, at 12:39, Miroslav Lachman <000.fbsd at 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


More information about the freebsd-stable mailing list