From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 22:13:56 2005 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 7903B16A41C for ; Tue, 12 Jul 2005 22:13:56 +0000 (GMT) (envelope-from olivier.certner@free.fr) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E21343D46 for ; Tue, 12 Jul 2005 22:13:55 +0000 (GMT) (envelope-from olivier.certner@free.fr) Received: from lon92-4-82-226-188-149.fbx.proxad.net (lon92-4-82-226-188-149.fbx.proxad.net [82.226.188.149]) by postfix4-1.free.fr (Postfix) with ESMTP id 1C8AB3187AE; Wed, 13 Jul 2005 00:13:54 +0200 (CEST) From: Olivier Certner To: Florent Thoumie Date: Wed, 13 Jul 2005 00:15:31 +0200 User-Agent: KMail/1.8.1 References: <200507102313.12719.olivier.certner@free.fr> <20050712165530.GA5475@xor.obsecurity.org> <1121189986.6598.1.camel@cream.xbsd.org> In-Reply-To: <1121189986.6598.1.camel@cream.xbsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200507130015.31521.olivier.certner@free.fr> Cc: freebsd-hackers@freebsd.org, koma2@lovepeers.org, Kris Kennaway Subject: Re: Bug in portupgrade X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 22:13:56 -0000 Le Mardi 12 Juillet 2005 19:39, Florent Thoumie a =E9crit=A0: > Le Mardi 12 juillet 2005 =E0 12:55 -0400, Kris Kennaway a =E9crit : > > On Sun, Jul 10, 2005 at 11:13:12PM +0200, Olivier Certner wrote: > > > Hi, > > > > > > There is a bug with portupgrade when it is used to upgrade already > > > compiled and installed ports for which some dependencies have been > > > deleted in the package database. This causes a crash in the function > > > 'deorigin' in pkgdb.rb. > > > > > > Since I don't know the internals of portupgrade, I don't know if it's > > > normal to call 'deorigin' with its argument set to nil. If it is, then > > > the patch below might be useful (beware, I don't know any ruby, I've > > > just tried something and it works), if it is not, I only can provide > > > the stack (see below) in order for maintainers to seek the faulty > > > callers. > > > > Please talk to the port maintainer. > > Yeah, and good luck :) > > Otherwise, he can try to pkgdb -F or remove pkgdb.rb and re-run > portupgrade. This doesn't work in fact. I'm forwarding these mails to the maintainer. Thanks, Olivier