From owner-freebsd-current Mon Aug 13 10:24:27 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 49B4637B40F for ; Mon, 13 Aug 2001 10:24:18 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f7DHMBc03989; Mon, 13 Aug 2001 20:22:11 +0300 (EEST) (envelope-from ru) Date: Mon, 13 Aug 2001 20:22:11 +0300 From: Ruslan Ermilov To: Terry Lambert Cc: Mark Peek , Bruce Evans , Warner Losh , current@FreeBSD.ORG Subject: Re: Cross builds and upgrade path from 4.x are broken in usr.bin/file Message-ID: <20010813202211.B2099@sunbay.com> Mail-Followup-To: Terry Lambert , Mark Peek , Bruce Evans , Warner Losh , current@FreeBSD.ORG References: <20010810110151.B7988@sunbay.com> <20010810235643.Y23367-100000@besplex.bde.org> <20010810173751.B60193@sunbay.com> <20010810191407.A73485@sunbay.com> <20010810202300.A80439@sunbay.com> <3B757EA6.A69FF34B@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B757EA6.A69FF34B@mindspring.com>; from tlambert2@mindspring.com on Sat, Aug 11, 2001 at 11:51:18AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Aug 11, 2001 at 11:51:18AM -0700, Terry Lambert wrote: [...] > > > If this is really a goal, then you should redesign the > > > process and not put more and more tools into the "build tools" > > > category to work around these problems. > > > > Take a look at sysinstall/Makefile to have a better idea of what > > a "pure" build tool is, rtermcap. It is just the first incident > > (with file(1)) that it's also a build-tool for its own .mgc files. > > Mark is right, here. The idea of "build tools" is intrinsically > broken, given the goal (if it is a goal). > The build-tools stage is responsible for creating tools that are to be used only during `buildworld', and are not used/installed otherwise. The file(1) is special in that it produces the MD format, hence it is not suitable for build-tools. (I did not know that.) Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message