Closed aukuste closed 10 months ago
It seems like it's the download of exqlite-nif-2.17-x86_64-linux-gnu-0.17.0.tar.gz that just fails immediately. If I manually download that file from the github releases and place it in ~/.cache, exqlite compiles without any issues.
@cocoa-xu I'm not well versed in the precompile logic, do you think you can lend a hand here?
@aukuste That's kinda strange... and I cannot reproduce it in my Linux machine (which runs Ubuntu 20.04). Maybe I'll try to find a Fedora machine and try it tomorrow. And could you please let me know the exact version of Erlang installed on your computer? I was using 26.0.2 in my setup.
$ erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), "OTP_VERSION"])), io:fwrite(Version), halt().' -noshell
26.0.2
@cocoa-xu 26.2.1
If I create a new project and add ecto_sqlite3 and ecto_sql to it, it works without problem, but if I then remove ~/.cache/exqlite-nif-2.17-x86_64-linux-gnu-0.17.0.tar.gz
and add {:timex, "~> 3.7"}
to the deps in mix.exs, run mix deps.get
, and the mix compile
, then I can reproduce the problem consistently.
I'm seeing this exact same failure signature using the official elixir:1.16.0
docker image.
Fixed in elixir_make. Thanks @cocoa-xu for the report and initial fix.
Awesome, thank you @cocoa-xu and @josevalim
I seem to have an issue with getting exqlite compiled.
I updated my dependencies recently for a project, where one of them is ecto_sqlite3.
When trying to compile the project, the compilation fails when trying to compile exqlite:
Exqlite is version 0.17.0.
Some system info: I'm running Fedora Linux 38 Erlang version: Erlang/OTP 26 [erts-14.2.1] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns] Elixir version: Elixir 1.15.7 (compiled with Erlang/OTP 26)
Any ideas on why this is happening?