Re: CVS commit: src/usr.bin/make

2010-04-22 Thread Tom Spindler
 Modified Files:
   src/usr.bin/make: job.c main.c make.h
 
 Log Message:
 Just because $TMPDIR is set does not mean it is valid.
 Add a central function for creating temp files so we have one place to
 audit.

This breaks build.sh when bootstrapping nbmake on linux:

cc  -O -o nbmake *.o  
main.o: In function `mkTempFile':
main.c:(.text+0x618): undefined reference to `strlcpy'
collect2: ld returned 1 exit status

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



Re: CVS commit: src/usr.bin/make

2010-04-22 Thread Simon J. Gerraty

On Thu, 22 Apr 2010 19:51:07 +, Tom Spindler writes:
 Modified Files:
  src/usr.bin/make: job.c main.c make.h
 
 Log Message:
 Just because $TMPDIR is set does not mean it is valid.
 Add a central function for creating temp files so we have one place to
 audit.

This breaks build.sh when bootstrapping nbmake on linux:

Crap - sorry,  will fix.


cc  -O -o nbmake *.o  
main.o: In function `mkTempFile':
main.c:(.text+0x618): undefined reference to `strlcpy'
collect2: ld returned 1 exit status

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


Re: CVS commit: src/usr.bin/make

2010-04-22 Thread Simon J. Gerraty
Dh already commited the exact same change I just tried to.

On Thu, 22 Apr 2010 19:51:07 +, Tom Spindler writes:
 Modified Files:
  src/usr.bin/make: job.c main.c make.h
 
 Log Message:
 Just because $TMPDIR is set does not mean it is valid.
 Add a central function for creating temp files so we have one place to
 audit.

This breaks build.sh when bootstrapping nbmake on linux:

cc  -O -o nbmake *.o  
main.o: In function `mkTempFile':
main.c:(.text+0x618): undefined reference to `strlcpy'
collect2: ld returned 1 exit status

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


Re: CVS commit: src/distrib

2010-04-22 Thread Tom Spindler
 Log Message:
 Change use of ${CP} and ${CHMOD} to ${INSTALL_FILE}, so that if the
 target is made un-writeable, the build won't bomb out during an
 UPDATE build.  OK'ed by mar...@.

on i386, when I try building, I now get:
/usr/local/locdisk/locobj/tools/bin/nbmtree -CSM -k all -N /src/nbsrc/etc 
/usr/local/locdisk/locobj/i386/src/nbsrc/destdir.i386/METALOG  
/usr/local/locdisk/locobj/i386/src/nbsrc/destdir.i386/METALOG.new
nbmtree: ./cdrom: missing directory in specification
nbmtree: failed at line 34934 of the specification
*** [/usr/local/locdisk/locobj/i386/src/nbsrc/destdir.i386/METALOG.sanitised] 
Error code 1
1 error

nbmake: stopped in /src/nbsrc/distrib/sets

For some reason, sparc64 does build successfully, however.



Re: CVS commit: src/usr.bin/make

2010-04-22 Thread David Holland
On Thu, Apr 22, 2010 at 02:11:31PM -0700, Simon J. Gerraty wrote:
  Dh already commited the exact same change I just tried to.

sorry, didn't look here first. :-/

-- 
David A. Holland
dholl...@netbsd.org


Re: CVS commit: src/usr.bin/make

2010-04-22 Thread Simon J. Gerraty
Thanks for fixing that.

On Thu, 22 Apr 2010 22:00:26 +, David Holland writes:
On Thu, Apr 22, 2010 at 02:11:31PM -0700, Simon J. Gerraty wrote:
  Dh already commited the exact same change I just tried to.

sorry, didn't look here first. :-/