mori
mori copied to clipboard
Unix like Build Failing on fresh repository.
Running the build as described in the README.md on OSX doesn't work. It looks like the build script expects a file mori.bare.js to be at the root of the project but I can't for the life of me figure out how it's expected to be there.
Logs:
$ git clone https://github.com/swannodette/mori.git
Cloning into 'mori'...
remote: Counting objects: 1201, done.
remote: Total 1201 (delta 0), reused 0 (delta 0), pack-reused 1200
Receiving objects: 100% (1201/1201), 270.52 KiB | 0 bytes/s, done.
Resolving deltas: 100% (581/581), done.
$ cd mori
$ ./scripts/build.sh
Retrieving org/clojure/clojurescript/0.0-3308/clojurescript-0.0-3308-aot.jar from central
Compiling ClojureScript.
Retrieving org/clojure/clojurescript/0.0-2411/clojurescript-0.0-2411.jar from central
Compiling "/Users/kasuko/Documents/Projects/mori/target/cljsbuild-main.js" from ["src"]...
Analyzing jar:file:/Users/kasuko/.m2/repository/org/clojure/clojurescript/0.0-2411/clojurescript-0.0-2411.jar!/cljs/core.cljs
WARNING: sequence at line 1581 is being replaced at line 3196 file:/Users/kasuko/.m2/repository/org/clojure/clojurescript/0.0-2411/clojurescript-0.0-2411.jar!/cljs/core.cljs
WARNING: rand at line 2017 is being replaced at line 8547 file:/Users/kasuko/.m2/repository/org/clojure/clojurescript/0.0-2411/clojurescript-0.0-2411.jar!/cljs/core.cljs
WARNING: rand-int at line 2022 is being replaced at line 8553 file:/Users/kasuko/.m2/repository/org/clojure/clojurescript/0.0-2411/clojurescript-0.0-2411.jar!/cljs/core.cljs
Compiling src/mori/extra.cljs
Analyzing jar:file:/Users/kasuko/.m2/repository/org/clojure/clojurescript/0.0-2411/clojurescript-0.0-2411.jar!/clojure/zip.cljs
Analyzing jar:file:/Users/kasuko/.m2/repository/org/clojure/clojurescript/0.0-2411/clojurescript-0.0-2411.jar!/clojure/set.cljs
Analyzing jar:file:/Users/kasuko/.m2/repository/org/clojure/clojurescript/0.0-2411/clojurescript-0.0-2411.jar!/clojure/data.cljs
Analyzing jar:file:/Users/kasuko/.m2/repository/org/clojure/clojurescript/0.0-2411/clojurescript-0.0-2411.jar!/cljs/reader.cljs
Compiling src/mori.cljs
WARNING: mori is a single segment namespace at line 1 src/mori.cljs
Compiling src/mori/mutable.cljs
Compiling release/clojure/zip.cljs
Compiling release/clojure/set.cljs
Compiling release/cljs/reader.cljs
Compiling release/cljs/core.cljs
WARNING: sequence at line 1581 is being replaced at line 3196 release/cljs/core.cljs
WARNING: rand at line 2017 is being replaced at line 8547 release/cljs/core.cljs
WARNING: rand-int at line 2022 is being replaced at line 8553 release/cljs/core.cljs
Compiling release/clojure/data.cljs
Building module :cljs-base
adding entry (cljs.core)
adding entry (mori)
Building module :extra
adding entry (mori.extra)
adding entry (clojure.set)
adding entry (clojure.data)
adding entry (cljs.reader)
module :extra depends on :cljs-base
Building module :mutable
adding entry (mori.mutable)
module :mutable depends on :cljs-base
Adding remaining namespaces to :cljs-base
adding entry (goog)
adding entry [goog.string goog.string.Unicode]
adding entry [goog.object]
adding entry [goog.string.StringBuffer]
adding entry [goog.debug.Error]
adding entry [goog.dom.NodeType]
adding entry [goog.asserts goog.asserts.AssertionError]
adding entry [goog.array goog.array.ArrayLike]
adding entry (constants-table)
adding entry (clojure.zip)
Successfully compiled "/Users/kasuko/Documents/Projects/mori/target/cljsbuild-main.js" in 12.099 seconds.
Finalizing mori.js
cat: mori.bare.js: No such file or directory
mori hasn't been updated since 2015. try looking at #155 for a build fix: (this) worked for me.