{"action":"created","issue":{"url":"https://api.github.com/repos/uwiger/setup/issues/24","repository_url":"https://api.github.com/repos/uwiger/setup","labels_url":"https://api.github.com/repos/uwiger/setup/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/uwiger/setup/issues/24/comments","events_url":"https://api.github.com/repos/uwiger/setup/issues/24/events","html_url":"https://github.com/uwiger/setup/issues/24","id":145408931,"number":24,"title":"compilation fail with rebar3","user":{"login":"benoitc","id":14498,"avatar_url":"https://avatars.githubusercontent.com/u/14498?v=3","gravatar_id":"","url":"https://api.github.com/users/benoitc","html_url":"https://github.com/benoitc","followers_url":"https://api.github.com/users/benoitc/followers","following_url":"https://api.github.com/users/benoitc/following{/other_user}","gists_url":"https://api.github.com/users/benoitc/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitc/subscriptions","organizations_url":"https://api.github.com/users/benoitc/orgs","repos_url":"https://api.github.com/users/benoitc/repos","events_url":"https://api.github.com/users/benoitc/events{/privacy}","received_events_url":"https://api.github.com/users/benoitc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-04-02T19:40:00Z","updated_at":"2016-12-01T02:25:10Z","closed_at":null,"body":"compile hooks makes the compilation crash the first time you launch it with rebar3.\n\n``` shell\n===> Compiling setup\n===> run_hooks(\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\", pre_hooks, compile) -> no hooks defined\n\n===> run_hooks(\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\", pre_hooks, erlc_compile) -> no hooks defined\n\n===> erlopts [debug_info,debug_info]\n===> files to compile [\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup/src/setup_lib.erl\",\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup/src/setup_gen.erl\",\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup/src/setup.erl\"]\n===>      Compiled setup_lib.erl\n===>      Compiled setup_gen.erl\n===>      Compiled setup.erl\n===> run_hooks(\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\", pre_hooks, app_compile) -> no hooks defined\n\n===> sh info:\n        cwd: \"/Users/benoitc/Projects/barrel-platform\"\n        cmd: git log -n 1 --pretty=format:\"%h\n\"\n\n===>    opts: [{use_stdout,false},\n                       return_on_error,\n                       {cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"}]\n\n===> Port Cmd: git log -n 1 --pretty=format:\"%h\n\"\nPort Opts: [{cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\n            exit_status,\n            {line,16384},\n            use_stdio,stderr_to_stdout,hide,eof]\n\n===> sh info:\n        cwd: \"/Users/benoitc/Projects/barrel-platform\"\n        cmd: git log --oneline --no-walk --tags --decorate\n\n===>    opts: [{use_stdout,false},\n                       return_on_error,\n                       {cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"}]\n\n===> Port Cmd: git log --oneline --no-walk --tags --decorate\nPort Opts: [{cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\n            exit_status,\n            {line,16384},\n            use_stdio,stderr_to_stdout,hide,eof]\n\n===> sh info:\n        cwd: \"/Users/benoitc/Projects/barrel-platform\"\n        cmd: git rev-list 1.6..HEAD\n\n===>    opts: [{use_stdout,false},\n                       {cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\n                       {debug_abort_on_error,\n                           \"Getting rev-list of git dep failed in /Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"}]\n\n===> Port Cmd: git rev-list 1.6..HEAD\nPort Opts: [{cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\n            exit_status,\n            {line,16384},\n            use_stdio,stderr_to_stdout,hide,eof]\n\n===> sh info:\n        cwd: \"/Users/benoitc/Projects/barrel-platform\"\n        cmd: compile escriptize\n\n===>    opts: [use_stdout,\n                       {cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\n                       {env,[{\"REBAR_DEPS_DIR\",\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default/lib\"},\n                             {\"REBAR_BUILD_DIR\",\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default\"},\n                             {\"REBAR_ROOT_DIR\",\n                              \"/Users/benoitc/Projects/barrel-platform/.\"},\n                             {\"REBAR_CHECKOUTS_DIR\",\n                              \"/Users/benoitc/Projects/barrel-platform/_checkouts\"},\n                             {\"REBAR_PLUGINS_DIR\",\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default/plugins\"},\n                             {\"REBAR_GLOBAL_CONFIG_DIR\",\n                              \"/Users/benoitc/.config/rebar3\"},\n                             {\"REBAR_GLOBAL_CACHE_DIR\",\n                              \"/Users/benoitc/.cache/rebar3\"},\n                             {\"REBAR_TEMPLATE_DIR\",\n                              \"/Users/benoitc/.config/rebar3/templates\"},\n                             {\"REBAR_APP_DIRS\",\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default/apps/*:/Users/benoitc/Projects/barrel-platform/_build/default/lib/*:/Users/benoitc/Projects/barrel-platform/_build/default/.\"},\n                             {\"REBAR_SRC_DIRS\",[]},\n                             {\"ERLANG_ERTS_VER\",\"7.1\"},\n                             {\"ERLANG_ROOT_DIR\",\n                              \"/Users/benoitc/local/otp/18.1.3\"},\n                             {\"ERLANG_LIB_DIR_erl_interface\",\n                              \"/Users/benoitc/local/otp/18.1.3/lib/erl_interface-3.8\"},\n                             {\"ERLANG_LIB_VER_erl_interface\",\"3.8\"},\n                             {\"ERL\",\"/Users/benoitc/local/otp/18.1.3/bin/erl\"},\n                             {\"ERLC\",\n                              \"/Users/benoitc/local/otp/18.1.3/bin/erlc\"},\n                             {\"ERLANG_ARCH\",\"64\"},\n                             {\"ERLANG_TARGET\",\n                              \"18.1.3-x86_64-apple-darwin15.0.0-64\"}]},\n                       {abort_on_error,\"Hook for compile failed!\\n\"}]\n\n===> Port Cmd: compile escriptize\nPort Opts: [{cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\n            {env,[{\"REBAR_DEPS_DIR\",\n                   \"/Users/benoitc/Projects/barrel-platform/_build/default/lib\"},\n                  {\"REBAR_BUILD_DIR\",\n                   \"/Users/benoitc/Projects/barrel-platform/_build/default\"},\n                  {\"REBAR_ROOT_DIR\",\n                   \"/Users/benoitc/Projects/barrel-platform/.\"},\n                  {\"REBAR_CHECKOUTS_DIR\",\n                   \"/Users/benoitc/Projects/barrel-platform/_checkouts\"},\n                  {\"REBAR_PLUGINS_DIR\",\n                   \"/Users/benoitc/Projects/barrel-platform/_build/default/plugins\"},\n                  {\"REBAR_GLOBAL_CONFIG_DIR\",\"/Users/benoitc/.config/rebar3\"},\n                  {\"REBAR_GLOBAL_CACHE_DIR\",\"/Users/benoitc/.cache/rebar3\"},\n                  {\"REBAR_TEMPLATE_DIR\",\n                   \"/Users/benoitc/.config/rebar3/templates\"},\n                  {\"REBAR_APP_DIRS\",\n                   \"/Users/benoitc/Projects/barrel-platform/_build/default/apps/*:/Users/benoitc/Projects/barrel-platform/_build/default/lib/*:/Users/benoitc/Projects/barrel-platform/_build/default/.\"},\n                  {\"REBAR_SRC_DIRS\",[]},\n                  {\"ERLANG_ERTS_VER\",\"7.1\"},\n                  {\"ERLANG_ROOT_DIR\",\"/Users/benoitc/local/otp/18.1.3\"},\n                  {\"ERLANG_LIB_DIR_erl_interface\",\n                   \"/Users/benoitc/local/otp/18.1.3/lib/erl_interface-3.8\"},\n                  {\"ERLANG_LIB_VER_erl_interface\",\"3.8\"},\n                  {\"ERL\",\"/Users/benoitc/local/otp/18.1.3/bin/erl\"},\n                  {\"ERLC\",\"/Users/benoitc/local/otp/18.1.3/bin/erlc\"},\n                  {\"ERLANG_ARCH\",\"64\"},\n                  {\"ERLANG_TARGET\",\"18.1.3-x86_64-apple-darwin15.0.0-64\"}]},\n            exit_status,\n            {line,16384},\n            use_stdio,stderr_to_stdout,hide,eof]\n\nsh: line 0: exec: compile: not found\n===> Hook for compile failed!\n```\n"},"comment":{"url":"https://api.github.com/repos/uwiger/setup/issues/comments/264060856","html_url":"https://github.com/uwiger/setup/issues/24#issuecomment-264060856","issue_url":"https://api.github.com/repos/uwiger/setup/issues/24","id":264060856,"user":{"login":"MSch","id":7475,"avatar_url":"https://avatars.githubusercontent.com/u/7475?v=3","gravatar_id":"","url":"https://api.github.com/users/MSch","html_url":"https://github.com/MSch","followers_url":"https://api.github.com/users/MSch/followers","following_url":"https://api.github.com/users/MSch/following{/other_user}","gists_url":"https://api.github.com/users/MSch/gists{/gist_id}","starred_url":"https://api.github.com/users/MSch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSch/subscriptions","organizations_url":"https://api.github.com/users/MSch/orgs","repos_url":"https://api.github.com/users/MSch/repos","events_url":"https://api.github.com/users/MSch/events{/privacy}","received_events_url":"https://api.github.com/users/MSch/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T02:25:10Z","updated_at":"2016-12-01T02:25:10Z","body":"Still failing for me\r\n\r\n\r\n```\r\n===> Compiling setup\r\n===> Unable to run post hooks for 'compile', command 'escriptize' not found.\r\n```"}}
{"actor":{"display_login":"MSch"}}