smartmake uses the system default temporary directory in a few places by calling Filename.tempPath():
% find . -name '*.js' -print | xargs egrep 'tempPath\(\)'
./make/msi/create-unique-guid.js: var outputFile = Filename.tempPath()
./make/msi/create-unique-guid.js: var inputFile = Filename.unix.normalize(Filename.tempPath())
./make/smartmake/scripting/test/TemplateTests.js: var reply = Filename.tempPath()
./make/smartmake/scripting/test/ioTests.js: var fname = Filename.tempPath()
./make/smartmake/scripting/test/ioTests.js: var fname = Filename.tempPath()
./make/smartmake/scripting/test/FilenameTests.js: var replyFromCmd = Filename.tempPath()
We had a windows-x64 build failure in Mach 5 due to this:
jib > Jibe: Loading [activex] from T:\workspace\install\make\smartmake\scripting\activex.js...
jib > Jibe: Loading [create-unique-guid] from T:\workspace\install\make\msi\create-unique-guid.js...
jib > Jibe: Loading [Assert] from T:\workspace\install\make\smartmake\scripting\Assert.js...
jib > Jibe: Loading [deepCompare] from T:\workspace\install\make\smartmake\scripting\deepCompare.js...
jib > Jibe: Loading [Filename] from T:\workspace\install\make\smartmake\scripting\Filename.js...
jib > Jibe: Loading [io] from T:\workspace\install\make\smartmake\scripting\io.js...
jib > Jibe: Loading [cmdline] from T:\workspace\install\make\smartmake\scripting\cmdline.js...
jib > io: TRACE: Writing C:/cygwin/tmp/rad37C82.tmp...
jib > create-unique-guid: TRACE: Running %comspec% /c sha1sum.exe "C:/cygwin/tmp/rad37C82.tmp" > "C:\cygwin\tmp\rad37C82.tmp"...
jib > io: TRACE: Reading C:\cygwin\tmp\rad37C82.tmp...
jib > create-unique-guid: ERROR: Failed to delete 'C:\cygwin\tmp\rad37C82.tmp' file.
jib > Jibe: ERROR: Error[File not found]
jib > /cygdrive/t/workspace/install/make/windows/defs/JdkMsi.gmk:43: *** Assertion failed. Unexpected []. Stop.
jib > /cygdrive/t/workspace/closed/make/Main.gmk:56: recipe for target 'installer' failed
jib > make[2]: *** [installer] Error 1
jib > make[2]: INTERNAL: Exiting with 4 jobserver tokens available; should be 8!
jib >
jib > ERROR: Build failed for target 'default (product-bundles test-bundles)' in configuration 'windows-x64' (exit code 2)
jib >
jib > === Make failed targets repeated here ===
jib > /cygdrive/t/workspace/closed/make/Main.gmk:56: recipe for target 'installer' failed
jib > === End of repeated output ===
jib >
jib > Hint: Try searching the build log for the name of the first failed target.
jib > Hint: See common/doc/building.html#troubleshooting for assistance.
jib >
jib > /cygdrive/t/workspace/make/Init.gmk:291: recipe for target 'main' failed
jib > make[1]: *** [main] Error 1
jib > /cygdrive/t/workspace/make/Init.gmk:185: recipe for target 'default' failed
jib > make: *** [default] Error 2
jib > Error: make exit code: 2
[2017-07-28T15:44:19,659Z][INFO][Thread-2][c.o.j.s.e.j.JdkBuilder] Build failed: error while building, return value: 10
com.oracle.java.sparky.executor.utils.BuildFailedException: error while building, return value: 10
Refer to attached file mach5-j-jdk10-20170728-1422-7811_windows_x64_stdout.log for the full log.
% find . -name '*.js' -print | xargs egrep 'tempPath\(\)'
./make/msi/create-unique-guid.js: var outputFile = Filename.tempPath()
./make/msi/create-unique-guid.js: var inputFile = Filename.unix.normalize(Filename.tempPath())
./make/smartmake/scripting/test/TemplateTests.js: var reply = Filename.tempPath()
./make/smartmake/scripting/test/ioTests.js: var fname = Filename.tempPath()
./make/smartmake/scripting/test/ioTests.js: var fname = Filename.tempPath()
./make/smartmake/scripting/test/FilenameTests.js: var replyFromCmd = Filename.tempPath()
We had a windows-x64 build failure in Mach 5 due to this:
jib > Jibe: Loading [activex] from T:\workspace\install\make\smartmake\scripting\activex.js...
jib > Jibe: Loading [create-unique-guid] from T:\workspace\install\make\msi\create-unique-guid.js...
jib > Jibe: Loading [Assert] from T:\workspace\install\make\smartmake\scripting\Assert.js...
jib > Jibe: Loading [deepCompare] from T:\workspace\install\make\smartmake\scripting\deepCompare.js...
jib > Jibe: Loading [Filename] from T:\workspace\install\make\smartmake\scripting\Filename.js...
jib > Jibe: Loading [io] from T:\workspace\install\make\smartmake\scripting\io.js...
jib > Jibe: Loading [cmdline] from T:\workspace\install\make\smartmake\scripting\cmdline.js...
jib > io: TRACE: Writing C:/cygwin/tmp/rad37C82.tmp...
jib > create-unique-guid: TRACE: Running %comspec% /c sha1sum.exe "C:/cygwin/tmp/rad37C82.tmp" > "C:\cygwin\tmp\rad37C82.tmp"...
jib > io: TRACE: Reading C:\cygwin\tmp\rad37C82.tmp...
jib > create-unique-guid: ERROR: Failed to delete 'C:\cygwin\tmp\rad37C82.tmp' file.
jib > Jibe: ERROR: Error[File not found]
jib > /cygdrive/t/workspace/install/make/windows/defs/JdkMsi.gmk:43: *** Assertion failed. Unexpected []. Stop.
jib > /cygdrive/t/workspace/closed/make/Main.gmk:56: recipe for target 'installer' failed
jib > make[2]: *** [installer] Error 1
jib > make[2]: INTERNAL: Exiting with 4 jobserver tokens available; should be 8!
jib >
jib > ERROR: Build failed for target 'default (product-bundles test-bundles)' in configuration 'windows-x64' (exit code 2)
jib >
jib > === Make failed targets repeated here ===
jib > /cygdrive/t/workspace/closed/make/Main.gmk:56: recipe for target 'installer' failed
jib > === End of repeated output ===
jib >
jib > Hint: Try searching the build log for the name of the first failed target.
jib > Hint: See common/doc/building.html#troubleshooting for assistance.
jib >
jib > /cygdrive/t/workspace/make/Init.gmk:291: recipe for target 'main' failed
jib > make[1]: *** [main] Error 1
jib > /cygdrive/t/workspace/make/Init.gmk:185: recipe for target 'default' failed
jib > make: *** [default] Error 2
jib > Error: make exit code: 2
[2017-07-28T15:44:19,659Z][INFO][Thread-2][c.o.j.s.e.j.JdkBuilder] Build failed: error while building, return value: 10
com.oracle.java.sparky.executor.utils.BuildFailedException: error while building, return value: 10
Refer to attached file mach5-j-jdk10-20170728-1422-7811_windows_x64_stdout.log for the full log.