Build log
nerves_system_x86_64
emlx_axon 0.5.0 · fail · run emlx_axon-0.5.0-1790901611564
191 of 191 lines
1Resolving Hex dependencies...2Resolution completed in 0.153s3Unchanged: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: x86_64110 MIX_ENV: prod111112Checking for prebuilt Nerves artifacts...113 Found nerves_system_x86_64 in cache114 /home/nerves/.nerves/artifacts/nerves_system_x86_64-portable-1.34.2115 Found nerves_toolchain_x86_64_nerves_linux_musl in cache116 /home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-linux_x86_64-15.3.1117==> nerves118==> nerves_compatibility_test119120Nerves environment121 MIX_TARGET: x86_64122 MIX_ENV: prod123124==> complex125Compiling 2 files (.ex)126Generated complex app127==> nx128Compiling 41 files (.ex)129Compiling lib/nx/binary_backend.ex (it's taking more than 10s)130Generated nx app13113200:48:23.401 [warning] Current target x86_64-linux-musl is not officially supported by EMLX, will fallback to building from source.133134A prebuilt libmlx archive for this target can be specified by setting the environment variable MLX_ARCHIVE_PATH to the path of the archive.135136==> emlx137LIBMLX_ENABLE_DEBUG=false138-- The C compiler identification is GNU 15.3.0139-- The CXX compiler identification is GNU 15.3.0140-- Detecting C compiler ABI info141-- Detecting C compiler ABI info - failed142-- 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-gcc143-- 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 - broken144CMake Error at /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:67 (message):145 The C compiler146147 "/home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc"148149 is not able to compile a simple test program.150151 It fails with the following output:152153 Change Dir: '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-xGGd9h'154 155 Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_93933/fast156 gmake[1]: Entering directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-xGGd9h'157 /usr/bin/gmake -f CMakeFiles/cmTC_93933.dir/build.make CMakeFiles/cmTC_93933.dir/build158 gmake[2]: Entering directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-xGGd9h'159 Building C object CMakeFiles/cmTC_93933.dir/testCCompiler.c.o160 /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_93933.dir/testCCompiler.c.o -c /home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-xGGd9h/testCCompiler.c161 cc1: warning: command-line option '-std=c++20' is valid for C++/ObjC++ but not for C162 Linking C executable cmTC_93933163 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_93933.dir/link.txt --verbose=1164 /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_93933.dir/testCCompiler.c.o -o cmTC_93933 165 /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 directory166 collect2: error: ld returned 1 exit status167 gmake[2]: *** [CMakeFiles/cmTC_93933.dir/build.make:99: cmTC_93933] Error 1168 gmake[2]: Leaving directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-xGGd9h'169 gmake[1]: *** [Makefile:127: cmTC_93933/fast] Error 2170 gmake[1]: Leaving directory '/home/nerves/.cache/libmlx/mlx/build-0.32.0/CMakeFiles/CMakeScratch/TryCompile-xGGd9h'171 172 173174 175176 CMake will not be able to correctly generate this project.177Call Stack (most recent call first):178 CMakeLists.txt:18 (project)179180181-- Configuring incomplete, errors occurred!182make: *** [Makefile:98: /home/nerves/.cache/libmlx/libmlx-0.32.0-x86_64-linux-musl/usr/lib/libmlx.so] Error 1183could 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"184==> nerves_compatibility_test185** (Mix) Could not compile with "make" (exit status: 2).186You need to have gcc and make installed. If you are using187Ubuntu or any other Debian-based system, install the packages188"build-essential". Also install "erlang-dev" package if not189included in your Erlang/OTP version. If you're on Fedora, run190"dnf group install 'Development Tools'".191