erlyaws / yaws

Yaws webserver
https://erlyaws.github.io
BSD 3-Clause "New" or "Revised" License
1.28k stars 267 forks source link

Failed to compile 2.1.1 with Erl22, but 2.1.0 worked #451

Closed mattiasw2 closed 2 years ago

mattiasw2 commented 2 years ago

I got the following message when compiling

===> Fetching yaws (from {git,"https://github.com/klacke/yaws",{tag,"yaws-2.1.1"}})
===> Error evaluating configuration script at "/root/data7/erlang/share3/_build/default/deps/yaws/rebar.config.script":
{error,{117,file,
        {error,{unbound_var,'DETERMINISTIC'},
               [{erl_eval,exprs,2,[{file,"erl_eval.erl"},{line,97}]},
                {file,eval_stream2,6,[{file,"file.erl"},{line,1393}]},
                {file,script,2,[{file,"file.erl"},{line,1090}]},
                {rebar_config,consult_and_eval,2,
                              [{file,"/tmp/cirrus-ci-build/src/rebar_config.erl"},
                               {line,287}]},
                {rebar_config,consult_file_,1,
                              [{file,"/tmp/cirrus-ci-build/src/rebar_config.erl"},
                               {line,230}]},
                {rebar_config,consult_file,1,
                              [{file,"/tmp/cirrus-ci-build/src/rebar_config.erl"},
                               {line,212}]},
                {rebar_fetch,download_source,2,
                             [{file,"/tmp/cirrus-ci-build/src/rebar_fetch.erl"},
                              {line,31}]}]}}}

===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump
===> When submitting a bug report, please include the output of `rebar3 report "your command"`
vinoski commented 2 years ago

If you're using rebar3 to build, you need to use the rebar3-support branch.