persistent problem with buildworld on -CURRENT

Tom Evans tevans.uk at googlemail.com
Thu Jun 7 15:05:44 UTC 2007


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070607/e63267b5/attachment.pgp


More information about the freebsd-current mailing list