From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 17:34:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8312437B405 for ; Fri, 25 Apr 2003 17:34:25 -0700 (PDT) Received: from smtp-2.paradise.net.nz (smtp-2a.paradise.net.nz [202.0.32.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 261F343F3F for ; Fri, 25 Apr 2003 17:34:24 -0700 (PDT) (envelope-from rshea@thecubagroup.com) Received: from ss11232 (203-79-125-175.adsl.paradise.net.nz [203.79.125.175]) by smtp-2.paradise.net.nz (Postfix) with ESMTP id 6EC6D9EB09 for ; Sat, 26 Apr 2003 12:34:23 +1200 (NZST) From: "Richard Shea" To: freebsd-questions@freebsd.org Date: Sat, 26 Apr 2003 12:33:33 +1200 MIME-Version: 1.0 Message-ID: <3EAA7C9D.27993.4B04F58@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: CVSUP/buildworld problems - should I just FTP ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsdQ0@richardshea.fastmail.fm List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2003 00:34:26 -0000 Hi - I've been trying to update a 4.4 machine to 4.8. I understand it's good practice to do this one release at a time so I CVSup'd 4.5 Release [1]. I did a buildworld and got a compile error [2]. I then read [3] that rm'ing /usr/obj/usr was a good idea so I CVSup'd again, did the rm, did the buildworld and got the same error in the same place. I'm now about to remove /usr/src and /usr/obj and try again [4] but I've just wanted to check something first. If I'm going to remove /usr/src and /usr/obj wouldn't I be better off just FTP'ing the 4.8 release sources straight onto my machine and doing a buildworld on those ? I've heard the CVSuping a lot of source is quite inefficient and I think I'd be sucking in everything via CVSUP if I rm'd those two directories and then CVSup on 4.5 Release wouldn't I ? Anyone got any other idea about how to fix the compile that would be nice too. thanks richard [1] CVSUPFILE: *default host=cvsup.au.FreeBSD.org #default host=cvsup.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default tag=RELENG_4_5_0_RELEASE *default delete use-rel-suffix src-all *default tag=. #ports-all #doc-all [2] COMPILE ERRORS: cc -nostdinc -O -pipe -Wall -DLIBC_SCCS - I/usr/home/root/src/lib/libutil - I/usr/home/root/src/lib/libutil/../../sys -DINET6 -I/usr/obj/usr/home/root/src/i386/usr/include -c /usr/home/root/src/lib/libutil/login_times.c -o login_times.o /usr/home/root/src/lib/libutil/login_times.c: In function `parse_time': /usr/home/root/src/lib/libutil/login_times.c:52: warning: implicit declaration of function `isdigit' /usr/home/root/src/lib/libutil/login_times.c: In function `parse_lt': /usr/home/root/src/lib/libutil/login_times.c:78: warning: implicit declaration of function `tolower' /usr/home/root/src/lib/libutil/login_times.c:80: warning: implicit declaration of function `isalpha' /usr/home/root/src/lib/libutil/login_times.c: In function `in_ltm': /usr/home/root/src/lib/libutil/login_times.c:116: dereferencing pointer to incomplete type /usr/home/root/src/lib/libutil/login_times.c:118: dereferencing pointer to incomplete type /usr/home/root/src/lib/libutil/login_times.c:118: dereferencing pointer to incomplete type /usr/home/root/src/lib/libutil/login_times.c:120: dereferencing pointer to incomplete type /usr/home/root/src/lib/libutil/login_times.c:126: dereferencing pointer to incomplete type /usr/home/root/src/lib/libutil/login_times.c:127: dereferencing pointer to incomplete type /usr/home/root/src/lib/libutil/login_times.c:128: warning: implicit declaration of function `mktime' /usr/home/root/src/lib/libutil/login_times.c: In function `in_lt': /usr/home/root/src/lib/libutil/login_times.c:140: warning: implicit declaration of function `localtime' /usr/home/root/src/lib/libutil/login_times.c:140: warning: passing arg 2 of `in_ltm' makes pointer from integer without a cast /usr/home/root/src/lib/libutil/login_times.c: In function `in_lts': /usr/home/root/src/lib/libutil/login_times.c:159: warning: passing arg 2 of `in_ltms' makes pointer from integer without a cas t *** Error code 1 Stop in /usr/home/root/src/lib/libutil. *** Error code 1 Stop in /usr/home/root/src. *** Error code 1 Stop in /usr/home/root/src. *** Error code 1 Stop in /usr/home/root/src. [3] see second post in http://tinyurl.com/ackw [4] see fourth and fifth posts in http://tinyurl.com/ackz+++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++ The Cuba Group PO Box 1864 Wellington New Zealand PH +64 4 496 5205 MO +64 21 296 6839 FX +64 4 496 5209 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++