From owner-freebsd-current@FreeBSD.ORG Mon Oct 11 18:58:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D34816A4CF; Mon, 11 Oct 2004 18:58:23 +0000 (GMT) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC47943D45; Mon, 11 Oct 2004 18:58:22 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222])i9BIwFsx032017; Mon, 11 Oct 2004 14:58:15 -0400 Message-ID: <416AD7CD.4020202@root.org> Date: Mon, 11 Oct 2004 11:58:21 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040901) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <416A0CD4.7040309@root.org> <20041011074425.GB62985@ip.net.ua> In-Reply-To: <20041011074425.GB62985@ip.net.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD Current Subject: Re: buildworld fails in libbsnmp X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 18:58:23 -0000 Ruslan Ermilov wrote: > On Sun, Oct 10, 2004 at 09:32:20PM -0700, Nate Lawson wrote: > >>I did some searching and can't find this in the archive. I already >>hacked around the problem of gensnmptree being run from /usr/sbin (not >>the /usr/obj build tree). >> > > gensnmptree is properly bootstrapped and run from ${WORLDTMP} if so > necessary, here's an excerpt from Makefile.inc1: > > : .if ${BOOTSTRAPPING} < 502128 > : _gensnmptree= usr.sbin/bsnmpd/gensnmptree > : .endif > > If your /usr/include/osreldate.h fools buildworld into thinking it's > running on a more recent system than you actually have, then you can > try to "fix" it by passing the OSRELDATE knob of "make buildworld" > the correct value of your __FreeBSD_version. If unsure, you can > always do: > > make buildworld OSRELDATE=0 Thanks, Ruslan. I made the mistake of doing a make install for includes so that I could build/install gensnmptree since buildworld was failing there. This bumped OSRELDATE past that epoch, causing that other build failure. -Nate