Last active
January 29, 2021 16:18
-
-
Save perrygeo/ea166a49948fb8b60bf34db13eb1e24c to your computer and use it in GitHub Desktop.
Clojerl, attempt 1 using the example-web-app failed (compiling clojure.core)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
π² git clone https://github.com/clojerl/example-web-app | |
Cloning into 'example-web-app'... | |
remote: Enumerating objects: 78, done. | |
remote: Total 78 (delta 0), reused 0 (delta 0), pack-reused 78 | |
Unpacking objects: 100% (78/78), 7.94 KiB | 507.00 KiB/s, done. | |
mperry@t14-dev:/tmp | |
π² cd example-web-app/ | |
π² rebar3 --version | |
===> Fetching rebar3_clojerl (from {git,"https://github.com/clojerl/rebar3_clojerl", | |
{ref,"b9eef19"}}) | |
===> Analyzing applications... | |
===> Compiling rebar3_clojerl | |
_build/default/plugins/rebar3_clojerl/src/rebar3_clojerl_compile_prv.erl:39: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/plugins/rebar3_clojerl/src/rebar3_clojerl_compile_prv.erl:128: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/plugins/rebar3_clojerl/src/rebar3_clojerl_compile_prv.erl:130: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
rebar 3.14.3 on Erlang/OTP 22 Erts 10.6.4 | |
π² uname -a # Linux Mint 20, effectively Ubuntu 20.04 | |
Linux dev 5.10.7-051007-generic #202101122046 SMP Tue Jan 12 21:13:32 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux | |
π² rebar3 clojerl compile | |
===> Verifying dependencies... | |
===> Fetching clojerl (from {git,"https://github.com/jfacorro/clojerl.git",{ref,"53724f5"}}) | |
===> Fetching cowboy v1.1.2 | |
===> Fetching cowlib v1.0.2 | |
===> Fetching ranch v1.3.2 | |
===> Analyzing applications... | |
===> Compiling clojerl | |
_build/default/lib/clojerl/src/erl/lang/clojerl.Var.erl:221: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/lib/clojerl/src/erl/clojerl_cli.erl:84: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/lib/clojerl/src/erl/clj_compiler.erl:231: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/lib/clojerl/src/erl/clj_compiler.erl:260: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
===> Compiling ranch | |
_build/default/lib/ranch/src/ranch_ssl.erl:128: Warning: ssl:ssl_accept/2: deprecated; use ssl:handshake/2 instead | |
===> Compiling cowlib | |
_build/default/lib/cowlib/src/cow_multipart.erl:392: Warning: call to crypto:rand_bytes/1 will fail, since it was removed in 20.0; use crypto:strong_rand_bytes/1 | |
===> Compiling cowboy | |
_build/default/lib/cowboy/src/cowboy_handler.erl:87: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/lib/cowboy/src/cowboy_handler.erl:116: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/lib/cowboy/src/cowboy_handler.erl:235: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/lib/cowboy/src/cowboy_handler.erl:290: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/lib/cowboy/src/cowboy_websocket.erl:147: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/lib/cowboy/src/cowboy_websocket.erl:645: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/lib/cowboy/src/cowboy_websocket.erl:755: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/lib/cowboy/src/cowboy_rest.erl:69: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
_build/default/lib/cowboy/src/cowboy_rest.erl:1006: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace | |
Compiling clojure.core...Function _/1 refers to undefined label 0 | |
[error] {[{"/tmp/example-web-app/_build/default/lib/clojerl/src/clj/clojure/core.clje", | |
[{none,compile, | |
{crash,beam_peep, | |
{{case_clause,{'EXIT',{undefined_label,0}}}, | |
[{compile,'-select_passes/2-anonymous-2-',3, | |
[{file,"compile.erl"},{line,675}]}, | |
{compile,'-internal_comp/5-anonymous-1-',3, | |
[{file,"compile.erl"},{line,399}]}, | |
{compile,fold_comp,4, | |
[{file,"compile.erl"},{line,426}]}, | |
{compile,internal_comp,5, | |
[{file,"compile.erl"},{line,410}]}, | |
{compile,'-do_compile/2-anonymous-0-',2, | |
[{file,"compile.erl"},{line,207}]}, | |
{compile,'-do_compile/2-anonymous-1-',1, | |
[{file,"compile.erl"},{line,223}]}]}}}]}], | |
[]} | |
[{clj_compiler,compile_module,2, | |
[{file,"/tmp/example-web-app/_build/default/lib/clojerl/src/erl/clj_compiler.erl"}, | |
{line,351}]}, | |
{clj_emitter,ast,2, | |
[{file,"/tmp/example-web-app/_build/default/lib/clojerl/src/erl/clj_emitter.erl"}, | |
{line,316}]}, | |
{lists,foldl,3,[{file,"lists.erl"},{line,1263}]}, | |
{clj_emitter,ast,2, | |
[{file,"/tmp/example-web-app/_build/default/lib/clojerl/src/erl/clj_emitter.erl"}, | |
{line,82}]}, | |
{clj_emitter,ast,2, | |
[{file,"/tmp/example-web-app/_build/default/lib/clojerl/src/erl/clj_emitter.erl"}, | |
{line,824}]}, | |
{clj_emitter,emit,1, | |
[{file,"/tmp/example-web-app/_build/default/lib/clojerl/src/erl/clj_emitter.erl"}, | |
{line,21}]}, | |
{clj_compiler,do_analyze_emit_eval,2, | |
[{file,"/tmp/example-web-app/_build/default/lib/clojerl/src/erl/clj_compiler.erl"}, | |
{line,309}]}, | |
{clj_reader,read_fold_loop,3, | |
[{file,"/tmp/example-web-app/_build/default/lib/clojerl/src/erl/clj_reader.erl"}, | |
{line,97}]}, | |
{clj_compiler,'-do_compile/3-fun-2-',6, | |
[{file,"/tmp/example-web-app/_build/default/lib/clojerl/src/erl/clj_compiler.erl"}, | |
{line,224}]}, | |
{clj_module,with_context,1, | |
[{file,"/tmp/example-web-app/_build/default/lib/clojerl/src/erl/clj_module.erl"}, | |
{line,94}]}, | |
{clj_compiler,do_compile,3, | |
[{file,"/tmp/example-web-app/_build/default/lib/clojerl/src/erl/clj_compiler.erl"}, | |
{line,235}]}]make: *** [Makefile:92: /tmp/example-web-app/_build/default/lib/clojerl/ebin/clojure.core.beam] Error 1 | |
===> Hook for compile failed! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment