MichaReiser / speedy.js

Accelerate JavaScript Applications by Compiling to WebAssembly
MIT License
347 stars 19 forks source link

npm run bootstrap failed #21

Closed nidin closed 7 years ago

nidin commented 7 years ago

I compiled LLVM locally and tried to start npm run bootstrap. but it failed.

OS : macOS Sierra (10.12.4)

NpmUtilities.execInDir        ("run prepublish", [], "./packages/runtime")
Error: Command failed: npm run prepublish
INFO:root:generating system asset: is_vanilla.txt... (this will be cached in "/Users/n.vinayakan/.emscripten_cache/is_vanilla.txt" for subsequent builds)
INFO:root: - ok
WARNING:root:LLVM version appears incorrect (seeing "5.0", expected "4.0")
INFO:root:(Emscripten: Running sanity checks)
INFO:root:generating system library: libcxx.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxx.a" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libcxxabi.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxxabi.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libc.bc" for subsequent builds)
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: warning: absolute value function 'fabs' given an argument of type 'long double' but has parameter of type 'double' which may cause truncation of value [-Wabsolute-value]
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: note: use function 'fabsl' instead
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^~~~
                    fabsl
1 warning generated.
INFO:root: - ok
INFO:root:generating system library: dlmalloc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/dlmalloc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm-libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm-libc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm_compiler_rt.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm_compiler_rt.a" for subsequent builds)
INFO:root: - ok
CMake Error at test/CMakeLists.txt:1 (add_subdirectory):
  The source directory

    /Users/n.vinayakan/workspace/speedy.js/packages/runtime/test/googletest

  does not contain a CMakeLists.txt file.

