From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 16 16:09:35 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFB0816A404 for ; Sun, 16 Apr 2006 16:09:35 +0000 (UTC) (envelope-from hannes.hauswedell@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 974E843D45 for ; Sun, 16 Apr 2006 16:09:34 +0000 (GMT) (envelope-from hannes.hauswedell@gmail.com) Received: by uproxy.gmail.com with SMTP id m3so303894ugc for ; Sun, 16 Apr 2006 09:09:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:disposition-notification-to:mime-version:content-type:message-id; b=iQnbkdtqMg6Rd1ZRvLycAp/TrSj8JamTim8XKLuRZB6K6y5/y0Hs7cTSb/S+w9lJiTfzUnmTVrxj7K86+/2blyQb45sywZpjn/PsxHhuyJPfUWIWGj9h0aiw5Z9objgafQcnGS7ICYD5K+dFhlEUlRrIcf/rMZHSbIvBrX437O4= Received: by 10.66.221.13 with SMTP id t13mr2201599ugg; Sun, 16 Apr 2006 09:09:33 -0700 (PDT) Received: from ?192.168.2.80? ( [85.220.132.38]) by mx.gmail.com with ESMTP id k2sm360747ugf.2006.04.16.09.09.32; Sun, 16 Apr 2006 09:09:33 -0700 (PDT) From: Hannes Hauswedell To: freebsd-hackers@freebsd.org, FreeBSD-Ports@freebsd.org Date: Sun, 16 Apr 2006 16:28:17 +0000 User-Agent: KMail/1.9.1 References: <200604151635.16110.hannes.hauswedell@gmail.com> <20060415213036.GC830@turion.vk2pj.dyndns.org> <200604161430.43776.hannes.hauswedell@gmail.com> In-Reply-To: <200604161430.43776.hannes.hauswedell@gmail.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_iCnQENzYqvt8vWk" Message-Id: <200604161628.18641.hannes.hauswedell@gmail.com> X-Mailman-Approved-At: Sun, 16 Apr 2006 16:36:23 +0000 Cc: Subject: pkgtools-bug? (from freebsd-hackers -> Re: weird problems with porupgrade) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hannes Hauswedell List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2006 16:09:36 -0000 --Boundary-00=_iCnQENzYqvt8vWk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline i have looked into the pkgtools ruby code.... it seems to be some bug with the logged_command function. i dont think it is a very clean solution but i have provided a diff against /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb that solves the problem. could someone with knowledge of ruby and maybe in charge of portupgrade check this? i have cc'ed to the ports-mailinglists too since it looks like a bug, thanks & happy easter ;) --Boundary-00=_iCnQENzYqvt8vWk Content-Type: text/plain; charset="iso-8859-1"; name="diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="diff" 483,484d482 < elsif STDIN.tty? < ['/usr/bin/script', '-qa', file, *args] 486c484 < ['/bin/sh', '-c', sprintf('%s >>%s 2>&1', shelljoin(*args), shelljoin(file))] --- > ['/usr/bin/script', '-qa', file, *args] --Boundary-00=_iCnQENzYqvt8vWk--