Closed alisinabh closed 9 months ago
Hi 👋
The new version 0.7.2 does not have the binaries uploaded in the realease and will not compile without forcing to build.
0.7.2
==> ex_keccak Compiling 1 file (.ex) 17:21:03.197 [debug] Downloading NIF from https://github.com/tzumby/ex_keccak/releases/download/v0.7.2/libexkeccak-v0.7.2-nif-2.16-x86_64-unknown-linux-gnu.so.tar.gz == Compilation error in file lib/ex_keccak.ex == ** (RuntimeError) Error while downloading precompiled NIF: couldn't fetch NIF from https://github.com/tzumby/ex_keccak/releases/download/v0.7.2/libexkeccak-v0.7.2-nif-2.16-x86_[64](https://github.com/alisinabh/elixir_ethers/actions/runs/6149656486/job/16685974658?pr=19#step:11:65)-unknown-linux-gnu.so.tar.gz: {:ok, {{~c"HTTP/1.1", 404, ~c"Not Found"}, [{~c"cache-control", ~c"no-cache"}, {~c"date", ~c"Mon, 11 Sep 2023 17:21:03 GMT"}, {~c"server", ~c"GitHub.com"}, {~c"vary", ~c"X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, Accept-Encoding, Accept, X-Requested-With"}, {~c"content-length", ~c"9"}, {~c"content-type", ~c"text/plain; charset=utf-8"}, {~c"strict-transport-security", ~c"max-age=31536000; includeSubdomains; preload"}, {~c"x-frame-options", ~c"deny"}, {~c"x-content-type-options", ~c"nosniff"}, {~c"x-xss-protection", ~c"0"}, {~c"referrer-policy", ~c"no-referrer-when-downgrade"}, {~c"content-security-policy", ~c"default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'"}, {~c"x-github-request-id", ~c"1080:1DCB:1D602B5:29F5[66](https://github.com/alisinabh/elixir_ethers/actions/runs/6149656486/job/16685974658?pr=19#step:11:67)4:64FF4C7F"}], "Not Found"}}. You can force the project to build from scratch with: config :rustler_precompiled, :force_build, ex_keccak: true In order to force the build, you also need to add Rustler as a dependency in your `mix.exs`: {:rustler, ">= 0.0.0", optional: true} lib/ex_keccak.ex:10: (module)
Thanks for opening this @alisinabh ! Fixed by #45
Hi 👋
The new version
0.7.2
does not have the binaries uploaded in the realease and will not compile without forcing to build.