Seems like something is going wrong with Hex and fetching bcrypt. What you could try is to delete the ‘./rebar3’ application and let the Makefile fetch a new version.
- Marc > On 31 Jan 2019, at 03:41, heiheshang <[email protected]> wrote: > > /opt/zotonic $ make > ./rebar3 compile > Zotonic Config: > - /etc/zotonic/zotonic.config > Application Dirs: > - /opt/zotonic/user/modules/* > - /opt/zotonic/user/sites/* > - apps/* > ===> Fetching pc ({pkg,<<"pc">>,<<"1.10.0">>}) > ===> Version cached at /tmp/.cache/rebar3/hex/default/packages/pc-1.10.0.tar > is up to date, reusing it > ===> sh(mv /tmp/.tmp_dir90026919743 /opt/zotonic/_build/default/plugins/pc) > failed with return code 1 and the following output: > mv: can't rename '/tmp/.tmp_dir90026919743': No such file or directory > > ===> Plugin pc not available. It will not be used. > ===> Verifying dependencies... > ===> Fetching bcrypt ({pkg,<<"bcrypt">>,<<"1.0.0">>}) > ===> Version cached at > /tmp/.cache/rebar3/hex/default/packages/bcrypt-1.0.0.tar is up to date, > reusing it > ===> sh(mv /tmp/.tmp_dir800480727219 /opt/zotonic/_build/default/lib/bcrypt) > failed with return code 1 and the following output: > mv: can't rename '/tmp/.tmp_dir800480727219': No such file or directory > > ===> Failed to fetch and copy dep: {pkg,<<"bcrypt">>,<<"1.0.0">>, > > <<"1C0F76981D8A7B32E4DAA813408BFCA5BA8B1286196EB771F026D02C710F71C5">>} > make: *** [GNUmakefile:27: compile] Error 1 > > > среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал: > /opt/zotonic $ ./bin/zotonic compile > {"init terminating in > do_boot",{undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,122}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}} > init terminating in do_boot > ({undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{_},{_}]},{erl_eval,exprs,5,[{_},{_}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3 > > > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Zotonic developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
