emlx

Build log

nerves_system_rpi4

emlx 0.5.0 · fail · run emlx-0.5.0-1790901489092
188 of 188 lines
1Resolving Hex dependencies...2Resolution completed in 0.118s3Unchanged:4  circular_buffer 1.1.05  complex 1.0.06  elixir_make 0.10.07  emlx 0.5.08  fine 0.1.69  interactive_cmd 0.1.410  jason 1.4.511  nerves 1.15.012  nerves_discovery 0.1.513  nerves_logging 0.2.414  nerves_runtime 0.13.1315  nerves_system_br 1.34.416  nerves_system_mangopi_mq_pro 0.17.217  nerves_system_rpi4 2.1.218  nerves_system_trellis 0.5.019  nerves_system_x86_64 1.34.220  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.121  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.122  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.123  nerves_toolchain_x86_64_nerves_linux_musl 15.3.124  nerves_uevent 0.1.725  nx 1.0.026  property_table 0.3.427  ring_logger 0.11.728  shoehorn 0.9.329  tablet 0.3.330  telemetry 1.4.231  toolshed 0.5.032  uboot_env 1.0.233* Getting emlx (Hex package)34* Getting nerves (Hex package)35* Getting shoehorn (Hex package)36* Getting ring_logger (Hex package)37* Getting toolshed (Hex package)38* Getting nerves_runtime (Hex package)39* Getting nerves_system_mangopi_mq_pro (Hex package)40* Getting nerves_system_rpi4 (Hex package)41* Getting nerves_system_trellis (Hex package)42* Getting nerves_system_x86_64 (Hex package)43* Getting nerves_system_br (Hex package)44* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)45* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)46* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)47* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)48* Getting nerves_logging (Hex package)49* Getting nerves_uevent (Hex package)50* Getting uboot_env (Hex package)51* Getting elixir_make (Hex package)52* Getting property_table (Hex package)53* Getting circular_buffer (Hex package)54* Getting interactive_cmd (Hex package)55* Getting jason (Hex package)56* Getting nerves_discovery (Hex package)57* Getting tablet (Hex package)58* Getting fine (Hex package)59* Getting nx (Hex package)60* Getting telemetry (Hex package)61* Getting complex (Hex package)62==> jason63Compiling 10 files (.ex)64Generated jason app65==> tablet66Compiling 2 files (.ex)67Generated tablet app68==> elixir_make69Compiling 8 files (.ex)70Generated elixir_make app71==> nerves_discovery72Compiling 5 files (.ex)73Generated nerves_discovery app74==> interactive_cmd75Compiling 1 file (.ex)76Generated interactive_cmd app77==> nerves78HOST_CC port.o79HOST_LD port80Compiling 55 files (.ex)81Generated nerves app82==> nerves_compatibility_test8384Nerves environment85  MIX_TARGET:   rpi486  MIX_ENV:      prod8788Checking for prebuilt Nerves artifacts...89  Found nerves_system_rpi4 in cache90    /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.291  Found nerves_toolchain_aarch64_nerves_linux_gnu in cache92    /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.193==> jason94Compiling 10 files (.ex)95Generated jason app96==> tablet97Compiling 2 files (.ex)98Generated tablet app99==> elixir_make100Compiling 8 files (.ex)101Generated elixir_make app102==> nerves_discovery103Compiling 5 files (.ex)104Generated nerves_discovery app105==> interactive_cmd106Compiling 1 file (.ex)107Generated interactive_cmd app108==> nerves109HOST_CC port.o110HOST_LD port111Compiling 55 files (.ex)112Generated nerves app113==> nerves_system_br114Generated nerves_system_br app115==> nerves_toolchain_aarch64_nerves_linux_gnu116Compiling 1 file (.ex)117Generated nerves_toolchain_aarch64_nerves_linux_gnu app118==> nerves_system_rpi4119Generated nerves_system_rpi4 app120==> nerves_compatibility_test121122Nerves environment123  MIX_TARGET:   rpi4124  MIX_ENV:      prod125126==> circular_buffer127Compiling 1 file (.ex)128Generated circular_buffer app129==> fine130Compiling 1 file (.ex)131Generated fine app132==> complex133Compiling 2 files (.ex)134Generated complex app135==> nerves_logging136 CC kmsg_tailer.o137 LD kmsg_tailer138Compiling 5 files (.ex)139Generated nerves_logging app140==> ring_logger141Compiling 7 files (.ex)142Generated ring_logger app143==> shoehorn144Compiling 8 files (.ex)145Generated shoehorn app146==> nerves_compatibility_test147===> Analyzing applications...148===> Compiling telemetry149==> nx150Compiling 41 files (.ex)151Compiling lib/nx/binary_backend.ex (it's taking more than 10s)152Generated nx app15315400:43:20.442 [warning] MLX only has CPU backend available for current target155==> emlx156Downloading libmlx from https://github.com/cocoa-xu/mlx-build/releases/download/v0.32.0/mlx-aarch64-linux-gnu.tar.gz157LIBMLX_ENABLE_DEBUG=false158/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/aarch64-nerves-linux-gnu-g++ -fPIC -I c_src -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.cache/libmlx/libmlx-0.32.0-aarch64-linux-gnu/include -I/work/proj/deps_rpi4/fine/c_include -Wall -std=c++20 -O3 -c "c_src/emlx_nif.cpp" -o "/home/nerves/.cache/libmlx/emlx-0.5.0-mlx-0.32.0/objs/emlx_nif.o"159/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/aarch64-nerves-linux-gnu-g++ -fPIC -I c_src -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.cache/libmlx/libmlx-0.32.0-aarch64-linux-gnu/include -I/work/proj/deps_rpi4/fine/c_include -Wall -std=c++20 -O3 -c "c_src/emlx_fast.cpp" -o "/home/nerves/.cache/libmlx/emlx-0.5.0-mlx-0.32.0/objs/emlx_fast.o"160In file included from c_src/emlx_runtime_call_bridge.hpp:31,161                 from c_src/emlx_async.hpp:64,162                 from c_src/emlx_nif_shared.hpp:5,163                 from c_src/emlx/compiler.hpp:10,164                 from c_src/emlx_nif.cpp:1:165c_src/emlx_worker.hpp:20:10: fatal error: mlx/mlx.h: No such file or directory166   20 | #include "mlx/mlx.h"167      |          ^~~~~~~~~~~168In file included from c_src/emlx_runtime_call_bridge.hpp:31,169                 from c_src/emlx_async.hpp:64,170                 from c_src/emlx_nif_shared.hpp:5,171                 from c_src/emlx_fast.cpp:1:172c_src/emlx_worker.hpp:20:10: fatal error: mlx/mlx.h: No such file or directory173   20 | #include "mlx/mlx.h"174      |          ^~~~~~~~~~~175compilation terminated.176compilation terminated.177make: *** [Makefile:83: /home/nerves/.cache/libmlx/emlx-0.5.0-mlx-0.32.0/objs/emlx_nif.o] Error 1178make: *** Waiting for unfinished jobs....179make: *** [Makefile:83: /home/nerves/.cache/libmlx/emlx-0.5.0-mlx-0.32.0/objs/emlx_fast.o] Error 1180could not compile dependency :emlx, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile emlx --force", update it with "mix deps.update emlx" or clean it with "mix deps.clean emlx"181==> nerves_compatibility_test182** (Mix) Could not compile with "make" (exit status: 2).183You need to have gcc and make installed. If you are using184Ubuntu or any other Debian-based system, install the packages185"build-essential". Also install "erlang-dev" package if not186included in your Erlang/OTP version. If you're on Fedora, run187"dnf group install 'Development Tools'".188