Subject: pkg/34628: devel/libbonoboui
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 09/26/2006 16:15:00
>Number: 34628
>Category: pkg
>Synopsis: devel/libbonoboui
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 26 16:15:00 +0000 2006
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc
>Description:
gcc -O -I/pkg/obj/devel/libbonoboui/work/.buildlink/include -I/pkg/obj/devel/libbonoboui/work/.buildlink/include/freetype2 -Wl,-R/usr/pkg/lib -Wl,-R/usr/openwin/lib/64 -o .libs/bonobo-hello hello.o -pthreads -L/pkg/obj/devel/libbonoboui/work/.buildlink/lib -L/usr/lib/64 -L/pkg/obj/devel/libbonoboui/work/.x11-buildlink/lib/64 ../../bonobo/.libs/libbonoboui-2.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgnomecanvas-2.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libart_lgpl_2.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgnome-2.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libesd.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libaudiofile.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libpopt.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libbonobo-2.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgnomevfs-2.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libdbus-glib-1.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libdbus-1.so /pkg/
obj/devel/libbonoboui/work/.buildlink/lib/libgnutls.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libtasn1.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgcrypt.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgpg-error.so -ldb4 /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libbonobo-activation.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libORBitCosNaming-2.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libxml2.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgconf-2.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libORBit-2.so -lresolv /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgthread-2.0.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgtk-x11-2.0.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgdk-x11-2.0.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libatk-1.0.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgdk_pixbuf-2.0.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libpangocairo-1.0.so /pkg/obj/devel/libbonobo
ui/work/.buildlink/lib/libpangoft2-1.0.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libpango-1.0.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libcairo.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libfontconfig.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libfreetype.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libexpat.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libglitz.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libpng12.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libz.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libXrender.so -lSM -lICE -lX11 -lsocket -lnsl -lm /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgmodule-2.0.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libgobject-2.0.so /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libglib-2.0.so -lrt /pkg/obj/devel/libbonoboui/work/.buildlink/lib/libintl.so -lc -R/usr/pkg/lib -R/pkg/obj/devel/libbonoboui/work/.buildlink/lib
ld: fatal: library -ldb4: not found
ld: fatal: File processing errors. No output written to .libs/bonobo-hello
collect2: ld returned 1 exit status
gmake[3]: *** [bonobo-hello] Error 1
gmake[3]: Leaving directory `/pkg/obj/devel/libbonoboui/work/libbonoboui-2.16.0/samples/bonoboui'
gmake[2]: *** [all-recursive] Error 1
>How-To-Repeat:
bmake
>Fix:
What is wrong? me or pkgsrc?
This patch works for me and add db4 vars and .buildlink/.buildlink_db4_done file in right place.
--- Makefile.orig Tue Sep 26 18:10:11 2006
+++ Makefile Tue Sep 26 18:08:17 2006
@@ -36,4 +36,5 @@
.include "../../sysutils/gnome-vfs2/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
+.include "../../databases/db4/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"