Bug in portupgrade

Kris Kennaway kris at obsecurity.org
Tue Jul 12 16:55:33 GMT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050712/f9fbc379/attachment.bin


More information about the freebsd-hackers mailing list