From owner-freebsd-current@FreeBSD.ORG Thu Jan 20 22:11:46 2011 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7699E106566B; Thu, 20 Jan 2011 22:11:46 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0C7F08FC15; Thu, 20 Jan 2011 22:11:45 +0000 (UTC) Received: from localhost (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by acme.spoerlein.net (8.14.4/8.14.4) with ESMTP id p0KMBhSI065827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Jan 2011 23:11:43 +0100 (CET) (envelope-from uqs@FreeBSD.org) Date: Thu, 20 Jan 2011 23:11:43 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Alexander Kabaev Message-ID: <20110120221142.GA65811@acme.spoerlein.net> Mail-Followup-To: Alexander Kabaev , current@FreeBSD.org, stable@FreeBSD.org References: <20110120201740.GE24444@acme.spoerlein.net> <20110120153103.50a86ad3@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <20110120153103.50a86ad3@kan.dnsalias.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: stable@FreeBSD.org, current@FreeBSD.org Subject: Re: RFC vgrind in base (and buildworld) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 20 Jan 2011 22:11:46 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 20.01.2011 at 15:31:03 -0500, Alexander Kabaev wrote: > On Thu, 20 Jan 2011 21:17:40 +0100 > Ulrich Sp=C3=B6rlein wrote: >=20 > > Hello, > >=20 > > Currently our buildworld relies on groff(1) and vgrind(1) being > > present in the host system. I have a patch ready that at least makes > > sure these are built during bootstrap-tools and completes the > > WITHOUT_GROFF flag. > >=20 > > vgrind(1) is only used for two papers under share/doc and we could > > easily expand the results and commit them to svn directly, alleviating > > the need to run vgrind(1) during buildworld. > >=20 > > OTOH, there are much more useful tools to vgrind(1) for source code > > formatting. So do we still have vgrind(1) users out there? > >=20 > > Regards, > > Uli >=20 > Why it needs to be in bootsrap tools at all? We have build tools for > this exact purpose. Because the legacy target has the nice semantics of calling a tool's obj,depend,all,install targets instead of doing only `all' or `build-tool'. We also currently set GROFF_BIN_PATH, GROFF_FONT_PATH, and GROFF_TMAC_PATH to point to ${WORLDTMP}/legacy/... so it was trivial to get groff working that way. I don't know the history of why we actually do this for groff (it is broken currently), therefore I simply piggy-backed onto that solution. I forgot the link earlier: https://www.spoerlein.net/cgit/cgit.cgi/freebsd.work/log/?h=3Dgroff I wish there was an easy way to cleanly have this as a build-tool. While we're at it: strfile similarly should be moved to a build-tool, not a bootstrap-tool, as it is also only used to as a pre-requisite to building fortune(6). If someone can come up with a policy of what should go where, I'll happily try to shoehorn the groff/vgrind/strfile things into it ... Uli --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNOLMeAAoJEKOmmGRKr4LOMIQH/1N/PJFy4g/+8+pTIX5MNUiF 7Pt/+cZ3i1tkJBokiMquzmUjE1+8cl2hzoSWadR7K1hl8k7OAsbUGcpmZxhh9ZBH nb96mEYXBilqakR7aSPKIfwH6koGWX8nm/fmEJDcxF7+7wsXufMZyit153mfnqIa alQcmIMbdFcKM9twZFQwsf5CPwuiPh7YTfto8NOBO8OgFw/NAZriuxjWHrNEbrc9 H+JdCrU44412ROMW1fQ0ySD0Pkt4QBynofycpj7bM1eLhU+UljSbdMnXqzGE4CKe NwTOhhU/CFvbILYxzlnKS2eUCVT3/JXVO2/ie0u23RYAfUurQ77geDPPrVvf4+c= =saFF -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o--