Build log
nerves_system_rpi4
emlx_axon 0.5.0 · fail · run emlx_axon-0.5.0-1790901611564
278 of 278 lines
1Resolving Hex dependencies...2Resolution completed in 0.224s3Unchanged:4 axon 0.9.05 bumblebee 0.8.06 castore 1.0.217 circular_buffer 1.1.08 complex 1.0.09 elixir_make 0.10.010 emlx 0.5.011 emlx_axon 0.5.012 fine 0.1.613 interactive_cmd 0.1.414 jason 1.4.515 nerves 1.15.016 nerves_discovery 0.1.517 nerves_logging 0.2.418 nerves_runtime 0.13.1319 nerves_system_br 1.34.420 nerves_system_mangopi_mq_pro 0.17.221 nerves_system_rpi4 2.1.222 nerves_system_trellis 0.5.023 nerves_system_x86_64 1.34.224 nerves_toolchain_aarch64_nerves_linux_gnu 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 nx_image 0.2.031 nx_signal 0.4.032 polaris 0.2.033 property_table 0.3.434 ring_logger 0.11.735 rustler_precompiled 0.10.036 safetensors 0.2.037 shoehorn 0.9.338 tablet 0.3.339 telemetry 1.4.240 tokenizers 0.5.141 toolshed 0.5.042 uboot_env 1.0.243 unpickler 0.1.044 unzip 0.13.045* Getting emlx_axon (Hex package)46* Getting nerves (Hex package)47* Getting shoehorn (Hex package)48* Getting ring_logger (Hex package)49* Getting toolshed (Hex package)50* Getting nerves_runtime (Hex package)51* Getting nerves_system_mangopi_mq_pro (Hex package)52* Getting nerves_system_rpi4 (Hex package)53* Getting nerves_system_trellis (Hex package)54* Getting nerves_system_x86_64 (Hex package)55* Getting nerves_system_br (Hex package)56* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)57* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)58* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)59* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)60* Getting nerves_logging (Hex package)61* Getting nerves_uevent (Hex package)62* Getting uboot_env (Hex package)63* Getting elixir_make (Hex package)64* Getting property_table (Hex package)65* Getting circular_buffer (Hex package)66* Getting interactive_cmd (Hex package)67* Getting jason (Hex package)68* Getting nerves_discovery (Hex package)69* Getting tablet (Hex package)70* Getting axon (Hex package)71* Getting bumblebee (Hex package)72* Getting emlx (Hex package)73* Getting nx (Hex package)74* Getting complex (Hex package)75* Getting telemetry (Hex package)76* Getting fine (Hex package)77* Getting nx_image (Hex package)78* Getting nx_signal (Hex package)79* Getting safetensors (Hex package)80* Getting tokenizers (Hex package)81* Getting unpickler (Hex package)82* Getting unzip (Hex package)83* Getting castore (Hex package)84* Getting rustler_precompiled (Hex package)85* Getting polaris (Hex package)86==> jason87Compiling 10 files (.ex)88Generated jason app89==> tablet90Compiling 2 files (.ex)91Generated tablet app92==> elixir_make93Compiling 8 files (.ex)94Generated elixir_make app95==> nerves_discovery96Compiling 5 files (.ex)97Generated nerves_discovery app98==> interactive_cmd99Compiling 1 file (.ex)100Generated interactive_cmd app101==> nerves102HOST_CC port.o103HOST_LD port104Compiling 55 files (.ex)105Generated nerves app106==> nerves_compatibility_test107108Nerves environment109 MIX_TARGET: rpi4110 MIX_ENV: prod111112Checking for prebuilt Nerves artifacts...113 Found nerves_system_rpi4 in cache114 /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.2115 Found nerves_toolchain_aarch64_nerves_linux_gnu in cache116 /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1117==> jason118Compiling 10 files (.ex)119Generated jason app120==> tablet121Compiling 2 files (.ex)122Generated tablet app123==> elixir_make124Compiling 8 files (.ex)125Generated elixir_make app126==> nerves_discovery127Compiling 5 files (.ex)128Generated nerves_discovery app129==> interactive_cmd130Compiling 1 file (.ex)131Generated interactive_cmd app132==> nerves133HOST_CC port.o134HOST_LD port135Compiling 55 files (.ex)136Generated nerves app137==> nerves_system_br138Generated nerves_system_br app139==> nerves_toolchain_aarch64_nerves_linux_gnu140Compiling 1 file (.ex)141Generated nerves_toolchain_aarch64_nerves_linux_gnu app142==> nerves_system_rpi4143Generated nerves_system_rpi4 app144==> nerves_compatibility_test145146Nerves environment147 MIX_TARGET: rpi4148 MIX_ENV: prod149150==> circular_buffer151Compiling 1 file (.ex)152Generated circular_buffer app153==> fine154Compiling 1 file (.ex)155Generated fine app156==> unpickler157Compiling 3 files (.ex)158 warning: the variable "prefix_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator159 │160 275 │ <<string::binary-size(prefix_size), ?L>> = string161 │ ~162 │163 └─ lib/unpickler.ex:275:27: Unpickler.load_op/3164165 warning: the variable "content_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator166 │167 306 │ <<q, string::binary-size(content_size), q>> when q in [?', ?"] ->168 │ ~169 │170 └─ lib/unpickler.ex:306:34: Unpickler.load_op/3171172Generated unpickler app173==> complex174Compiling 2 files (.ex)175Generated complex app176==> nerves_logging177 CC kmsg_tailer.o178 LD kmsg_tailer179Compiling 5 files (.ex)180Generated nerves_logging app181==> castore182Compiling 1 file (.ex)183Generated castore app184==> unzip185Compiling 6 files (.ex)186 warning: unused require Logger187 │188 40 │ require Logger189 │ ~190 │191 └─ lib/unzip.ex:40:3192193Generated unzip app194==> ring_logger195Compiling 7 files (.ex)196Generated ring_logger app197==> shoehorn198Compiling 8 files (.ex)199Generated shoehorn app200==> nerves_compatibility_test201===> Analyzing applications...202===> Compiling telemetry203==> nx204Compiling 41 files (.ex)205Compiling lib/nx/binary_backend.ex (it's taking more than 10s)206Generated nx app20720800:46:02.487 [warning] MLX only has CPU backend available for current target209==> emlx210Downloading libmlx from https://github.com/cocoa-xu/mlx-build/releases/download/v0.32.0/mlx-aarch64-linux-gnu.tar.gz211LIBMLX_ENABLE_DEBUG=false212/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"213/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"214c_src/emlx_nif.cpp: In function 'ERL_NIF_TERM shape(ErlNifEnv*, int, const ERL_NIF_TERM*)':215c_src/emlx_nif.cpp:77:29: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]216 77 | for (int64_t dim = 0; dim < t->ndim(); dim++)217 | ~~~~^~~~~~~~~~~218c_src/emlx_nif.cpp: In function 'ERL_NIF_TERM all(ErlNifEnv*, int, const ERL_NIF_TERM*)':219c_src/emlx_nif.cpp:569:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]220 569 | for (int i = 0; i < tensor->ndim(); ++i) { \221 | ~~^~~~~~~~~~~~~~~~222c_src/emlx_nif.cpp:559:31: note: in expansion of macro 'REDUCTION_AXES_OP2'223 559 | #define REDUCTION_AXES_OP(OP) REDUCTION_AXES_OP2(OP, OP)224 | ^~~~~~~~~~~~~~~~~~225c_src/emlx_nif.cpp:605:1: note: in expansion of macro 'REDUCTION_AXES_OP'226 605 | REDUCTION_AXES_OP(all)227 | ^~~~~~~~~~~~~~~~~228c_src/emlx_nif.cpp: In function 'ERL_NIF_TERM any(ErlNifEnv*, int, const ERL_NIF_TERM*)':229c_src/emlx_nif.cpp:569:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]230 569 | for (int i = 0; i < tensor->ndim(); ++i) { \231 | ~~^~~~~~~~~~~~~~~~232c_src/emlx_nif.cpp:559:31: note: in expansion of macro 'REDUCTION_AXES_OP2'233 559 | #define REDUCTION_AXES_OP(OP) REDUCTION_AXES_OP2(OP, OP)234 | ^~~~~~~~~~~~~~~~~~235c_src/emlx_nif.cpp:606:1: note: in expansion of macro 'REDUCTION_AXES_OP'236 606 | REDUCTION_AXES_OP(any)237 | ^~~~~~~~~~~~~~~~~238c_src/emlx_nif.cpp: In function 'ERL_NIF_TERM sum(ErlNifEnv*, int, const ERL_NIF_TERM*)':239c_src/emlx_nif.cpp:569:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]240 569 | for (int i = 0; i < tensor->ndim(); ++i) { \241 | ~~^~~~~~~~~~~~~~~~242c_src/emlx_nif.cpp:559:31: note: in expansion of macro 'REDUCTION_AXES_OP2'243 559 | #define REDUCTION_AXES_OP(OP) REDUCTION_AXES_OP2(OP, OP)244 | ^~~~~~~~~~~~~~~~~~245c_src/emlx_nif.cpp:607:1: note: in expansion of macro 'REDUCTION_AXES_OP'246 607 | REDUCTION_AXES_OP(sum)247 | ^~~~~~~~~~~~~~~~~248c_src/emlx_nif.cpp: In function 'ERL_NIF_TERM product(ErlNifEnv*, int, const ERL_NIF_TERM*)':249c_src/emlx_nif.cpp:569:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]250 569 | for (int i = 0; i < tensor->ndim(); ++i) { \251 | ~~^~~~~~~~~~~~~~~~252c_src/emlx_nif.cpp:608:1: note: in expansion of macro 'REDUCTION_AXES_OP2'253 608 | REDUCTION_AXES_OP2(product, prod)254 | ^~~~~~~~~~~~~~~~~~255/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/compiler.cpp" -o "/home/nerves/.cache/libmlx/emlx-0.5.0-mlx-0.32.0/objs/emlx/compiler.o"256In file included from c_src/emlx/compiler.cpp:16:257/home/nerves/.cache/libmlx/libmlx-0.32.0-aarch64-linux-gnu/include/mlx/primitives.h: In member function 'std::pair<float, float> mlx::core::AddMM::state() const':258/home/nerves/.cache/libmlx/libmlx-0.32.0-aarch64-linux-gnu/include/mlx/primitives.h:204:41: note: parameter passing for argument of type 'std::pair<float, float>' when C++17 is enabled changed to match C++14 in GCC 10.1259 204 | std::pair<float, float> state() const {260 | ^261/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/plugin/registry.cpp" -o "/home/nerves/.cache/libmlx/emlx-0.5.0-mlx-0.32.0/objs/emlx/plugin/registry.o"262Copying MLX library to /work/proj/_build/rpi4/lib/emlx/priv/mlx/lib263Copying MLX headers to /work/proj/_build/rpi4/lib/emlx/priv/mlx/include264/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/aarch64-nerves-linux-gnu-g++ /home/nerves/.cache/libmlx/emlx-0.5.0-mlx-0.32.0/objs/emlx_nif.o /home/nerves/.cache/libmlx/emlx-0.5.0-mlx-0.32.0/objs/emlx_fast.o /home/nerves/.cache/libmlx/emlx-0.5.0-mlx-0.32.0/objs/emlx/compiler.o /home/nerves/.cache/libmlx/emlx-0.5.0-mlx-0.32.0/objs/emlx/plugin/registry.o -o "/work/proj/_build/rpi4/lib/emlx/priv/libemlx.so" -L/home/nerves/.cache/libmlx/libmlx-0.32.0-aarch64-linux-gnu/lib -lmlx -shared -Wl,-rpath,'$ORIGIN/mlx/lib'265/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1/aarch64-nerves-linux-gnu/bin/ld: skipping incompatible /home/nerves/.cache/libmlx/libmlx-0.32.0-aarch64-linux-gnu/lib/libmlx.so when searching for -lmlx266/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1/aarch64-nerves-linux-gnu/bin/ld: cannot find -lmlx: No such file or directory267/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1/aarch64-nerves-linux-gnu/bin/ld: skipping incompatible /home/nerves/.cache/libmlx/libmlx-0.32.0-aarch64-linux-gnu/lib/libmlx.so when searching for -lmlx268collect2: error: ld returned 1 exit status269make: *** [Makefile:126: /work/proj/_build/rpi4/lib/emlx/priv/libemlx.so] Error 1270could 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"271==> nerves_compatibility_test272** (Mix) Could not compile with "make" (exit status: 2).273You need to have gcc and make installed. If you are using274Ubuntu or any other Debian-based system, install the packages275"build-essential". Also install "erlang-dev" package if not276included in your Erlang/OTP version. If you're on Fedora, run277"dnf group install 'Development Tools'".278