From owner-freebsd-questions@FreeBSD.ORG Fri Apr 22 03:56:19 2005 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 89D3716A4CE for ; Fri, 22 Apr 2005 03:56:19 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D50A43D1F for ; Fri, 22 Apr 2005 03:56:19 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 21 Apr 2005 22:55:09 -0500 Message-ID: <426875DF.5090606@daleco.biz> Date: Thu, 21 Apr 2005 22:56:15 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: madsen@vijit.com References: <20050422031032.23192.qmail@eunited.vijit.com> In-Reply-To: <20050422031032.23192.qmail@eunited.vijit.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Apr 2005 03:55:09.0750 (UTC) FILETIME=[140DBD60:01C546EF] cc: freebsd-questions@freebsd.org Subject: Re: Unassociated shell command when building kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 03:56:19 -0000 madsen@vijit.com wrote: >I've been cvsup'ing the kernel regularly (standard-supfile) for >quite a while. About maybe a month or so ago, when trying to do a >kernel build, I get what appear to be make errors with the error >message "Unassociated shell command". > >(A copy of the pertinent lines from the build log are below). > >The final "advice" from the script seems to be >"Run "make -f rescue.mk" to build crunched binary.", but I >cannot find "rescue.mk" anywhere. Perhaps that's my problem, but >I do not know, and I don't know enough about the kernel build system >to know how to debug this situation. > >1) If the problem is a missing rescue.mk, how/where can I get a >shiny new one? And secondly, what happened to the old one? Could >an update have munged it? > > > If there is an old one, it's in the object tree. But maybe there isn't, keep reading for my guess. >2) If that isn't the problem, how can I find out what is? > > > I'm thinking a perusal of /usr/src/UPDATING ... but IANAE. >3) Is there an FM that I can "RT" on how the kernel build system is >put together? Something that's more detailed than "newbie" but less >detailed than "kernel developer"? Right now, it's a black box and I'd >like to "grey it up" a little. > >4) In a perhaps associated issue, after cvsup'ing ports, "make fetchindex" >and portupgrade also get the same error message. > >Dave Madsen ---dcm >adsenmay atay ijitvay otday omcay > > My guess: it's likely your "make" is out of date. See /usr/ports/UPDATING, entry 20040728. If your "world" is older than that date, it's almost certainly the issue. OTOH, if you're building kernels often (say, monthly?) and your world is last July or earlier, I'd have thought the problem to be older than one month. Are you also regularly building world? They really need to be kept m/l in sync. Now, I could be wrong, and often am; but it's worth thinking about, and seems quite possible. Kevin Kinsey