Closed legoscia closed 4 years ago
I think the same issue applies to the 'enc' escript included too...
I upgrade Erlang/OTP to 23 and was having troubles building this PR. Turns out it was a problem with my version of rebar3. Under rebar 3.6.1, the build failed to produce priv/jiffy.so. rebar3 output was not helpful in identifying the problem, it quietly terminated. Running rebar3 under strace I discovered that it was complaining about not being able to find the liberl_interface shared library.
Upgrading to the latest rebar3 resolved the problem.
I struck this issue as well after upgrading to Erlang/OTP 23; however, upgrading rebar3 didn't resolve the issue for me. The PR #199 resolves this issue for me.
I forked this code into stephb9959/jiffy and removed all rebar/enc stuff. The project just uses erlang.mk and works in Erlang/OPT23. All tests pass on MacOSx and Linux. I am just looking for others to try that to see if there's value in making a pull request.
I forked this code into stephb9959/jiffy and removed all rebar/enc stuff. The project just uses erlang.mk and works in Erlang/OPT23. All tests pass on MacOSx and Linux. I am just looking for others to try that to see if there's value in making a pull request.
Hi @stephb9959, I'm try add https://github.com/stephb9959/jiffy as dependency into rebar
project and get error:
===> Dependency failure: source for jiffy does not contain a recognizable project and can not be built
Looks like the rebar
have some conflicts with erlang.mk
. Looks like for non-rebar
projects was provided fix https://github.com/erlang/rebar3/pull/1978 but still don't merged. So, I suppose for rebar projects need to add src/jiffy.app.src
into https://github.com/stephb9959/jiffy.
Sorry @vkatsuba , this project uses erlang.mk and is made by running make instead of rebar. I put a note at the top of the readme but I forgot to mention this here. Hope this helps.
Sorry @vkatsuba , this project uses erlang.mk and is made by running make instead of rebar. I put a note at the top of the readme but I forgot to mention this here. Hope this helps.
@stephb9959, sorry this my fault, I didn't pay attention to note at the top of the readme. Thanks.
This issue is now fixed with #199 and a new version is released. I hope my comment here notifies everybody subscribing to this issue here.
Indeed, jiffy 1.0.5 seems to work fine. Thanks @davisp !
Compiling jiffy with Erlang/OTP 23.0-rc3 fails with the following error message:
This happens because release 23 dropped support for loading beam files compiled with a compiler older than R15 (see here), and the beam files inside the
rebar
binary were compiled with R14.