Subject: xsrc/20581: XFree86 4.3.0 build bug
To: None <gnats-bugs@gnats.netbsd.org>
From: Christopher Richards <richards+netbsd@CS.Princeton.EDU>
List: netbsd-bugs
Date: 03/04/2003 20:55:14
>Number:         20581
>Category:       xsrc
>Synopsis:       XFree86 4.3.0 build bug
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 04 17:56:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Richards
>Release:        NetBSD 1.6.1_RC2
>Organization:
 
>Environment:
	
	
System: NetBSD zembla.Princeton.EDU 1.6.1_RC2 NetBSD 1.6.1_RC2 (ZEMBLA) #4: Sat Mar 1 20:17:03 EST 2003 richards@zembla.Princeton.EDU:/usr/src/sys/arch/i386/compile/ZEMBLA i386
Architecture: i386
Machine: i386
>Description:
	
	As reported by Peter Seebach in
	http://mail-index.netbsd.org/tech-x11/2003/03/02/0005.html,
	a build of recent xsrc produces an error as follows:

	making all in lib/GL/mesa/src/OSmesa...
	make: don't know how to make ../../../../../lib/GL/mesa/src/X86/unshared/common_x86.o. Stop

	make: stopped in /usr/xobj/xfree/xc/lib/GL/mesa/src/OSmesa
	*** Error code 2

	Stop.
	make: stopped in /usr/xobj/xfree/xc/lib/GL

	This is apparently caused by a failure to create the "unshared"
	directory.

>How-To-Repeat:
	
	Build a recent xsrc.

>Fix:
	
	I haven't tested it, but I think the problem may lie in the line
	of .../mesa/src/X86/Imakefile that reads:
			
	#if BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa || BuildOSMesaLib)

	I believe it should read as it appears in .../mesa/src/X/Imakefile,
	as follows:

	#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa))

>Release-Note:
>Audit-Trail:
>Unformatted: