Subject: Re: cross-building fails for sgimips
To: Luke Mewburn <lukem@netbsd.org>
From: Thierry Lacoste <th.lacoste@wanadoo.fr>
List: current-users
Date: 05/13/2005 10:06:25
On Friday 13 May 2005 07:15, you wrote:
> On Wed, May 11, 2005 at 11:10:40PM +0200, Thierry Lacoste wrote:
>   | I'm trying to build the sgimips release on my i386 running 3.99.3.
>   | I cvs updated my source tree today.
>
> Do you have a stale "MAKEDEV" in your src tree as src/etc/MAKEDEV ?
Touch=E9!
How do you check for stale files in src?
Is there a lighter way than 'cvs -n -q update'?
>
>   | #./build.sh -m sgimips -T ../sgi/tools/ -O ../sgi/obj/ -U -u release
>   | [snip]
>   | #   install  /usr/src/../sgi/obj/destdir.sgimips/dev/MAKEDEV
>   | cd /usr/src/../sgi/obj/etc &&
>   | STRIP=3D/usr/src/../sgi/tools/bin/mipseb--netbsd-strip
>   | /usr/src/../sgi/tools/bin/nbinstall -U -M
>   | /usr/src/../sgi/obj/destdir.sgimips/METALOG
>   | -D /usr/src/../sgi/obj/destdir.sgimips -h sha1 -N /usr/src/etc -c -p =
=2Dr
>   | -T etc_pkg -o root -g wheel -m 555
>   | MAKEDEV /usr/src/../sgi/obj/destdir.sgimips/dev
>   | nbinstall: MAKEDEV: stat: No such file or directory
>   |
>   | *** Failed target:  install-etc-files
I always use build.sh with -T and -O as above.
I thought it ensures that my source tree is not polluted; am I right?
Is this a good idea to keep src in its own partition mounted read-only?

Regards,
Thierry.