Build log
host
magika 0.1.0 · fail · run magika-0.1.0-1790982770356
72 of 72 lines
1Resolving Hex dependencies...2Resolution completed in 0.2s3Unchanged:4 cc_precompiler 0.1.115 circular_buffer 1.1.06 complex 1.0.07 elixir_make 0.10.08 fine 0.1.69 interactive_cmd 0.1.410 jason 1.4.511 magika 0.1.012 nerves 2.0.0-pre.213 nerves_discovery 0.1.514 nerves_logging 0.2.415 nerves_runtime 0.13.1316 nerves_system_bbb 2.30.217 nerves_system_br 1.34.418 nerves_system_mangopi_mq_pro 0.17.219 nerves_system_qemu_aarch64 0.4.220 nerves_system_rpi0 2.1.221 nerves_system_rpi4 2.1.222 nerves_system_rpi5 2.1.223 nerves_system_trellis 0.5.024 nerves_system_x86_64 1.34.225 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.126 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.127 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.128 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.129 nerves_toolchain_x86_64_nerves_linux_musl 15.3.130 nerves_uevent 0.1.731 nx 1.0.032 onnxruntime 0.1.033 property_table 0.3.434 ring_logger 0.11.735 tablet 0.3.336 telemetry 1.4.237 toolshed 0.5.038 uboot_env 1.0.239All dependencies have been fetched40==> complex41Compiling 2 files (.ex)42Generated complex app43==> nx44Compiling 41 files (.ex)45Compiling lib/nx/binary_backend.ex (it's taking more than 10s)46Generated nx app47==> onnxruntime48Downloading precompiled NIF to /home/nerves/.cache/elixir_make/onnxruntime-nif-2.18-x86_64-linux-gnu-0.1.0.tar.gz49Error happened while installing onnxruntime from precompiled binary: "precompiled \"onnxruntime-nif-2.18-x86_64-linux-gnu-0.1.0.tar.gz\" does not exist or cannot download: :enoent".5051Attempting to compile onnxruntime from source...52g++ -shared -fPIC -fvisibility=hidden -std=c++17 -Wall -Wextra -I/usr/local/lib/erlang/erts-17.1/include -I/work/proj/deps/fine/c_include -O3 -I/work/proj/deps/onnxruntime/vendor/onnxruntime/1.30.0/linux-x86_64/include /work/proj/deps/onnxruntime/c_src/onnxruntime.cpp -Wl,-rpath,'$ORIGIN' -L/work/proj/deps/onnxruntime/vendor/onnxruntime/1.30.0/linux-x86_64/lib -lonnxruntime -o /work/proj/_build/host/lib/onnxruntime/priv/onnxruntime.so53Downloading https://github.com/microsoft/onnxruntime/releases/download/v1.30.0/onnxruntime-linux-x64-1.30.0.tgz54 % Total % Received % Xferd Average Speed Time Time Time Current55 Dload Upload Total Spent Left Speed56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0/work/proj/deps/onnxruntime/c_src/onnxruntime.cpp:2:10: fatal error: onnxruntime_cxx_api.h: No such file or directory57 2 | #include <onnxruntime_cxx_api.h>58 | ^~~~~~~~~~~~~~~~~~~~~~~59compilation terminated.60make: *** [Makefile:57: /work/proj/_build/host/lib/onnxruntime/priv/onnxruntime.so] Error 161make: *** Waiting for unfinished jobs....62 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 063 62 10.7M 62 6846k 0 0 12.6M 0 --:--:-- --:--:-- --:--:-- 12.6M100 10.7M 100 10.7M 0 0 14.4M 0 --:--:-- --:--:-- --:--:-- 18.7M64could 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"65==> nerves_compatibility_test66** (Mix) Could not compile with "make" (exit status: 2).67You need to have gcc and make installed. If you are using68Ubuntu or any other Debian-based system, install the packages69"build-essential". Also install "erlang-dev" package if not70included in your Erlang/OTP version. If you're on Fedora, run71"dnf group install 'Development Tools'".72