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

Failed to compile #20

Closed
Lazarus404 opened this issue Feb 26, 2017 · 7 comments
Closed

Failed to compile #20

Lazarus404 opened this issue Feb 26, 2017 · 7 comments

Comments

@Lazarus404
Copy link

When compiling, I get an error that Cuttlefish can't be compiled. The rebar3.crashdump for Cuttlefish reads

Error: {badmatch,error}
[{rebar_prv_escriptize,find_deps_of_deps,3,
                       [{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_prv_escriptize.erl"},
                        {line,240}]},
 {rebar_prv_escriptize,find_deps,2,
                       [{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_prv_escriptize.erl"},
                        {line,234}]},
 {rebar_prv_escriptize,escriptize,2,
                       [{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_prv_escriptize.erl"},
                        {line,104}]},
 {rebar_prv_escriptize,do,1,
                       [{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_prv_escriptize.erl"},
                        {line,80}]},
 {rebar_core,do,2,
             [{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_core.erl"},
              {line,125}]},
 {rebar_hooks,run_provider_hooks_,6,
              [{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_hooks.erl"},
               {line,49}]},
 {rebar_hooks,run_all_hooks,6,
              [{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_hooks.erl"},
               {line,16}]},
 {rebar_prv_compile,compile,3,
                    [{file,"/home/tristan/Devel/rebar3/_build/default/lib/rebar/src/rebar_prv_compile.erl"},
                     {line,129}]}]

I've tried this with Elixir 1.4.1 running in Erlang 19 and with Elixir 1.3.4 under Erlang 18.3.

@Licenser
Copy link
Member

Heya,
can you try compiling it with rebar3 directly to check weather it's a issue with the codebase or something about how mix handles things?

@Lazarus404
Copy link
Author

Lazarus404 commented Feb 27, 2017 via email

@Licenser
Copy link
Member

yea that was my fear, I really know nothing about how mix works. I think the best bet is to ask the mix people, if it compiles w/ rebar then it's probably a bug that it doesn't compile with mix.

@Lazarus404
Copy link
Author

Lazarus404 commented Feb 27, 2017 via email

@Licenser
Copy link
Member

awesome! if there is any change needed to _ng I'll make sure it gets in and publish it :)

@cibingeorge
Copy link

@Lazarus404 i got this compiled with the code in github:

     {:cuttlefish, github: "basho/cuttlefish", tag: "2.0.11", manager: :rebar3, override: true},
     {:lager, ~r/.*/, github: "basho/lager", tag: "3.2.4", manager: :rebar3, override: true}

I am a elixir newbie, so not sure if this is exactly right

@Licenser
Copy link
Member

Seems to be a duplicate of #23 which holds more information so I'm closing this. Plese if the problem consists engage in the above-mentioned issue instead.

@Licenser Licenser marked this as a duplicate of #23 Jul 21, 2017
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

3 participants