Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save quantumproducer/44ed820a42a02435beab413d4177c33d to your computer and use it in GitHub Desktop.
Save quantumproducer/44ed820a42a02435beab413d4177c33d to your computer and use it in GitHub Desktop.
~/cd tdep
~/tdep/gmake distclean
GEN clean-app
GEN coverdata-clean
GEN distclean-tmp
GEN distclean-deps
GEN distclean-ct
GEN distclean-plt
GEN distclean-edoc
GEN distclean-escript
GEN distclean-relx-rel
GEN distclean-xref
GEN cover-report-clean
~/tdep/gmake run
DEP cowboy
DEP jiffy
mv: /Users/quantum/tdep/deps/jiffy/ebin/jiffy.app: No such file or directory
gmake[1]: Entering directory '/Users/quantum/tdep/.erlang.mk/rebar'
./bootstrap
No beam files found.
Recompile: src/rebar
Recompile: src/rebar_abnfc_compiler
Recompile: src/rebar_app_utils
Recompile: src/rebar_appups
Recompile: src/rebar_asn1_compiler
Recompile: src/rebar_base_compiler
Recompile: src/rebar_cleaner
Recompile: src/rebar_config
Recompile: src/rebar_core
Recompile: src/rebar_cover_utils
Recompile: src/rebar_ct
Recompile: src/rebar_deps
Recompile: src/rebar_dia_compiler
Recompile: src/rebar_dialyzer
Recompile: src/rebar_edoc
Recompile: src/rebar_erlc_compiler
Recompile: src/rebar_erlydtl_compiler
Recompile: src/rebar_escripter
Recompile: src/rebar_eunit
Recompile: src/rebar_file_utils
Recompile: src/rebar_getopt
Recompile: src/rebar_lfe_compiler
Recompile: src/rebar_log
Recompile: src/rebar_metacmds
Recompile: src/rebar_mustache
Recompile: src/rebar_neotoma_compiler
Recompile: src/rebar_otp_app
Recompile: src/rebar_otp_appup
Recompile: src/rebar_port_compiler
Recompile: src/rebar_proto_compiler
Recompile: src/rebar_proto_gpb_compiler
Recompile: src/rebar_protobuffs_compiler
Recompile: src/rebar_qc
Recompile: src/rebar_rand_compat
Recompile: src/rebar_rel_utils
Recompile: src/rebar_reltool
Recompile: src/rebar_require_vsn
Recompile: src/rebar_shell
Recompile: src/rebar_subdirs
Recompile: src/rebar_templater
Recompile: src/rebar_upgrade
Recompile: src/rebar_utils
Recompile: src/rebar_xref
Recompile: src/rmemo
==> rebar (compile)
==> rebar (escriptize)
Congratulations! You now have a self-contained script called "rebar" in
your current working directory. Place this script anywhere in your path
and you can use rebar to build OTP-compliant apps.
gmake[1]: Leaving directory '/Users/quantum/tdep/.erlang.mk/rebar'
/Users/quantum/tdep
gmake[1]: Entering directory '/Users/quantum/tdep/deps/cowboy'
DEP cowlib
DEP ranch
gmake[2]: Entering directory '/Users/quantum/tdep/deps/cowlib'
DEPEND cowlib.d
ERLC cow_base64url.erl cow_cookie.erl cow_date.erl cow_hpack.erl cow_http.erl cow_http2.erl cow_http_hd.erl cow_http_te.erl cow_mimetypes.erl cow_multipart.erl cow_qs.erl cow_spdy.erl cow_sse.erl cow_uri.erl cow_ws.erl
APP cowlib
gmake[2]: Leaving directory '/Users/quantum/tdep/deps/cowlib'
gmake[2]: Entering directory '/Users/quantum/tdep/deps/ranch'
DEPEND ranch.d
ERLC ranch.erl ranch_acceptor.erl ranch_acceptors_sup.erl ranch_app.erl ranch_conns_sup.erl ranch_listener_sup.erl ranch_protocol.erl ranch_server.erl ranch_ssl.erl ranch_sup.erl ranch_tcp.erl ranch_transport.erl
APP ranch
gmake[2]: Leaving directory '/Users/quantum/tdep/deps/ranch'
DEPEND cowboy.d
ERLC cowboy.erl cowboy_app.erl cowboy_bstr.erl cowboy_children.erl cowboy_clear.erl cowboy_clock.erl cowboy_compress_h.erl cowboy_constraints.erl cowboy_handler.erl cowboy_http.erl cowboy_http2.erl cowboy_iolists.erl cowboy_loop.erl cowboy_middleware.erl cowboy_req.erl cowboy_rest.erl cowboy_router.erl cowboy_static.erl cowboy_stream.erl cowboy_stream_h.erl cowboy_sub_protocol.erl cowboy_sup.erl cowboy_tls.erl cowboy_websocket.erl
APP cowboy
GEN rebar.config
gmake[1]: Leaving directory '/Users/quantum/tdep/deps/cowboy'
gmake[1]: Entering directory '/Users/quantum/tdep/deps/jiffy'
CC=gcc escript enc compile
Compiling c_src/decoder.c
Compiling c_src/encoder.c
Compiling c_src/jiffy.c
Compiling c_src/utf8.c
Compiling c_src/util.c
Compiling c_src/doubles.cc
Compiling c_src/double-conversion/bignum-dtoa.cc
Compiling c_src/double-conversion/bignum.cc
Compiling c_src/double-conversion/cached-powers.cc
Compiling c_src/double-conversion/diy-fp.cc
Compiling c_src/double-conversion/double-conversion.cc
Compiling c_src/double-conversion/fast-dtoa.cc
Compiling c_src/double-conversion/fixed-dtoa.cc
Compiling c_src/double-conversion/strtod.cc
gmake -f c_src/Makefile.erlang.mk
gmake[2]: Entering directory '/Users/quantum/tdep/deps/jiffy'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/Users/quantum/tdep/deps/jiffy'
DEPEND jiffy.d
ERLC jiffy.erl jiffy_utf8.erl
APP jiffy.app.src
gmake[1]: Leaving directory '/Users/quantum/tdep/deps/jiffy'
DEPEND tunnel.d
ERLC actions.erl board.erl clock.erl door.erl hall.erl join_handler.erl player_status_handler.erl res.erl res_test.erl room.erl room_test.erl s.erl seats.erl table.erl table_info_handler.erl table_play_handler.erl table_test.erl tunnel_app.erl tunnel_sup.erl
APP tunnel
GEN /Users/quantum/tdep/.erlang.mk/relx
===> Starting relx build process ...
===> Resolving OTP Applications from directories:
/Users/quantum/tdep/ebin
/Users/quantum/tdep/deps
/usr/local/Cellar/erlang/19.2/lib/erlang/lib
/Users/quantum/tdep/apps
===> Resolved tunnel_release-1
===> Including Erts from /usr/local/Cellar/erlang/19.2/lib/erlang
===> release successfully created!
===> tarball /Users/quantum/tdep/_rel/tunnel_release/tunnel_release-1.tar.gz successfully created!
Exec: /Users/quantum/tdep/_rel/tunnel_release/erts-8.2/bin/erlexec -boot /Users/quantum/tdep/_rel/tunnel_release/releases/1/tunnel_release -mode embedded -boot_var ERTS_LIB_DIR /Users/quantum/tdep/_rel/tunnel_release/erts-8.2/../lib -config /Users/quantum/tdep/_rel/tunnel_release/releases/1/sys.config -args_file /Users/quantum/tdep/_rel/tunnel_release/releases/1/vm.args -- console
Root: /Users/quantum/tdep/_rel/tunnel_release
/Users/quantum/tdep/_rel/tunnel_release
heart_beat_kill_pid = 7576
Erlang/OTP 19 [erts-8.2] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
=INFO REPORT==== 3-Oct-2017::20:12:25 ===
application: tunnel
exited: {bad_return,
{{tunnel_app,start,[normal,[]]},
{'EXIT',
{undef,
[{cowboy,start_clear,
[my_http_listener,100,
[{port,8080}],
#{env => #{dispatch => [{'_',[],
[{[<<"info">>],[],lobby_handler,[]},
{[<<"join">>,name],
[],join_handler,[]},
{[<<"player">>,<<"status">>,name],
[],player_status_handler,[]},
{[<<"tables">>,<<"info">>,table_id],
[],table_info_handler,[]},
{[<<"tables">>,<<"play">>,table_id,
name,auth,action,x,y],
[],table_play_handler,[]},
{[<<"assets">>,'...'],
[],cowboy_static,
{dir,
"/users/quantum/tunnel/static/assets/"}}]}]}}],
[]},
{tunnel_app,start,2,
[{file,"src/tunnel_app.erl"},{line,17}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},
{line,273}]}]}}}}
type: permanent
{"Kernel pid terminated",application_controller,"{application_start_failure,tunnel,{bad_return,{{tunnel_app,start,[normal,[]]},{'EXIT',{undef,[{cowboy,start_clear,[my_http_listener,100,[{port,8080}],#{env => #{dispatch => [{'_',[],[{[<<\"info\">>],[],lobby_handler,[]},{[<<\"join\">>,name],[],join_handler,[]},{[<<\"player\">>,<<\"status\">>,name],[],player_status_handler,[]},{[<<\"tables\">>,<<\"info\">>,table_id],[],table_info_handler,[]},{[<<\"tables\">>,<<\"play\">>,table_id,name,auth,action,x,y],[],table_play_handler,[]},{[<<\"assets\">>,'...'],[],cowboy_static,{dir,\"/users/quantum/tunnel/static/assets/\"}}]}]}}],[]},{tunnel_app,start,2,[{file,\"src/tunnel_app.erl\"},{line,17}]},{application_master,start_it_old,4,[{file,\"application_master.erl\"},{line,273}]}]}}}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,tunnel,{bad_return,{{tunnel_app,start,[normal,[]]},{'EXIT',{undef,[{cowboy,start_clear,[my_http_listener,100,[{port,8080}],#{
heart: Tue Oct 3 20:12:26 2017: Erlang is crashing .. (waiting for crash dump file)
heart: Tue Oct 3 20:12:26 2017: Would reboot. Terminating.
gmake: *** [erlang.mk:6450: run] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment