Re: Repeated build failures in expr due to yyparse
--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--
討論串 (同標題文章)
完整討論串 (本文為第 3 之 4 篇):