Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build rebar3 by reo3 #22

Open
kovyl2404 opened this issue Nov 10, 2015 · 0 comments
Open

Unable to build rebar3 by reo3 #22

kovyl2404 opened this issue Nov 10, 2015 · 0 comments

Comments

@kovyl2404
Copy link

Hi! I'm trying to build rebar3 with reo3.

./reo3 --build 3.0.0-beta.3
[0] Copy source            
[1] Bootstrap              Build error, please check the build logs for more details
*** Build failed ***
Here are the last 10 lines of /tmp/2015_11_10T17_48_50_954033/build_log
===> Getting log of git dependency failed in /tmp/2015_11_10T17_48_50_954033
escript: exception throw: rebar_abort
  in function  rebar_utils:abort/0 (src/rebar_utils.erl, line 556)
  in call from rebar_utils:sh/2 (src/rebar_utils.erl, line 177)
  in call from rebar_git_resource:collect_default_refcount/1 (/tmp/2015_11_10T17_48_50_954033/_build/bootstrap/lib/rebar/src/rebar_git_resource.erl, line 143)
  in call from rebar_git_resource:make_vsn/1 (/tmp/2015_11_10T17_48_50_954033/_build/bootstrap/lib/rebar/src/rebar_git_resource.erl, line 133)
  in call from rebar_utils:vcs_vsn_cmd/3 (src/rebar_utils.erl, line 611)
  in call from rebar_utils:vcs_vsn/3 (src/rebar_utils.erl, line 583)
  in call from rebar_otp_app:preprocess/3 (src/rebar_otp_app.erl, line 113)
  in call from rebar_otp_app:compile/2 (src/rebar_otp_app.erl, line 49)

bootstrapping fails because directory with rebar3 is not a git repo. In IRC @tsloughter acknowledged that rebar3 bootstrap script uses git tag to determine application version. Does reo3 just download zipped sources directory? Maybe its better to use git clone instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant