certifi / erlang-certifi

SSL Certificates for Erlang
Other
131 stars 33 forks source link

Dialyzer errors #12

Closed lasseebert closed 7 years ago

lasseebert commented 7 years ago

Not sure if this is the right place.

I have an Elixir application that depends on certifi. After updating to 1.1.0 I get a warning when dialyzer creates the PLTs:

:dialyzer.run error: Could not get abstract code for file: /vagrant/legolas/_build/dev/lib/certifi/ebin/certifi.beam (please recompile it with +debug_info)
zachdaniel commented 7 years ago

:+1: We're having the same issue.

lasseebert commented 7 years ago

https://github.com/certifi/erlang-certifi/pull/7 seems to have caused it. Reverting that PR fixes the dialyzer errors I get.

benoitc commented 7 years ago

this will be fixed today with a new release. sorry for the delay

lasseebert commented 7 years ago

Awesome :)

lasseebert commented 7 years ago

Ah, didn't see https://github.com/certifi/erlang-certifi/pull/13 before now.

benoitc commented 7 years ago

fixed in latest master. by default it is compiled with debug_info. This setting can be overridden in rebar.config using the overrides feature if needed.

@ericmj i removed the files from priv. Also now only one large beam is created by default. I removed the weakcert one as it is not really needed neither encouraged to use.

lasseebert commented 7 years ago

Thanks :)