Open oubiwann opened 5 years ago
Seems there's a regression from LFE v1.2 to v1.3 such that one or more YAWS records in yaws/include/yaws_api.hrl can't be compiled by LFE. The rebar3 stack trace I get when trying to run the tests is the following:
yaws/include/yaws_api.hrl
rebar3
===> Uncaught error: {case_clause, {error, {undef, [{erl_internal,is_type,[frag_type,0],[]}, {lfe_lint,check_type_name,3, [{file, "/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"}, {line,357}]}, {lfe_lint,check_type_def,4, [{file, "/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"}, {line,339}]}, {lfe_lint,collect_form,2, [{file, "/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"}, {line,208}]}, {lists,foldl,3, [{file,"lists.erl"},{line,1261}]}, {lfe_lint,collect_module,2, [{file, "/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"}, {line,192}]}, {lfe_lint,check_module,2, [{file, "/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"}, {line,176}]}, {lfe_lint,module,2, [{file, "/Users/dmcgreggor/lab/lfe/lfest/_build/test/plugins/lfe/src/lfe_lint.erl"}, {line,163}]}]}}} ===> Stack trace to the error location: [{lr3_comp,compile,3, [{file,"/Users/dmcgreggor/lab/lfe/lfest/_build/default/plugins/lfe-compile/src/lr3_comp.erl"}, {line,27}]}, {rebar_base_compiler,compile_each,3, [{file,"/opt/rebar3-3.10.0/src/rebar_base_compiler.erl"}, {line,185}]}, {lr3_comp,'-compile_normal_app/1-lc$^0/1-0-',4, [{file,"/Users/dmcgreggor/lab/lfe/lfest/_build/default/plugins/lfe-compile/src/lr3_comp.erl"}, {line,65}]}, {lr3_comp,compile_normal_app,1, [{file,"/Users/dmcgreggor/lab/lfe/lfest/_build/default/plugins/lfe-compile/src/lr3_comp.erl"}, {line,65}]}, {lr3_comp,'-compile_normal_apps/1-lc$^0/1-0-',1, [{file,"/Users/dmcgreggor/lab/lfe/lfest/_build/default/plugins/lfe-compile/src/lr3_comp.erl"}, {line,47}]}, {lr3_comp,compile_normal_apps,1, [{file,"/Users/dmcgreggor/lab/lfe/lfest/_build/default/plugins/lfe-compile/src/lr3_comp.erl"}, {line,47}]}, {rebar_core,do,2,[{file,"/opt/rebar3-3.10.0/src/rebar_core.erl"},{line,154}]}, {rebar_hooks,run_provider_hooks_,6, [{file,"/opt/rebar3-3.10.0/src/rebar_hooks.erl"},{line,48}]}]
An LFE ticket has been filed here:
For a workaround, we can just disable the 17.5 build in the TravisCI config.
Seems there's a regression from LFE v1.2 to v1.3 such that one or more YAWS records in
yaws/include/yaws_api.hrl
can't be compiled by LFE. Therebar3
stack trace I get when trying to run the tests is the following: