Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2011 21:24:46 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        "Ronald F. Guilmette" <rfg@tristatelogic.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Build problem - help wanted
Message-ID:  <4EA2458E.5040707@FreeBSD.org>
In-Reply-To: <21281.1319256950@tristatelogic.com>
References:  <21281.1319256950@tristatelogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/21/2011 21:15, Ronald F. Guilmette wrote:
> In message <4EA23925.4020501@FreeBSD.org>, 
> Doug Barton <dougb@FreeBSD.org> wrote:
> 
>> As you pointed out in your post, devel/gobject-introspection is already
>> listed as a BUILD_DEPENDS.
> 
> Yes, it is.  However as I've noted, that apparently isn't quite good enough,
> as the build for gtk20 fails (in a rather entirely cryptic way) when the
> installed version of gobject-introspection is 0.9.12, but it does appear
> to complete successfully when the installed version is the latest, 0.10.8.
> 
> So BUILD_DEPENDS for x11-toolkits/gtk20 needs some adjusting.

I understand what you've said several times now, and as I've said
several times now I'm leaving that up to the maintainers.

>> The fact that sometimes dependencies do get
>> missed is an area that we are always looking to improve.
> 
> Good.
> 
>>> I _was_ in fact using portinstall at the time the build failure I first wrote
>>> about occured.  As I understand it, portinstall performs all of the same auto-
>>> matic forced pre-builds of dependences as portupgrade does.  Are you asserting
>>> that that is NOT the case?
>>
>> I've never used it, so I can't say authoritatively one way or the other.
>> Given your experience my guess is that it does not.
> 
> I don't believe that is a correct assumption.
> 
> As I understand it, portinstall and portupgrade are just two faces of the
> same coin, the only difference being that portinstall does nothing if the
> specified port is already installed whereas portupgrade does nothing if
> the specifioed port is NOT already installed.

Ah, I wasn't aware that portinstall was part of portupgrade. In any case
I think your assumption about what portupgrade does is wrong. My
understanding is that by default it will upgrade ports that are
dependencies of the ports that you are upgrading or installing.

> But also, as I understand it, both will properly arrange for things that
> the specified port needs (as specified in BUILD_DEPENDS) to be built and
> installed before any attempt is made to build or install the specified
> port itself.
> 
> In short, the problem isn't with the specific port maintenance tools I'm
> using.  Rather, the problem is, as I've been saying, an imperfection in
> the actual dependencies list for the x11-toolkits/gtk20 port.  (The de-
> pendencies need to force a build & install of some specific version of
> gobject-introspection which is more recent than 0.9.12... probably 0.10.x.
> Otherwise, cryptic build failure of gtk may ensue, and has, apparently,
> for myself and numerous other people.)

I'm not sure you're right about that. I think that if you had used
portupgrade you probably would have seen the result we're looking for
(upgrading gobject-introspection first).

In any case, I'm *certain* that you would have seen the proper results
if you had used portmaster, so perhaps you should consider giving it a try.


Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




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