emlx

Build log

nerves_system_mangopi_mq_pro

emlx 0.5.0 · fail · run emlx-0.5.0-1790901489092
219 of 219 lines
1Resolving Hex dependencies...2Resolution completed in 0.193s3Unchanged: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:   mangopi_mq_pro86  MIX_ENV:      prod8788Checking for prebuilt Nerves artifacts...89  Found nerves_system_mangopi_mq_pro in cache90    /home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.291  Found nerves_toolchain_riscv64_nerves_linux_gnu in cache92    /home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_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_riscv64_nerves_linux_gnu116Compiling 1 file (.ex)117Generated nerves_toolchain_riscv64_nerves_linux_gnu app118==> nerves_system_mangopi_mq_pro119Generated nerves_system_mangopi_mq_pro app120==> nerves_compatibility_test121122Nerves environment123  MIX_TARGET:   mangopi_mq_pro124  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.213 [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-riscv64-linux-gnu.tar.gz157LIBMLX_ENABLE_DEBUG=false158/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-g++ -fPIC -I c_src -I/home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.cache/libmlx/libmlx-0.32.0-riscv64-linux-gnu/include -I/work/proj/deps_mangopi_mq_pro/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_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-g++ -fPIC -I c_src -I/home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.cache/libmlx/libmlx-0.32.0-riscv64-linux-gnu/include -I/work/proj/deps_mangopi_mq_pro/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"160c_src/emlx_nif.cpp: In function 'ERL_NIF_TERM shape(ErlNifEnv*, int, const ERL_NIF_TERM*)':161c_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]162   77 |   for (int64_t dim = 0; dim < t->ndim(); dim++)163      |                         ~~~~^~~~~~~~~~~164c_src/emlx_nif.cpp: In function 'ERL_NIF_TERM all(ErlNifEnv*, int, const ERL_NIF_TERM*)':165c_src/emlx_nif.cpp:569:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]166  569 |       for (int i = 0; i < tensor->ndim(); ++i) {                               \167      |                       ~~^~~~~~~~~~~~~~~~168c_src/emlx_nif.cpp:559:31: note: in expansion of macro 'REDUCTION_AXES_OP2'169  559 | #define REDUCTION_AXES_OP(OP) REDUCTION_AXES_OP2(OP, OP)170      |                               ^~~~~~~~~~~~~~~~~~171c_src/emlx_nif.cpp:605:1: note: in expansion of macro 'REDUCTION_AXES_OP'172  605 | REDUCTION_AXES_OP(all)173      | ^~~~~~~~~~~~~~~~~174c_src/emlx_nif.cpp: In function 'ERL_NIF_TERM any(ErlNifEnv*, int, const ERL_NIF_TERM*)':175c_src/emlx_nif.cpp:569:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]176  569 |       for (int i = 0; i < tensor->ndim(); ++i) {                               \177      |                       ~~^~~~~~~~~~~~~~~~178c_src/emlx_nif.cpp:559:31: note: in expansion of macro 'REDUCTION_AXES_OP2'179  559 | #define REDUCTION_AXES_OP(OP) REDUCTION_AXES_OP2(OP, OP)180      |                               ^~~~~~~~~~~~~~~~~~181c_src/emlx_nif.cpp:606:1: note: in expansion of macro 'REDUCTION_AXES_OP'182  606 | REDUCTION_AXES_OP(any)183      | ^~~~~~~~~~~~~~~~~184c_src/emlx_nif.cpp: In function 'ERL_NIF_TERM sum(ErlNifEnv*, int, const ERL_NIF_TERM*)':185c_src/emlx_nif.cpp:569:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]186  569 |       for (int i = 0; i < tensor->ndim(); ++i) {                               \187      |                       ~~^~~~~~~~~~~~~~~~188c_src/emlx_nif.cpp:559:31: note: in expansion of macro 'REDUCTION_AXES_OP2'189  559 | #define REDUCTION_AXES_OP(OP) REDUCTION_AXES_OP2(OP, OP)190      |                               ^~~~~~~~~~~~~~~~~~191c_src/emlx_nif.cpp:607:1: note: in expansion of macro 'REDUCTION_AXES_OP'192  607 | REDUCTION_AXES_OP(sum)193      | ^~~~~~~~~~~~~~~~~194c_src/emlx_nif.cpp: In function 'ERL_NIF_TERM product(ErlNifEnv*, int, const ERL_NIF_TERM*)':195c_src/emlx_nif.cpp:569:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]196  569 |       for (int i = 0; i < tensor->ndim(); ++i) {                               \197      |                       ~~^~~~~~~~~~~~~~~~198c_src/emlx_nif.cpp:608:1: note: in expansion of macro 'REDUCTION_AXES_OP2'199  608 | REDUCTION_AXES_OP2(product, prod)200      | ^~~~~~~~~~~~~~~~~~201/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-g++ -fPIC -I c_src -I/home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.cache/libmlx/libmlx-0.32.0-riscv64-linux-gnu/include -I/work/proj/deps_mangopi_mq_pro/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"202/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-g++ -fPIC -I c_src -I/home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.cache/libmlx/libmlx-0.32.0-riscv64-linux-gnu/include -I/work/proj/deps_mangopi_mq_pro/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"203Copying MLX library to /work/proj/_build/mangopi_mq_pro/lib/emlx/priv/mlx/lib204Copying MLX headers to /work/proj/_build/mangopi_mq_pro/lib/emlx/priv/mlx/include205/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-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/mangopi_mq_pro/lib/emlx/priv/libemlx.so" -L/home/nerves/.cache/libmlx/libmlx-0.32.0-riscv64-linux-gnu/lib -lmlx -shared -Wl,-rpath,'$ORIGIN/mlx/lib'206/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/riscv64-nerves-linux-gnu/bin/ld: skipping incompatible /home/nerves/.cache/libmlx/libmlx-0.32.0-riscv64-linux-gnu/lib/libmlx.so when searching for -lmlx207/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/riscv64-nerves-linux-gnu/bin/ld: cannot find -lmlx: No such file or directory208/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/riscv64-nerves-linux-gnu/bin/ld: skipping incompatible /home/nerves/.cache/libmlx/libmlx-0.32.0-riscv64-linux-gnu/lib/libmlx.so when searching for -lmlx209collect2: error: ld returned 1 exit status210make: *** [Makefile:126: /work/proj/_build/mangopi_mq_pro/lib/emlx/priv/libemlx.so] Error 1211could 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"212==> nerves_compatibility_test213** (Mix) Could not compile with "make" (exit status: 2).214You need to have gcc and make installed. If you are using215Ubuntu or any other Debian-based system, install the packages216"build-essential". Also install "erlang-dev" package if not217included in your Erlang/OTP version. If you're on Fedora, run218"dnf group install 'Development Tools'".219