Date: Fri, 24 Aug 2001 09:05:16 -0700 From: bmah@freebsd.org (Bruce A. Mah) To: Wilko Bulte <wkb@freebie.xs4all.nl> Cc: FreeBSD hackers list <FreeBSD-hackers@freebsd.org>, nik@freebsd.org, bmah@freebsd.org Subject: Re: building 'release' and compiling doc ports Message-ID: <200108241605.f7OG5GW49491@intruder.bmah.org> In-Reply-To: <20010824174016.A45724@freebie.xs4all.nl> References: <20010824174016.A45724@freebie.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1402843912P
Content-Type: text/plain; charset=us-ascii
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
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.
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).
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? :-)
/me ducks and covers.
Bruce.
--==_Exmh_1402843912P
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: Exmh version 2.3.1+ 05/14/2001
iD8DBQE7hns72MoxcVugUsMRAg0tAKDZzyeHvXIhuQVQNQHYZ55jnU4/BACfTehe
R2J3H4/zuMpDF6SsBgFhpnE=
=W+z/
-----END PGP SIGNATURE-----
--==_Exmh_1402843912P--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108241605.f7OG5GW49491>
