Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2006 18:02:34 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        Jeremie Le Hen <jeremie@le-hen.org>
Cc:        "Conrad J. Sabatier" <conrads@cox.net>, current@freebsd.org
Subject:   Re: portupgrade not working for all ports
Message-ID:  <A8464CF7-94F5-4546-925D-3C8B6C67ACE6@lassitu.de>
In-Reply-To: <20061027143447.GN20405@obiwan.tataz.chchile.org>
References:  <20061023061539.GA17549@titan.klemm.apsfilter.org> <20061023212554.00062ff5@serene.no-ip.org> <20061027143447.GN20405@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Am 27.10.2006 um 16:34 schrieb Jeremie Le Hen:

> Hi,
>
> On Mon, Oct 23, 2006 at 09:25:54PM -0500, Conrad J. Sabatier wrote:
>> Not sure what's causing this, but I'm seeing the "script" child
>> processes spawned by portupgrade consuming an inordinate amount of  
>> CPU,
>> as much as 80+%.  This does make the configure stage appear to hang
>> interminably much of the time.
>>
>> This is under 7.0-CURRENT/amd64 with both portupgrade and
>> portupgrade-devel.  It's gotten so bad, in fact, that I find myself
>> more and more resorting to manually upgrading ports, which works fine
>> and does not hog CPU at all.
>
> I caught such a behaviour as well on my -CURRENT from Oct 21
> (with SSP patch applied).  I saw once script(1) eating most of
> the CPU and another time, this was dialog(1).  I was running
> portupgrade -af with some MAKE_ARGS in pkgtools.conf.
> I haven't taken time to inverstigate, though.

Dialog doesn't like not talking to a tty.  Just try

$ dialog --yesno "foo" 6 20 yes </dev/null >/dev/null 2>&1


Stefan

-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 170 346 0140





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A8464CF7-94F5-4546-925D-3C8B6C67ACE6>