From owner-freebsd-stable Mon Mar 24 14: 4:47 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A79B237B401 for ; Mon, 24 Mar 2003 14:04:41 -0800 (PST) Received: from ns1.webwarrior.net (overlord-host99.dsl.visi.com [209.98.86.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD11643F75 for ; Mon, 24 Mar 2003 14:04:40 -0800 (PST) (envelope-from friar_josh@webwarrior.net) Received: by ns1.webwarrior.net (Postfix, from userid 1003) id 22469253B3; Mon, 24 Mar 2003 16:04:40 -0600 (CST) Date: Mon, 24 Mar 2003 16:04:40 -0600 From: Josh Paetzel To: Lew A Cc: freebsd-stable@freebsd.org Subject: Re: Upgrading from 4.5 to 4.7 problems. Message-ID: <20030324220440.GD716@ns1.webwarrior.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Spam-Status: No, hits=-32.7 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 24, 2003 at 04:53:49PM -0500, Lew A wrote: > Hello, > > I've been running into a couple pathing problems during my installworld > while upgrading from 4.5p23 to 4.7. > > Here are all the problems I've had during the installworld, total of : > (Below is a list of the steps I took to do the upgrade) > > ;==> include/rpcsvc > rpcgen -C -h -DWANT_NFS3 /usr/src/include/rpcsvc/sm_inter.x -o sm_inter.h > rpcgen:No such file or directory > *** Error code 1 > > Stop in /usr/src/include/rpcsvc. > *** Error code 1 > > Stop in /usr/src/include. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > fixed, added /usr/bin/ in front of rpcgen, in include/rpcsvc/Makefile > > ---------- > > ===> games/fortune/datfiles > tr a-zA-Z n-za-mN-ZA-M < /usr/src/games/fortune/datfiles/fortunes-o.real > > fortunes-o > tr: not found > *** Error code 127 > > Stop in /usr/src/games/fortune/datfiles. > *** Error code 1 > > Stop in /usr/src/games/fortune. > *** Error code 1 > > Stop in /usr/src/games. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > fixed, added /usr/bin/ in front of tr, in > games/fortune/datfiles/Makefile > > ---------- > > ===> share/termcap > TERM=dumb TERMCAP=dumb: ex - /usr/src/share/termcap/termcap.src < > /usr/src/share/termcap/reorder > ex: not found > *** Error code 127 > > Stop in /usr/src/share/termcap. > *** Error code 1 > > Stop in /usr/src/share. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > fixed, added /usr/bin/ in front of ex, in share/termcap/Makefile > > ---------- > > ===> share/termcap > TERM=dumb TERMCAP=dumb: /usr/bin/ex - /usr/src/share/termcap/termcap.src < > /usr/src/share/termcap/reorder > cap_mkdb termcap > cap_mkdb:No such file or directory > *** Error code 1 > > Stop in /usr/src/share/termcap. > *** Error code 1 > > Stop in /usr/src/share. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > fixed, added /usr/bin/ in front of cap_mkdb, in share/termcap/Makefile > > --------------------------------------------------------------------------- > > These are the steps I use when doing the upgrade: > cd /usr/local/etc/cvsup > vi stable-supfile > change *default release=cvs tag=RELENG_4_5 > to *default release=cvs tag=RELENG_4_7 > cd /usr/src > make update > /usr/src/usr.sbin/mergemaster/mergemaster.sh -p > reboot into single usermode > mount -a > cd /usr/obj > chflags -R noschg * > rm -rf * > chflags noschg /bin /usr/bin /sbin /usr/sbin > cd /usr/src > make -j4 buildworld > make buildkernel > make installkernel > > reboot into single usermode > /sbin/mount -a > cd /usr/src > make installworld > su -l root > mergemaster > chflags schg /bin /usr/bin /sbin /usr/sbin > > reboot > test > > Thank you, > Lew A > GWI Operations > I've had problems with make buildworld bombing out on me using -j4 as a switch. It's always worked for me to rm -rf /usr/obj and restart the build using just plain make buildworld. Josh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message