From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 17:39:53 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 A4F8516A41C for ; Tue, 12 Jul 2005 17:39:53 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E21443D48 for ; Tue, 12 Jul 2005 17:39:52 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 371CC116F7; Tue, 12 Jul 2005 19:41:08 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 85981-10; Tue, 12 Jul 2005 19:41:02 +0200 (CEST) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id 5045911504; Tue, 12 Jul 2005 19:41:02 +0200 (CEST) From: Florent Thoumie To: Kris Kennaway In-Reply-To: <20050712165530.GA5475@xor.obsecurity.org> References: <200507102313.12719.olivier.certner@free.fr> <20050712165530.GA5475@xor.obsecurity.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-l+NeGjuVaVbPzyMqIbWO" Date: Tue, 12 Jul 2005 19:39:46 +0200 Message-Id: <1121189986.6598.1.camel@cream.xbsd.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: freebsd-hackers@freebsd.org 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 17:39:53 -0000 --=-l+NeGjuVaVbPzyMqIbWO Content-Type: text/plain; charset=iso8859-15 Content-Transfer-Encoding: quoted-printable 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, > >=20 > > There is a bug with portupgrade when it is used to upgrade already com= piled=20 > > and installed ports for which some dependencies have been deleted in th= e=20 > > package database. This causes a crash in the function 'deorigin' in pkg= db.rb. > >=20 > > Since I don't know the internals of portupgrade, I don't know if it's = normal=20 > > to call 'deorigin' with its argument set to nil. If it is, then the pat= ch=20 > > below might be useful (beware, I don't know any ruby, I've just tried=20 > > something and it works), if it is not, I only can provide the stack (se= e=20 > > below) in order for maintainers to seek the faulty callers. >=20 > Please talk to the port maintainer. Yeah, and good luck :) Otherwise, he can try to pkgdb -F or remove pkgdb.rb and re-run=20 portupgrade. --=20 Florent Thoumie flz@xbsd.org --=-l+NeGjuVaVbPzyMqIbWO Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC1ABiMxEkbVFH3PQRApU1AJ0berI2vVL1EGZJx+4OtyTZ7gFLdwCfU3yp zsylrkQbQ4TCRdDZUg2KbZA= =fut6 -----END PGP SIGNATURE----- --=-l+NeGjuVaVbPzyMqIbWO--