{"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":9,"created_at":"2016-04-02T19:40:00Z","updated_at":"2016-09-03T10:46:39Z","closed_at":null,"body":"compile hooks makes the compilation crash the first time you launch it with rebar3.\r\n\r\n````shell\r\n===> Compiling setup\r\n===> run_hooks(\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\", pre_hooks, compile) -> no hooks defined\r\n\r\n===> run_hooks(\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\", pre_hooks, erlc_compile) -> no hooks defined\r\n\r\n===> erlopts [debug_info,debug_info]\r\n===> files to compile [\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup/src/setup_lib.erl\",\r\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup/src/setup_gen.erl\",\r\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup/src/setup.erl\"]\r\n===>      Compiled setup_lib.erl\r\n===>      Compiled setup_gen.erl\r\n===>      Compiled setup.erl\r\n===> run_hooks(\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\", pre_hooks, app_compile) -> no hooks defined\r\n\r\n===> sh info:\r\n        cwd: \"/Users/benoitc/Projects/barrel-platform\"\r\n        cmd: git log -n 1 --pretty=format:\"%h\r\n\"\r\n\r\n===>    opts: [{use_stdout,false},\r\n                       return_on_error,\r\n                       {cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"}]\r\n\r\n===> Port Cmd: git log -n 1 --pretty=format:\"%h\r\n\"\r\nPort Opts: [{cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\r\n            exit_status,\r\n            {line,16384},\r\n            use_stdio,stderr_to_stdout,hide,eof]\r\n\r\n===> sh info:\r\n        cwd: \"/Users/benoitc/Projects/barrel-platform\"\r\n        cmd: git log --oneline --no-walk --tags --decorate\r\n\r\n===>    opts: [{use_stdout,false},\r\n                       return_on_error,\r\n                       {cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"}]\r\n\r\n===> Port Cmd: git log --oneline --no-walk --tags --decorate\r\nPort Opts: [{cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\r\n            exit_status,\r\n            {line,16384},\r\n            use_stdio,stderr_to_stdout,hide,eof]\r\n\r\n===> sh info:\r\n        cwd: \"/Users/benoitc/Projects/barrel-platform\"\r\n        cmd: git rev-list 1.6..HEAD\r\n\r\n===>    opts: [{use_stdout,false},\r\n                       {cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\r\n                       {debug_abort_on_error,\r\n                           \"Getting rev-list of git dep failed in /Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"}]\r\n\r\n===> Port Cmd: git rev-list 1.6..HEAD\r\nPort Opts: [{cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\r\n            exit_status,\r\n            {line,16384},\r\n            use_stdio,stderr_to_stdout,hide,eof]\r\n\r\n===> sh info:\r\n        cwd: \"/Users/benoitc/Projects/barrel-platform\"\r\n        cmd: compile escriptize\r\n\r\n===>    opts: [use_stdout,\r\n                       {cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\r\n                       {env,[{\"REBAR_DEPS_DIR\",\r\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default/lib\"},\r\n                             {\"REBAR_BUILD_DIR\",\r\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default\"},\r\n                             {\"REBAR_ROOT_DIR\",\r\n                              \"/Users/benoitc/Projects/barrel-platform/.\"},\r\n                             {\"REBAR_CHECKOUTS_DIR\",\r\n                              \"/Users/benoitc/Projects/barrel-platform/_checkouts\"},\r\n                             {\"REBAR_PLUGINS_DIR\",\r\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default/plugins\"},\r\n                             {\"REBAR_GLOBAL_CONFIG_DIR\",\r\n                              \"/Users/benoitc/.config/rebar3\"},\r\n                             {\"REBAR_GLOBAL_CACHE_DIR\",\r\n                              \"/Users/benoitc/.cache/rebar3\"},\r\n                             {\"REBAR_TEMPLATE_DIR\",\r\n                              \"/Users/benoitc/.config/rebar3/templates\"},\r\n                             {\"REBAR_APP_DIRS\",\r\n                              \"/Users/benoitc/Projects/barrel-platform/_build/default/apps/*:/Users/benoitc/Projects/barrel-platform/_build/default/lib/*:/Users/benoitc/Projects/barrel-platform/_build/default/.\"},\r\n                             {\"REBAR_SRC_DIRS\",[]},\r\n                             {\"ERLANG_ERTS_VER\",\"7.1\"},\r\n                             {\"ERLANG_ROOT_DIR\",\r\n                              \"/Users/benoitc/local/otp/18.1.3\"},\r\n                             {\"ERLANG_LIB_DIR_erl_interface\",\r\n                              \"/Users/benoitc/local/otp/18.1.3/lib/erl_interface-3.8\"},\r\n                             {\"ERLANG_LIB_VER_erl_interface\",\"3.8\"},\r\n                             {\"ERL\",\"/Users/benoitc/local/otp/18.1.3/bin/erl\"},\r\n                             {\"ERLC\",\r\n                              \"/Users/benoitc/local/otp/18.1.3/bin/erlc\"},\r\n                             {\"ERLANG_ARCH\",\"64\"},\r\n                             {\"ERLANG_TARGET\",\r\n                              \"18.1.3-x86_64-apple-darwin15.0.0-64\"}]},\r\n                       {abort_on_error,\"Hook for compile failed!\\n\"}]\r\n\r\n===> Port Cmd: compile escriptize\r\nPort Opts: [{cd,\"/Users/benoitc/Projects/barrel-platform/_build/default/lib/setup\"},\r\n            {env,[{\"REBAR_DEPS_DIR\",\r\n                   \"/Users/benoitc/Projects/barrel-platform/_build/default/lib\"},\r\n                  {\"REBAR_BUILD_DIR\",\r\n                   \"/Users/benoitc/Projects/barrel-platform/_build/default\"},\r\n                  {\"REBAR_ROOT_DIR\",\r\n                   \"/Users/benoitc/Projects/barrel-platform/.\"},\r\n                  {\"REBAR_CHECKOUTS_DIR\",\r\n                   \"/Users/benoitc/Projects/barrel-platform/_checkouts\"},\r\n                  {\"REBAR_PLUGINS_DIR\",\r\n                   \"/Users/benoitc/Projects/barrel-platform/_build/default/plugins\"},\r\n                  {\"REBAR_GLOBAL_CONFIG_DIR\",\"/Users/benoitc/.config/rebar3\"},\r\n                  {\"REBAR_GLOBAL_CACHE_DIR\",\"/Users/benoitc/.cache/rebar3\"},\r\n                  {\"REBAR_TEMPLATE_DIR\",\r\n                   \"/Users/benoitc/.config/rebar3/templates\"},\r\n                  {\"REBAR_APP_DIRS\",\r\n                   \"/Users/benoitc/Projects/barrel-platform/_build/default/apps/*:/Users/benoitc/Projects/barrel-platform/_build/default/lib/*:/Users/benoitc/Projects/barrel-platform/_build/default/.\"},\r\n                  {\"REBAR_SRC_DIRS\",[]},\r\n                  {\"ERLANG_ERTS_VER\",\"7.1\"},\r\n                  {\"ERLANG_ROOT_DIR\",\"/Users/benoitc/local/otp/18.1.3\"},\r\n                  {\"ERLANG_LIB_DIR_erl_interface\",\r\n                   \"/Users/benoitc/local/otp/18.1.3/lib/erl_interface-3.8\"},\r\n                  {\"ERLANG_LIB_VER_erl_interface\",\"3.8\"},\r\n                  {\"ERL\",\"/Users/benoitc/local/otp/18.1.3/bin/erl\"},\r\n                  {\"ERLC\",\"/Users/benoitc/local/otp/18.1.3/bin/erlc\"},\r\n                  {\"ERLANG_ARCH\",\"64\"},\r\n                  {\"ERLANG_TARGET\",\"18.1.3-x86_64-apple-darwin15.0.0-64\"}]},\r\n            exit_status,\r\n            {line,16384},\r\n            use_stdio,stderr_to_stdout,hide,eof]\r\n\r\nsh: line 0: exec: compile: not found\r\n===> Hook for compile failed!\r\n```"},"comment":{"url":"https://api.github.com/repos/uwiger/setup/issues/comments/244539767","html_url":"https://github.com/uwiger/setup/issues/24#issuecomment-244539767","issue_url":"https://api.github.com/repos/uwiger/setup/issues/24","id":244539767,"user":{"login":"uwiger","id":160216,"avatar_url":"https://avatars.githubusercontent.com/u/160216?v=3","gravatar_id":"","url":"https://api.github.com/users/uwiger","html_url":"https://github.com/uwiger","followers_url":"https://api.github.com/users/uwiger/followers","following_url":"https://api.github.com/users/uwiger/following{/other_user}","gists_url":"https://api.github.com/users/uwiger/gists{/gist_id}","starred_url":"https://api.github.com/users/uwiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uwiger/subscriptions","organizations_url":"https://api.github.com/users/uwiger/orgs","repos_url":"https://api.github.com/users/uwiger/repos","events_url":"https://api.github.com/users/uwiger/events{/privacy}","received_events_url":"https://api.github.com/users/uwiger/received_events","type":"User","site_admin":false},"created_at":"2016-09-03T10:46:39Z","updated_at":"2016-09-03T10:46:39Z","body":"I'll happily merge, but don't have time to try to verify.\r\nI'm perfectly willing to trust you though. :)"}}
{"actor":{"display_login":"uwiger"}}