Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2012 11:42:33 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        current@freebsd.org
Subject:   Re: Repeated build failures in expr due to yyparse
Message-ID:  <20120528084233.GY2358@deviant.kiev.zoral.com.ua>
In-Reply-To: <BE417E61-0794-4E0A-AC6E-1217F9E1571A@lists.zabbadoz.net>
References:  <BE417E61-0794-4E0A-AC6E-1217F9E1571A@lists.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--HKe5j6ME4JFNTkrH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> 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 ?
>=20
> =3D=3D=3D> 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 fu=
nction '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
>=20
>=20
> --=20
> Bjoern A. Zeeb                                 You have to have visions!
>    It does not matter how good you are. It matters what good you do!
>=20
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

--HKe5j6ME4JFNTkrH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAk/DOnkACgkQC3+MBN1Mb4jWtQCfRLnEaEAbK8wfnxAfVAtFHQcC
vToAoLCXTmILVNRqyiBXux8+MC2h0nxp
=cIu1
-----END PGP SIGNATURE-----

--HKe5j6ME4JFNTkrH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120528084233.GY2358>