Re: Repeated build failures in expr due to yyparse

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Mon, 28 May 2012 11:42:33 +0300
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_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

Received on Mon May 28 2012 - 06:42:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC