When I run 'make' in v0.8.9 for the first time, I get:
Compiled src/tests/ct/make_app_SUITE.erl
:0: Warning: function render_tag/3 is unused
:0: Warning: function render_tag/3 is unused
ERROR: Compiling template src/boss/boss_html_error_template.dtl failed:
{ok,boss_html_error_template,
[{[],[{0,erl_lint,{unused_function,{render_tag,3}}}]}]}
ERROR: compile failed while processing
/home/simon/devel/ChicagoBoss-0.8.9: rebar_abort
Makefile:11: recipe for target 'all' failed
make: *** [all] Error 1
I ignore it and run 'make' again, I get
==> ChicagoBoss-0.8.9 (compile)
:0: Warning: function render_tag/3 is unused
:0: Warning: variable 'Counters' shadowed in 'fun'
:0: Warning: variable 'Counters' shadowed in 'fun'
:0: Warning: variable 'Counters' shadowed in 'fun'
:0: Warning: variable 'Counters' shadowed in 'fun'
:0: Warning: variable 'Var_module' is unused
:0: Warning: variable 'Var_module' is unused
:0: Warning: variable 'Var_module' is unused
:0: Warning: variable 'Var_module' is unused
ERROR: Compiling template src/boss/boss_html_errors_template.dtl failed:
{ok,boss_html_errors_template,
[{[],
[{0,erl_lint,{unused_function,{render_tag,3}}},
{0,erl_lint,{unused_var,'Var_module'}},
{0,erl_lint,{unused_var,'Var_module'}},
{0,erl_lint,{unused_var,'Var_module'}},
{0,erl_lint,{unused_var,'Var_module'}},
{0,erl_lint,{shadowed_var,'Counters','fun'}},
{0,erl_lint,{shadowed_var,'Counters','fun'}},
{0,erl_lint,{shadowed_var,'Counters','fun'}},
{0,erl_lint,{shadowed_var,'Counters','fun'}}]}]}
ERROR: compile failed while processing
/home/simon/devel/ChicagoBoss-0.8.9: rebar_abort
Makefile:11: recipe for target 'all' failed
make: *** [all] Error 1
I ignore it and run make for the third time, it passes:
==> goldrush (get-deps)
==> lager (get-deps)
==> pmod_transform (get-deps)
==> erlando (get-deps)
==> aleppo (get-deps)
==> bson (get-deps)
==> jsx (get-deps)
==> ibrowse (get-deps)
==> src (get-deps)
==> ddb (get-deps)
==> epgsql (get-deps)
==> gen_server2 (get-deps)
==> erlmc (get-deps)
==> medici (get-deps)
==> mongodb (get-deps)
==> mysql (get-deps)
==> poolboy (get-deps)
==> meck (get-deps)
==> protobuffs (get-deps)
==> riak_pb (get-deps)
==> riakc (get-deps)
==> tiny_pq (get-deps)
==> uuid (get-deps)
==> redo (get-deps)
==> ets_cache (get-deps)
==> proper (get-deps)
==> erlydtl (get-deps)
==> boss_db (get-deps)
==> tinymq (get-deps)
==> cowlib (get-deps)
==> ranch (get-deps)
==> cowboy (get-deps)
==> mimetypes (get-deps)
==> mochiweb (get-deps)
==> mochicow (get-deps)
==> dynamic_compile (get-deps)
==> jaderl (get-deps)
==> lfe (get-deps)
==> gen_smtp (get-deps)
==> simple_bridge (get-deps)
==> ChicagoBoss-0.8.9 (get-deps)
==> goldrush (compile)
==> lager (compile)
==> pmod_transform (compile)
==> erlando (compile)
==> aleppo (compile)
==> bson (compile)
==> jsx (compile)
==> ibrowse (compile)
==> src (compile)
==> ddb (compile)
==> epgsql (compile)
==> gen_server2 (compile)
==> erlmc (compile)
==> medici (compile)
==> mongodb (compile)
==> mysql (compile)
==> poolboy (compile)
==> meck (compile)
==> protobuffs (compile)
==> riak_pb (compile)
==> riakc (compile)
==> tiny_pq (compile)
==> uuid (compile)
==> redo (compile)
==> ets_cache (compile)
==> proper (compile)
make[1]: Entering directory
'/home/simon/devel/ChicagoBoss-0.8.9/deps/proper'
make[1]: 'include/compile_flags.hrl' is up to date.
make[1]: Leaving directory
'/home/simon/devel/ChicagoBoss-0.8.9/deps/proper'
==> erlydtl (compile)
==> boss_db (compile)
==> tinymq (compile)
==> cowlib (compile)
==> ranch (compile)
==> cowboy (compile)
==> mimetypes (compile)
==> mochiweb (compile)
==> mochicow (compile)
==> dynamic_compile (compile)
==> jaderl (compile)
==> lfe (compile)
==> gen_smtp (compile)
==> simple_bridge (compile)
==> ChicagoBoss-0.8.9 (compile)
The whole process is reproducible. My env: Arch Linux with
erlang R16B02-2.
Is this expected?
Thanks
Romu
--
You received this message because you are subscribed to the Google
Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit
https://groups.google.com/d/msgid/chicagoboss/ea73c69d-9e41-493f-aeaf-8b8b87578ceb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.