Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Lumo builds for Raspberry Pi AArch64 / Arm v8 platform. #459

Open
abhi18av opened this issue Jan 27, 2019 · 9 comments
Open

Lumo builds for Raspberry Pi AArch64 / Arm v8 platform. #459

abhi18av opened this issue Jan 27, 2019 · 9 comments

Comments

@abhi18av
Copy link
Contributor

Hi @anmonteiro , I was wondering if it's possible to use lumo on the RPi platform and whether you would consider including that in the future releases?

@abhi18av
Copy link
Contributor Author

Hi @anmonteiro , today I've given it another shot and I came across the following error towards the very end of the build log

$ cross-env NODE_ENV=production node scripts/bundle.js
Building production bundle...
Circular dependency: src/js/cljs.js -> src/js/repl.js -> src/js/cljs.js
Circular dependency: src/js/cli.js -> src/js/cljs.js -> src/js/repl.js -> src/js/socketRepl.js -> src/js/cli.js
Circular dependency: src/js/repl.js -> src/js/socketRepl.js -> src/js/repl.js
Circular dependency: src/js/cljs.js -> src/js/repl.js -> src/js/socketRepl.js -> src/js/cljs.js
Done in 81.20s.

Error attempting to play sound file: Cannot create AudioDevice

                                java.lang.Thread.run              Thread.java:  748
  java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
   java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
                 java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                                 ...
                 clojure.core/binding-conveyor-fn/fn                 core.clj: 2030
                                   boot.core/boot/fn                 core.clj: 1032
                                 boot.core/run-tasks                 core.clj: 1022
                      boot.task.built-in/fn/fn/fn/fn             built_in.clj:  245
boot.user$eval1082$fn__1083$fn__1090$fn__1091.invoke                         :   79
                   adzerk.boot-cljs/eval361/fn/fn/fn            boot_cljs.clj:  169
                   adzerk.boot-cljs/eval418/fn/fn/fn            boot_cljs.clj:  250
                      boot.task.built-in/fn/fn/fn/fn             built_in.clj:  636 (repeats 4 times)
boot.user$eval1165$fn__1166$fn__1173$fn__1174.invoke                         :  107
boot.user$eval1208$fn__1209$fn__1216$fn__1217.invoke                         :  123
                      boot.task.built-in/fn/fn/fn/fn             built_in.clj:  636
                      boot.task.built-in/fn/fn/fn/fn             built_in.clj:  394
boot.user$eval1121$fn__1122$fn__1129$fn__1130.invoke                         :   95
                                                 ...
                                      boot.util/dosh                 util.clj:  478
       java.lang.Exception: node: non-zero exit status (137)
clojure.lang.ExceptionInfo: node: non-zero exit status (137)
    line: 240

Could you give me a bit of guidance here please? :)

@anmonteiro
Copy link
Owner

Run boot release-ci instead of boot release

@abhi18av
Copy link
Contributor Author

Okay, so I tried what you suggested and here's the output of boot release-ci command

Writing target dir(s)...
yarn run v1.16.0
$ cross-env NODE_ENV=production node scripts/bundle.js
Building production bundle...
Circular dependency: src/js/cljs.js -> src/js/repl.js -> src/js/cljs.js
Circular dependency: src/js/cli.js -> src/js/cljs.js -> src/js/repl.js -> src/js/socketRepl.js -> src/js/cli.js
Circular dependency: src/js/repl.js -> src/js/socketRepl.js -> src/js/repl.js
Circular dependency: src/js/cljs.js -> src/js/repl.js -> src/js/socketRepl.js -> src/js/cljs.js
Done in 68.41s.
                                java.lang.Thread.run              Thread.java:  748
  java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
   java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
                 java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                                 ...
                 clojure.core/binding-conveyor-fn/fn                 core.clj: 2030
                                   boot.core/boot/fn                 core.clj: 1032
                                 boot.core/run-tasks                 core.clj: 1022
boot.user$eval1082$fn__1083$fn__1090$fn__1091.invoke                         :   79
                   adzerk.boot-cljs/eval361/fn/fn/fn            boot_cljs.clj:  169
                   adzerk.boot-cljs/eval418/fn/fn/fn            boot_cljs.clj:  250
                      boot.task.built-in/fn/fn/fn/fn             built_in.clj:  636 (repeats 4 times)
boot.user$eval1165$fn__1166$fn__1173$fn__1174.invoke                         :  107
boot.user$eval1208$fn__1209$fn__1216$fn__1217.invoke                         :  123
                      boot.task.built-in/fn/fn/fn/fn             built_in.clj:  636
                      boot.task.built-in/fn/fn/fn/fn             built_in.clj:  394
boot.user$eval1121$fn__1122$fn__1129$fn__1130.invoke                         :   95
                                                 ...
                                      boot.util/dosh                 util.clj:  478
       java.lang.Exception: node: non-zero exit status (137)
clojure.lang.ExceptionInfo: node: non-zero exit status (137)
    line: 240

I looked for something like clean in the build.boot but couldn't find it - is it necessary at all or is it fine to just do boot release-ci ?

@abhi18av abhi18av changed the title Lumo builds for Raspberry Pi AArch / Arm v8 platform. Lumo builds for Raspberry Pi AArch64 / Arm v8 platform. May 30, 2019
@abhi18av
Copy link
Contributor Author

After cloning from scratch and then running boot release-ci, the process exited with the same error so that does not seem to be the reason at all.

@anmonteiro
Copy link
Owner

That error just doesn't tell me anything. There has to be more information somewher.

@abhi18av
Copy link
Contributor Author

Oh okay, I'm pasting the entire log here now

