Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Invalid
-
Affects Version/s: ejabberd 13.12
-
Fix Version/s: ejabberd 14.05
-
Component/s: None
-
Labels:None
-
Environment:Ubuntu 13.10 (Saucy) and 14.04 (Trusty) or Debian Jessie (testing) or Sid (unstable).
-
Company:
-
Last commented by user ?:true
Description
I am trying to compile ejabberd on various Ubuntu/Debian distributions. Compilation fails on every distribution that provides erlang 16 (see environment field above), giving the following error:
==> p1_cache_tab (compile) ERROR: compile failed while processing /tmp/buildd/ejabberd-13.12/deps/p1_cache_tab: {'EXIT',{undef,[{erl_syntax,type,[{attribute,27,module,cache_tab}],[]}, {rebar_erlc_compiler,parse_attrs,2, [{file,"src/rebar_erlc_compiler.erl"}, {line,480}]}, {rebar_erlc_compiler,modify_graph,3, [{file,"src/rebar_erlc_compiler.erl"}, {line,312}]}, {lists,foreach,2,[{file,"lists.erl"},{line,1323}]}, {rebar_erlc_compiler,init_graph,2, [{file,"src/rebar_erlc_compiler.erl"}, {line,284}]}, {rebar_erlc_compiler,doterl_compile,3, [{file,"src/rebar_erlc_compiler.erl"}, {line,246}]}, {rebar_core,run_modules,4, [{file,"src/rebar_core.erl"},{line,405}]}, {rebar_core,execute,5, [{file,"src/rebar_core.erl"},{line,334}]}]}} make[1]: *** [deps/.built] Error 1 make[1]: Leaving directory `/tmp/buildd/ejabberd-13.12'
The code compiles fine with Ubuntu 13.04 or Debian Stable.
For what it's worth (probably not much), I can't reproduce this with Erlang R16B02 on NetBSD.