Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2012 22:47:56 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Bryan Drewery <bryan@shatow.net>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Jason Helfman <jgh@FreeBSD.org>, ports-committers@freebsd.org
Subject:   Re: svn commit: r301775 - head/ports-mgmt/portupgrade
Message-ID:  <5017718C.4040208@FreeBSD.org>
In-Reply-To: <50176AC7.7070800@shatow.net>
References:  <201207310454.q6V4sSpu087279@svn.freebsd.org> <5017699A.1040901@FreeBSD.org> <50176AC7.7070800@shatow.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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)



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