NetBSD Problem Report #34142

From dauphin@enst.fr  Fri Aug  4 15:30:23 2006
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id E225263B964
	for <gnats-bugs@gnats.netbsd.org>; Fri,  4 Aug 2006 15:30:23 +0000 (UTC)
Message-Id: <1154705421.6953@bi.enst.fr>
Date: Fri, 4 Aug 2006 17:30:21 +0200
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: x11/kdebase3 all Solaris release with ABI=64
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         34142
>Category:       pkg
>Synopsis:       x11/kdebase3 all Solaris release with ABI=64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 04 15:35:00 +0000 2006
>Closed-Date:    Thu Feb 07 14:41:49 +0000 2013
>Last-Modified:  Thu Feb 07 14:41:49 +0000 2013
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


A 64bits libXdmcp and libXau does not exist on solaris (any release and any arch)
kdebase3 try to build /bin/kdm (look in kdm subdir) and fail.
Some client in kdebase use libXau but it is wrong, all client
part are in the correct Xlib place for 64bits ABI (on solaris ;)

if you don't build utility that use Xdmcp (xession, etc... , look at configure --help)
the PLIST is also wrong.

Patch is in the fix...




>How-To-Repeat:





>Fix:


--- Makefile.orig       Thu Aug  3 17:26:33 2006
+++ Makefile    Thu Aug  3 19:45:16 2006
@@ -115,9 +115,16 @@
 CONFIGURE_ARGS+=       --with-pam
 .endif

+
 # Solaris 10 has libusb only for 32 bit ABI (see PR 33727).
+# 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
+PLIST_SUBST+=          HAVE_LIBXDMCP="@comment "
+.else
+PLIST_SUBST+=          HAVE_LIBXDMCP=""
 .endif

 .if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"

---------------------------------------------------------------------------------------------------------------
--- PLIST.orig  Thu Aug  3 14:28:05 2006
+++ PLIST       Thu Aug  3 17:43:07 2006
@@ -2,7 +2,7 @@
 bin/appletproxy
 bin/drkonqi
 bin/extensionproxy
-bin/genkdmconf
+${HAVE_LIBXDMCP}bin/genkdmconf
 bin/kaccess
 bin/kappfinder
 bin/kapplymousetheme
@@ -27,10 +27,10 @@
 bin/kdesu
 bin/kdesud
 bin/kdialog
-bin/kdm
-bin/kdm_config
-bin/kdm_greet
-bin/kdmctl
+${HAVE_LIBXDMCP}bin/kdm
+${HAVE_LIBXDMCP}bin/kdm_config
+${HAVE_LIBXDMCP}bin/kdm_greet
+${HAVE_LIBXDMCP}bin/kdmctl
 bin/keditbookmarks
 bin/keditfiletype
 bin/kfind
@@ -63,7 +63,7 @@
 bin/krandrtray
 bin/krdb
 bin/kreadconfig
-bin/krootimage
+${HAVE_LIBXDMCP}bin/krootimage
 bin/ksmserver
 bin/ksplash
 bin/ksplashsimple
@@ -1602,96 +1602,96 @@
 share/kde/apps/kdisplay/color-schemes/Windows95.kcsrc
 share/kde/apps/kdisplay/color-schemes/WindowsXP.kcsrc
 share/kde/apps/kdisplay/color-schemes/YellowOnBlue.kcsrc
