Date: Thu, 07 Jun 2007 16:05:36 +0100 From: Tom Evans <tevans.uk@googlemail.com> To: Odhiambo Washington <wash@wananchi.com> Cc: current@FreeBSD.org Subject: Re: persistent problem with buildworld on -CURRENT Message-ID: <1181228736.48432.6.camel@localhost> In-Reply-To: <20070529071901.GD2256@ns2.wananchi.com> References: <20070528140644.GB94266@ns2.wananchi.com> <20070528164504.GD2188@kobe.laptop> <20070529071901.GD2256@ns2.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-DRNmDwt9sbyxCqCjRXys
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Tue, 2007-05-29 at 10:19 +0300, Odhiambo Washington wrote:
> * On 28/05/07 19:45 +0300, Giorgos Keramidas wrote:
> | On 2007-05-28 17:06, Odhiambo Washington <wash@wananchi.com> wrote:
> | > What could I be missing, so that buildworld always fails for me?
> | > This is -current, sources as of today (20070528).
> | > I believe it is something I am missing.
> | > This is an HP DC 7600...and I am running FreeBSD within vmware,
> | > which I must swear I have done before, until I decided I had
> | > dirty-fied my system and so needed to start afresh.
> | >=20
> | > <snip>
> | [...]
> | > =3D=3D=3D> bin/csh (depend)
> | > grep '[FV]_' /usr/src/bin/csh/../../contrib/tcsh/ed.defns.c | grep '^=
#define' >> ed.defns.h
> | > cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh -I/usr/s=
rc/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL=3D'"/bin/csh"' -DHAVE_ICONV -=
Wno-pointer-sign /usr/src/bin/csh/../../contrib/tcsh/tc.const.c /usr/src/bi=
n/csh/../../contrib/tcsh/sh.char.h /usr/src/bin/csh/config.h /usr/src/bin/c=
sh/../../contrib/tcsh/config_f.h /usr/src/bin/csh/../../contrib/tcsh/sh.typ=
es.h sh.err.h -D_h_tc_const | grep 'Char STR' | sed -e 's/Char \([a-zA-Z0-=
9_]*\)\(.*\)/extern Char \1[];/' | sort >> tc.const.h
> | > cc -o gethost -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh=
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL=3D'"/bin/csh"' -DHAV=
E_ICONV -Wno-pointer-sign /usr/src/bin/csh/../../contrib/tcsh/gethost.c
> | > ./gethost /usr/src/bin/csh/host.defs >> tc.defs.c
> | > *** Error code 1
> | >=20
> | > Stop in /usr/src/bin/csh.
> | > *** Error code 1
> |=20
> | Are you running make(1) with -j options? If yes, what are they?
>=20
> No. I don't define any compiler optimizations at all. Never done it
> ever!
>=20
> | Another thing to check is that you have permissions to write in the
> | "/usr/obj" tree, while doing the build (or wherever ${MAKEOBJDIRPREFIX}
> | points).
>=20
> Well, I simply do the following (as root):
> cd /usr/src
> make buildworld | tee ./buildworld.txt | tail -n 20 | mail root &
>=20
> Root, as by default, has write access to every part of this system:-)
>=20
> I am so stumped as to why I encounter this failure.
>=20
>=20
> -Wash
So was I, as there was no actual error in your log - and I see why now.
You are only redirecting standard output, not standard error, so the
error message as to why the build failed has been lost. In future do:
cd /usr/src
make buildworld 2>&1 | tee ./buildworld.txt | tail -n 20 | mail root &
and then at least we'd see the error.
--=-DRNmDwt9sbyxCqCjRXys
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQBGaB6/lcRvFfyds/cRAuBPAKCFMb/RUNvfWCPvTVrN4LM9KtTVbQCgn+sX
MM8Kg0aWyAUVweWRYz5tNvQ=
=CRBj
-----END PGP SIGNATURE-----
--=-DRNmDwt9sbyxCqCjRXys--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1181228736.48432.6.camel>
