From owner-freebsd-ports@FreeBSD.ORG Fri May 4 13:18:05 2012 Return-Path: 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 06FAE106564A for ; Fri, 4 May 2012 13:18:05 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 8AB938FC14 for ; Fri, 4 May 2012 13:18:04 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=fpZaej BvKn1OZfdRvnwUNNWxIKRuE3juRCl7rKYdvFX5fNAen4xJO0fD5ttQjhXij1J8O0 dUsKRx/FSoNj2MAjo0OnJMLFE1gh4eoE7+hqTZkPNbGM4xlAHn0hJWVRPOZs9K38 B5mjbkqMZh3VXREGiqqt/q8l8/fIS/L76mYUA= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=VZKxJ10Zl1rT VPTdXDQvbj1/KgqTlAfy+uPub4I66Jo=; b=mrJ+Jz1LOne/KDhW8jibDNmRODlu cuRsAG6ZXTkscDLFvE+BKGcbo8Kf0fBptdgpXATO7exbxmfCjRzrpR6QutoJAjrt 0nroBbQQW6bFG43Z3nrVMhDMCQRIaFDb7iWqsxHtU2QyuQWhDRxHvEGkjzWJI5zn ePfBdoCKcpDdnUw= Received: (qmail 53958 invoked from network); 4 May 2012 08:18:02 -0500 Received: from unknown (HELO ?10.10.1.87?) (bryan@shatow.net@10.10.1.87) by sweb.xzibition.com with ESMTPA; 4 May 2012 08:18:02 -0500 Message-ID: <4FA3D709.6040509@shatow.net> Date: Fri, 04 May 2012 08:18:01 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Andrea Venturoli References: <4FA38930.6050501@netfence.it> In-Reply-To: <4FA38930.6050501@netfence.it> X-Enigmail-Version: 1.4.1 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: portsdb -U fails 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: Fri, 04 May 2012 13:18:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On 5/4/2012 2:45 AM, Andrea Venturoli wrote: > Hello. > I know portupgrade is somewhat deprecated, but... Portupgrade is currently supported by me at http://pkgtools.github.com > > On several boxes I get the following: >> # portsdb -U >> Updating the ports index ... Generating INDEX.tmp - please wait.. Done. >> portsdb: can't convert nil into String I was going to suggest updating your ports tree, but I just tried that and it's failing still. Unless you've modified your ports or added extra dependencies, you can just fetch the index with: portsdb -FU. If you use portsnap(8), you'll get the INDEX updated automatically as well. The have portupgrade read the index with portsdb -u > > Is there any way I can debug this? Yes, open up /usr/local/sbin/portsdb, go to line 205 and remove these lines: rescue => e STDERR.puts "#{MYNAME}: #{e}" exit 1 You can also run 'make index' in /usr/ports and see if it fails. I've logged this failure upstream at https://github.com/pkgtools/pkgtools/issues/27 If you figure anything further out, before I fix it, please let me know. > > The boxes are 7.4/8.2 i386/amd64 with different versions of ruby and bdb > backend. > > Maybe some port has some invalid value and I might just exclude it as a > temporary fix... but which one is it? > > bye & Thanks > av. Regards, Bryan Drewery -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPo9cIAAoJEG54KsA8mwz5ulkQALMScCqCSLoWpYRbmvhpQNqO H6OwcODX9HDnQvTvcnro/djyzHjvspCoPne9XidvbcUQs/VFWBG1QrsQUrUXEYZ+ wUJvMaD0Z74rY3xQDsdheuyqtz5CZsSveac2iIu8Bd8kH9q0ReGPT+AC4mm5havx pMT1Sb/vEKHW/CTDP4hjw9LVANpIlwFp+M6m/RdvAGxREH5LvmH22+AVTj98YLX5 Vr+INU4LrexEPLkcHNLkiUraLpkJPw4BF4CsDucZvHopSV5TM18J11JUYo9V1Hev Ul/Zjmm7TXkG32jMbkXYODMCFLCbJ6CELjmSkDNmSDlwr0U+OZDeKW3F/PHdue4X GzlbRRx+f0lhDjwizfs5U7xTXwHGpA7Z/Z7Yw12zcyuxxL4T29fQbZ8SkwVjpTBw yXFQH5jbl8Ifufhb0fh4IOSaFczsTZ10TUVBPztOMdsDwpBd4wEL1xD0/ydxTZtA Cg/SM5/u/6c2DoDiArViZ1p/ZTQ63pp0/c1q87AcI/tzbSpAA16KLAePd3xj63e1 y+0+EbZK8ov+cjryxiub+EAUk5MAyAwX36wRM+YG6EsZCSxdXSumnTTOJd5PgRpX 2crCxyQwTUIIOuYsjKsdhPwuOxqNvDkj6ls+HPcoUP15RzhpUIcQafACUZtSxYqe 3TMeGUxWDjprINXrGsCt =7yTB -----END PGP SIGNATURE-----