Installing node dependencies with `yarn install`
yarn install v1.16.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
$ node download/install.js || nodejs download/install.js
Done in 40.20s.
Writing main.cljs.edn...
Compiling ClojureScript...
• main.js
Options passed to ClojureScript compiler: {:output-dir "/root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out", :closure-warnings {:check-types :off, :check-variables :off}, :closure-defines {"cljs.core._STAR_target_STAR_" "nodejs", "lumo.core._STAR_lumo_version_STAR_" "1.10.1"}, :static-fns true, :dump-core false, :ups-libs nil, :optimize-constants false, :cache-analysis true, :closure-module-roots [], :process-shim false, :optimizations :simple, :ups-foreign-libs [], :parallel-build false, :verbose true, :aot-cache false, :ignore-js-module-exts
[".css"], :output-to "/root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.js", :preamble ["cljs/imul.js"], :asset-path "main.out", :ups-externs nil, :opts-cache "cljsc_opts.edn", :fn-invoke-direct true, :source-map false, :cache-analysis-format :transit, :compiler-stats true, :main boot.cljs.main1592, :warning-handlers [#object[adzerk.boot_cljs.impl$compile_cljs$handler__774 0x2b278e "adzerk.boot_cljs.impl$compile_cljs$handler__774@2b278e"]], :emit-constants false, :npm-deps false}
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/core.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/core.cljs
Reading analysis cache for jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/core.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/core.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/core.js, elapsed time: 53105.79085 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/clojure/string.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/string.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/string.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/string.js, elapsed time: 634.004817 msecs
Copying jar:file:/root/.m2/repository/org/clojure/tools.reader/1.3.2/tools.reader-1.3.2.jar!/cljs/tools/reader/impl/utils.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/utils.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/utils.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/utils.js, elapsed time: 671.209827 msecs
Copying jar:file:/root/.m2/repository/org/clojure/tools.reader/1.3.2/tools.reader-1.3.2.jar!/cljs/tools/reader/reader_types.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/reader_types.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/reader_types.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/reader_types.js, elapsed time: 1094.806022 msecs
Copying jar:file:/root/.m2/repository/org/clojure/tools.reader/1.3.2/tools.reader-1.3.2.jar!/cljs/tools/reader/impl/inspect.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/inspect.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/inspect.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/inspect.js, elapsed time: 257.188262 msecs
Copying jar:file:/root/.m2/repository/org/clojure/tools.reader/1.3.2/tools.reader-1.3.2.jar!/cljs/tools/reader/impl/errors.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/errors.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/errors.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/errors.js, elapsed time: 820.029654 msecs
Copying jar:file:/root/.m2/repository/org/clojure/tools.reader/1.3.2/tools.reader-1.3.2.jar!/cljs/tools/reader/impl/commons.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/commons.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/commons.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/impl/commons.js, elapsed time: 338.429825 msecs
Copying jar:file:/root/.m2/repository/org/clojure/tools.reader/1.3.2/tools.reader-1.3.2.jar!/cljs/tools/reader.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader.js, elapsed time: 2803.502174 msecs
Copying jar:file:/root/.m2/repository/org/clojure/tools.reader/1.3.2/tools.reader-1.3.2.jar!/cljs/tools/reader/edn.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/edn.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/edn.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tools/reader/edn.js, elapsed time: 1018.091027 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/env.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/env.cljc
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/env.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/env.js, elapsed time: 68.930896 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/clojure/set.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/set.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/set.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/set.js, elapsed time: 478.409522 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/reader.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/reader.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/reader.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/reader.js, elapsed time: 686.653828 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/tagged_literals.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tagged_literals.cljc
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tagged_literals.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/tagged_literals.js, elapsed time: 159.125034 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/analyzer.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/analyzer.cljc
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/analyzer.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/analyzer.js, elapsed time: 11788.487967 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/source_map/base64.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/source_map/base64.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/source_map/base64.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/source_map/base64.js, elapsed time: 42.087744 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/source_map/base64_vlq.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/source_map/base64_vlq.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/source_map/base64_vlq.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/source_map/base64_vlq.js, elapsed time: 113.467388 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/source_map.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/source_map.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/source_map.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/source_map.js, elapsed time: 3100.242046 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/compiler.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/compiler.cljc
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/compiler.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/compiler.js, elapsed time: 6167.777726 msecs
Copying jar:file:/root/.m2/repository/org/clojure/core.rrb-vector/0.0.14/core.rrb-vector-0.0.14.jar!/clojure/core/rrb_vector/protocols.cljs
to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/protocols.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/protocols.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/protocols.js, elapsed time: 76.259496 msecs
Copying jar:file:/root/.m2/repository/org/clojure/core.rrb-vector/0.0.14/core.rrb-vector-0.0.14.jar!/clojure/core/rrb_vector/nodes.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/nodes.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/nodes.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/nodes.js, elapsed time: 561.837351 msecs
Copying jar:file:/root/.m2/repository/org/clojure/core.rrb-vector/0.0.14/core.rrb-vector-0.0.14.jar!/clojure/core/rrb_vector/trees.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/trees.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/trees.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/trees.js, elapsed time: 451.965076 msecs
Copying jar:file:/root/.m2/repository/org/clojure/core.rrb-vector/0.0.14/core.rrb-vector-0.0.14.jar!/clojure/core/rrb_vector/transients.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/transients.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/transients.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/transients.js, elapsed time: 351.853036 msecs
Copying jar:file:/root/.m2/repository/org/clojure/core.rrb-vector/0.0.14/core.rrb-vector-0.0.14.jar!/clojure/core/rrb_vector/rrbt.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/rrbt.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/rrbt.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/rrbt.js, elapsed time: 2866.609903 msecs
Copying jar:file:/root/.m2/repository/org/clojure/core.rrb-vector/0.0.14/core.rrb-vector-0.0.14.jar!/clojure/core/rrb_vector/interop.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/interop.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/interop.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector/interop.js, elapsed time: 57.434452 msecs
Copying jar:file:/root/.m2/repository/org/clojure/core.rrb-vector/0.0.14/core.rrb-vector-0.0.14.jar!/clojure/core/rrb_vector.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/core/rrb_vector.js, elapsed time: 421.847324 msecs
Copying jar:file:/root/.m2/repository/fipp/fipp/0.6.18/fipp-0.6.18.jar!/fipp/util.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/util.cljc
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/util.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/util.js, elapsed time: 159.098342 msecs
Copying jar:file:/root/.m2/repository/fipp/fipp/0.6.18/fipp-0.6.18.jar!/fipp/ednize.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/ednize.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/ednize.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/ednize.js, elapsed time: 255.447792 msecs
Copying jar:file:/root/.m2/repository/fipp/fipp/0.6.18/fipp-0.6.18.jar!/fipp/visit.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/visit.cljc
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/visit.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/visit.js, elapsed time: 528.803404 msecs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/r3nb31/lumo/repl_resources.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/lumo/repl_resources.js, elapsed time: 80.620809 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/clojure/walk.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/walk.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/walk.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/clojure/walk.js, elapsed time: 145.820967 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/core.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/core.cljc
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/core.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/core$macros.js, elapsed time: 17619.272275 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/stacktrace.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/stacktrace.cljc
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/stacktrace.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/stacktrace.js, elapsed time: 1515.176553 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/spec/gen/alpha.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/spec/gen/alpha.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/spec/gen/alpha.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/spec/gen/alpha.js, elapsed time: 2941.419528 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/spec/alpha.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/spec/alpha.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/spec/alpha.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/spec/alpha.js, elapsed time: 8505.423591 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/js.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/js.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/js.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/js.js, elapsed time: 4746.654318 msecs
Copying jar:file:/root/.m2/repository/com/cognitect/transit-cljs/0.8.256/transit-cljs-0.8.256.jar!/cognitect/transit.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cognitect/transit.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cognitect/transit.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cognitect/transit.js, elapsed time: 1570.730808 msecs
Copying jar:file:/root/.m2/repository/malabarba/lazy-map/1.3/lazy-map-1.3.jar!/lazy_map/core.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/lazy_map/core.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/lazy_map/core.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/lazy_map/core.js, elapsed time: 720.902049 msecs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/r3nb31/lumo/common.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/lumo/common.js, elapsed time: 163.810519 msecs
Copying jar:file:/root/.m2/repository/fipp/fipp/0.6.18/fipp-0.6.18.jar!/fipp/deque.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/deque.cljc
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/deque.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/deque.js, elapsed time: 52.994786 msecs
Copying jar:file:/root/.m2/repository/fipp/fipp/0.6.18/fipp-0.6.18.jar!/fipp/engine.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/engine.cljc
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/engine.cljc to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/fipp/engine.js, elapsed time: 840.353603 msecs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/r3nb31/lumo/pprint/data.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/lumo/pprint/data.js, elapsed time: 1085.005718 msecs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/r3nb31/lumo/js_deps.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/lumo/js_deps.js, elapsed time: 368.782964 msecs
Copying jar:file:/root/.m2/repository/org/clojure/clojurescript/1.10.520/clojurescript-1.10.520.jar!/cljs/repl.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/repl.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/repl.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/cljs/repl.js, elapsed time: 1300.510651 msecs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/r3nb31/lumo/repl.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/lumo/repl.js, elapsed time: 4480.621794 msecs
WARNING: *lumo-version* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *lumo-version* or change the name at line 4 src/cljs/snapshot/lumo/core.cljs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/r3nb31/lumo/core.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/lumo/core.js, elapsed time: 53.792497 msecs
Compiling /root/.boot/cache/tmp/root/projects/lumo/9na/utse3r/boot/cljs/main1592.cljs to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/boot/cljs/main1592.js, elapsed time: 12.748914 msecs
Compile sources, elapsed time: 140766.158153 msecs
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/base.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/base.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/string/string.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/string/string.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/debug/error.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/debug/error.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/dom/nodetype.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/dom/nodetype.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/asserts/asserts.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/asserts/asserts.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/array/array.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/array/array.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/object/object.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/object/object.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/structs/structs.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/structs/structs.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/functions/functions.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/functions/functions.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/math/math.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/math/math.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/iter/iter.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/iter/iter.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/structs/map.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/structs/map.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/uri/utils.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/uri/utils.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/uri/uri.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/uri/uri.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/math/integer.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/math/integer.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/string/stringbuffer.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/string/stringbuffer.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/reflect/reflect.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/reflect/reflect.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/math/long.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/math/long.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/crypt/crypt.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/crypt/crypt.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/labs/useragent/util.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/labs/useragent/util.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/labs/useragent/browser.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/labs/useragent/browser.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/labs/useragent/engine.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/labs/useragent/engine.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/labs/useragent/platform.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/labs/useragent/platform.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/useragent/useragent.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/useragent/useragent.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/useragent/product.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/useragent/product.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/crypt/base64.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/crypt/base64.js
Copying jar:file:/root/.m2/repository/com/cognitect/transit-js/0.8.846/transit-js-0.8.846.jar!/com/cognitect/transit/util.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/com/cognitect/transit/util.js
Copying jar:file:/root/.m2/repository/com/cognitect/transit-js/0.8.846/transit-js-0.8.846.jar!/com/cognitect/transit/eq.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/com/cognitect/transit/eq.js
Copying jar:file:/root/.m2/repository/com/cognitect/transit-js/0.8.846/transit-js-0.8.846.jar!/com/cognitect/transit/types.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/com/cognitect/transit/types.js
Copying jar:file:/root/.m2/repository/com/cognitect/transit-js/0.8.846/transit-js-0.8.846.jar!/com/cognitect/transit/delimiters.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/com/cognitect/transit/delimiters.js
Copying jar:file:/root/.m2/repository/com/cognitect/transit-js/0.8.846/transit-js-0.8.846.jar!/com/cognitect/transit/caching.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/com/cognitect/transit/caching.js
Copying jar:file:/root/.m2/repository/com/cognitect/transit-js/0.8.846/transit-js-0.8.846.jar!/com/cognitect/transit/impl/decoder.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/com/cognitect/transit/impl/decoder.js
Copying jar:file:/root/.m2/repository/com/cognitect/transit-js/0.8.846/transit-js-0.8.846.jar!/com/cognitect/transit/impl/reader.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/com/cognitect/transit/impl/reader.js
Copying jar:file:/root/.m2/repository/com/cognitect/transit-js/0.8.846/transit-js-0.8.846.jar!/com/cognitect/transit/handlers.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/com/cognitect/transit/handlers.js
Copying jar:file:/root/.m2/repository/com/cognitect/transit-js/0.8.846/transit-js-0.8.846.jar!/com/cognitect/transit/impl/writer.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/com/cognitect/transit/impl/writer.js
Copying jar:file:/root/.m2/repository/com/cognitect/transit-js/0.8.846/transit-js-0.8.846.jar!/com/cognitect/transit.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/com/cognitect/transit.js
Copying jar:file:/root/.m2/repository/org/clojure/google-closure-library/0.0-20170809-b9c14c6b/google-closure-library-0.0-20170809-b9c14c6b.jar!/goog/string/stringformat.js to /root/.boot/cache/tmp/root/projects/lumo/9na/xzi1ax/main.out/goog/string/stringformat.js
Applying optimizations :simple to 83 sources
Optimizing with Google Closure Compiler, elapsed time: 112604.86119 msecs
Optimizing 83 sources, elapsed time: 117128.515679 msecs
Sifting output files...
Sifting output files...
Sifting output files...
Sifting output files...
Sifting output files...
Writing target dir(s)...
yarn run v1.16.0
$ cross-env NODE_ENV=production node scripts/bundle.js
Building production bundle...
Circular dependency: src/js/cljs.js -> src/js/repl.js -> src/js/cljs.js
Circular dependency: src/js/cli.js -> src/js/cljs.js -> src/js/repl.js -> src/js/socketRepl.js -> src/js/cli.js
Circular dependency: src/js/repl.js -> src/js/socketRepl.js -> src/js/repl.js
Circular dependency: src/js/cljs.js -> src/js/repl.js -> src/js/socketRepl.js -> src/js/cljs.js
Done in 73.59s.
                                java.lang.Thread.run              Thread.java:  748
  java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
   java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
                 java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                                 ...
                 clojure.core/binding-conveyor-fn/fn                 core.clj: 2030
                                   boot.core/boot/fn                 core.clj: 1032
                                 boot.core/run-tasks                 core.clj: 1022
boot.user$eval1082$fn__1083$fn__1090$fn__1091.invoke                         :   79
                   adzerk.boot-cljs/eval361/fn/fn/fn            boot_cljs.clj:  169
                   adzerk.boot-cljs/eval418/fn/fn/fn            boot_cljs.clj:  250
                      boot.task.built-in/fn/fn/fn/fn             built_in.clj:  636 (repeats 4 times)
boot.user$eval1165$fn__1166$fn__1173$fn__1174.invoke                         :  107
boot.user$eval1208$fn__1209$fn__1216$fn__1217.invoke                         :  123
                      boot.task.built-in/fn/fn/fn/fn             built_in.clj:  636
                      boot.task.built-in/fn/fn/fn/fn             built_in.clj:  394
boot.user$eval1121$fn__1122$fn__1129$fn__1130.invoke                         :   95
                                                 ...
                                      boot.util/dosh                 util.clj:  478
       java.lang.Exception: node: non-zero exit status (137)
clojure.lang.ExceptionInfo: node: non-zero exit status (137)
    line: 240 

@abhi18av
Copy link
Contributor Author

abhi18av commented Jun 2, 2019

@anmonteiro , so I've been trying to pin-point exactly where the build really fails and created a copy of release-ci as release-arm

I've tested all the tasks within the release-arm

(deftask release-arm []
  (comp
    (install-node-modules)
    (compile-cljs)
    (sift-cljs-resources)
    (cache-edn->transit)
    (write-core-analysis-caches)
    (target)
    (bundle-js)
    (prepare-snapshot)
    (backup-resources)

   ;; STARTS FAILING AT THIS POINT 
    ;; Package first stage binary
    (package-executable :ci-build true)
    #_(aot-macros)
    ;; Package final executable
    #_(package-executable :ci-build true)))

                                        

Howerver, as soon as I came across the (package-executable :ci-build true) task, at which point the following error is thrown

root@pup:~/projects/lumo# boot release-arm
{ input: 'target/bundle.min.js',
  output: 'build/lumo',
  nodeTempDir: 'tmp',
  nodeConfigureArgs:
   [ '--without-dtrace',
     '--without-npm',
     '--without-inspector',
     '--without-etw',
     '--with-snapshot' ],
  nodeMakeArgs: [ '-j', '8' ],
  nodeVCBuildArgs: [ 'nosign', 'x64', 'noetw' ],
  flags: true,
  startupSnapshot: 'target/main.js',
  noBundle: true,
  framework: 'node',
  nodeVersion: '12.2.0' }
----> framework => node
----> downloading https://nodejs.org/dist/v12.2.0/node-v12.2.0.tar.gz

----> extracting the node source [native tar]
----> tar -xf /root/projects/lumo/tmp/node/12.2.0/node-12.2.0.tar.gz -C /root/projects/lumo/tmp/node/12.2.0
----> using provided bundle target/bundle.min.js since noBundle is true
fs.js:114
    throw err;
    ^

Error: ENOENT: no such file or directory, open 'target/google-closure-compiler-js.js'
    at Object.openSync (fs.js:438:3)
    at Object.readFileSync (fs.js:343:35)
    at moveLibs (/root/projects/lumo/vendor/nexe/exe.js:207:14)
    at fn (/root/projects/lumo/node_modules/async/lib/async.js:746:34)
    at /root/projects/lumo/node_modules/async/lib/async.js:1213:16
    at /root/projects/lumo/node_modules/async/lib/async.js:166:37
    at /root/projects/lumo/node_modules/async/lib/async.js:706:43
    at /root/projects/lumo/node_modules/async/lib/async.js:167:37
    at Immediate.<anonymous> (/root/projects/lumo/node_modules/async/lib/async.js:1206:34)
    at runCallback (timers.js:705:18)
                                java.lang.Thread.run              Thread.java:  748
  java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  624
   java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1149
                 java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                                 ...
                 clojure.core/binding-conveyor-fn/fn                 core.clj: 2030
                                   boot.core/boot/fn                 core.clj: 1032
                                 boot.core/run-tasks                 core.clj: 1022
boot.user$eval1398$fn__1399$fn__1406$fn__1407.invoke                         :  201
                                                 ...
                                      boot.util/dosh                 util.clj:  478
       java.lang.Exception: node: non-zero exit status (1)
clojure.lang.ExceptionInfo: node: non-zero exit status (1)
    line: 264
root@pup:~/projects/lumo#                                  

Does this give you an idea about where we need to debug?

@abhi18av
Copy link
Contributor Author

abhi18av commented Jun 2, 2019

@mfikes , if possible could you please spare some time here as well?

I'm planning to use lumo as the next step towards nodejs in the course, would really appreciate if we could sort this out as well.

@cellularmitosis
Copy link

cellularmitosis commented Feb 2, 2020

I'm trying to build lumo from source in a Debian Buster chroot and am now stuck at the same error: ENOENT: no such file or directory, open 'target/google-closure-compiler-js.js'.

I had to hack in a bunch of npm install -g calls to even get this far, so I know there's something larger I'm missing here.

EDIT: here's more context:

Building production bundle...
Circular dependency: src/js/cljs.js -> src/js/repl.js -> src/js/cljs.js
Circular dependency: src/js/cli.js -> src/js/cljs.js -> src/js/repl.js -> src/js/socketRepl.js -> src/js/cli.js
Circular dependency: src/js/repl.js -> src/js/socketRepl.js -> src/js/repl.js
Circular dependency: src/js/cljs.js -> src/js/repl.js -> src/js/socketRepl.js -> src/js/cljs.js
Error: Could not resolve entry module (node_modules/google-closure-compiler-js/compile.js).
    at error (/opt/node-v12.14.1-linux-x64/lib/node_modules/rollup/dist/shared/node-entry.js:5400:30)
    at /opt/node-v12.14.1-linux-x64/lib/node_modules/rollup/dist/shared/node-entry.js:12195:20
    at async Promise.all (index 0)
    at async Promise.all (index 0)
    at async Promise.all (index 0) {
  code: 'UNRESOLVED_ENTRY'
}
----> framework => node
----> using provided bundle target/bundle.min.js since noBundle is true
(node:4819) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'target/google-closure-compiler-js.js'
    at Object.openSync (fs.js:440:3)
    at Object.readFileSync (fs.js:342:35)
    at moveLibs (/root/tmp/lumo-1.10.1/vendor/nexe/exe.js:187:12)
    at nextTask (/opt/node-v12.14.1-linux-x64/lib/node_modules/async/dist/async.js:4579:27)
    at next (/opt/node-v12.14.1-linux-x64/lib/node_modules/async/dist/async.js:4587:13)
    at /opt/node-v12.14.1-linux-x64/lib/node_modules/async/dist/async.js:326:20
    at combineProject (/root/tmp/lumo-1.10.1/vendor/nexe/exe.js:176:9)
    at nextTask (/opt/node-v12.14.1-linux-x64/lib/node_modules/async/dist/async.js:4579:27)
    at next (/opt/node-v12.14.1-linux-x64/lib/node_modules/async/dist/async.js:4587:13)
    at /opt/node-v12.14.1-linux-x64/lib/node_modules/async/dist/async.js:326:20
(node:4819) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:4819) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
### Compiling Macro Namespaces
./scripts/aot-bundle-macros.sh: 16: ./scripts/aot-bundle-macros.sh: /root/tmp/lumo-1.10.1/build/lumo: not found

it looks like the build process isn't stopping at the first error?

EDIT2: here's my amd64 build scripts: https://gist.github.com/cellularmitosis/df87e0c962e184b8bd29c8a3f07f3db4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants