From owner-freebsd-hackers Fri Aug 24 10: 8:30 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp7.xs4all.nl (smtp7.xs4all.nl [194.109.127.133]) by hub.freebsd.org (Postfix) with ESMTP id 419E437B403; Fri, 24 Aug 2001 10:08:09 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp7.xs4all.nl (8.9.3/8.9.3) with ESMTP id TAA09646; Fri, 24 Aug 2001 19:08:07 +0200 (CEST) Received: (from wkb@localhost) by freebie.xs4all.nl (8.11.4/8.11.4) id f7OH87t46142; Fri, 24 Aug 2001 19:08:07 +0200 (CEST) (envelope-from wkb) Date: Fri, 24 Aug 2001 19:08:07 +0200 From: Wilko Bulte To: "Bruce A. Mah" Cc: FreeBSD hackers list , nik@freebsd.org Subject: Re: building 'release' and compiling doc ports Message-ID: <20010824190806.A46103@freebie.xs4all.nl> References: <20010824174016.A45724@freebie.xs4all.nl> <200108241605.f7OG5GW49491@intruder.bmah.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200108241605.f7OG5GW49491@intruder.bmah.org>; from bmah@freebsd.org on Fri, Aug 24, 2001 at 09:05:16AM -0700 X-OS: FreeBSD 4.3-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 24, 2001 at 09:05:16AM -0700, Bruce A. Mah wrote: > If memory serves me right, Wilko Bulte wrote: > > I get the impression that even if a machine has the necessary docproj > > buildtools ports installed a 'make release' builds them from scratch > > again? Is this true? And why? > > Yes, it's true. We need to rebuild the docproj ports inside the chroot Why? Why can't the docs not be generated using the tools installed on the system? > area. There's one optimization made...anything in /usr/ports/distfiles > gets copied to the the chroot area's /usr/ports/distfiles. This can > save needing to fetch the distfiles for all of the docproj ports all > over again. And it appears to be broken too: In file included from gdcache.h:43, from gdft.c:35: /usr/include/malloc.h:2: warning: #warning "this file includes which is deprecated, use instead" gdft.c:36: freetype/freetype.h: No such file or directory gdft.c:37: freetype/ftglyph.h: No such file or directory *** Error code 1 Stop in /usr/ports/graphics/gd/work/gd-1.8.4. *** Error code 1 this is because 'gd' does not depend correctly on 'freetype2' a plain 'make' on the docproj port on Alpha fails in an identical fashion. > A little brainstorming... > > I wonder if we could hand the release building process a list of > packages to install before building docs? Like we could try to do > pkg_add for each of the ports defined in ${MINIMALDOCPORTS} (insert > hand-waving here to convert directory names to package filenames). This > introduces two problems...the release builder needs to have a set of > packages that's consistent with the requirement of the doc/ and src/ > release/doc trees (as well as the release being built). Second, it > introduces a Yet Another Knob To Tweak During Release Building (TM). Why not depend the make release on 'docproj-v.foo' and be done with it? And if it is lacking docproj and cannot build it either just continue the make release and leave the docs out? > Another, truly ugly way would be an option to tar up /usr/local and drop > it into the chroot area (yeah, this doesn't work for people who don't > install ports to /usr/local). > > > This takes bloody forever.. > > Observed with make release for RELENG_4 on Alpha. > > Now if I can crank out releases on my puny PII-400, surely an Alpha can > do it, right? :-) And this is not the puniest of Alphas, this is a 466MHz EV6 box. Most FreeBSD folks have (much) slower machines. > /me ducks and covers. gcc sucks on Alpha and hence the performance of it all leaves a bit to be desired. [understatement alert] Wilko -- | / o / / _ Arnhem, The Netherlands email: wilko@FreeBSD.org |/|/ / / /( (_) Bulte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message