<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Strange problem developed after upgrading to erlang R21 on macOS. When I do a rebar3 build now I get:<div class=""><br class=""></div><div class="">geibs-MacBook-Pro:json2splunk geib$ <font color="#b51a00" class="">rebar3 release</font><br class=""></div><div class=""><font color="#b51a00" class="">...</font></div><div class="">===> Compiling amqp_client<br class="">===> Compiling json2splunk<br class="">===> Running cuttlefish schema generator<br class="">===> Starting relx build process ...<br class="">===> Resolving OTP Applications from directories:<br class="">          /Users/geib/git/cse.dbsa.download.json2splunk/json2splunk/_build/default/lib<br class="">          /Users/geib/git/cse.dbsa.download.json2splunk/json2splunk/apps<br class="">          /usr/local/Cellar/erlang/21.0/lib/erlang/lib<br class="">===> Resolved json2splunk-1.1.2-1<br class="">===> Dev mode enabled, release will be symlinked<br class="">===> release successfully created!<br class=""><font color="#e32400" class="">===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump<br class=""></font>===> When submitting a bug report, please include the output of `rebar3 report "your command”`</div><div class=""><br class=""></div><div class="">and rebar3.crashdump is:</div><div class=""><br class=""></div><div class=""><div class="">geibs-MacBook-Pro:json2splunk geib$ cat rebar3.crashdump</div><div class=""><font color="#b51a00" class="">Error: {badmatch,{error,eperm}}</font></div><div class=""><font color="#b51a00" class="">[{rlx_prv_overlay,write_template,3,</font></div><div class=""><font color="#b51a00" class="">                  [{file,"/home/tristan/Devel/rebar3/_build/default/lib/relx/src/rlx_prv_overlay.erl"},</font></div><div class=""><font color="#b51a00" class="">                   {line,498}]},</font></div><div class=""> {lists,map,2,[{file,"lists.erl"},{line,1239}]},</div><div class=""> {lists,map,2,[{file,"lists.erl"},{line,1239}]},</div><div class=""> {rlx_prv_overlay,do_overlay,3,</div><div class="">                  [{file,"/home/tristan/Devel/rebar3/_build/default/lib/relx/src/rlx_prv_overlay.erl"},</div><div class="">                   {line,292}]},</div><div class=""> {relx,run_provider,2,</div><div class="">       [{file,"/home/tristan/Devel/rebar3/_build/default/lib/relx/src/relx.erl"},</div><div class="">        {line,308}]},</div><div class=""> {lists,foldl,3,[{file,"lists.erl"},{line,1263}]},</div><div class=""> {relx,run_providers_for_actions,2,</div><div class="">       [{file,"/home/tristan/Devel/rebar3/_build/default/lib/relx/src/relx.erl"},</div><div class="">        {line,291}]},</div><div class=""> {relx,main,2,</div><div class="">       [{file,"/home/tristan/Devel/rebar3/_build/default/lib/relx/src/relx.erl"},</div><div class="">        {line,65}]}]</div></div><div class=""><br class=""></div><div class="">Now switching back to erlang R20 I get a successful build</div><div class=""><br class=""></div><div class="">geibs-MacBook-Pro:json2splunk geib$ <font color="#0056d6" class="">rebar3 release</font></div><div class=""><font color="#0056d6" class="">...<br class="">===> Compiling recon<br class="">===> Compiling ranch<br class="">===> Compiling ranch_proxy_protocol<br class="">===> Compiling goldrush<br class="">===> Compiling lager<br class="">===> Compiling jsx<br class="">===> Compiling rabbit_common<br class="">===> Compiling amqp_client<br class="">===> Compiling json2splunk<br class="">===> Running cuttlefish schema generator<br class="">===> Starting relx build process ...<br class="">===> Resolving OTP Applications from directories:<br class="">          /Users/geib/git/cse.dbsa.download.json2splunk/json2splunk/_build/default/lib<br class="">          /Users/geib/git/cse.dbsa.download.json2splunk/json2splunk/apps<br class="">          /usr/local/Cellar/erlang@20/20.3.8/lib/erlang/lib<br class="">===> Resolved json2splunk-1.1.2-1<br class="">===> Dev mode enabled, release will be symlinked<br class="">===> release successfully created!</font></div><div class=""><br class=""></div><div class=""><span style="caret-color: rgb(0, 86, 214);" class="">I assume since rebar3 is the same exec, that this is a potential issue with R21.</span></div><div class=""><span style="caret-color: rgb(0, 86, 214);" class="">Any ideas.???</span></div><div class=""><span style="caret-color: rgb(0, 86, 214);" class=""><br class=""></span></div><div class=""><span style="caret-color: rgb(0, 86, 214);" class="">Thanks,</span></div><div class=""><span style="caret-color: rgb(0, 86, 214);" class="">Mark.</span></div></body></html>