npm ERR! Darwin 16.5.0
npm ERR! argv "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node" "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/npm" "run" "prepublish"
npm ERR! node v7.9.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! speedyjs-runtime@0.0.1 prepublish: `tsc && gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the speedyjs-runtime@0.0.1 prepublish script 'tsc && gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the speedyjs-runtime package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc && gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs speedyjs-runtime
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls speedyjs-runtime
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/n.vinayakan/.npm/_logs/2017-05-03T12_44_25_230Z-debug.log

    at ChildProcess.exithandler (child_process.js:205:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Socket.<anonymous> (internal/child_process.js:342:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at Pipe._handle.close [as _onclose] (net.js:510:12)

> speedyjs-runtime@0.0.1 prepublish /Users/n.vinayakan/workspace/speedy.js/packages/runtime
> tsc && gulp build

[14:41:39] Using gulpfile ~/workspace/speedy.js/packages/runtime/gulpfile.js
[14:41:39] Starting 'build'...
[14:41:39] Starting 'build:clean'...
[14:41:39] Finished 'build:clean' after 7.96 ms
[14:41:39] Starting 'build:libs'...
[14:44:24] Finished 'build:libs' after 2.73 min
[14:44:24] Starting 'build:runtime'...
[14:44:24] Starting 'build:runtime:configure'...
-- Configuring incomplete, errors occurred!
See also "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/cmake-build-release/CMakeFiles/CMakeOutput.log".
[14:44:25] 'build:runtime:configure' errored after 427 ms
[14:44:25] Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build' errored after 2.75 min
[14:44:25] Error in plugin 'run-sequence(build:runtime:configure)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,npm_package_author_email=micha@famreiser.ch,LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build:runtime' errored after 430 ms
[14:44:25] Error in plugin 'run-sequence(build)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,npm_package_author_email=micha@famreiser.ch,LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build:runtime' errored after 431 ms
[14:44:25] Error in plugin 'run-sequence(build:runtime:configure)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,npm_package_author_email=micha@famreiser.ch,LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)

NpmUtilities.runScriptInDir   ("prepublish", [], "./packages/runtime")
Error: Command failed: npm run prepublish
INFO:root:generating system asset: is_vanilla.txt... (this will be cached in "/Users/n.vinayakan/.emscripten_cache/is_vanilla.txt" for subsequent builds)
INFO:root: - ok
WARNING:root:LLVM version appears incorrect (seeing "5.0", expected "4.0")
INFO:root:(Emscripten: Running sanity checks)
INFO:root:generating system library: libcxx.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxx.a" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libcxxabi.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxxabi.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libc.bc" for subsequent builds)
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: warning: absolute value function 'fabs' given an argument of type 'long double' but has parameter of type 'double' which may cause truncation of value [-Wabsolute-value]
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: note: use function 'fabsl' instead
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^~~~
                    fabsl
1 warning generated.
INFO:root: - ok
INFO:root:generating system library: dlmalloc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/dlmalloc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm-libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm-libc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm_compiler_rt.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm_compiler_rt.a" for subsequent builds)
INFO:root: - ok
CMake Error at test/CMakeLists.txt:1 (add_subdirectory):
  The source directory

    /Users/n.vinayakan/workspace/speedy.js/packages/runtime/test/googletest

  does not contain a CMakeLists.txt file.

npm ERR! Darwin 16.5.0
npm ERR! argv "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node" "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/npm" "run" "prepublish"
npm ERR! node v7.9.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! speedyjs-runtime@0.0.1 prepublish: `tsc && gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the speedyjs-runtime@0.0.1 prepublish script 'tsc && gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the speedyjs-runtime package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc && gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs speedyjs-runtime
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls speedyjs-runtime
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/n.vinayakan/.npm/_logs/2017-05-03T12_44_25_230Z-debug.log

    at ChildProcess.exithandler (child_process.js:205:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Socket.<anonymous> (internal/child_process.js:342:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at Pipe._handle.close [as _onclose] (net.js:510:12)

> speedyjs-runtime@0.0.1 prepublish /Users/n.vinayakan/workspace/speedy.js/packages/runtime
> tsc && gulp build

[14:41:39] Using gulpfile ~/workspace/speedy.js/packages/runtime/gulpfile.js
[14:41:39] Starting 'build'...
[14:41:39] Starting 'build:clean'...
[14:41:39] Finished 'build:clean' after 7.96 ms
[14:41:39] Starting 'build:libs'...
[14:44:24] Finished 'build:libs' after 2.73 min
[14:44:24] Starting 'build:runtime'...
[14:44:24] Starting 'build:runtime:configure'...
-- Configuring incomplete, errors occurred!
See also "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/cmake-build-release/CMakeFiles/CMakeOutput.log".
[14:44:25] 'build:runtime:configure' errored after 427 ms
[14:44:25] Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build' errored after 2.75 min
[14:44:25] Error in plugin 'run-sequence(build:runtime:configure)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,npm_package_author_email=micha@famreiser.ch,LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build:runtime' errored after 430 ms
[14:44:25] Error in plugin 'run-sequence(build)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,npm_package_author_email=micha@famreiser.ch,LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)
[14:44:25] 'build:runtime' errored after 431 ms
[14:44:25] Error in plugin 'run-sequence(build:runtime:configure)'
Message:
    Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
Details:
    error: null
    cmd: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    file: /bin/sh
    args: /bin/sh,-c,cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    options: [object Object]
    envPairs: EM_CONFIG=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten,npm_config_save_dev=,npm_config_legacy_bundling=,npm_config_dry_run=,npm_config_only=,npm_config_browser=,npm_config_viewer=man,MANPATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/share/man:/usr/local/share/man:/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man,npm_config_also=,npm_config_rollback=true,TERM_PROGRAM=iTerm.app,npm_config_usage=,NODE=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_package_homepage=https://github.com/MichaReiser/speedy.js#readme,npm_package_devDependencies_typescript=^2.2.1,ANDROID_HOME=/usr/local/opt/android-sdk,NVM_CD_FLAGS=-q,npm_config_globalignorefile=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmignore,SHELL=/bin/zsh,TERM=xterm-256color,npm_config_init_author_url=,npm_config_shell=/bin/zsh,npm_config_maxsockets=50,npm_config_parseable=,npm_config_shrinkwrap=true,npm_config_metrics_registry=https://registry.npmjs.org/,TMPDIR=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T/,npm_config_init_license=ISC,Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vTcOKW3rPz/Render,npm_config_if_present=,TERM_PROGRAM_VERSION=3.0.15,npm_config_sign_git_tag=,npm_config_init_author_email=,npm_config_cache_max=Infinity,npm_config_long=,npm_config_local_address=,npm_config_cert=,npm_config_git_tag_version=true,TERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_registry=https://registry.npmjs.org/,npm_config_fetch_retries=2,npm_package_devDependencies_tmp=0.0.31,npm_package_repository_url=git+https://github.com/MichaReiser/speedy.js.git,ZSH=/Users/n.vinayakan/.oh-my-zsh,npm_config_versions=,npm_config_key=,npm_config_message=%s,npm_package_description=Runtime of SpeedyJS,USER=n.vinayakan,NVM_DIR=/Users/n.vinayakan/.nvm,npm_package_license=MIT,COMMAND_MODE=unix2003,npm_config_globalconfig=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/etc/npmrc,npm_config_always_auth=,npm_config_logs_max=10,USER_NAME=Nidin Vinayakan,npm_package_scripts_prepublish=tsc && gulp build,SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.hlUiJP16sE/Listeners,__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0,npm_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/npm-cli.js,npm_config_global_style=,npm_config_cache_lock_retries=10,npm_config_cafile=,PAGER=less,npm_package_author_name=Micha Reiser,npm_config_heading=npm,LSCOLORS=Gxfxcxdxbxegedabagacad,npm_config_searchlimit=20,npm_config_proprietary_attribs=true,npm_config_fetch_retry_mintimeout=10000,npm_config_json=,npm_config_access=,npm_config_argv={"remain":[],"cooked":["run","prepublish"],"original":["run","prepublish"]},PATH=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/n.vinayakan/workspace/speedy.js/node_modules/.bin:/usr/local/opt/php70/bin:/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/n.vinayakan/lab/01-tools/bin:/Applications/Wine Staging.app/Contents/Resources/wine/bin:/Users/d437814/workspace/wasm_spec/interpreter:/Users/d437814/workspace/binaryen/bin:/Users/n.vinayakan/emsdk_portable:/Users/d437814/emsdk_portable/clang/e1.35.0_64bit:/Users/d437814/emsdk_portable/node/4.1.1_64bit/bin:/Users/d437814/emsdk_portable/emscripten/1.35.0:/usr/local/go/bin:/Users/d437814/workspace/wabt/out,npm_config_https_proxy=,npm_config_engine_strict=,npm_config_description=true,npm_config_userconfig=/Users/n.vinayakan/.npmrc,npm_config_init_module=/Users/n.vinayakan/.npm-init.js,NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist,PWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime,npm_config_user=502,npm_config_node_version=7.9.0,npm_package_bugs_url=https://github.com/MichaReiser/speedy.js/issues,JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home,npm_lifecycle_event=prepublish,npm_config_save=,npm_config_editor=vi,npm_package_repository_type=git,npm_package_name=speedyjs-runtime,npm_config_tag=latest,ITERM_PROFILE=Default,npm_config_global=,npm_config_progress=true,npm_package_scripts_preinstall=node ./scripts/install-dependencies.js,npm_config_searchstaleness=900,npm_config_optional=true,XPC_FLAGS=0x0,npm_config_force=,npm_config_bin_links=true,npm_config_searchopts=,npm_package_devDependencies_run_sequence=^1.2.2,npm_config_depth=Infinity,npm_package_main=index.js,npm_config_rebuild_bundle=true,npm_package_devDependencies_del=^2.2.2,npm_package_version=0.0.1,XPC_SERVICE_NAME=0,npm_config_unicode=true,COLORFGBG=12;8,HOME=/Users/n.vinayakan,SHLVL=5,npm_config_fetch_retry_maxtimeout=60000,npm_package_scripts_test=ls ./bin && gulp test && ls ./bin,npm_config_ca=,npm_config_tag_version_prefix=v,npm_config_strict_ssl=true,npm_config_scripts_prepend_node_path=warn-only,npm_config_save_prefix=^,npm_config_loglevel=warn,npm_config_save_exact=,npm_config_dev=,npm_config_group=20,npm_config_fetch_retry_factor=10,npm_package_devDependencies_gulp=^3.9.1,npm_config_version=,npm_config_cache_lock_stale=60000,npm_config_cache_min=10,npm_package_dependencies__types_node=^7.0.8,ITERM_SESSION_ID=w0t2p0:B93F7DF2-BF35-4E46-B7E9-D3BB485E5742,npm_config_searchexclude=,npm_config_cache=/Users/n.vinayakan/.npm,npm_package_typings=index.ts,LOGNAME=n.vinayakan,LESS=-R,npm_lifecycle_script=tsc && gulp build,npm_config_color=true,npm_config_proxy=,npm_package_author_email=micha@famreiser.ch,LC_CTYPE=UTF-8,npm_config_save_optional=,NVM_BIN=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin,npm_config_ignore_scripts=,npm_config_user_agent=npm/4.2.0 node/v7.9.0 darwin x64,NVM_IOJS_ORG_MIRROR=https://iojs.org/dist,npm_config_cache_lock_wait=10000,npm_config_production=,npm_config_send_metrics=,npm_config_save_bundle=,npm_config_umask=0022,npm_config_init_version=1.0.0,npm_config_init_author_name=,npm_config_git=git,npm_config_scope=,SECURITYSESSIONID=186a8,npm_config_onload_script=,npm_config_unsafe_perm=true,npm_config_tmp=/var/folders/83/1rwryfw959x7g_0c1nbb6gz40000gp/T,npm_node_execpath=/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node,npm_config_link=,npm_config_prefix=/Users/n.vinayakan/.nvm/versions/node/v7.9.0,npm_package_devDependencies_merge_stream=^1.0.1,_=/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/.bin/gulp,INIT_CWD=/Users/n.vinayakan/workspace/speedy.js/packages/runtime
    stderr: null
    stdout: null
    pid: 56287
    output: ,,
    signal: null
    status: 1
Stack:
Error: Command failed: cmake -E chdir cmake-build-release cmake -DCMAKE_BUILD_TYPE=Release -DEMSCRIPTEN_GENERATE_BITCODE_STATIC_LIBRARIES=ON -DCMAKE_TOOLCHAIN_FILE="/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/cmake/Modules/Platform/Emscripten.cmake" ..
    at checkExecSyncError (child_process.js:481:13)
    at Object.execSync (child_process.js:521:13)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:63:19)
    at module.exports (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:86:16)
    at runSequence (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/node_modules/run-sequence/index.js:97:2)
    at Gulp.<anonymous> (/Users/n.vinayakan/workspace/speedy.js/packages/runtime/gulpfile.js:44:5)

Errored while running BootstrapCommand.execute
Error: Command failed: npm run prepublish
INFO:root:generating system asset: is_vanilla.txt... (this will be cached in "/Users/n.vinayakan/.emscripten_cache/is_vanilla.txt" for subsequent builds)
INFO:root: - ok
WARNING:root:LLVM version appears incorrect (seeing "5.0", expected "4.0")
INFO:root:(Emscripten: Running sanity checks)
INFO:root:generating system library: libcxx.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxx.a" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libcxxabi.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libcxxabi.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/libc.bc" for subsequent builds)
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: warning: absolute value function 'fabs' given an argument of type 'long double' but has parameter of type 'double' which may cause truncation of value [-Wabsolute-value]
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^
/Users/n.vinayakan/workspace/speedy.js/packages/runtime/tools/emscripten/system/lib/libc/musl/src/internal/floatscan.c:298:7: note: use function 'fabsl' instead
                if (fabs(y) >= CONCAT(0x1p, LDBL_MANT_DIG)) {
                    ^~~~
                    fabsl
1 warning generated.
INFO:root: - ok
INFO:root:generating system library: dlmalloc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/dlmalloc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm-libc.bc... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm-libc.bc" for subsequent builds)
INFO:root: - ok
INFO:root:generating system library: wasm_compiler_rt.a... (this will be cached in "/Users/n.vinayakan/workspace/speedy.js/packages/runtime/.emscripten_cache/wasm/wasm_compiler_rt.a" for subsequent builds)
INFO:root: - ok
CMake Error at test/CMakeLists.txt:1 (add_subdirectory):
  The source directory

    /Users/n.vinayakan/workspace/speedy.js/packages/runtime/test/googletest

  does not contain a CMakeLists.txt file.

npm ERR! Darwin 16.5.0
npm ERR! argv "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node" "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/npm" "run" "prepublish"
npm ERR! node v7.9.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! speedyjs-runtime@0.0.1 prepublish: `tsc && gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the speedyjs-runtime@0.0.1 prepublish script 'tsc && gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the speedyjs-runtime package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc && gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs speedyjs-runtime
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls speedyjs-runtime
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/n.vinayakan/.npm/_logs/2017-05-03T12_44_25_230Z-debug.log

    at ChildProcess.exithandler (child_process.js:205:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at maybeClose (internal/child_process.js:899:16)
    at Socket.<anonymous> (internal/child_process.js:342:11)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at Pipe._handle.close [as _onclose] (net.js:510:12)
FileSystemUtilities.writeFileSync("./lerna-debug.log", "lerna(verbose) GitUtilities.isInitialized    ()\nlerna(verbose) GitUtilities.i...)
FileSystemUtilities.writeFileSync("./lerna-debug.log", "lerna(verbose) GitUtilities.isInitialized    ()\nlerna(verbose) GitUtilities.i...) =>

npm ERR! Darwin 16.5.0
npm ERR! argv "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/node" "/Users/n.vinayakan/.nvm/versions/node/v7.9.0/bin/npm" "run" "bootstrap"
npm ERR! node v7.9.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! speedyjs@0.0.1 bootstrap: `lerna bootstrap --stream --loglevel verbose`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the speedyjs@0.0.1 bootstrap script 'lerna bootstrap --stream --loglevel verbose'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the speedyjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     lerna bootstrap --stream --loglevel verbose
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs speedyjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls speedyjs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/n.vinayakan/.npm/_logs/2017-05-03T12_44_25_346Z-debug.log
readline.js:990
            throw err;
            ^

Error: Command failed: npm run bootstrap
    at checkExecSyncError (child_process.js:481:13)
    at execSync (child_process.js:521:13)
    at /usr/local/lib/node_modules/ntl/index.js:40:4
    at Array.forEach (native)
    at module.exports.onPrompt [as completed] (/usr/local/lib/node_modules/ntl/index.js:39:10)
    at module.exports.PromptUI.onCompletion (/usr/local/lib/node_modules/ntl/node_modules/inquirer/lib/ui/prompt.js:57:10)
    at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.completed (/usr/local/lib/node_modules/ntl/node_modules/rx-lite/rx.lite.js:1550:12)
    at AnonymousObserver.Rx.internals.AbstractObserver.AbstractObserver.onCompleted (/usr/local/lib/node_modules/ntl/node_modules/rx-lite/rx.lite.js:1489:14)
    at Subject.onCompleted (/usr/local/lib/node_modules/ntl/node_modules/rx-lite/rx.lite.js:5871:19)
    at Subject.tryCatcher (/usr/local/lib/node_modules/ntl/node_modules/rx-lite/rx.lite.js:63:31)
MichaReiser commented 7 years ago

At least we are one step closer to a successful setup :)

The google test repository is a submodule, therefore, you need to clone the repository using the recursive flag

git clone --recursive ... 

Or for an existing repository use

git submodule update --init --recursive

(I hope the latter work, copied it from stack overflow ;))

MichaReiser commented 7 years ago

Did you have had any success?

I have created a VM image in the meantime. If you are interested. The project is installed in the ~/speedy.js directory.

See #15

nidin commented 7 years ago

It was still failing, didn't get enough time to figure out the issue. I will try with image and let you know.

MichaReiser commented 7 years ago

Can I close this issue?

nidin commented 7 years ago

Sorry I couldn't get enough time. between, on mac the VM image was not extracting properly. You may close this now. I will follow up when i get some free time.

MichaReiser commented 7 years ago

between, on mac the VM image was not extracting properly

I'm sorry to hear that. What a great picture you must have of me ;)

I will update the VM shortly and, maybe, we can give it another try. I will post an update in this thread to get you notified.

Thanks Micha

MichaReiser commented 7 years ago

I have uploaded an updated VM. I also updated the installation documentation (It now requires more manual steps but I expect that it also makes it more understandable what's going on).

In case you face any new issues please let me know.