pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/34613: devel/libgnome database/db4 Solaris



>Number:         34613
>Category:       pkg
>Synopsis:       devel/libgnome database/db4 Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 25 17:55: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:


gmake[3]: Entering directory 
`/pkg/obj/devel/libgnome/work/libgnome-2.16.0/libgnome'
/bin/bash ../libtool --mode=link gcc -O -I/usr/pkg/include -I/usr/include 
-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o gnome-open  gnome-open.o 
libgnome-2.la -Wl,-R/usr/pkg/lib -pthreads -L/usr/pkg/lib -lgnomevfs-2 
-lgobject-2.0 -lbonobo-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgmodule-2.0 
-lgthread-2.0 -lglib-2.0 -lintl -lesd -laudiofile -lm   -lpopt 
gcc -O -I/pkg/obj/devel/libgnome/work/.buildlink/include -Wl,-R/usr/pkg/lib -o 
.libs/gnome-open gnome-open.o -pthreads  
-L/pkg/obj/devel/libgnome/work/.buildlink/lib ./.libs/libgnome-2.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libgnomevfs-2.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libxml2.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libdbus-glib-1.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libdbus-1.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libgnutls.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libz.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libtasn1.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libgcrypt.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libgpg-error.so -ldb4 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libbonobo-2.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libbonobo-activation.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libORBitCosNaming-2.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libgconf-2.so 
/pkg/obj/devel/libgnome/wor
 k/.buildlink/lib/libORBit-2.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libgobject-2.0.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libgmodule-2.0.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libgthread-2.0.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libglib-2.0.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libesd.so -lrt -lresolv -lnsl 
-lsocket /pkg/obj/devel/libgnome/work/.buildlink/lib/libaudiofile.so -lm 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libpopt.so 
/pkg/obj/devel/libgnome/work/.buildlink/lib/libintl.so -lc -R/usr/pkg/lib 
-R/pkg/obj/devel/libgnome/work/.buildlink/lib
ld: fatal: library -ldb4: not found
ld: fatal: File processing errors. No output written to .libs/gnome-open
collect2: ld returned 1 exit status
gmake[3]: *** [gnome-open] Error 1



>How-To-Repeat:


bmake


>Fix:


I think the bug is in database/db4 

Maybe this patch in db4:

[root@redhot 1068] pwd
/home/cvsmywork/pkgsrc/databases/db4
[root@redhot 1069] diff -bu buildlink3.mk.orig buildlink3.mk
--- buildlink3.mk.orig  Mon Jul 10 16:00:22 2006
+++ buildlink3.mk       Mon Sep 25 19:48:52 2006
@@ -16,6 +16,11 @@
 BUILDLINK_PKGSRCDIR.db4?=      ../../databases/db4
 BUILDLINK_INCDIRS.db4?=                include/db4
 BUILDLINK_LDADD.db4=           -ldb4
+.if ${OPSYS} == "SunOS"
+BUILDLINK_LDADD.db4=           -R${LOCALBASE}/lib
+BUILDLINK_LDADD.db4+=          -L${LOCALBASE}/lib
+BUILDLINK_LDADD.db4+=          -ldb4
+.endif
 BUILDLINK_TRANSFORM+=          l:db-4:db4
 
 .  include "../../mk/bsd.prefs.mk"






Home | Main Index | Thread Index | Old Index