zmstone / snappyer

A fast compressor/decompressor (wrapper for Erlang)
Other
15 stars 12 forks source link

Elixir 1.17 & Erlang 27 support #10

Open esambo opened 2 weeks ago

esambo commented 2 weeks ago

It is not compiling for me:

** (Mix) Could not compile dependency :snappyer, "~/.asdf/installs/elixir/1.17.0-otp-27/.mix/elixir/1-17/rebar3 bare compile --paths ~/projects/podium/azeroth/_build/dev/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile snappyer --force", update it with "mix deps.update snappyer" or clean it with "mix deps.clean snappyer"
bclaud commented 1 week ago

It's building with the latest rebar3 version. The problem is the projects that depends on snappyer are locked. Check the mentioned PR above.

snappyer on  master via  via ❄️  impure (cobranca_ms-env) 
❯ make compile
===> Fetching pc v1.15.0
===> Analyzing applications...
===> Compiling pc
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling snappyer

snappyer on  master via  via ❄️  impure (cobranca_ms-env) 
❯ rebar3 --version
rebar 3.23.0 on Erlang/OTP 27 Erts 15.0
slashmili commented 1 week ago

From what I understood the issue is related to pc https://github.com/blt/port_compiler/issues/82

pc has a already been patched but the issue is that some of us are getting older version of pc when we get the dependencies.

If there is a way to fix the dependency version at here https://github.com/zmstone/snappyer/blob/master/rebar.config#L7 would be great!