Subject: xsrc/20581: XFree86 4.3.0 build bug
To: None <>
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
>Originator:     Christopher Richards
>Release:        NetBSD 1.6.1_RC2
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
	As reported by Peter Seebach in,
	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

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

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

	Build a recent xsrc.

	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))