clojerl / clojerl

Clojure for the Erlang VM (unofficial)

Home Page:http://try.clojerl.online/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't compile on Windows

jfacorro opened this issue · comments

Describe the bug
Running make ci compiles the Erlang files just fine and runs the Common Tests successfully but fails to compile clojure/pprint.clje.

===> Compiling clojerl
===> Clojerl Compiling clojerl
%%% Compiling clojure/core.clje...
%%% Compiling clojure/core/reducers.clje...
%%% Compiling clojure/core/server.clje...
%%% Compiling clojure/data.clje...
%%% Compiling clojure/pprint.clje...
=ERROR REPORT==== 18-Jun-2020::10:38:40 ===
File operation error: eio. Target: c:/projects/clojerl/_build/test/lib/clojerl/src/clj/clojure.pprint.emit-nl?__dispatch__.beam. Function: get_file. Process: code_server.
=ERROR REPORT==== 18-Jun-2020::10:38:40 ===
File operation error: eio. Target: c:/projects/clojerl/_build/test/lib/clojerl/test/clojure.pprint.emit-nl?__dispatch__.beam. Function: get_file. Process: code_server.

# ... trimmed more error messages

This is because of the latest changes in the implementation of multimethods. Some name mangling will be needed for invalid characters in filenames.

To Reproduce
Run make ci on a Windows shell that supports bash.

Expected behavior
Successfull compilation.

Actual behavior
See above.

Context

  • clojerl version (tag/sha):