Date: Sat, 21 Jul 2007 13:21:19 +1000 From: "Lance Myatt" <lance.myatt@gmail.com> To: freebsd-current@freebsd.org Subject: buildworld failing for csh Message-ID: <e4f150f30707202021i7857861anc1ec8bb77c7a587f@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all,
I am attempting to upgrade from STABLE to CURRENT for the first time.
However, buildworld fails just after the start of Stage 2.3, while building csh.
I've tried deleting /usr/obj and deleting/retrieving the whole source
tree again.
Contents of make.conf:
CPUTYPE?=pentium2
NO_PROFILE=
Error log:
cc -E -O1 -pipe -I. -I/usr/src/bin/csh
-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"'
-DHAVE_ICONV -I/usr/obj/usr/src/tmp/legacy/usr/include
/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
In file included from /usr/src/bin/csh/config.h:235,
from /usr/src/bin/csh/../../contrib/tcsh/sh.h:36,
from /usr/src/bin/csh/../../contrib/tcsh/tc.const.c:33:
/usr/src/bin/csh/../../contrib/tcsh/config_f.h:63:1: warning: "NLS" redefined
In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:36,
from /usr/src/bin/csh/../../contrib/tcsh/tc.const.c:33:
/usr/src/bin/csh/config.h:180:1: warning: this is the location of the
previous definition
In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:366,
from /usr/src/bin/csh/../../contrib/tcsh/tc.const.c:33:
/usr/include/varargs.h:34:2: #error "<varargs.h> is obsolete with this
version of GCC."
/usr/include/varargs.h:35:2: #error "Change your code to use
<stdarg.h> instead."
In file included from /usr/src/bin/csh/config.h:235:
/usr/src/bin/csh/../../contrib/tcsh/config_f.h:63:1: warning: "NLS" redefined
/usr/src/bin/csh/config.h:180:1: warning: this is the location of the
previous definition
cc -o gethost -L/usr/obj/usr/src/tmp/legacy/usr/lib -O1 -pipe -I.
-I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh
-D_PATH_TCSHELL='"/bin/csh"' -DHAVE_ICONV
-I/usr/obj/usr/src/tmp/legacy/usr/include
/usr/src/bin/csh/../../contrib/tcsh/gethost.c
In file included from /usr/src/bin/csh/config.h:235,
from /usr/src/bin/csh/../../contrib/tcsh/sh.h:36,
from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/src/bin/csh/../../contrib/tcsh/config_f.h:63:1: warning: "NLS" redefined
In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:36,
from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/src/bin/csh/config.h:180:1: warning: this is the location of the
previous definition
In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:366,
from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/include/varargs.h:34:2: #error "<varargs.h> is obsolete with this
version of GCC."
/usr/include/varargs.h:35:2: #error "Change your code to use
<stdarg.h> instead."
In file included from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/src/bin/csh/../../contrib/tcsh/sh.h:484: error: syntax error
before '*' token
In file included from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/src/bin/csh/../../contrib/tcsh/sh.h:750: error: syntax error
before "parintr"
/usr/src/bin/csh/../../contrib/tcsh/sh.h:750: warning: data definition
has no type or storage class
/usr/src/bin/csh/../../contrib/tcsh/sh.h:751: error: syntax error
before "parterm"
/usr/src/bin/csh/../../contrib/tcsh/sh.h:751: warning: data definition
has no type or storage class
In file included from /usr/src/bin/csh/../../contrib/tcsh/tc.h:42,
from /usr/src/bin/csh/../../contrib/tcsh/sh.h:1252,
from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/src/bin/csh/../../contrib/tcsh/tc.decls.h:90: error: syntax error
before "alrmcatch"
/usr/src/bin/csh/../../contrib/tcsh/tc.decls.h:90: warning: data
definition has no type or storage class
In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:1304,
from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
/usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:45: error: syntax error
before "pintr"
/usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:45: warning: data
definition has no type or storage class
/usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:314: error: syntax
error before "pchild"
/usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:314: warning: data
definition has no type or storage class
*** Error code 1
Stop in /usr/src/bin/csh.
*** Error code 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e4f150f30707202021i7857861anc1ec8bb77c7a587f>
