Apache OpenOffice (AOO) Bugzilla – Issue 69989
directory creation can fail during parallel builds
Last modified: 2007-01-09 10:34:34 UTC
I just got: ------------- /cygdrive/d/w1/tin_ws/filter/source/config/fragments/filters mkout -- version: 1.7 mkdir.pl ../../../../wntmsci10.pro/misc/filters/ui/fragments/filters/ guw.pl cfgex -p filter -i StarOffice_XML__Base__ui.xcu -o ../../../../wntmsci10.pro/misc/filters/ui/fragments/filters/StarOffice_XML__Base__ui.xcu -m localize.sdf -l all ------------- mkdir.pl ../../../../wntmsci10.pro/misc/filters/ui/fragments/filters/ guw.pl cfgex -p filter -i HTML__StarWriter__ui.xcu -o ../../../../wntmsci10.pro/misc/filters/ui/fragments/filters/HTML__StarWriter__ui.xcu -m localize.sdf -l all mkdir.pl ../../../../wntmsci10.pro/misc/filters/ui/fragments/filters/ Running processes: 2 /cygdrive/d/w1/tin_ws/filter/source/config/tools/utils dmake: Executing shell macro: -+ls -1 $(JARDIR) | $(GREP) "^$i" Can´t create directory filters at /cygdrive/d/w1/tin_ws/solenv/bin/mkdir.pl line 56. Probably two reasons: * One of two simultaneous calls fails but there is no '-' in front of the corresponding $(MKDIRHIER) call in tg_config.mk * Why is W32-??sh using mkdir.pl? The perl script is a lot more susceptible to this race. P.S.: All the "+" in front of $(MKDIR[HIER]) are unneeded, W32-4nt defines it's own in unitools.mk.
Created attachment 39462 [details] patch for unitools.mk
The previous patch fixed the problem for me (at least in the one test I did). I'll also prepare a patch to add the missing '-' and remove the '+' in front of $(MKDIR[HIER]).
Created attachment 39472 [details] patch for solenv/inc
Committed to vq37. Please verify that I didn't break W32-4nt. W32-bash works fine here.
looks good and builds fine with 4nt.
.