Skip to content

Instantly share code, notes, and snippets.

@ztmr
Created February 14, 2014 21:16
Show Gist options
  • Save ztmr/9009442 to your computer and use it in GitHub Desktop.
Save ztmr/9009442 to your computer and use it in GitHub Desktop.
LuvvieScript build issues
tmr@gersemi:~/src/erl/misc$ git clone https://github.com/hypernumbers/LuvvieScript Cloning into 'LuvvieScript'...
remote: Reusing existing pack: 784, done.
remote: Total 784 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (784/784), 1.01 MiB | 546 KiB/s, done.
Resolving deltas: 100% (405/405), done.
tmr@gersemi:~/src/erl/misc$ cd LuvvieScript/
tmr@gersemi:~/src/erl/misc/LuvvieScript$ rebar get-deps
==> LuvvieScript (get-deps)
Pulling mochiweb from {git,"git://github.com/mochi/mochiweb.git","master"}
Cloning into 'mochiweb'...
Pulling rfc4627_jsonrpc from {git,"git://github.com/tonyg/erlang-rfc4627",
"master"}
Cloning into 'rfc4627_jsonrpc'...
==> mochiweb (get-deps)
==> rfc4627_jsonrpc (get-deps)
tmr@gersemi:~/src/erl/misc/LuvvieScript$ rebar first_time
==> mochiweb (first_time)
==> rfc4627_jsonrpc (first_time)
==> LuvvieScript (first_time)
Creating the luvviescript.app file that rebar needs
tmr@gersemi:~/src/erl/misc/LuvvieScript$ rebar compile
==> mochiweb (compile)
Compiled src/mochiweb_acceptor.erl
Compiled src/mochifmt_records.erl
Compiled src/mochiweb_http.erl
Compiled src/mochiweb_cover.erl
Compiled src/mochilogfile2.erl
Compiled src/mochifmt.erl
Compiled src/mochiweb_socket.erl
Compiled src/mochiweb_mime.erl
Compiled src/mochitemp.erl
Compiled src/mochihex.erl
Compiled src/mochiglobal.erl
Compiled src/mochiweb_util.erl
Compiled src/mochiweb_response.erl
Compiled src/mochiweb_html.erl
Compiled src/mochinum.erl
Compiled src/mochiweb_multipart.erl
Compiled src/mochiweb_echo.erl
Compiled src/mochijson2.erl
Compiled src/mochijson.erl
Compiled src/mochiweb_websocket.erl
Compiled src/mochiweb_base64url.erl
Compiled src/mochifmt_std.erl
Compiled src/mochiweb_request.erl
Compiled src/mochiweb_socket_server.erl
Compiled src/mochilists.erl
Compiled src/mochiutf8.erl
Compiled src/reloader.erl
Compiled src/mochiweb_cookies.erl
Compiled src/mochiweb_session.erl
Compiled src/mochiweb.erl
Compiled src/mochiweb_io.erl
Compiled src/mochiweb_headers.erl
Compiled src/mochiweb_charref.erl
==> rfc4627_jsonrpc (compile)
Compiled src/rfc4627_jsonrpc_app.erl
Compiled src/rfc4627_jsonrpc_cowboy.erl
Compiled src/rfc4627_jsonrpc_mochiweb.erl
Compiled src/rfc4627_jsonrpc_sup.erl
Compiled src/rfc4627_jsonrpc_inets.erl
Compiled src/rfc4627_jsonrpc_http.erl
Compiled src/rfc4627_jsonrpc_registry.erl
Compiled src/rfc4627_jsonrpc.erl
Compiled src/rfc4627.erl
==> LuvvieScript (compile)
tmr@gersemi:~/src/erl/misc/LuvvieScript$ rebar compile_literate
==> mochiweb (compile_literate)
==> rfc4627_jsonrpc (compile_literate)
==> LuvvieScript (compile_literate)
tmr@gersemi:~/src/erl/misc/LuvvieScript$ rebar compile skip_deps=true
==> LuvvieScript (compile)
Compiled src/make_utils.erl
src/merge.erl:67: Warning: variable 'Context' is unused
Compiled src/merge.erl
src/from_core.erl:20: Warning: variable 'Annotations' is unused
src/from_core.erl:23: Warning: variable 'Attrs' is unused
src/from_core.erl:37: Warning: variable 'Context' is unused
Compiled src/from_core.erl
Compiled src/debug_json.erl
Compiled src/lcompile.erl
Compiled src/tokens.erl
Compiled src/test_utils.erl
Compiled src/luvviescript.erl
src/to_js_ast.erl:314: Warning: function log_output/3 is unused
src/to_js_ast.erl:331: Warning: function log/2 is unused
Compiled src/to_js_ast.erl
tmr@gersemi:~/src/erl/misc/LuvvieScript$ ./build.sh
==> LuvvieScript (markup)
==> LuvvieScript (compile_literate)
==> LuvvieScript (compile)
src/from_core.erl:20: Warning: variable 'Annotations' is unused
src/from_core.erl:23: Warning: variable 'Attrs' is unused
src/from_core.erl:37: Warning: variable 'Context' is unused
Compiled src/from_core.erl
src/merge.erl:67: Warning: variable 'Context' is unused
Compiled src/merge.erl
Compiled src/make_utils.erl
Compiled src/debug_json.erl
Compiled src/lcompile.erl
Compiled src/tokens.erl
Compiled src/luvviescript.erl
Compiled src/test_utils.erl
src/to_js_ast.erl:314: Warning: function log_output/3 is unused
src/to_js_ast.erl:331: Warning: function log/2 is unused
Compiled src/to_js_ast.erl
tmr@gersemi:~/src/erl/misc/LuvvieScript$ rebar make_luvv
==> mochiweb (make_luvv)
==> rfc4627_jsonrpc (make_luvv)
==> LuvvieScript (make_luvv)
Compiling "test/passing/src/1a_simplest.erl"
Compiling "test/passing/src/1b_simpler.erl"
ERROR: make_luvv failed while processing /home/tmr/Documents/Workspace/Erlang/misc/LuvvieScript: {'EXIT',{function_clause,[{rfc4627,encode_noauto,
[{"atom",django},
"[:\"seitreporp\",\"noisserpxEtcejbO\":\"epyt\"{:\"tnemugra\",\"tnemetatSnruteR\":\"epyt\"{[:\"tneuqesnoc\",}\"0\":\"war\",0:\"eulav\",\"laretiL\":\"epyt\"{:\"tset\",\"esaChctiwS\":\"epyt\"{[:\"sesac\",}\"sgra_\":\"eman\",\"reifitnedI\":\"epyt\"{:\"tnanimircsid\",\"tnemetatShctiwS\":\"epyt\"{,}}}}\"htgnel\":\"eman\",\"reifitnedI\":\"epyt\"{:\"ytreporp\",}\"stnemugra\":\"eman\",\"reifitnedI\":\"epyt\"{:\"tcejbo\",eslaf:\"detupmoc\",\"noisserpxErebmeM\":\"epyt\"{:\"thgir\",}\"sgra_\":\"eman\",\"reifitnedI\":\"epyt\"{:\"tfel\",\"=\":\"rotarepo\",\"noisserpxEtnemngissA\":\"epyt\"{:\"noisserpxe\",\"tnemetatSnoisserpxE\":\"epyt\"{[:\"ydob\",\"tnemetatSkcolB\":\"epyt\"{:\"ydob\",][:\"stluafed\",][:\"smarap\",llun:\"di\",\"noisserpxEnoitcnuF\":\"epyt\"{:\"thgir\",}\"nf_detropxe_ton\":\"eman\",\"reifitnedI\":\"epyt\"{:\"tfel\",\"=\":\"rotarepo\",\"noisserpxEtnemngissA\":\"epyt\"{:\"noisserpxe\",\"tnemetatSnoisserpxE\":\"epyt\"{,}}}eslaf:\"noisserpxe\",eslaf:\"rotareneg\",llun:\"tser\",}]}]}}}]}\"411\":\"war\",411:\"eulav\",\"laretiL\":\"epyt\"{,}\"111\":\"war\",111:\"eulav\",\"laretiL\":\"epyt\"{,}\"411\":\"war\",411:\"eulav\",\"laretiL\":\"epyt\"{,}\"411\":\"war\",411:\"eulav\",\"laretiL\":\"epyt\"{,}\"101\":\"war\",101:\"eulav\",\"laretiL\":\"epyt\"{,}\"23\":\"war\",23:\"eulav\",\"laretiL\":\"epyt\"{,}\"911\":\"war\",911:\"eulav\",\"laretiL\":\"epyt\"{,}\"111\":\"war\",111:\"eulav\",\"laretiL\":\"epyt\"{,}\"411\":\"war\",411:\"eulav\",\"laretiL\":\"epyt\"{,}\"401\":\"war\",401:\"eulav\",\"laretiL\":\"epyt\"{,}\"611\":\"war\",611:\"eulav\",\"laretiL\":\"epyt\"{[:\"stnemele\",\"noisserpxEyarrA\":\"epyt\"{:\"tnemugra\",\"tnemetatSnruteR\":\"epyt\"{:\"tneuqesnoc\",llun:\"tset\",\"esaChctiwS\":\"epyt\"{,}]}llun:\"lebal\",\"tnemetatSkaerB\":\"epyt\"{,}}][:\"stnemugra\",}\"nf_elpmis\":\"eman\",\"reifitnedI\":\"epyt\"{:\"eellac\",\"noisserpxEllaC\":\"epyt\"{:\"tnemugra\",\"tnemetatSnruteR\":\"epyt\"{[:\"tneuqesnoc\",}\"0\":\"war\",0:\"eulav\",\"laretiL\":\"epyt\"{:\"tset\",\"esaChctiwS\":\"epyt\"{[:\"sesac\",}\"sgra_\":\"eman\",\"reifitnedI\":\"epyt\"{:\"tnanimircsid\",\"tnemetatShctiwS\":\"epyt\"{,}}}}\"htgnel\":\"eman\",\"reifitnedI\":\"epyt\"{:\"ytreporp\",}\"stnemugra\":\"eman\",\"reifitnedI\":\"epyt\"{:\"tcejbo\",eslaf:\"detupmoc\",\"noisserpxErebmeM\":\"epyt\"{:\"thgir\",}\"sgra_\":\"eman\",\"reifitnedI\":\"epyt\"{:\"tfel\",\"=\":\"rotarepo\",\"noisserpxEtnemngissA\":\"epyt\"{:\"noisserpxe\",\"tnemetatSnoisserpxE\":\"epyt\"{[:\"ydob\",\"tnemetatSkcolB\":\"epyt\"{:\"ydob\",][:\"stluafed\",][:\"smarap\",llun:\"di\",\"noisserpxEnoitcnuF\":\"epyt\"{:\"thgir\",}}\"nf_elpmis\":\"eman\",\"reifitnedI\":\"epyt\"{:\"ytreporp\",}\"stropxe\":\"eman\",\"reifitnedI\":\"epyt\"{:\"tcejbo\",eslaf:\"detupmoc\",\"noisserpxErebmeM\":\"epyt\"{:\"tfel\",\"=\":\"rotarepo\",\"noisserpxEtnemngissA\":\"epyt\"{:\"noisserpxe\",\"tnemetatSnoisserpxE\":\"epyt\"{,}\"rav\":\"dnik\",]}}][:\"seitreporp\",\"noisserpxEtcejbO\":\"epyt\"{:\"tini\",}\"nf_elpmis\":\"eman\",\"reifitnedI\":\"epyt\"{:\"di\",\"rotaralceDelbairaV\":\"epyt\"{,}}][:\"seitreporp\",\"noisserpxEtcejbO\":\"epyt\"{:\"tini\",}\"nf_detropxe_ton\":\"eman\",\"reifitnedI\":\"epyt\"{:\"di\",\"rotaralceDelbairaV\":\"epyt\"{,}}][:\"seitreporp\",\"noisserpxEtcejbO\":\"epyt\"{:\"tini\",}\"stropxe\":\"eman\",\"reifitnedI\":\"epyt\"{:\"di\",\"rotaralceDelbairaV\":\"epyt\"{[:\"snoitaralced\",\"noitaralceDelbairaV\":\"epyt\"{[:\"ydob\",\"margorP\":\"epyt\"{"],
[{file,"src/rfc4627.erl"},{line,148}]},
{rfc4627,encode_noauto,2,
[{file,"src/rfc4627.erl"},{line,166}]},
{rfc4627,encode_object,2,
[{file,"src/rfc4627.erl"},{line,173}]},
{rfc4627,encode_noauto,2,
[{file,"src/rfc4627.erl"},{line,162}]},
{rfc4627,encode_array,2,
[{file,"src/rfc4627.erl"},{line,188}]},
{rfc4627,encode_noauto,2,
[{file,"src/rfc4627.erl"},{line,166}]},
{rfc4627,encode_noauto,2,
[{file,"src/rfc4627.erl"},{line,162}]},
{rfc4627,encode_array,2,
[{file,"src/rfc4627.erl"},{line,188}]}]}}
tmr@gersemi:~/src/erl/misc/LuvvieScript$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment