magika

Build log

nerves_system_rpi0_2

magika 0.1.0 · fail · run magika-0.1.0-1792968311920
136 of 136 lines
1Resolving Hex dependencies...2Resolution completed in 0.06s3Unchanged:4  cc_precompiler 0.1.115  circular_buffer 1.1.06  complex 1.0.07  elixir_make 0.10.18  fine 0.1.69  interactive_cmd 0.1.410  jason 1.4.511  logger_backends 1.0.112  magika 0.1.013  nerves 2.0.0-pre.314  nerves_discovery 0.1.615  nerves_logging 0.2.416  nerves_runtime 0.13.1317  nerves_system_br 1.35.318  nerves_system_rpi0_2 2.2.119  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.120  nerves_uevent 0.1.821  nx 1.0.022  onnxruntime 0.1.023  property_table 0.3.424  ring_logger 0.11.725  tablet 0.3.326  telemetry 1.4.227  toolshed 0.5.028  uboot_env 1.0.329* Getting magika (Hex package)30* Getting nerves (Hex package)31* Getting logger_backends (Hex package)32* Getting ring_logger (Hex package)33* Getting toolshed (Hex package)34* Getting nerves_runtime (Hex package)35* Getting nerves_system_rpi0_2 (Hex package)36* Getting nerves_system_br (Hex package)37* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)38* Getting nerves_logging (Hex package)39* Getting nerves_uevent (Hex package)40* Getting uboot_env (Hex package)41* Getting elixir_make (Hex package)42* Getting property_table (Hex package)43* Getting circular_buffer (Hex package)44* Getting interactive_cmd (Hex package)45* Getting nerves_discovery (Hex package)46* Getting tablet (Hex package)47* Getting jason (Hex package)48* Getting nx (Hex package)49* Getting onnxruntime (Hex package)50* Getting cc_precompiler (Hex package)51* Getting fine (Hex package)52* Getting complex (Hex package)53* Getting telemetry (Hex package)54==> tablet55Compiling 2 files (.ex)56Generated tablet app57==> nerves_discovery58Compiling 5 files (.ex)59Generated nerves_discovery app60==> interactive_cmd61Compiling 1 file (.ex)62Generated interactive_cmd app63==> nerves64Compiling 65 files (.ex)65Generated nerves app66==> nerves_system_br67Generated nerves_system_br app68==> circular_buffer69Compiling 1 file (.ex)70Generated circular_buffer app71==> fine72Compiling 1 file (.ex)73Generated fine app74==> jason75Compiling 10 files (.ex)76Generated jason app77==> logger_backends78Compiling 7 files (.ex)79Generated logger_backends app80==> complex81Compiling 2 files (.ex)82Generated complex app83==> elixir_make84Compiling 8 files (.ex)85Generated elixir_make app86==> nerves_logging87 CC kmsg_tailer.o88 LD kmsg_tailer89Compiling 5 files (.ex)90Generated nerves_logging app91==> ring_logger92Compiling 7 files (.ex)93Generated ring_logger app94==> nerves_toolchain_aarch64_nerves_linux_gnu95Compiling 1 file (.ex)96Generated nerves_toolchain_aarch64_nerves_linux_gnu app97==> nerves_system_rpi0_298Generated nerves_system_rpi0_2 app99==> nerves_compatibility_test100===> Analyzing applications...101===> Compiling telemetry102==> nx103Compiling 41 files (.ex)104Compiling lib/nx/binary_backend.ex (it's taking more than 10s)105Generated nx app106==> uboot_env107Compiling 5 files (.ex)108Generated uboot_env app109==> cc_precompiler110Compiling 3 files (.ex)111Generated cc_precompiler app112==> onnxruntime113Downloading precompiled NIF to /home/nerves/.cache/elixir_make/onnxruntime-nif-2.18-aarch64-linux-gnu-0.1.0.tar.gz114Error happened while installing onnxruntime from precompiled binary: "couldn't fetch NIF from https://github.com/fishtreesugar/onnxruntime-elixir/releases/download/v0.1.0/onnxruntime-nif-2.18-aarch64-linux-gnu-0.1.0.tar.gz: {:ok, {{~c\"HTTP/1.1\", 404, ~c\"Not Found\"}, [{~c\"cache-control\", ~c\"no-cache\"}, {~c\"date\", ~c\"Sun, 25 Oct 2026 22:46:26 GMT\"}, {~c\"server\", ~c\"github.com\"}, {~c\"vary\", ~c\"X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, X-GitHub-Client-Version, Sec-Fetch-Site,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\"888E:214488:F499B0F:146F183A:6ADE86C2\"}, {~c\"x-github-edge-region\", ~c\"fra\"}], \"Not Found\"}}".115116Attempting to compile onnxruntime from source...117Downloading https://github.com/microsoft/onnxruntime/releases/download/v1.30.0/onnxruntime-linux-x64-1.30.0.tgz118  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current119                                 Dload  Upload   Total   Spent    Left  Speed120  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0121100 10.7M  100 10.7M    0     0  42.5M      0 --:--:-- --:--:-- --:--:-- 42.5M122/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 --sysroot /home/nerves/.nerves/artifacts/nerves_system_rpi0_2-2.2.1/staging -shared -fPIC -fvisibility=hidden -std=c++17 -Wall -Wextra -I/home/nerves/.nerves/artifacts/nerves_system_rpi0_2-2.2.1/staging/usr/lib/erlang/erts-17.1.1/include -I/work/proj/deps_rpi0_2/fine/c_include -O3 -I/work/proj/deps_rpi0_2/onnxruntime/vendor/onnxruntime/1.30.0/linux-x86_64/include /work/proj/deps_rpi0_2/onnxruntime/c_src/onnxruntime.cpp --sysroot=/home/nerves/.nerves/artifacts/nerves_system_rpi0_2-2.2.1/staging -Wl,-rpath,'$ORIGIN' -L/work/proj/deps_rpi0_2/onnxruntime/vendor/onnxruntime/1.30.0/linux-x86_64/lib -lonnxruntime -o /work/proj/_build/rpi0_2/lib/onnxruntime/priv/onnxruntime.so123/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/aarch64-nerves-linux-gnu/bin/ld: skipping incompatible /work/proj/deps_rpi0_2/onnxruntime/vendor/onnxruntime/1.30.0/linux-x86_64/lib/libonnxruntime.so when searching for -lonnxruntime124/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/aarch64-nerves-linux-gnu/bin/ld: cannot find -lonnxruntime: No such file or directory125/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/aarch64-nerves-linux-gnu/bin/ld: skipping incompatible /work/proj/deps_rpi0_2/onnxruntime/vendor/onnxruntime/1.30.0/linux-x86_64/lib/libonnxruntime.so when searching for -lonnxruntime126collect2: error: ld returned 1 exit status127make: *** [Makefile:57: /work/proj/_build/rpi0_2/lib/onnxruntime/priv/onnxruntime.so] Error 1128could not compile dependency :onnxruntime, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile onnxruntime --force", update it with "mix deps.update onnxruntime" or clean it with "mix deps.clean onnxruntime"129==> nerves_compatibility_test130** (Mix) Could not compile with "make" (exit status: 2).131You need to have gcc and make installed. If you are using132Ubuntu or any other Debian-based system, install the packages133"build-essential". Also install "erlang-dev" package if not134included in your Erlang/OTP version. If you're on Fedora, run135"dnf group install 'Development Tools'".136