Build log
host
onnxruntime 0.1.0 · fail · run onnxruntime-0.1.0-1791025436261
63 of 63 lines
1Resolving Hex dependencies...2Resolution completed in 0.109s3Unchanged: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 nerves 2.0.0-pre.211 nerves_discovery 0.1.512 nerves_logging 0.2.413 nerves_runtime 0.13.1314 nerves_system_bbb 2.30.215 nerves_system_br 1.34.416 nerves_system_mangopi_mq_pro 0.17.217 nerves_system_qemu_aarch64 0.4.218 nerves_system_rpi0 2.1.219 nerves_system_rpi4 2.1.220 nerves_system_rpi5 2.1.221 nerves_system_trellis 0.5.022 nerves_system_x86_64 1.34.223 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.124 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.125 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.126 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.127 nerves_toolchain_x86_64_nerves_linux_musl 15.3.128 nerves_uevent 0.1.729 nx 1.0.030 onnxruntime 0.1.031 property_table 0.3.432 ring_logger 0.11.733 tablet 0.3.334 telemetry 1.4.235 toolshed 0.5.036 uboot_env 1.0.237All dependencies have been fetched38==> onnxruntime39Downloading precompiled NIF to /home/nerves/.cache/elixir_make/onnxruntime-nif-2.18-x86_64-linux-gnu-0.1.0.tar.gz40Error 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".4142Attempting to compile onnxruntime from source...43g++ -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.so44Downloading https://github.com/microsoft/onnxruntime/releases/download/v1.30.0/onnxruntime-linux-x64-1.30.0.tgz45 % Total % Received % Xferd Average Speed Time Time Time Current46 Dload Upload Total Spent Left Speed47 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 directory48 2 | #include <onnxruntime_cxx_api.h>49 | ^~~~~~~~~~~~~~~~~~~~~~~50compilation terminated.51make: *** [Makefile:57: /work/proj/_build/host/lib/onnxruntime/priv/onnxruntime.so] Error 152make: *** Waiting for unfinished jobs....53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 054 59 10.7M 59 6590k 0 0 10.0M 0 0:00:01 --:--:-- 0:00:01 10.0M100 10.7M 100 10.7M 0 0 13.6M 0 --:--:-- --:--:-- --:--:-- 28.9M55could 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"56==> nerves_compatibility_test57** (Mix) Could not compile with "make" (exit status: 2).58You need to have gcc and make installed. If you are using59Ubuntu or any other Debian-based system, install the packages60"build-essential". Also install "erlang-dev" package if not61included in your Erlang/OTP version. If you're on Fedora, run62"dnf group install 'Development Tools'".63