Subject: toolchain/29762: src/x11 does not bootstrap
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 03/22/2005 16:42:01
>Number:         29762
>Category:       toolchain
>Synopsis:       src/x11 does not bootstrap
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 22 16:42:00 +0000 2005
>Originator:     Martin Husemann
>Release:        NetBSD 2.99.16
>Organization:
>Environment:
System: NetBSD sunny-weather.duskware.de 2.99.16 NetBSD 2.99.16 (SUNNY) #3: Sat Mar 5 10:22:18 CET 2005 martin@sunny-weather.duskware.de:/usr/src/sys/arch/sparc64/compile/SUNNY sparc64
Architecture: sparc64
Machine: sparc64
>Description:

src/x11 does not compile (or "make include") when crosscompiling and 
${DESTDIR} does not have X headers (or some similar condition - I'm not
sure yet)

build.sh -x tells me:

includes ===> x11/lib/Xt
(cd /usr/src/x11/tools/makestrs && /usr/tools/bin/nbmake)
#   compile  makestrs/makestrs.lo
cc -O -I. -c -o makestrs.lo.o    /usr/xsrc/xfree/xc/config/util/makestrs.c
/usr/xsrc/xfree/xc/config/util/makestrs.c:33:21: X11/Xos.h: No such file or directory


>How-To-Repeat:

On a machine with no /sparc64 directory, do:

 mkdir /sparc64
 cd /usr/src
 ./build.sh -x -m sparc64 -D /sparc64 .... build

I bet the -m sparc64 is not important here.

>Fix:
n/a