Subject: Tracking down a missing buildlink
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/08/2003 19:19:38
I built bonobo with PKG_DEBUG_LEVEL=4 and the output showed many of the
buildlinks set up.

But for some reason, even though show-all-depends-dirs target shows
databases/db, no buildlinking for db was done.

And bonobo failed with:

 libtool: link: cannot find the library
 `//tmp/pkgsrc/devel/bonobo/work.puget/.buildlink/lib/libdb2.la'

I also see that print/gnome-print, which also depends on databases db as
show-all-depends-dirs shows, didn't setup any buildlinking for it. (It
built and installed fine though.)

Also, oaf didn't have the buildlinking done. But I think it uses db.

I am not sure where to check to see why it didn't do the buildlinking.

Any clues on where to look or how to research this further?

   Jeremy C. Reed
   http://bsd.reedmedia.net/

p.s. my workaround was to add .include "../../databases/db/buildlink2.mk"
to the bonobo/Makefile. But that shouldn't have been needed.

p.p.s. $ pkg_info -R db
Information for db-2.7.7nb1:

Required by:
PAM-0.77
man-db-2.4.2
gnome-libs-1.4.2
oaf-0.6.10nb2
GConf-1.0.9nb3
gnome-vfs-1.0.5nb3
control-center-1.4.0.4nb3
gdk-pixbuf-gnome-0.22.0nb1
gnome-print-0.36nb3
bonobo-1.0.18nb5