Subject: pkg/33729: x11/kdebase3 solaris10 Xau amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 06/14/2006 12:40:00
>Number: 33729
>Category: pkg
>Synopsis: x11/kdebase3 solaris10 Xau amd64
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 14 12:40: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/x11/kdebase3/work/kdebase-3.5.2/ksmserver'
/bin/bash ../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/pkg/include/krb5 -I/usr/pkg/include/db4 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -L/usr/pkg/qt3/lib -L/usr/lib/64 -Wl,-R/usr/lib/64 -R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/qt3/lib -L/usr/openwin/lib/64 -Wl,-R/usr/openwin/lib/64 -o libkdeinit_ksmserver.la -rpath /usr/pkg/lib -no-undefined -avoid-version -L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/openwin/lib/64 -L/usr/pkg/qt3/lib -L/usr/lib/64 -Wl,-R/usr/lib/64 -R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/qt3/lib -L/usr/openwin/lib/64 -Wl,-R/usr/openwin/lib/64 main.lo server.lo shutdowndlg.lo legacy.lo
startup.lo shutdown.lo client.lo KSMServerInterface_skel.lo server_skel.lo ../kdmlib/libdmctl.la -lkdeui -R/usr/pkg/lib -L/usr/pkg/lib -ldb4
ld: fatal: library -lXau: not found
ld: fatal: File processing errors. No output written to .libs/libkdeinit_ksmserver.so
collect2: ld returned 1 exit status
gmake[3]: *** [libkdeinit_ksmserver.la] Error 1
gmake[3]: Leaving directory `/pkg/obj/x11/kdebase3/work/kdebase-3.5.2/ksmserver'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/pkg/obj/x11/kdebase3/work/kdebase-3.5.2/ksmserver'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkg/obj/x11/kdebase3/work/kdebase-3.5.2'
gmake: *** [all] Error 2
*** Error code 2
Stop.
>How-To-Repeat:
bmake
>Fix:
--- Makefile.orig Tue Jun 13 12:57:47 2006
+++ Makefile Wed Jun 14 14:31:13 2006
@@ -193,6 +193,14 @@
CONFIGURE_ENV+= kde_cv_path_fontconfig_config='NONE'
.endif
+# Solaris 10 have only libusb for 32 bit ABI.
+# Same for libXau, Xau is for server part, not for clients.
+# All Auth parts for client is in Xlib (solaris)
+.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "x86_64"
+CONFIGURE_ARGS+= --without-libusb
+BUILDLINK_TRANSFORM+= rm:-lXau
+.endif
+
.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../databases/openldap-client/buildlink3.mk"