From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 21:05:43 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 1CB1D16A41C for ; Fri, 15 Jul 2005 21:05:43 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FC9643D48 for ; Fri, 15 Jul 2005 21:05:42 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from dialup84116-26.ip.peterstar.net ([84.204.116.26] helo=doom.homeunix.org) by voodoo.oberon.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.51 (FreeBSD)) id 1DtXMq-0004um-BA for freebsd-hackers@freebsd.org; Fri, 15 Jul 2005 23:05:09 +0200 Received: from doom.homeunix.org (localhost [127.0.0.1]) by doom.homeunix.org (8.13.3/8.13.3) with ESMTP id j6FL0w0a002576; Sat, 16 Jul 2005 01:01:01 +0400 (MSD) (envelope-from igor@doom.homeunix.org) Received: (from igor@localhost) by doom.homeunix.org (8.13.3/8.13.3/Submit) id j6FKxFm0002571; Sat, 16 Jul 2005 00:59:15 +0400 (MSD) (envelope-from igor) Date: Sat, 16 Jul 2005 00:58:47 +0400 From: Igor Pokrovsky To: Olivier Certner Message-ID: <20050715205847.GA2533@doom.homeunix.org> Mail-Followup-To: Olivier Certner , Florent Thoumie , freebsd-hackers@freebsd.org, koma2@lovepeers.org, Kris Kennaway References: <200507102313.12719.olivier.certner@free.fr> <20050712165530.GA5475@xor.obsecurity.org> <1121189986.6598.1.camel@cream.xbsd.org> <200507130015.31521.olivier.certner@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200507130015.31521.olivier.certner@free.fr> User-Agent: Mutt/1.4.2.1i Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by doom.homeunix.org id j6FL0w0a002576 Cc: freebsd-hackers@freebsd.org, Kris Kennaway , koma2@lovepeers.org, Florent Thoumie 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: Fri, 15 Jul 2005 21:05:43 -0000 On Wed, Jul 13, 2005 at 12:15:31AM +0200, Olivier Certner wrote: > Le Mardi 12 Juillet 2005 19:39, Florent Thoumie a ?crit=9A: > > Le Mardi 12 juillet 2005 ? 12:55 -0400, Kris Kennaway a ?crit : > > > 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 alrea= dy > > > > compiled and installed ports for which some dependencies have bee= n > > > > deleted in the package database. This causes a crash in the funct= ion > > > > '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 prov= ide > > > > 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. >=20 > This doesn't work in fact. I'm forwarding these mails to the maintaine= r. Same here. I raised this problem on mailing list some time ago but withou= t luck. -ip --=20 After things have gone from bad to worse, the cycle will repeat itself.