From owner-freebsd-ports@FreeBSD.ORG Tue Mar 20 18:06:07 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0EF016A402 for ; Tue, 20 Mar 2007 18:06:07 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228]) by mx1.freebsd.org (Postfix) with ESMTP id 5DAD213C468 for ; Tue, 20 Mar 2007 18:06:07 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by wr-out-0506.google.com with SMTP id 36so2045268wra for ; Tue, 20 Mar 2007 11:06:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ACWGYv5Igg4UXSZgesivpiLT/QTuyGN38FpMEMXoBnaHndVitENOJGfg4kfw51/TksAS6CwwDv7vCozf65tRSO1amWIGs7J0efg9dwNMDkBhbblIuK+KqHeO5ZNilu1198khP1RfNtMuQ8fdn4p3JQF+PzlpnYbB9z1js8dk2js= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=nPKPNTmz21vecVybhDHblWkkfCdxfya0Yr3+/3IT3nt3jV38AYO7/zLTYYc5AKogZo0TzW+d6BsX5EJ4S/qowX0TRrIALiqoTRELe+8/GtKaLZnwqtxCPlklwFrLf/oY/yhG6oN8dM72CEKv7/19ZpjJa1467UQh2GHB/7FRJ8s= Received: by 10.90.63.16 with SMTP id l16mr1183643aga.1174413966885; Tue, 20 Mar 2007 11:06:06 -0700 (PDT) Received: by 10.114.201.2 with HTTP; Tue, 20 Mar 2007 11:06:06 -0700 (PDT) Message-ID: Date: Tue, 20 Mar 2007 21:06:06 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Sergey Matveychuk" In-Reply-To: <46001864.8050005@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1174330341.26866.32.camel@shumai.marcuscom.com> <46001864.8050005@FreeBSD.org> X-Google-Sender-Auth: 62c0c4d54f10fd22 Cc: ports@freebsd.org, fullermd@over-yonder.net, parv@pair.com Subject: Re: Problems running pkgdb -fF X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2007 18:06:07 -0000 On 3/20/07, Sergey Matveychuk wrote: > Andrew Pantyukhin wrote: > > On 3/19/07, Joe Marcus Clarke wrote: > >> Running pkgdb -Ff today gives me the following error: > > > > Just a "me too" here, and this problem appears during > > portupgrade runs, too. > > > > Try the patch please. I could not find a box where I can reproduce the > error, so it's not tested. Just a obvious quick fix. > > Index: pkgtools.rb > =================================================================== > RCS file: /cvsroot/portupgrade/pkgtools/lib/pkgtools.rb,v > retrieving revision 1.16.2.4 > diff -u -r1.16.2.4 pkgtools.rb > --- pkgtools.rb 27 Feb 2007 11:34:59 -0000 1.16.2.4 > +++ pkgtools.rb 20 Mar 2007 17:18:35 -0000 > @@ -790,8 +790,7 @@ > contents_file = $pkgdb.pkg_contents(pkgname) > > if grep_q_file(/^@comment[ \t]+ORIGIN:/, contents_file) > - command = shelljoin('sed', > - "s|^\\(@comment[ \t][ > \t]*ORIGIN:\\).*$|\\1#{origin}|") > + command = "sed s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|" > else > command = "(cat; echo '@comment ORIGIN:#{origin}')" > end > Stale origin: 'x11-wm/fluxbox-devel': perhaps moved or obsoleted. -> The port 'x11-wm/fluxbox-devel' was moved to 'x11-wm/fluxbox' on 2007-03-19 because: "Merged into x11-wm/fluxbox" 1x11-wm/fluxbox: not found ^(@comment[: not found sed: 1: "s": substitute pattern can not be delimited by newline or backslash Fixed. (-> x11-wm/fluxbox) At least the error is shorter now. I can make my /var/db/pkg available if you want.