Closed johnnyplaydrums closed 3 years ago
i am in vacation until monday, but I will have a look. It seems that building with elixir doesn't pass the macros or something like it. I wil have to try (and add the build to the CI).
Thanks @benoitc!
are you using a compiled version of elixir or one that you compile with the same erlang version with asdf?
I'm using one that I compiled via asdf with the same erlang version.
I would like to add that I have the same error when building my library on Travis.
https://travis-ci.org/github/sntran/google_maps/builds/742151800
Travis is set to use Elixir 1.6.6 on OTP 20.
Having the exact same issue, trying to compile multiple code sets. Here is a working example: https://github.com/era/pay
===> Compiling src/hackney_ssl.erl failed
src/hackney_ssl.erl:58: {undef,[{ssl,cipher_suites,[default,'tlsv1.2'],[]},
{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},
{erl_eval,eval_lc1,6,[{file,"erl_eval.erl"},{line,696}]},
{erl_eval,eval_generate,7,[{file,"erl_eval.erl"},{line,725}]},
{erl_eval,eval_lc,6,[{file,"erl_eval.erl"},{line,682}]},
{erl_eval,expr,5,[{file,"erl_eval.erl"},{line,438}]},
{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,122}]},
{ct_expand,xform_fun,6,
[{file,"/Users/mjsommer/Projects/sample_code/pay/deps/parse_trans/src/ct_expand.erl"},
{line,95}]}]}
If I can make this compile, I believe the others will work as well.
can you test the master and let me know if it solves your issue?
I'm on MacOS 11.0.1
(originally posted the issue while on MacOS 10.15.5
) and can confirm that compiling master now works! Thanks @benoitc!
@johnnyplaydrums thanks for the feedback. Closing the issue as fixed.
Hey folks - I'm on MacOS
10.15.5
trying to compile hackney1.16.0
with elixir1.6.3
and erlang20.2
. Any ideas whats wrong? Here's the debug error, along withasdf install
to show versions and:crypto.start()
to show that ssl libraries are installed (I think?)I've tried re-install elixir and erlang, no luck so far. Interestingly, I was able to build hackney from source with
rebar3 compile
without error.