From owner-freebsd-ports Mon Dec 10 21:28:47 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mail.musha.org (daemon.musha.org [61.122.44.178]) by hub.freebsd.org (Postfix) with ESMTP id EDB8937B405 for ; Mon, 10 Dec 2001 21:28:44 -0800 (PST) Received: from archon.local.idaemons.org (archon.local.idaemons.org [192.168.1.32]) by mail.musha.org (Postfix) with ESMTP id 260374D961; Tue, 11 Dec 2001 14:28:44 +0900 (JST) Date: Tue, 11 Dec 2001 14:28:44 +0900 Message-ID: <86ofl6cokz.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: Alfred Perlstein Cc: ports@freebsd.org Subject: Re: request for enhancment: portupgrade In-Reply-To: <20011210202123.P92148@elvis.mu.org> References: <20011210030804.Y92148@elvis.mu.org> <86vgff4dde.wl@archon.local.idaemons.org> <20011210125858.A92148@elvis.mu.org> <20011210180912.B30626@squall.waterspout.com> User-Agent: Wanderlust/2.7.6 (Too Funky) SEMI/1.14.3 (Ushinoya) LIMIT/1.14.7 (Fujiidera) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At Mon, 10 Dec 2001 20:21:23 -0600, Alfred Perlstein wrote: > > It's run when portupgrade builds ports or downloads packages. I > > am not sure about the 'why' part, but presumably it's for keeping > > logs of the build in case you want to look at it. In any case, Yes, specifying the -L option to let it keep logs, and regardless of the flag portupgrade keeps logs to guess reasons of build failures (if any) from, just as bento does. > > script is probably the wrong tool for this job, since according > > to the script(1) manpage: > > > > [...] > > The results are meant to emulate a hardcopy terminal, not an > > addressable one. > > [...] > > Well for the most part builds are pretty line printer friendly... > > It'd probably make a lot more sense to just redirect/tee stdout/err. For example, try making the postfix port build keeping the log. With the standard output redirected, its interactive dialog doesn't draw properly. That's why I thought I had to use pty. > I'll look at it, last week it was lisp/scheme, i guess I can learn > ruby this week... :) The main auther of Ruby is a LISP hacker, so the language is meant to be friendly to LISP users, not to mention Smalltalk/Eiffel/Perl/Python users. It's for avid people who've learned many languages but are yet unsatisfied. :> -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Somewhere out of a memory.. of lighted streets on quiet nights.." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message