-share/kde/apps/kdm/faces/.default.face.icon
-share/kde/apps/kdm/faces/root.face.icon
-share/kde/apps/kdm/pics/kdelogo-crystal.png
-share/kde/apps/kdm/pics/kdelogo.png
-share/kde/apps/kdm/pics/shutdown.jpg
-share/kde/apps/kdm/pics/users/Apple.png
-share/kde/apps/kdm/pics/users/BeachBall.png
-share/kde/apps/kdm/pics/users/Blowfish.png
-share/kde/apps/kdm/pics/users/Bug.png
-share/kde/apps/kdm/pics/users/Butterfly.png
-share/kde/apps/kdm/pics/users/Car.png
-share/kde/apps/kdm/pics/users/Cow.png
-share/kde/apps/kdm/pics/users/Daemon.png
-share/kde/apps/kdm/pics/users/Dog.png
-share/kde/apps/kdm/pics/users/Elephant.png
-share/kde/apps/kdm/pics/users/Flower.png
-share/kde/apps/kdm/pics/users/Frog.png
-share/kde/apps/kdm/pics/users/Ghost.png
-share/kde/apps/kdm/pics/users/Guitar.png
-share/kde/apps/kdm/pics/users/Heart.png
-share/kde/apps/kdm/pics/users/Konqui.png
-share/kde/apps/kdm/pics/users/Lion.png
-share/kde/apps/kdm/pics/users/Monkey.png
-share/kde/apps/kdm/pics/users/Penguin.png
-share/kde/apps/kdm/pics/users/Pig.png
-share/kde/apps/kdm/pics/users/Rabbit.png
-share/kde/apps/kdm/pics/users/Ring.png
-share/kde/apps/kdm/pics/users/Scream.png
-share/kde/apps/kdm/pics/users/Shark.png
-share/kde/apps/kdm/pics/users/Splash.png
-share/kde/apps/kdm/pics/users/Star.png
-share/kde/apps/kdm/pics/users/Teddybear.png
-share/kde/apps/kdm/pics/users/Turtle.png
-share/kde/apps/kdm/pics/users/default1.png
-share/kde/apps/kdm/pics/users/default2.png
-share/kde/apps/kdm/pics/users/default3.png
-share/kde/apps/kdm/pics/users/root1.png
-share/kde/apps/kdm/sessions/9wm.desktop
-share/kde/apps/kdm/sessions/aewm++.desktop
-share/kde/apps/kdm/sessions/aewm.desktop
-share/kde/apps/kdm/sessions/afterstep.desktop
-share/kde/apps/kdm/sessions/amaterus.desktop
-share/kde/apps/kdm/sessions/amiwm.desktop
-share/kde/apps/kdm/sessions/asclassic.desktop
-share/kde/apps/kdm/sessions/blackbox.desktop
-share/kde/apps/kdm/sessions/cde.desktop
-share/kde/apps/kdm/sessions/ctwm.desktop
-share/kde/apps/kdm/sessions/cwwm.desktop
-share/kde/apps/kdm/sessions/enlightenment.desktop
-share/kde/apps/kdm/sessions/evilwm.desktop
-share/kde/apps/kdm/sessions/fluxbox.desktop
-share/kde/apps/kdm/sessions/flwm.desktop
-share/kde/apps/kdm/sessions/fvwm.desktop
-share/kde/apps/kdm/sessions/fvwm95.desktop
-share/kde/apps/kdm/sessions/gnome.desktop
-share/kde/apps/kdm/sessions/golem.desktop
-share/kde/apps/kdm/sessions/icewm.desktop
-share/kde/apps/kdm/sessions/ion.desktop
-share/kde/apps/kdm/sessions/kde.desktop
-share/kde/apps/kdm/sessions/larswm.desktop
-share/kde/apps/kdm/sessions/lwm.desktop
-share/kde/apps/kdm/sessions/matchbox.desktop
-share/kde/apps/kdm/sessions/metacity.desktop
-share/kde/apps/kdm/sessions/mwm.desktop
-share/kde/apps/kdm/sessions/olvwm.desktop
-share/kde/apps/kdm/sessions/olwm.desktop
-share/kde/apps/kdm/sessions/openbox.desktop
-share/kde/apps/kdm/sessions/oroborus.desktop
-share/kde/apps/kdm/sessions/phluid.desktop
-share/kde/apps/kdm/sessions/pwm.desktop
-share/kde/apps/kdm/sessions/qvwm.desktop
-share/kde/apps/kdm/sessions/ratpoison.desktop
-share/kde/apps/kdm/sessions/sapphire.desktop
-share/kde/apps/kdm/sessions/sawfish.desktop
-share/kde/apps/kdm/sessions/twm.desktop
-share/kde/apps/kdm/sessions/ude.desktop
-share/kde/apps/kdm/sessions/vtwm.desktop
-share/kde/apps/kdm/sessions/w9wm.desktop
-share/kde/apps/kdm/sessions/waimea.desktop
-share/kde/apps/kdm/sessions/wm2.desktop
-share/kde/apps/kdm/sessions/wmaker.desktop
-share/kde/apps/kdm/sessions/xfce.desktop
-share/kde/apps/kdm/sessions/xfce4.desktop
-share/kde/apps/kdm/themes/circles/GdmGreeterTheme.desktop
-share/kde/apps/kdm/themes/circles/background.svg
-share/kde/apps/kdm/themes/circles/circles.xml
-share/kde/apps/kdm/themes/circles/flower.png
-share/kde/apps/kdm/themes/circles/help.png
-share/kde/apps/kdm/themes/circles/options.png
-share/kde/apps/kdm/themes/circles/screenshot.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/faces/.default.face.icon
+${HAVE_LIBXDMCP}share/kde/apps/kdm/faces/root.face.icon
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/kdelogo-crystal.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/kdelogo.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/shutdown.jpg
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Apple.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/BeachBall.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Blowfish.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Bug.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Butterfly.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Car.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Cow.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Daemon.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Dog.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Elephant.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Flower.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Frog.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Ghost.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Guitar.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Heart.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Konqui.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Lion.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Monkey.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Penguin.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Pig.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Rabbit.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Ring.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Scream.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Shark.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Splash.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Star.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Teddybear.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/Turtle.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/default1.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/default2.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/default3.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/pics/users/root1.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/9wm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/aewm++.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/aewm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/afterstep.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/amaterus.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/amiwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/asclassic.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/blackbox.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/cde.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/ctwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/cwwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/enlightenment.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/evilwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/fluxbox.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/flwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/fvwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/fvwm95.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/gnome.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/golem.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/icewm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/ion.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/kde.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/larswm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/lwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/matchbox.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/metacity.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/mwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/olvwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/olwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/openbox.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/oroborus.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/phluid.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/pwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/qvwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/ratpoison.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/sapphire.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/sawfish.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/twm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/ude.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/vtwm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/w9wm.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/waimea.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/wm2.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/wmaker.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/xfce.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/sessions/xfce4.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/themes/circles/GdmGreeterTheme.desktop
+${HAVE_LIBXDMCP}share/kde/apps/kdm/themes/circles/background.svg
+${HAVE_LIBXDMCP}share/kde/apps/kdm/themes/circles/circles.xml
+${HAVE_LIBXDMCP}share/kde/apps/kdm/themes/circles/flower.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/themes/circles/help.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/themes/circles/options.png
+${HAVE_LIBXDMCP}share/kde/apps/kdm/themes/circles/screenshot.png
 share/kde/apps/keditbookmarks/keditbookmarks-genui.rc
 share/kde/apps/keditbookmarks/keditbookmarksui.rc
 share/kde/apps/kfindpart/icons/locolor/22x22/actions/archive.png
