Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2008 14:45:31 +0100
From:      Sten Daniel Soersdal <netslists@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Updating older 7.0 to newer sources, local buildworld problems
Message-ID:  <4795F37B.4040908@gmail.com>

next in thread | raw e-mail | index | archive | help
I'm having troubles updating my buildworld and i've had troubles 
narrowing it down on google.

My question is:

Is there any way i could update the system in the state it is now?
(Preferably without reinstalling the entire system from scratch.)

PS. I've heard about freebsd-update but never got it to work (see below)



INFORMATION:

Initial sources where built sometime before september 19.

uname -a
-------------------
FreeBSD alpha.arcticwireless.no 7.0-CURRENT-200706 FreeBSD 
7.0-CURRENT-200706 #0: Sat Jun 30 00:13:20 CEST 2007 
root@alpha.arcticwireless.no:/usr/obj/usr/src/sys/ALPHA  i386

gcc -v:
--------------------
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.0 20070514 [FreeBSD]

freebsd-update fetch:
---------------------
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.


I update by issuing (i want to build GENERIC);

make buildworld && make kernel && mergemaster -p && reboot
[singleuser mode]
make installworld && mergemaster

the error i get is:

echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/cp/cp-objcp-common.c\", 
"                                              >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/objc/objc-act.h\", 
"                                           >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-parser.c\", 
"                                                >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-tree.h\", 
"                                          >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-decl.c\", 
"                                          >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-objc-common.c\", 
"                                           >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-common.c\", 
"                                                >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-common.h\", 
"                                                >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-pragma.c\", 
"                                                >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/objc/objc-act.c\", 
"                                           >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-lang.c\", 
"                                          >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-tree.h\", 
"                                          >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-decl.c\", 
"                                          >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-common.c\", 
"                                                >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-common.h\", 
"                                                >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-pragma.c\", 
"                                                >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-objc-common.c\", 
"                                           >> gtyp-gen.h
echo 
"\"/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-parser.c\", 
"                                                >> gtyp-gen.h
echo "NULL};"                                           >> gtyp-gen.h
echo "static const char * const lang_dir_names[] = {"   >> gtyp-gen.h
echo "\"c\", "                                          >> gtyp-gen.h
echo "\"cp\", "                                         >> gtyp-gen.h
echo "\"objc\", "                                               >> 
gtyp-gen.h
echo "NULL};"                                           >> gtyp-gen.h
cc -O2 -fno-strict-aliasing -pipe -I. -DIN_GCC -DHAVE_CONFIG_H 
-DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/include 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber 
-g -DGENERATOR_FILE -DHAVE_CONFIG_H 
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c
In file included from ./tm.h:4,
                  from 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c:24:
./options.h:901: error: redeclaration of enumerator 'OPT_w'
./options.h:899: error: previous definition of 'OPT_w' was here
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


-- 
Sten Daniel Soersdal



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