make world fails in usr.sbin/config?

Jeremy Chadwick freebsd at jdc.parodius.com
Mon May 24 13:13:50 UTC 2010


On Mon, May 24, 2010 at 02:59:01PM +0200, Stefan Bethke wrote:
> Am 24.05.2010 um 14:29 schrieb Jeremy Chadwick:
> 
> > All that said: I *have* seen the compiler error you've mentioned, but
> > usually a 2nd rebuild (after nuking /usr/obj/*) usually works.  Probably
> > some weird race condition.
> 
> It sure looks like it. Now that I've checked out again, the error has moved to:
> cc -O2 -pipe -DHAS_ISBLANK -I. -I/usr/src/usr.bin/awk/../../contrib/one-true-awk -DFOPEN_MAX=64   -I/usr/obj/usr/src/tmp/legacy/usr/include  -L/usr/obj/usr/src/tmp/legacy/usr/lib /usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c  -o maketab
> In file included from /usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c:35:
> ./ytab.h:98: warning: data definition has no type or storage class
> ./ytab.h:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'yylval'
> *** Error code 1
> 
> Stop in /usr/src/usr.bin/awk.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> Again, it appears as if YYSTYPE is defined but empty.  ytab.h looks a bit odd to me:
> 
> #define DECR 346
> #define INCR 347
> #define INDIRECT 348
> #define LASTTOKEN 349
>  YYSTYPE;
> extern YYSTYPE yylval;
> 
> Line 98 is " YYSTYPE;"

So now the problem has moved from usr.sbin/config to usr.sbin/awk?
Weird.  Usually this sort of thing indicates excessive clock skew (as in
rapidly skewing multiple seconds in bursts), or very strange filesystem
problems.

Is it possible for your /usr/obj to be made a UFS2 filesystem and for
you to re-try your build?

By the way, the buildworld + buildkernel I was running on the FreeBSD VM
box I have just finished -- no issues.  And that's with make -j2.
That's an 8.0-RELEASE machine which is being built to upgrade to
RELENG_8.

-- 
| Jeremy Chadwick                                   jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list