Subject: cross compile with different username
To: None <current-users@netbsd.org>
From: Cherry G. Mathew <cherry.g.mathew@gmail.com>
List: current-users
Date: 12/30/2006 18:03:38
Hi,


I've checked out the cvs source as login: cherry

for builds, I login as : code:

when I try to cross-build the tree from linux using $SRCDIR/build.sh
-m ia64 tools

code@loonix:~$ /home/cherry/code/NetBSD/src/build.sh -mi386 tools
===> build.sh command: /home/cherry/code/NetBSD/src/build.sh -mi386 tools
===> build.sh started: Sat Dec 30 19:49:18 GMT 2006
===> HOST_SH:          /bin/sh
===> No nonexistent/bin/nbmake, needs building.
===> Bootstrapping nbmake
/bin/sh: Can't open /tools/make/configure

ERROR: Configure of nbmake failed
*** BUILD ABORTED ***

the same thing works as root:

root@loonix:/home/code# /home/cherry/code/NetBSD/src/build.sh -mia64 tools
===> build.sh command: /home/cherry/code/NetBSD/src/build.sh -mia64 tools
===> build.sh started: Sat Dec 30 19:50:13 GMT 2006
===> HOST_SH:          /bin/sh
===> No nonexistent/bin/nbmake, needs building.
===> Bootstrapping nbmake
checking for sh... /bin/sh
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes

I see a comment within build.sh:165
 # XXX Except that doesn't work on Solaris. Or many Linuces.

Anybody else see this ?

-- 
~Cherry