Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2005 12:55:30 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Olivier Certner <olivier.certner@free.fr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Bug in portupgrade
Message-ID:  <20050712165530.GA5475@xor.obsecurity.org>
In-Reply-To: <200507102313.12719.olivier.certner@free.fr>
References:  <200507102313.12719.olivier.certner@free.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC0/YCWry0BWjoQKURApbvAJ97NA6Nj7maICLliXBNu0vtx6l33gCg9IzA
VPQQTSGG0iuS5ddSbUT5/PI=
=kc8f
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050712165530.GA5475>