-
Notifications
You must be signed in to change notification settings - Fork 4
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
Compilation error #1
Comments
It looks like it fails to fetch 'egator' from Bitbucket. Please check if
you can clone it with ' git clone https://bitbucket.org/mkharch/egator.git'.
I have just checked - it is still there. --M
…On Sun, Mar 22, 2020 at 4:35 PM Hristo Viagov ***@***.***> wrote:
Cannot compile the application:
===> rebar_fetch exception throw rebar_abort [{rebar_utils,
debug_and_abort,2,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_utils.erl"},
{line,663}]},
{rebar_utils,sh,2,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_utils.erl"},
{line,201}]},
{rebar_git_resource,
git_clone,5,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_git_resource.erl"},
{line,197}]},
{rebar_git_resource,
download,4,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_git_resource.erl"},
{line,117}]},
{rebar_fetch,
download_source_,2,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_fetch.erl"},
{line,53}]},
{rebar_fetch,
download_source,2,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_fetch.erl"},
{line,28}]},
{rebar_prv_install_deps,
maybe_fetch,5,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_prv_install_deps.erl"},
{line,326}]},
{rebar_prv_install_deps,
update_unseen_dep,9,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_prv_install_deps.erl"},
{line,282}]}]
===> Failed to fetch and copy dep: ***@***.***
:mkharch/egator.git",
"master"}
Makefile:5: recipe for target 'default' failed
make: *** [default] Error 1
Erlang/OTP 17 [erts-6.4.1.7] [source] [64-bit] [smp:4:4]
[async-threads:10] [hipe] [kernel-poll:false] [systemtap]
Eshell V6.4.1.7 (abort with ^G)
1>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAQKTGJXGAVXP5FN3VJUDTRIYO4HANCNFSM4LRKBEHQ>
.
|
hi Maxim, `{deps,[ %%EOF` Activated is OTP 17 and source revision f6a36a7634e0d08a6ab48d7bdaa5d2b548d96bccand `===> Port Cmd: git --git-dir="/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/erlydtl/.git" rev-parse --verify HEAD ===> sh info: ===> opts: [{use_stdout,false}, ===> Port Cmd: git --git-dir="/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/egator/.git" rev-parse --verify HEAD ===> sh info: ===> opts: [{use_stdout,false}, ===> Port Cmd: git --git-dir="/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/cowboy/.git" rev-parse --verify HEAD ===> Provider: {default,compile} ===> run_hooks("/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/merl", pre_hooks, erlc_compile) -> no hooks defined ===> erlopts [debug_info] ===> Compilation failed: {error, Can you give me some advice plz |
I am at a loss here. Sorry. --M
…On Thu, Mar 26, 2020 at 8:17 AM Hristo Viagov ***@***.***> wrote:
hi Maxim,
thanks for your answer.
I've changed my rebar.config now to the following :
{deps,[
{cowboy,".
*", {git,"git://github.com/extend/cowboy.git
<http://github.com/extend/cowboy.git>","master"}}, {erlydtl,".*",
{git,"git://github.com/evanmiller/erlydtl.git","master"}},
{egator,".*", {git, "https://bitbucket.org/mkharch/egator.git","master"}}
]}.
%%EOF
Activated is OTP 17 now and receive the following compile error now:
`===> Port Cmd: git
--git-dir="/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/erlydtl/.git"
rev-parse --verify HEAD
Port Opts: [exit_status,{line,16384},use_stdio,stderr_to_stdout,hide,eof]
===> sh info:
cwd: "/home/wappler/development/Projects/Erlang/spawnpool"
cmd: git
--git-dir="/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/egator/.git"
rev-parse --verify HEAD
===> opts: [{use_stdout,false},
{debug_abort_on_error,
"Locking of git dependency failed in
/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/egator"}]
===> Port Cmd: git
--git-dir="/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/egator/.git"
rev-parse --verify HEAD
Port Opts: [exit_status,{line,16384},use_stdio,stderr_to_stdout,hide,eof]
===> sh info:
cwd: "/home/wappler/development/Projects/Erlang/spawnpool"
cmd: git
--git-dir="/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/cowboy/.git"
rev-parse --verify HEAD
===> opts: [{use_stdout,false},
{debug_abort_on_error,
"Locking of git dependency failed in
/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/cowboy"}]
===> Port Cmd: git
--git-dir="/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/cowboy/.git"
rev-parse --verify HEAD
Port Opts: [exit_status,{line,16384},use_stdio,stderr_to_stdout,hide,eof]
===> Provider: {default,compile}
===> Compiling merl
===>
run_hooks("/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/merl",
pre_hooks, compile) -> no hooks defined
===>
run_hooks("/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/merl",
pre_hooks, erlc_compile) -> no hooks defined
===> erlopts [debug_info]
===> files to compile
["/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/merl/src/merl_transform.erl",
"/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/merl/src/merl_tests.erl",
"/home/wappler/development/Projects/Erlang/spawnpool/_build/default/lib/merl/src/merl.erl"]
===> Compiling _build/default/lib/merl/src/merl_transform.erl failed
_build/default/lib/merl/src/merl_transform.erl:none: undefined parse
transform 'merl_transform'
===> Compilation failed: {error,
[["_build/default/lib/merl/src/merl_transform.erl:none: undefined parse
transform 'merl_transform'\n"]],
[]}
`
Can you give me some advice plz
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAQKTGEO33KJCTQ4LAO2ULRJLXPVANCNFSM4LRKBEHQ>
.
|
Which OTP version should i use to successfully compile the last commit in master branch? |
I can only guess that it would be the current Erlang version from 7 years
ago.
…On Thu, Mar 26, 2020 at 10:16 PM Hristo Viagov ***@***.***> wrote:
Which OTP version should i use to successfully compile the last commit in
master branch?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAQKTEYKO5GJ7TNKVZGGJ3RJOZ3TANCNFSM4LRKBEHQ>
.
|
i see, i see. |
I remember little of how it works. Here is what I remember:
1. gator application must be running (https://bitbucket.org/mkharch/gator).
It is libxl-based and does mostly what standard xl does but faster.
2. There is an Erlang client for gator called egator (
https://bitbucket.org/mkharch/egator).
3. spawnpool (https://github.com/maximk/spawnpool) is zerling-specific. It
takes a request from the browser, starts the instance using egator, waits
until the instance is ready, and redirects the request to the IP address of
the instance.
4. Waiting until the instance is ready is central - there is no polling -
somehow it detects the precise moment of readiness.
5. There is some kind of trick to make this redirection possible based on
X-Accel-Redirect header, which is taken into account by nginx.
I hope it helps.
Regards,
M
…On Sun, Mar 29, 2020 at 11:18 PM Hristo Viagov ***@***.***> wrote:
i see, i see.
Ok can you give me some support on how zergling, spawnpool and nginx are
connected with each other?
I am on my way to integrate erlang on xen and need some help, your help.
I just missing some schema or diagram.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAQKTAUKUIXRSU6YCN7DVTRJ6UK7ANCNFSM4LRKBEHQ>
.
|
Thank you very much Max! cheers, hristo |
Cannot compile the application:
===> rebar_fetch exception throw rebar_abort [{rebar_utils,
debug_and_abort,2,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_utils.erl"},
{line,663}]},
{rebar_utils,sh,2,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_utils.erl"},
{line,201}]},
{rebar_git_resource,
git_clone,5,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_git_resource.erl"},
{line,197}]},
{rebar_git_resource,
download,4,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_git_resource.erl"},
{line,117}]},
{rebar_fetch,
download_source_,2,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_fetch.erl"},
{line,53}]},
{rebar_fetch,
download_source,2,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_fetch.erl"},
{line,28}]},
{rebar_prv_install_deps,
maybe_fetch,5,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_prv_install_deps.erl"},
{line,326}]},
{rebar_prv_install_deps,
update_unseen_dep,9,
[{file,
"/home/wappler/development/Tools/Erlang/rebar3/src/rebar_prv_install_deps.erl"},
{line,282}]}]
===> Failed to fetch and copy dep: {git,"[email protected]:mkharch/egator.git",
"master"}
Makefile:5: recipe for target 'default' failed
make: *** [default] Error 1
Erlang/OTP 17 [erts-6.4.1.7] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [systemtap]
Eshell V6.4.1.7 (abort with ^G)
1>
The text was updated successfully, but these errors were encountered: