Repeated build failures in expr due to yyparse

Konstantin Belousov kostikbel at
Mon May 28 08:42:44 UTC 2012

On Sun, May 27, 2012 at 11:14:40PM +0000, Bjoern A. Zeeb wrote:
> Running a make -s -j5 buildworld;  cleaned the entire obj tree meanwhile.
> Builds are running on a slightly older HEAD thought with an updated libc
> and some headers.
> I can reproduce this all the time.  Buildworld at this stage should be
> self-contained, right?  So why is it failing?
Can it be because you broke your system by 'updating libc and some headers' ?
The cross-tools build is conditional on the host system OSRELDATE (see
OSRELDATE and BOOTSTRAPPING story in src/Makefile.inc1). The new yacc
bootstrap build is enabled only if your __FreeBSD_version is less then
1000013. So if the host yacc is older (before recent import), but system
headers identify the host as newer, you get an error.

Why did you 'updated libc and some headers' at all ?
> ===> bin/expr (all)
> cc1: warnings being treated as errors
> /zoo/bz/HEAD.svn/bin/expr/expr.y: In function 'main':
> /zoo/bz/HEAD.svn/bin/expr/expr.y:291: warning: implicit declaration of function 'yyparse'
> /zoo/bz/HEAD.svn/bin/expr/expr.y:291: warning: nested extern declaration of 'yyparse'
> expr.c: At top level:
> expr.c:813: warning: no previous prototype for 'yyparse'
> *** Error code 1
> -- 
> Bjoern A. Zeeb                                 You have to have visions!
>    It does not matter how good you are. It matters what good you do!
> _______________________________________________
> freebsd-current at mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list