Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2002 15:59:24 -0400 (EDT)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Joe Kelsey <joek@mail.flyingcroc.net>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: Circular dependency: gal vs. glade
Message-ID:  <20020521155514.Y73657-100000@shumai.marcuscom.com>
In-Reply-To: <3CEAA373.10605@flyingcroc.net>

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


PGP Key : http://www.marcuscom.com/pgp.asc

On Tue, 21 May 2002, Joe Kelsey wrote:

> Joe Clarke wrote:
>
> >But there is no cycle.  You just have some missing dependencies.  If all
> >the GNOME bits are kept up-to-date, you shouldn't be seeing this problem.
> >As I said in my PR reply to you earlier, something is being done so that a
> >port can check the version of each of its package dependencies.  sobomax
> >is working on this, and has enhanced some of the pkg tools in -CURRENT.
> >Perhaps he can comment on this further.
> >
> >
> Whatever...so I used the word "circular" inappropriately.
>
> The problem is that if you do portinstall from nothing (or incompletely
> deinstalled ports), gal will fail due to libglade missing.  The way that
> portinstall works it tries to build gal but since gal does not include
> libglade as a LIB_DEPENDS, then it fails in the middle of the configure
> script.  gtkhtml suffers from exactly the same problem.

This is not true.  gal does require libglade as a LIB_DEPENDS.  Checkout
revision 1.33 of the gal Makefile:

LIB_DEPENDS=    unicode.0:${PORTSDIR}/devel/libunicode \
                glade.4:${PORTSDIR}/devel/libglade \
                iconv.3:${PORTSDIR}/converters/libiconv


If I build GNOME from the meta-port on a clean machine, everything will
build.  The dependency chain will be built as I go.  Like I said earlier,
if you look at gal, for instance, you will see it requires libglade which
requires gnomedb, which requires libgda, which requires bonobo, which
requires gnomeprint.

gtkhtml requires gal, which requires libglade, ..., and so on.

Joe

>
> However you say it, it is an error for gal not to include libglade as a
> dependency.
>
> /Joe
>
> >Joe
> >
> >
> >
> >>>This is imported from bonobo which is imported from libgda which is
> >>>imported from gnomedb which is imported from libglade which is imported by
> >>>gal (six degrees of GNOME).  If you have an up-to-date libglade, you
> >>>should be okay.  I recommend a good portupgrade -r ORBit.
> >>>
> >>>
> >>>
> >>>
> >>I generally prefer to do -R.  I find that -r causes more problems.
> >>
> >>I have been trying portinstall -R gnome which should get everything that
> >>gnome depends on.  Unfortunately, it doesn't.
> >>
> >>/Joe
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
>
>
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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