Build log
nerves_system_x86_64
emlx 0.5.0 · fail · run emlx-0.5.0-1790901489092
167 of 167 lines
1Resolving Hex dependencies...2Resolution completed in 0.184s3Unchanged: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: x86_6486 MIX_ENV: prod8788Checking for prebuilt Nerves artifacts...89 Found nerves_system_x86_64 in cache90 /home/nerves/.nerves/artifacts/nerves_system_x86_64-portable-1.34.291 Found nerves_toolchain_x86_64_nerves_linux_musl in cache92 /home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-linux_x86_64-15.3.193==> nerves94==> nerves_compatibility_test9596Nerves environment97 MIX_TARGET: x86_6498 MIX_ENV: prod99100==> complex101Compiling 2 files (.ex)102Generated complex app103==> nx104Compiling 41 files (.ex)105Compiling lib/nx/binary_backend.ex (it's taking more than 10s)106Generated nx app10710800:45:14.985 [warning] Current target x86_64-linux-musl is not officially supported by EMLX, will fallback to building from source.109110A prebuilt libmlx archive for this target can be specified by setting the environment variable MLX_ARCHIVE_PATH to the path of the archive.111112==> emlx113LIBMLX_ENABLE_DEBUG=false114-- The C compiler identification is GNU 15.3.0115-- The CXX compiler identification is GNU 15.3.0116-- Detecting C compiler ABI info117-- Detecting C compiler ABI info - failed118-- 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-gcc119-- 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 - broken120CMake Error at /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:67 (message):121 The C compiler122123 "/home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc"124125 is not able to compile a simple test program.126127 It fails with the following output:128129 Change Dir: '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-YnSVFK'130 131 Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_a4427/fast132 gmake[1]: Entering directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-YnSVFK'133 /usr/bin/gmake -f CMakeFiles/cmTC_a4427.dir/build.make CMakeFiles/cmTC_a4427.dir/build134 gmake[2]: Entering directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-YnSVFK'135 Building C object CMakeFiles/cmTC_a4427.dir/testCCompiler.c.o136 /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_a4427.dir/testCCompiler.c.o -c /home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-YnSVFK/testCCompiler.c137 cc1: warning: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C138 Linking C executable cmTC_a4427139 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a4427.dir/link.txt --verbose=1140 /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_a4427.dir/testCCompiler.c.o -o cmTC_a4427 141 /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 directory142 collect2: error: ld returned 1 exit status143 gmake[2]: *** [CMakeFiles/cmTC_a4427.dir/build.make:99: cmTC_a4427] Error 1144 gmake[2]: Leaving directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-YnSVFK'145 gmake[1]: *** [Makefile:127: cmTC_a4427/fast] Error 2146 gmake[1]: Leaving directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-YnSVFK'147 148 149150 151152 CMake will not be able to correctly generate this project.153Call Stack (most recent call first):154 CMakeLists.txt:18 (project)155156157-- Configuring incomplete, errors occurred!158make: *** [Makefile:98: /home/nerves/.cache/libmlx/libmlx-0.32.0-x86_64-linux-musl/usr/lib/libmlx.so] Error 1159could 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"160==> nerves_compatibility_test161** (Mix) Could not compile with "make" (exit status: 2).162You need to have gcc and make installed. If you are using163Ubuntu or any other Debian-based system, install the packages164"build-essential". Also install "erlang-dev" package if not165included in your Erlang/OTP version. If you're on Fedora, run166"dnf group install 'Development Tools'".167