embedthis/ejs-2 — Issue #1: Build Fails on Windows if Source isn't in Cygwin Root
Author: Wilkins-
Created: 2011-11-16 16:26:01+00:00
State: open

The errors below occur if the source code is not within the Cygwin root. As soon as I moved the source to the Cygwin root which in this case is C:\cygwin Ejscript build perfectly.

uid@pcname /cygdrive/c/github/ejscript2/ejs-2
$ make
[Building] ejs.unix-2.0.0.jem
Error Exception: Command failed: status: 2

Error Output:
tar (child): /github/ejscript2/ejs-2/out/jlocal/ejs.unix-2.0.0/ejs.unix-2.0.0.je
m: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Previous Output:

Stack:
[00] System.es, line 69, sh, return System.run(shell + " -c \"" + args + "\"").
trim('\n')
[01] Tar.es, line 45, extract, System.sh(cmd)
[02] ../../../out/bin/jem, line 1009, publish, tar.extract("package.json")
[03] ../../../out/bin/jem, line 364, process, publish(Jem(jem))
[04] ../../../out/bin/jem, line 267, main, process()
[05] ../../../out/bin/jem, line 1374, ejs.jem, } /* ejs.jem module */

../../../out/bin/jem: ERROR: jem: Error: Command failed: status: 2

Error Output:
tar (child): /github/ejscript2/ejs-2/out/jlocal/ejs.unix-2.0.0/ejs.unix-2.0.0.je
m: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Previous Output:

make[3]: *** [../../../out/jlocal/ejs.unix-2.0.0] Error 2
make[2]: *** [compileDirs] Error 2
make[1]: *** [compileAdirs] Error 2
make: *** [compileDirs] Error 2