From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 16:55:33 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 06B8E16A41C for ; Tue, 12 Jul 2005 16:55:33 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74C6A43D45 for ; Tue, 12 Jul 2005 16:55:32 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 97DAA514C4; Tue, 12 Jul 2005 12:55:30 -0400 (EDT) Date: Tue, 12 Jul 2005 12:55:30 -0400 From: Kris Kennaway To: Olivier Certner Message-ID: <20050712165530.GA5475@xor.obsecurity.org> References: <200507102313.12719.olivier.certner@free.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <200507102313.12719.olivier.certner@free.fr> User-Agent: Mutt/1.4.2.1i 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 16:55:33 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 compi= led=20 > and installed ports for which some dependencies have been deleted in the= =20 > package database. This causes a crash in the function 'deorigin' in pkgdb= .rb. >=20 > Since I don't know the internals of portupgrade, I don't know if it's no= rmal=20 > to call 'deorigin' with its argument set to nil. If it is, then the patch= =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 (see= =20 > below) in order for maintainers to seek the faulty callers. Please talk to the port maintainer. Kris --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC0/YCWry0BWjoQKURApbvAJ97NA6Nj7maICLliXBNu0vtx6l33gCg9IzA VPQQTSGG0iuS5ddSbUT5/PI= =kc8f -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--