Subject: pkg/11640: x11/Xaw3d does not build on Zoularis
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 12/05/2000 13:24:10
>Number:         11640
>Category:       pkg
>Synopsis:       x11/Xaw3d-1.5 does not build on Zoularis
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 05 13:24:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Hauke Fath
>Release:        SPARC SunOS 5.7, Zoularis 20000512
>Organization:
Einzeln auftretender Radfahrer
>Environment:
SunOS pizza 5.7 Generic_106541-06 sun4m sparc SUNW,SPARCstation-10

>Description:
	A build of the Xaw3d-1.5 package on Zoularis 20000512 fails in 
several places:

In "/usr/openwin/lib/config/sv4lib.tmpl" entries SERVERMODULES and
SERVERETC are indented with tab, not spaces, which causes make to
fail. (SunOS bug? Require Solaris patch for Zoularis install?)

"HasGcc2" and "HasCplusplus" need to be defined, e.g. in
"/usr/openwin/lib/config/site.cf"

Set "HasSunC=NO" in sun.cf

There is no <X11/Xmu/ExtAgent.h> => in "Vendor.c" #define out the
header include and the call "XtAddEventHandler(...,
XmuRegisterExternalAgent, ...); in XawVendorShellInitialize()

"make install" installs includes in "/usr/openwin/include/X11/X11"
instead ".../include/X11/Xaw3d"; the PLIST tries to install and
register a "lib/libXaw3d.so.6.1" and sets up "*.so" And "*.so.6" links
to it when the package only builds "libXaw3d.so.5"


>How-To-Repeat:
	Install Zoularis 20000512 on a SparcStation with SunOS 5.7
(zoularis-20001003 is borken for Solaris); bootstrap the
gtar/gzip/patch stuff, then fail to build Xaw3d-1.5 pkg.

>Fix:
	Possible fixes for all build problems above; I have not
provided patches as I am not really familiar with the guts of the
NetBSD pkg build system. The pkg install with its Makefiles layered on
top of Makefiles is too intricate for me to see through.
>Release-Note:
>Audit-Trail:
>Unformatted: