From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 13:45:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 467FA16A420 for ; Tue, 22 Jan 2008 13:45:34 +0000 (UTC) (envelope-from netslists@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id B081D13C458 for ; Tue, 22 Jan 2008 13:45:33 +0000 (UTC) (envelope-from netslists@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2374989fgg.35 for ; Tue, 22 Jan 2008 05:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=/3Ez4AqhSpkYDAclA+ZDjntqRBoKmf47hQOpcP5zBcU=; b=Zvg9R98q9JApCluXzMpHsdTB0CBnOBWr4sp5y+0IeYHdzTUmM6UqkDEacQJcWFxMsXjvBVlal/SUqQLtXDudVHRfaTzlFXjahQNNdGj6RUb3BNWejuS9FlppAKdbxjZImyNrL1O0svvw4YZXWZZq0GfuJF5UlP1eXfTiTKp/Kgw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=rdf2+QMF1Zrceqpp+ZxRAZIgD8akm5q8CJONSHdHdyybupnsWRrLLO/WPJzBtqNnMZm9dDpUHpn8lmtLtG9lQ26wjdAgg7xw3/xALt15gi5Our/FwWuJS4n+ltTSnVUUKsFA1+5lo66OgPvx4DWzgrH6Y3pAapORherVmSd5khU= Received: by 10.86.97.7 with SMTP id u7mr7658066fgb.54.1201009532478; Tue, 22 Jan 2008 05:45:32 -0800 (PST) Received: from ?192.168.9.8? ( [91.135.49.10]) by mx.google.com with ESMTPS id 3sm13794990fge.7.2008.01.22.05.45.30 (version=SSLv3 cipher=RC4-MD5); Tue, 22 Jan 2008 05:45:31 -0800 (PST) Message-ID: <4795F37B.4040908@gmail.com> Date: Tue, 22 Jan 2008 14:45:31 +0100 From: Sten Daniel Soersdal User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Updating older 7.0 to newer sources, local buildworld problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 13:45:34 -0000 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