From owner-freebsd-questions Tue Nov 12 14:46: 8 2002 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 E874837B401 for ; Tue, 12 Nov 2002 14:46:05 -0800 (PST) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C27243E7B for ; Tue, 12 Nov 2002 14:46:05 -0800 (PST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org ([24.147.188.198]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021112224447.EKMC24365.rwcrmhc51.attbi.com@be-well.ilk.org>; Tue, 12 Nov 2002 22:44:47 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.6/8.12.6) with ESMTP id gACMinNX046650; Tue, 12 Nov 2002 17:44:49 -0500 (EST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.6/8.12.6/Submit) id gACMinnp046647; Tue, 12 Nov 2002 17:44:49 -0500 (EST) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: Jeffrey Lyon Cc: questions@FreeBSD.ORG Subject: Re: Upgrading from 4.6-RELEASE to 4.7-STABLE References: <05bf01c28a52$d8413a60$7f543944@chstfld1.va.home.com> From: Lowell Gilbert Date: 12 Nov 2002 17:44:48 -0500 In-Reply-To: <05bf01c28a52$d8413a60$7f543944@chstfld1.va.home.com> Message-ID: <441y5qmmqn.fsf@be-well.ilk.org> Lines: 66 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jeffrey Lyon writes: > While trying to upgrade from 4.6-RELEASE to 4.7-STABLE I get the following > error (during make world): > > ===> etc/sendmail > rm -f freebsd.cf > (cd /usr/src/etc/sendmail && > m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ > /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 freebsd.mc) > > freebsd.cf > chmod 444 freebsd.cf > make: no target to make. > "/usr/src/Makefile.inc1", line 140: warning: "make -f /dev/null -m > /usr/src/share/mk CPUTYPE=dummy -V CPUTYPE" returned non-zero status > Checking to see if your booted kernel is fresh enough.. > /usr/obj/usr/src/bin/sh/sh -c 'echo "Testing installed kernel for new > sigaction(2) syscall"' > Bad system call - core dumped > *** Error code 140 Looks like a mismatch between the system and the sources being handled. That shouldn't be a problem for buildworld, though: what command were you executing, exactly? > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > Here is my current uname: 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #0 > > and my supfile: > > *default tag=RELENG_4_7 > *default host=cvsup16.FreeBSD.org > *default prefix=/usr > *default base=/usr > *default release=cvs tag=. earlier, you said tag=RELENG_4_7, now you're saying tag=. So I think you ended up downloading -CURRENT sources, not at all what you wanted. > *default delete use-rel-suffix > > src-all > > My intent was to go: > > make buildworld > make installworld > /usr/sbin/config KERNEL > cd ../../compile/KERNEL > make depend > make > make install > reboot > > Am I going about this in the wrong way? Any guidance? Well, the recommended upgrade procedure would be to use buildkernel and installkernel, then reboot under the new kernel before doing the installworld. Plus running mergemaster. Good luck. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message