Build log
nerves_system_trellis
emlx_axon 0.5.0 · fail · run emlx_axon-0.5.0-1790901611564
271 of 271 lines
1Resolving Hex dependencies...2Resolution completed in 0.29s3Unchanged: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: trellis110 MIX_ENV: prod111112Checking for prebuilt Nerves artifacts...113 Found nerves_system_trellis in cache114 /home/nerves/.nerves/artifacts/nerves_system_trellis-portable-0.5.0115 Found nerves_toolchain_armv7_nerves_linux_gnueabihf in cache116 /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-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_armv7_nerves_linux_gnueabihf140Compiling 1 file (.ex)141Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app142==> nerves_system_trellis143Generated nerves_system_trellis app144==> nerves_compatibility_test145146Nerves environment147 MIX_TARGET: trellis148 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:47:42.825 [warning] Current target arm-linux-gnueabihf is not officially supported by EMLX, will fallback to building from source.209210A prebuilt libmlx archive for this target can be specified by setting the environment variable MLX_ARCHIVE_PATH to the path of the archive.211212==> emlx213LIBMLX_ENABLE_DEBUG=false214 % Total % Received % Xferd Average Speed Time Time Time Current215 Dload Upload Total Spent Left Speed216 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0217100 3854k 0 3854k 0 0 4533k 0 --:--:-- --:--:-- --:--:-- 4533k100 4199k 0 4199k 0 0 4523k 0 --:--:-- --:--:-- --:--:-- 4419k218-- The C compiler identification is GNU 15.3.0219-- The CXX compiler identification is GNU 15.3.0220-- Detecting C compiler ABI info221-- Detecting C compiler ABI info - failed222-- Check for working C compiler: /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc223-- Check for working C compiler: /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc - broken224CMake Error at /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:67 (message):225 The C compiler226227 "/home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc"228229 is not able to compile a simple test program.230231 It fails with the following output:232233 Change Dir: '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-FQcuBh'234 235 Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_3baf7/fast236 gmake[1]: Entering directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-FQcuBh'237 /usr/bin/gmake -f CMakeFiles/cmTC_3baf7.dir/build.make CMakeFiles/cmTC_3baf7.dir/build238 gmake[2]: Entering directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-FQcuBh'239 Building C object CMakeFiles/cmTC_3baf7.dir/testCCompiler.c.o240 /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc -fPIC -I c_src -I/home/nerves/.nerves/artifacts/nerves_system_trellis-portable-0.5.0/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.cache/libmlx/libmlx-0.32.0-arm-linux-gnueabihf/usr/include -I/work/proj/deps_trellis/fine/c_include -Wall -std=c++20 -O3 -o CMakeFiles/cmTC_3baf7.dir/testCCompiler.c.o -c /home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-FQcuBh/testCCompiler.c241 cc1: warning: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C242 Linking C executable cmTC_3baf7243 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3baf7.dir/link.txt --verbose=1244 /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc -fPIC -I c_src -I/home/nerves/.nerves/artifacts/nerves_system_trellis-portable-0.5.0/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.cache/libmlx/libmlx-0.32.0-arm-linux-gnueabihf/usr/include -I/work/proj/deps_trellis/fine/c_include -Wall -std=c++20 -O3 -L/home/nerves/.cache/libmlx/libmlx-0.32.0-arm-linux-gnueabihf/usr/lib -lmlx -shared -Wl,-rpath,'$ORIGIN/mlx/lib' CMakeFiles/cmTC_3baf7.dir/testCCompiler.c.o -o cmTC_3baf7 245 /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.1/armv7-nerves-linux-gnueabihf/bin/ld: cannot find -lmlx: No such file or directory246 collect2: error: ld returned 1 exit status247 gmake[2]: *** [CMakeFiles/cmTC_3baf7.dir/build.make:99: cmTC_3baf7] Error 1248 gmake[2]: Leaving directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-FQcuBh'249 gmake[1]: *** [Makefile:127: cmTC_3baf7/fast] Error 2250 gmake[1]: Leaving directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-FQcuBh'251 252 253254 255256 CMake will not be able to correctly generate this project.257Call Stack (most recent call first):258 CMakeLists.txt:18 (project)259260261-- Configuring incomplete, errors occurred!262make: *** [Makefile:98: /home/nerves/.cache/libmlx/libmlx-0.32.0-arm-linux-gnueabihf/usr/lib/libmlx.so] Error 1263could 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"264==> nerves_compatibility_test265** (Mix) Could not compile with "make" (exit status: 2).266You need to have gcc and make installed. If you are using267Ubuntu or any other Debian-based system, install the packages268"build-essential". Also install "erlang-dev" package if not269included in your Erlang/OTP version. If you're on Fedora, run270"dnf group install 'Development Tools'".271