Re: persistent problem with buildworld on -CURRENT

From: Tom Evans <tevans.uk_at_googlemail.com>
Date: Thu, 07 Jun 2007 16:05:36 +0100
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_at_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.
> | > 
> | > <snip>
> | [...]
> | > ===> 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/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"' -DHAVE_ICONV -Wno-pointer-sign /usr/src/bin/csh/../../contrib/tcsh/tc.const.c /usr/src/bin/csh/../../contrib/tcsh/sh.char.h /usr/src/bin/csh/config.h /usr/src/bin/csh/../../contrib/tcsh/config_f.h /usr/src/bin/csh/../../contrib/tcsh/sh.types.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='"/bin/csh"' -DHAVE_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
> | > 
> | > Stop in /usr/src/bin/csh.
> | > *** Error code 1
> | 
> | Are you running make(1) with -j options?  If yes, what are they?
> 
> No. I don't define any compiler optimizations at all. Never done it
> ever!
> 
> | Another thing to check is that you have permissions to write in the
> | "/usr/obj" tree, while doing the build (or wherever ${MAKEOBJDIRPREFIX}
> | points).
> 
> Well, I simply do the following (as root):
> cd /usr/src
> make buildworld | tee ./buildworld.txt | tail -n 20 | mail root &
> 
> Root, as by default, has write access to every part of this system:-)
> 
> I am so stumped as to why I encounter this failure.
> 
> 
> -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.


Received on Thu Jun 07 2007 - 13:05:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC