Subject: Re: build.sh problems: Solaris 9 SPARC
To: Rob Healey <rhealey@norstar.com>
From: Mike Pumford <mpumford@black-star.demon.co.uk>
List: current-users
Date: 11/15/2002 19:32:40
> 	1) There are directory name clashes for grep, ktrace and man in the
> 	   initial cleaning phase that tries to remove those from the
> 	   respective source directory. Each of the source trees has a
> 	   subdirectory the same name as the binary produced so the rm chokes
> 	   when it trys to tidy up. i.e.
> 
> 	   src/gnu/usr.bin/grep/grep is a directory rather than a file.
> 	   src/usr.bin/ktrace/ktrace is a directory rather than a file.
> 	   src/usr.bin/man/man is a directory rather than a file.
> 
> 	   I don't think that this is unique to Solaris; CVS made the src
> 	   trees, not Solaris.
> 
You need to use 'cvs update -dP' so that CVS prunes the empty directories 
out of the source tree. These empty directories are leftovers from an earlier 
source tree version. This is unfortunately standard CVS behaviour. You are 
quite correct that they are not Solaris specific problems they can bite even 
when working on NetBSD.


> 	2) Solaris calls GID 0 "root" rather than "wheel".
> 
Would doing a build -U help as it doesn't need root to work?

Mike