Subject: Parallel build failures in csh or doc?
To: None <current-users@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: current-users
Date: 09/05/2007 12:39:21
For several weeks I've been seeing errors like this intermittently:

===> build.sh command: ./build.sh -R /Volumes/csfs/nbrel -T
/volumes/csfs/nbtools -O /Volumes/csfs/nbobj -D /Volumes/csfs/nbdest-i386 -m
i386 -j 4 -U release
===> build.sh started: Tue Sep  4 01:02:44 EDT 2007
===> NetBSD version:   4.99.30
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> Build platform:   Darwin 8.10.1 i386
===> HOST_SH:          /bin/sh
===> TOOLDIR path:     /volumes/csfs/nbtools
===> DESTDIR path:     /Volumes/csfs/nbdest-i386
===> RELEASEDIR path:  /Volumes/csfs/nbrel
===> makewrapper:      /volumes/csfs/nbtools/bin/nbmake-i386
===> Updated /volumes/csfs/nbtools/bin/nbmake-i386
[...]
--- install-bin ---
--- /Volumes/csfs/nbdest-i386/usr/share/doc/usd/04.csh/csh.4 ---
#   install  /Volumes/csfs/nbdest-i386/usr/share/doc/usd/04.csh/csh.4
/volumes/csfs/nbtools/bin/i386--netbsdelf-install -U -M
/Volumes/csfs/nbdest-i386/METALOG -D /Volumes/csfs/nbdest-i386 -h sha1 -N
/Volumes/csfs/nbsrc-eq/etc -c  -r -o root -g wheel -m 444  csh.4
/Volumes/csfs/nbdest-i386/usr/share/doc/usd/04.csh/csh.4
--- install-games ---
--- install-backgammon ---
install ===> games/backgammon/backgammon
--- install-bin ---
--- /Volumes/csfs/nbdest-i386/usr/share/doc/usd/04.csh/csh.a ---
#   install  /Volumes/csfs/nbdest-i386/usr/share/doc/usd/04.csh/csh.a
/volumes/csfs/nbtools/bin/i386--netbsdelf-install -U -M
/Volumes/csfs/nbdest-i386/METALOG -D /Volumes/csfs/nbdest-i386 -h sha1 -N
/Volumes/csfs/nbsrc-eq/etc -c  -r -o root -g wheel -m 444  csh.a
/Volumes/csfs/nbdest-i386/usr/share/doc/usd/04.csh/csh.a
i386--netbsdelf-install: csh.a: stat: No such file or directory
*** [/Volumes/csfs/nbdest-i386/usr/share/doc/usd/04.csh/csh.a] Error code 1
1 error

nbmake: stopped in /Volumes/csfs/nbsrc-eq/bin/csh/USD.doc
*** [install-USD.doc] Error code 2
1 error

nbmake: stopped in /Volumes/csfs/nbsrc-eq/bin/csh
*** [install-csh] Error code 2
1 error
[...]
ERROR: Failed to make release
*** BUILD ABORTED ***

This is the very first mention of "csh.a" in the entire build.sh output.
I am seeing this error with MacOS X as the build host and one of my
coworkers is seeing it (and several other similar errors) with FreeBSD 6
as the build host.  I see it with -j values from -j2 to -j6; he sees it
even with -j1.

Is there some known synchronization problem with the Makefiles or nbmake
which doesn't occur with NetBSD as the host?

-- 
  Thor Lancelot Simon	                                     tls@rek.tjls.com

  "The inconsistency is startling, though admittedly, if consistency is to
   be abandoned or transcended, there is no problem."	      - Noam Chomsky