Closed ginahagg closed 8 years ago
Ok, i figured it for everybody else who might have this problem. tomas-abrahamsson/gpb just released a branch two days ago, and added new libraries that relx was unable to work with.. But why give above error, it is not intuitive at all.
Just today, make started failing. i have updated erlang.mk from 2.0.0-pre.1-37-gb7ccb2e to 2.0.0-pre.2-130-gc6fe5ea to see if it would create the release. It still fails. Erlang is Erlang/OTP 18 erts-7.1. Git version is 2.9.0. it is an issue with freshly cloned repository. Not an issue in already existing repository. No vsn/git in the .app file
=ERROR REPORT==== 29-Jul-2016::00:43:42 === Error in process <0.1599.0> with exit value: {function_clause,[{rlx_app_info,parse_version, [{cmd,"git describe --always --tags --match '[0-9].[0-9]'"}], [{file,"src/rlx_app_info.erl"},{line,197}]}, {rlx_app_info,new,6, [{file,"src/rlx_app_info.erl"},{line,98}]}, {rlx_app_discovery,get_vsn,3, [{file,"src/rlx_app_discovery.erl"}, {line,236}]}, {rlx_dscv_util,discover_dir,3, [{file,"src/rlx_dscv_util.erl"},{line,95}]}, {lists,map,2,[{file,"lists.erl"},{line,1238}]}, {ec_plists,'-local_runmany/3-fun-0-',3, [{file,"src/ec_plists.erl"},{line,738}]}]} escript: exception exit: {function_clause, [{rlx_app_info,parse_version, [{cmd, "git describe --always --tags --match '[0-9].[0-9]'"}], [{file,"src/rlx_app_info.erl"},{line,197}]}, {rlx_app_info,new,6, [{file,"src/rlx_app_info.erl"},{line,98}]}, {rlx_app_discovery,get_vsn,3, [{file,"src/rlx_app_discovery.erl"},{line,236}]}, {rlx_dscv_util,discover_dir,3, [{file,"src/rlx_dscv_util.erl"},{line,95}]}, {lists,map,2,[{file,"lists.erl"},{line,1238}]}, {ec_plists,'-local_runmany/3-fun-0-',3, [{file,"src/ec_plists.erl"},{line,738}]}]} in function ec_plists:handle_error/3 (src/ec_plists.erl, line 885) in call from ec_plists:local_runmany/3 (src/ec_plists.erl, line 749) in call from rlx_dscv_util:do/2 (src/rlx_dscv_util.erl, line 52) in call from rlx_app_discovery:resolve_app_metadata/2 (src/rlx_app_discovery.erl, line 56) in call from rlx_prv_discover:do/1 (src/rlx_prv_discover.erl, line 46) in call from relx:run_provider/2 (src/relx.erl, line 277) in call from lists:foldl/3 (lists.erl, line 1262) in call from relx:run_providers/1 (src/relx.erl, line 265) make: *\ [relx-rel] Error 127