From owner-freebsd-ports@FreeBSD.ORG Tue May 13 09:04:03 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8FD7106566B for ; Tue, 13 May 2008 09:04:02 +0000 (UTC) (envelope-from schweizer.martin@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id A0E9E8FC12 for ; Tue, 13 May 2008 09:04:02 +0000 (UTC) (envelope-from schweizer.martin@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1480953ywe.13 for ; Tue, 13 May 2008 02:04:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4eoBUO7epIcHaKUZvkiOjd7xJBk/TcnitfwvGC1qYFw=; b=FBK81gNNUdrIlBxoZPjX6VdFVcp5nNVx6MPOIjPU1vgcYlGdhndRKPh02wNBWuxlgdMMq4WzCclR7tfChhTcm/ji6q6A0qIuYHtpnKbT3ElkieFYCFwGo5t2d3vzyCPVhTmnjwrRpk8Jos7tmXBLJGIuMCSayuuQxdAGbE6csWU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hvkV8nLIzYAglmB2bl8rpBNzsR8tZj2hnXPRTcYKpJgNSElrpfVVmqRIJGh4iFwt4jmhJG2qexO/iIC5bwL/l4PMnbCwPGbzDJsovmL1K2Wa6tHAzrV4zwuVPQ9Km8dDXOl3/EhssPaSwduYDhj29bFdoWXRuUauPawTq7n3dZY= Received: by 10.150.82.10 with SMTP id f10mr561270ybb.132.1210669441964; Tue, 13 May 2008 02:04:01 -0700 (PDT) Received: by 10.150.217.3 with HTTP; Tue, 13 May 2008 02:04:01 -0700 (PDT) Message-ID: <380ccfd60805130204h402caa38s83855c1ae98aab63@mail.gmail.com> Date: Tue, 13 May 2008 11:04:01 +0200 From: "Martin Schweizer" To: Kent In-Reply-To: <200805121004.16951.kstewart@owt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <380ccfd60804272207i5bfeab97v5ea9966d77456361@mail.gmail.com> <200804280028.32882.kstewart@owt.com> <380ccfd60805120814h5c45948atbaae906a58735936@mail.gmail.com> <200805121004.16951.kstewart@owt.com> Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade -faP after update to FreeBSD 7.0 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, 13 May 2008 09:04:03 -0000 Hello Kent 2008/5/12, Kent : > > > > After successfully update to FreeBSD 7.0 (a described in the > > > > handbook) I startet several times portupgrade -faP after several > > > > pkgdb -F. But now I get the following error: > > > > > > > > portupgrade -faP > > > > > > > > /usr/local/lib/ruby/site_ruby/1.8/pkgversion.rb:41:in `initialize': > > > > ,2: Not in due form: '[_][,]'. > > > > (ArgumentError) > > > > from /usr/local/sbin/portupgrade:638:in `new' > > > > from /usr/local/sbin/portupgrade:638:in `main' > > > > from /usr/local/sbin/portupgrade:613:in `each' > > > > from /usr/local/sbin/portupgrade:613:in `main' > > > > from /usr/local/sbin/portupgrade:588:in `catch' > > > > from /usr/local/sbin/portupgrade:588:in `main' > > > > from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' > > > > from /usr/local/lib/ruby/1.8/optparse.rb:1303:in > > > > `parse_in_order' ... 7 levels... > > > > from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' > > > > from /usr/local/sbin/portupgrade:229:in `new' > > > > from /usr/local/sbin/portupgrade:229:in `main' > > > > from /usr/local/sbin/portupgrade:2173 > > > > > > > > I checked the portupgrade version and also ruby but did not find any > > > > mistakes. What do I wrong? > > > > > > I am assuming that 7.0 has changed ruby/portupgrade processing. There > > > have been problems like this when ruby and the ruby??_bdb? get out of > > > sequence. I would delete portupgrade and ruby\* and then rebuild > > > everything including the index.db. > > > > > > You may get a different answer tomorrow but if rebuilding everything > > > works, you could be half way to being done. > > > > I deleted all ruby ports (as I got from pkg_info) and I also fetch > > /usr/ports/INDEX-/ by makeing make index and by make fetchindes (both > > get the same results). But I still get the same error. > > What do you mean exactly with "I would delete portupgrade and ruby\* > > and then rebuild everything including the index.db."? The same as I > > did? > > The index-?.db has gotten messed up several times after some updates. My > experience was that you have to get portupgrade and ruby in sync and then use > portsdb -fu to rebuild the database. I created the INDEX-7.db by portsdb -fu and yes, portupgrade and ruby are in sync. > Your error looks like a mismatch between portupgrade and ruby. Did you > manually rebuild portupgrade? Yes I did it with make and then make install Regards, -- Martin Schweizer schweizer.martin@gmail.com Tel.: +41 32 512 48 54 (VoIP) Fax: +1 619 3300587