svn commit: r301775 - head/ports-mgmt/portupgrade
Doug Barton
dougb at FreeBSD.org
Tue Jul 31 05:47:57 UTC 2012
On 07/30/2012 22:19, Bryan Drewery wrote:
> On 7/31/2012 12:14 AM, Doug Barton wrote:
>> On 07/30/2012 21:54, Jason Helfman wrote:
>>> Author: jgh
>>> Date: Tue Jul 31 04:54:28 2012
>>> New Revision: 301775
>>> URL: http://svn.freebsd.org/changeset/ports/301775
>>>
>>> Log:
>>> - Update to 2.4.9.7
>>> - Fixes crash when checking for duplicated origins
>>
>> Out of curiosity, how are the origins duplicated?
>>
>> Doug
>>
>
> Honestly I'm not entirely sure. I ran into it the other day myself by
> having 2 different versions of the same port installed, with the same
> origin.
>
> Likely caused by some portupgrade bug not fixed yet involving
> FORCE_PKG_REGISTER.
Ah, Ok. As long as it's a problem that's being created by portupgrade, I
need to worry less. :)
I actually have code in portmaster to handle this, albeit in a slightly
lame way (take the first match) since in most cases when I'm looking for
an origin in /var/db/pkg it's only to find out that _something_ is
installed, although usually I do really want to know what that is. I've
handled it this way so far because it hasn't really been an issue. If it
gets to be a larger problem I can add an error for it.
If you notice that this is happening more often, and/or if you notice
that the ports infrastructure is causing this on its own, I would
appreciate a heads up. I'll do the same of course.
Doug
--
I am only one, but I am one. I cannot do everything, but I can do
something. And I will not let what I cannot do interfere with what
I can do.
-- Edward Everett Hale, (1822 - 1909)
More information about the svn-ports-all
mailing list