Subject: xsrc/36836: netbsd-4 X11 does not ship rgb(1) nor lib/rgb.db
To: None <xsrc-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 08/25/2007 14:00:00
>Number:         36836
>Category:       xsrc
>Synopsis:       netbsd-4 lacks lib/rgb.db which Xmac68k_color wants
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 25 14:00:00 +0000 2007
>Originator:     Hauke Fath
>Release:        NetBSD 4.0_BETA2
>Organization:
Falling Raindrops
>Environment:
	
	
System: NetBSD fattie 4.0_BETA2 NetBSD 4.0_BETA2 (FATTIE) #6: Wed Jun 27 00:12:20 CEST 2007  hauke@fattie:/usr/src/sys/arch/mac68k/compile/FATTIE mac68k
Architecture: mac68k
Machine: mac68k

>Description:

	XFree86 ships with a colour database in
	/usr/X11R6/lib/rgb.txt. NetBSD's reachover X11 build does not
	build or install the rgb(1) tool (see
	/usr/src/xsrc/xfree/xc/programs/rgb/
	vs. /usr/src/x11/bin/rgb/Makefile), and so does not have
	/usr/X11R6/lib/rgb.db, which the (older) Xmac68k_color server
	wants:

fattie# cat /var/log/xdm.log
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
This is not a fatal error.
Couldn't set video mode to desired depth.
[...]

>How-To-Repeat:

	Install the colour-enabled Xmac68k_color.bz2 server from
	ftp.netbsd.org on a 68k Macintosh running netbsd-4. Start xdm,
	look into the /var/log/xdm.log file.

>Fix:

	Make /usr/src/x11/bin/rgb/Makefile build and install rgb(1) as
	well as rgb.db.

	Unfortunately, the BSD make build system isn't fond of
	building two programs in the same directory, so it may be
	necessary to create a separate build directory in
	/usr/src/x11/bin/ for showrgb(1).

>Unformatted: