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

make generate #17

Closed
zjzhang-cn opened this issue Jul 5, 2013 · 5 comments
Closed

make generate #17

zjzhang-cn opened this issue Jul 5, 2013 · 5 comments

Comments

@zjzhang-cn
Copy link

[root@ailk3 emqtt]# make generate
./rebar generate -f
==> rel (generate)
ERROR: generate failed while processing /opt/emqtt/rel: {'EXIT',{{badmatch,{error,"Application goldrush is used in release "emqtt" and cannot be excluded"}},
[{rebar_reltool,generate,2,
[{file,"src/rebar_reltool.erl"},{line,50}]},
{rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,405}]},
{rebar_core,execute,5,[{file,"src/rebar_core.erl"},{line,334}]},
{rebar_core,process_dir1,6,[{file,"src/rebar_core.erl"},{line,197}]},
{rebar_core,process_each,5,[{file,"src/rebar_core.erl"},{line,268}]},
{rebar_core,process_dir1,6,[{file,"src/rebar_core.erl"},{line,173}]},
{rebar_core,process_commands,2,
[{file,"src/rebar_core.erl"},{line,61}]},
{rebar,main,1,[{file,"src/rebar.erl"},{line,58}]}]}}
make: *** [generate] 错误 1

@emqplus
Copy link
Contributor

emqplus commented Jul 6, 2013

emqtt don't need gold rush, did u modify rel/reltool.config by yourself?

在 2013-7-6,上午12:09,张振江 notifications@github.com 写道:

[root@ailk3 emqtt]# make generate
./rebar generate -f
==> rel (generate)
ERROR: generate failed while processing /opt/emqtt/rel: {'EXIT',{{badmatch,{error,"Application goldrush is used in release "emqtt" and cannot be excluded"}},
[{rebar_reltool,generate,2,
[{file,"src/rebar_reltool.erl"},{line,50}]},
{rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,405}]},
{rebar_core,execute,5,[{file,"src/rebar_core.erl"},{line,334}]},
{rebar_core,process_dir1,6,[{file,"src/rebar_core.erl"},{line,197}]},
{rebar_core,process_each,5,[{file,"src/rebar_core.erl"},{line,268}]},
{rebar_core,process_dir1,6,[{file,"src/rebar_core.erl"},{line,173}]},
{rebar_core,process_commands,2,
[{file,"src/rebar_core.erl"},{line,61}]},
{rebar,main,1,[{file,"src/rebar.erl"},{line,58}]}]}}
make: *** [generate] 错误 1


Reply to this email directly or view it on GitHub.

@zjzhang-cn
Copy link
Author

gold rush need by lager

[root@ailk3 lager]# cat rebar.config
{erl_opts, [debug_info]}.
{erl_first_files, ["src/lager_util.erl"]}.
{deps, [
{goldrush, ".*",
{git, "git://github.com/DeadZen/goldrush.git", {tag, "879c69874a"}}}
]}.

{cover_enabled, true}.
{edoc_opts, [{stylesheet_file, "./priv/edoc.css"}]}.

@zjzhang-cn
Copy link
Author

Erlang R16B01
步骤就是您说的的那几步 git \make \make generate

@emqplus
Copy link
Contributor

emqplus commented Jul 16, 2013

Ok, I will test with R16B01

在 2013-7-16,上午11:29,张振江 notifications@github.com 写道:

gold rush need by lager

[root@ailk3 lager]# cat rebar.config
{erl_opts, [debug_info]}.
{erl_first_files, ["src/lager_util.erl"]}.
{deps, [
{goldrush, ".*",
{git, "git://github.com/DeadZen/goldrush.git", {tag, "879c69874a"}}}
]}.

{cover_enabled, true}.
{edoc_opts, [{stylesheet_file, "./priv/edoc.css"}]}.


Reply to this email directly or view it on GitHub.

@emqplus
Copy link
Contributor

emqplus commented Jul 16, 2013

fixed, this issue is caused by lager upgrade. add 'goldrush' application in rel/reltool.config.

@emqplus emqplus closed this as completed Jul 16, 2013
HJianBo added a commit to HJianBo/emqx that referenced this issue Feb 3, 2023
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

2 participants