From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 17:49:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19596DAA for ; Wed, 5 Dec 2012 17:49:29 +0000 (UTC) (envelope-from david.i.noel@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id CA0CB8FC0C for ; Wed, 5 Dec 2012 17:49:28 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id 16so6767536obc.13 for ; Wed, 05 Dec 2012 09:49:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Hou4DyhfxonGI91JBg6oVx9rEKqvZfWrxvc7pw6PaoI=; b=TVcOdX8B0WgFcnGTjfblwbdxq1mhIEnE0SXTnphXwJ2e9T7uC+ZFffVrU5rc8NO37X +FOVBFvYyB8yCsCSt/uYC8paSF1lXElZmLOjyZB5Dp/Jj9eUogC8zrlc55veGYRLI0qj zM2ina63zUpQ2Pg/do5lGNmFEGe/d0MsSpMGaex1NKZtzmRNU6cwaYlpgRa0ZWEh9QJq DX0j1KyQu8O9NNAOHI2EJhRJFlHkh0ZhcFlu5+94E4ll0aBvGByYis9YjhDWRM0sFXet VC58Gtvj9lB313lmDe/QicFp97xDCn29i3zoMAz7E+1eLhapv1/UX5ufn7lgcRvp6Gxk uSxg== MIME-Version: 1.0 Received: by 10.60.3.168 with SMTP id d8mr12213236oed.112.1354729767993; Wed, 05 Dec 2012 09:49:27 -0800 (PST) Received: by 10.76.172.98 with HTTP; Wed, 5 Dec 2012 09:49:27 -0800 (PST) In-Reply-To: References: <3DE339B11CC937D606BD7028@Pauls-MacBook-Pro.local> Date: Wed, 5 Dec 2012 11:49:27 -0600 Message-ID: Subject: Re: installworld strangeness From: David Noel To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: David.I.Noel@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 17:49:29 -0000 On 11/22/12, David Noel wrote: > On 11/22/12, Paul Schmehl wrote: >> --On November 22, 2012 7:14:35 AM -0600 David Noel >> >> >> wrote: >> >>> Updating from 8.2 to 8.3 I'm running into the following: >>> >>> ===> include (install) >>> creating osreldate.h from newvers.sh >>> dirname: not found >>> *** Error code 127 >>> >>> 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. >>> >>> Has anyone managed to work past this error message? >> >> I just upgraded a system from 8.2 to 8.3 without a problem. World build >> find as did kernel. >> >> It sounds like you're missing source files. >> >> Try fetching the source from svn and starting over. >> >> svn co svn://svn.freebsd.org/base/releng/8.3/ /usr/src >> >> Paul Schmehl, Senior Infosec Analyst >> > > I pulled with `svn co https://svn0.us-west.FreeBSD.org/base/releng/8.3 > /usr/src`, so everything should be in order there. > Out of frustration I resorted to the last measure of a clean install. I was afraid that I'd forgotten to record other filesystem changes and that they were causing the error so I figured it would be the easiest way to be sure. There was one mention of this error message on the questions mailing list that I'd missed earlier. In it the theory that file dates were causing the error message was discussed. Prior to reinstallation I ran `make -d A installworld` and in the verbose output was given a message supporting that theory: that the error was caused by sys/param.h being newer than osreldate.h, so it seems safe to say that was the cause. In retrospect though it seems strange. If that really was the case it makes little sense that a clean install would fix things. I built off of the exact same code so it stands to reason that error message should have presented itself again were the dates truly the cause. So I'm not entirely certain, unfortunately. At any rate, the problem has been resolved. For future readers struggling with a similar problem I'd suggest fiddling with the date-stamps to see if it resolves the error. Thanks, all. -David