Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2005 11:44:00 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Won't build. 5.4 to 6.0 ...
Message-ID:  <200512311144.00809.kstewart@owt.com>
In-Reply-To: <43c7d7777af8.43b66b00@broadpark.no>
References:  <43c7d7777af8.43b66b00@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 31 December 2005 02:26 am, Kristian Vaaf wrote:
> Can somebody please help me?
>
> I've been trying ever since 6.0-RELEASE to upgrade my 5.4-STABLE.
>

A few weeks back I did the upgrade with 2 or 3 computers. I had problems=20
but most of them were upgrading the ports to 6.0 versions. I would=20
cvsup, then cd in /usr/src and run "make cleandir" twice. Then, just to=20
make sure everything was clean, I would run cvsup of src-all again.

I would cd /usr/obj and rm -rf *. This gets rid of the last bits from=20
the last build and then I did the builds. When I did all of the above,=20
I got a build and install on the first try. The only item=20
in /etc/make.conf that affects the build was "NO_PROFILE=3Dtrue".=20

Kent

> --------------------------------------------------------------
>
> >>> stage 2.3: build tools
>
> --------------------------------------------------------------
> cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj  INSTALL=3D"sh
> /usr/src/tools/install.sh"=20
> PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy
>/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/u
>sr/bin  WORLDTMP=3D/usr/obj/usr/src/tmp  MAKEFLAGS=3D"-m
> /usr/src/tools/build/mk  -m /usr/src/share/mk"
> /usr/obj/usr/src/make.i386/make -f Makefile.inc1  DESTDIR=3D=20
> BOOTSTRAPPING=3D504100 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools
> =3D=3D=3D> bin/csh (obj,build-tools)
> grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep
> '^#define' >> sh.err.h cc -E -O2 -fno-strict-aliasing -pipe -I.
> -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh
> -D_PATH_TCSHELL=3D'"/bin/csh"'=20
> -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/../../contrib/tcsh/sh.h:93, from
> /usr/src/bin/csh/../../contrib/tcsh/tc.const.c:33:
> /usr/include/wchar.h:33:18: cwchar: No such file or directory cc -o
> gethost  -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2
> -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh
> -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL=3D'"/bin/csh"'=20
> -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/../../contrib/tcsh/sh.h:93, from
> /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
> /usr/include/wchar.h:33:18: cwchar: No such file or directory In file
> included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:93, from
> /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
> /usr/include/wchar.h:35: error: syntax error before "std"
> In file included from
> /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33:
> /usr/src/bin/csh/../../contrib/tcsh/sh.h:97: error: syntax error
> before "eChar" /usr/src/bin/csh/../../contrib/tcsh/sh.h:97: 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:221: error: syntax
> error before "readc"
> /usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:221: warning: data
> definition has no type or storage class *** Error code 1
>
> Stop in /usr/src/bin/csh.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>

=2D-=20
Kent Stewart
Richland, WA

"Nunca te acostar=E1s sin saber una cosa m=E1s"
http://users.owt.com/kstewart/index.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512311144.00809.kstewart>