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

Compilation error #1

Open
hviagov opened this issue Mar 22, 2020 · 8 comments
Open

Compilation error #1

hviagov opened this issue Mar 22, 2020 · 8 comments

Comments

@hviagov
Copy link

hviagov commented Mar 22, 2020

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>

@maximk
Copy link
Owner

maximk commented Mar 23, 2020 via email

@hviagov
Copy link
Author

hviagov commented Mar 26, 2020

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","master"}},
{erlydtl,".
",
{git,"git://github.com/evanmiller/erlydtl.git","master"}},
{egator,".*", {git, "https://bitbucket.org/mkharch/egator.git","master"}}
]}.

%%EOF`

Activated is OTP 17 and source revision f6a36a7634e0d08a6ab48d7bdaa5d2b548d96bccand
Now i receive the following compile error:

`===> 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

@maximk
Copy link
Owner

maximk commented Mar 26, 2020 via email

@hviagov
Copy link
Author

hviagov commented Mar 26, 2020

Which OTP version should i use to successfully compile the last commit in master branch?

@maximk
Copy link
Owner

maximk commented Mar 27, 2020 via email

@hviagov
Copy link
Author

hviagov commented Mar 29, 2020

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.

@maximk
Copy link
Owner

maximk commented Mar 30, 2020 via email

@hviagov
Copy link
Author

hviagov commented Mar 30, 2020

Thank you very much Max!
Why did you decide to drop it off or don't lead it further?
I mean i think it has potential.

cheers, hristo

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