erlang / rebar3

Erlang build tool that makes it easy to compile and test Erlang applications and releases.
http://www.rebar3.org
Apache License 2.0
1.71k stars 517 forks source link

rebar3 3.7.0-rc2 build erlydtl failed. #1917

Closed no-trace-of-time closed 5 years ago

no-trace-of-time commented 6 years ago

Pre-Check

Environment

rebar3 3.7.0-rc2 erlydtl master/0.12.1

===> Compiling erlydtl ===> run_hooks("/projects/projects/gitee/pg/pg_web/_build/default/plugins/erlydtl", pre_hooks, compile) -> no hooks defined

===> run_hooks("/projects/projects/gitee/pg/pg_web/_build/default/plugins/erlydtl", pre_hooks, erlc_compile) -> no hooks defined

/projects/projects/gitee/pg/pg_web/_build/default/plugins/erlydtl/src/include/erlydtl_preparser.hrl: no such file or directory ===> Compiling src/erlydtl_parser.yrl failed /projects/projects/gitee/pg/pg_web/_build/default/plugins/erlydtl/src/include/erlydtl_preparser.hrl:none: no such file or directory

===> Compilation failed: {error, [["/projects/projects/gitee/pg/pg_web/_build/default/plugins/erlydtl/src/include/erlydtl_preparser.hrl:no ne: no such file or directory\n"]], []}


After I switch back to rebar3 3.6.2, erlydtl compiles without any error.

$ rebar3 report "my failing command"
...

Current behaviour

Describe the current behaviour. In case of a failure, crash, or exception, please include the result of running the command with debug information:

DEBUG=1 rebar3 <my failing command>

Expected behaviour

Describe what you expected to happen.

tsloughter commented 6 years ago

Can you try #1952 to see if this fixes your issue?

ferd commented 5 years ago

No further report since november following a potential fix being merged; will consider this resolved and someone can reopen if it still happens.