From owner-freebsd-ports@FreeBSD.ORG Mon Mar 15 21:40:38 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1587B16A4CE for ; Mon, 15 Mar 2004 21:40:38 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02EA643D2F for ; Mon, 15 Mar 2004 21:40:38 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (07b949b6646c75f8b91d23f7ee54c710@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i2G5dToH007028; Mon, 15 Mar 2004 21:39:34 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A80CD51BFB; Mon, 15 Mar 2004 21:40:29 -0800 (PST) Date: Mon, 15 Mar 2004 21:40:29 -0800 From: Kris Kennaway To: Dag-Erling Sm?rgrav Message-ID: <20040316054029.GA37579@xor.obsecurity.org> References: <20040315103649.GA13718@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: ports@FreeBSD.org cc: Kris Kennaway Subject: Re: INDEX user-friendliness and SMP speed-up patch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 05:40:38 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 15, 2004 at 04:30:22PM +0100, Dag-Erling Sm?rgrav wrote: > Kris Kennaway writes: > > * Allows parallel INDEX builds (using make -j). The most obvious way > > of doing this doesn't work, because I/O from child makes is broken up > > into 2k chunks, and output lines from 'make describe' that exceed this > > length (*cough* GNOME *cough*) will be intertwined with the output of > > other makes, leading to a corrupted INDEX. Instead, I collect the > > output from the child make processes in temporary files and > > recombine them at the end. >=20 > Doesn't make -P work as advertised? Actually, it doesn't seem like it's useable for me: * It's extra-chatty on stdout, so I'd need to filter out the extra crap it thinks I need to know: rot26# make -P -j1 describe | more Remaking `_accessibility.describe' Results of making _accessibility.describe: =3D=3D=3D> accessibility =3D=3D=3D> accessibility/at-spi at-spi-1.3.15|/usr/ports/accessibility/at-spi|/usr/X11R6|An Assistive Techn= ology Service Provider Interface|/usr/ports/acce[...] =20 * It redirects stderr to stdout, so I don't have a way of catching the error output to present to the user. Kris --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAVpNNWry0BWjoQKURAiwTAKDJXl3EG7dOd4tWFCSDzcdEZZdvSgCglOZd fgGOn0ix6ctc6X5f+C+VDIc= =/O4a -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--