Skip to content

Installing rebar fails with 50-line error message. #259

Closed
ghost opened this Issue Jul 11, 2011 · 1 comment

1 participant

@ghost
ghost commented Jul 11, 2011
$ sudo agner install rebar
remote: Counting objects: 1777, done.
remote: Compressing objects: 100% (600/600), done.
remote: Total 1777 (delta 1252), reused 1688 (delta 1171)
Receiving objects: 100% (1777/1777), 7.09 MiB | 47 KiB/s, done.
Resolving deltas: 100% (1252/1252), done.
FAILURE: {'EXIT',<0.67.0>,
          {function_clause,
           [{agner_fetch,fetched,
             [fetch_deps,
              {state,
               {opts_rec,"rebar","/tmp/agner683398","@master",undefined,true,
                false,true,
                {spec,
                 [{applications,[rebar]},
                  {authors,["Dave Smith <dizzyd@dizzyd.com>"]},
                  {bin_files,["bin/rebar"]},
                  {build_command,"make"},
                  {code_paths,["ebin"]},
                  {deps_dir,"deps"},
                  {description,
                   "A sophisticated build-tool for Erlang projects that follows OTP principles"},
                  {homepage,"https://github.com/basho/rebar"},
                  {install_command,
                   "mkdir -p $AGNER_INSTALL_PREFIX/bin && cp ./agner $AGNER_INSTALL_PREFIX/bin/rebar"},
                  {install_dirs,["doc","ebin","include","priv"]},
                  {keywords,[]},
                  {license,"Apache License 2.0","LICENSE"},
                  {name,"rebar"},
                  {rebar_commands,["compile"]},
                  {rebar_compatible,false},
                  {rebar_fetch_deps_commands,["get-deps"]},
                  {requires,[]},
                  {url,
                   {git,"https://github.com/agner/agner.git",
                    {branch,"master"}}}]},
                undefined,false,false,undefined},
               "/tmp/agner801716",
               [caveats],
               [rebar,build_command,add_path],
               [install_dirs,install_command,print_prefix]}]},
            {gen_fsm2,handle_msg,7},
            {proc_lib,init_p_do_apply,3}]}}

$ agner version
0.4.18
@yrashk
A Giant Nebula of Erlang Repositories member
yrashk commented Jul 11, 2011

Fixed

@yrashk yrashk closed this Jul 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.