Subject: Re: libcroco and ERROR: dbus is not installed; can't buildlink files.
To: None <pkgsrc-users@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 10/12/2006 13:23:09
> 
> On Thu, Oct 12, 2006 at 10:44:12AM +0100, Matthias Scheler wrote:
> > On Thu, Oct 12, 2006 at 12:43:39AM -0500, Jeremy C. Reed wrote:
> > > Building pkgsrc/textproc/libcroco (after doing make clean clean-depends) 
> > > is failing with:
> > > 
> > > (no dbus listed here)
> > > ...
> > 
> > Try updating "pkgsrc/mk", please. Dependency checking has been seriously
> > broke recently.
> 
> No, it is a separate issue. When Johnny commited the last batch of
> buildlink changes, the recursive inclusion of build dependencies or
> something like that was broken. This is from memory, but we have some
> cases like that already in the tree and I haven't found the time to fix
> it.

Further details:

I had dbus-0.61nb1 and dbus-glib-0.61 installed.

But the dbus/buildlink3.mk had:

  BUILDLINK_API_DEPENDS.dbus+=    dbus>=0.91

I am using USE_ABI_DEPENDS=no so the following was ignored:

  BUILDLINK_ABI_DEPENDS.dbus-glib+=       dbus-glib>=0.71

For some reason, dbus-glib buildlinked fine but dbus was not buildlinked. 
(dbus was listed as part of BUILDLINK_PACKAGES).

When I went to reinstall dbus, I found out it conflicted with old 
dbus-glib. I reinstalled both.

And now building in libcroco does not have that problem anymore (dbus is 
buildlinked).

I worked around the problem for now...