@@ -2216,20 +2216,20 @@
 share/kde/config/katerc
 share/kde/config/kdesktop_custom_menu1
 share/kde/config/kdesktop_custom_menu2
-share/kde/config/kdm/README
-share/kde/config/kdm/Xaccess
-share/kde/config/kdm/Xreset
-share/kde/config/kdm/Xsession
-share/kde/config/kdm/Xsetup
-share/kde/config/kdm/Xstartup
-share/kde/config/kdm/Xwilling
-share/kde/config/kdm/backgroundrc
-share/kde/config/kdm/kdmrc
+${HAVE_LIBXDMCP}share/kde/config/kdm/README
+${HAVE_LIBXDMCP}share/kde/config/kdm/Xaccess
+${HAVE_LIBXDMCP}share/kde/config/kdm/Xreset
+${HAVE_LIBXDMCP}share/kde/config/kdm/Xsession
+${HAVE_LIBXDMCP}share/kde/config/kdm/Xsetup
+${HAVE_LIBXDMCP}share/kde/config/kdm/Xstartup
+${HAVE_LIBXDMCP}share/kde/config/kdm/Xwilling
+${HAVE_LIBXDMCP}share/kde/config/kdm/backgroundrc
+${HAVE_LIBXDMCP}share/kde/config/kdm/kdmrc
 share/kde/config/klipperrc
 share/kde/config/konqsidebartng.rc
 share/kde/config/kshorturifilterrc
 share/kde/config/kxkb_groups
-share/kde/doc/kdm/README
+${HAVE_LIBXDMCP}share/kde/doc/kdm/README
 share/kde/icons/Daemon.png
 share/kde/icons/NetBSD-flag.png
 share/kde/icons/crystalsvg/128x128/apps/access.png



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: markd@netbsd.org
Responsible-Changed-When: Fri, 04 Aug 2006 22:24:43 +0000
Responsible-Changed-Why:
looking at it.


Responsible-Changed-From-To: markd->solaris-pkg-people
Responsible-Changed-By: markd@NetBSD.org
Responsible-Changed-When: Sun, 12 Oct 2008 10:32:16 +0000
Responsible-Changed-Why:
Solaris 64bit problem.


State-Changed-From-To: open->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Thu, 07 Feb 2013 14:41:49 +0000
State-Changed-Why:
This does not appear to still be an issue.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.