Build log
nerves_system_trellis
ex_yuv 0.2.0 · fail · run ex_yuv-0.2.0-1790916721164
197 of 197 lines
1Resolving Hex dependencies...2Resolution completed in 0.09s3Unchanged:4 cc_precompiler 0.1.115 circular_buffer 1.1.06 elixir_make 0.10.07 ex_yuv 0.2.08 interactive_cmd 0.1.49 jason 1.4.510 nerves 1.15.011 nerves_discovery 0.1.512 nerves_logging 0.2.413 nerves_runtime 0.13.1314 nerves_system_br 1.34.415 nerves_system_mangopi_mq_pro 0.17.216 nerves_system_rpi4 2.1.217 nerves_system_trellis 0.5.018 nerves_system_x86_64 1.34.219 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.120 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.121 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.122 nerves_toolchain_x86_64_nerves_linux_musl 15.3.123 nerves_uevent 0.1.724 property_table 0.3.425 ring_logger 0.11.726 shoehorn 0.9.327 tablet 0.3.328 toolshed 0.5.029 uboot_env 1.0.230* Getting ex_yuv (Hex package)31* Getting nerves (Hex package)32* Getting shoehorn (Hex package)33* Getting ring_logger (Hex package)34* Getting toolshed (Hex package)35* Getting nerves_runtime (Hex package)36* Getting nerves_system_mangopi_mq_pro (Hex package)37* Getting nerves_system_rpi4 (Hex package)38* Getting nerves_system_trellis (Hex package)39* Getting nerves_system_x86_64 (Hex package)40* Getting nerves_system_br (Hex package)41* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)42* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)43* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)44* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)45* Getting nerves_logging (Hex package)46* Getting nerves_uevent (Hex package)47* Getting uboot_env (Hex package)48* Getting elixir_make (Hex package)49* Getting property_table (Hex package)50* Getting circular_buffer (Hex package)51* Getting interactive_cmd (Hex package)52* Getting jason (Hex package)53* Getting nerves_discovery (Hex package)54* Getting tablet (Hex package)55* Getting cc_precompiler (Hex package)56==> jason57Compiling 10 files (.ex)58Generated jason app59==> tablet60Compiling 2 files (.ex)61Generated tablet app62==> elixir_make63Compiling 8 files (.ex)64Generated elixir_make app65==> nerves_discovery66Compiling 5 files (.ex)67Generated nerves_discovery app68==> interactive_cmd69Compiling 1 file (.ex)70Generated interactive_cmd app71==> nerves72HOST_CC port.o73HOST_LD port74Compiling 55 files (.ex)75Generated nerves app76==> nerves_compatibility_test7778Nerves environment79 MIX_TARGET: trellis80 MIX_ENV: prod8182Checking for prebuilt Nerves artifacts...83 Found nerves_system_trellis in cache84 /home/nerves/.nerves/artifacts/nerves_system_trellis-portable-0.5.085 Found nerves_toolchain_armv7_nerves_linux_gnueabihf in cache86 /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.187==> jason88Compiling 10 files (.ex)89Generated jason app90==> tablet91Compiling 2 files (.ex)92Generated tablet app93==> elixir_make94Compiling 8 files (.ex)95Generated elixir_make app96==> nerves_discovery97Compiling 5 files (.ex)98Generated nerves_discovery app99==> interactive_cmd100Compiling 1 file (.ex)101Generated interactive_cmd app102==> nerves103HOST_CC port.o104HOST_LD port105Compiling 55 files (.ex)106Generated nerves app107==> nerves_system_br108Generated nerves_system_br app109==> nerves_toolchain_armv7_nerves_linux_gnueabihf110Compiling 1 file (.ex)111Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app112==> nerves_system_trellis113Generated nerves_system_trellis app114==> nerves_compatibility_test115116Nerves environment117 MIX_TARGET: trellis118 MIX_ENV: prod119120==> circular_buffer121Compiling 1 file (.ex)122Generated circular_buffer app123==> nerves_logging124 CC kmsg_tailer.o125 LD kmsg_tailer126Compiling 5 files (.ex)127Generated nerves_logging app128==> ring_logger129Compiling 7 files (.ex)130Generated ring_logger app131==> shoehorn132Compiling 8 files (.ex)133Generated shoehorn app134==> uboot_env135Compiling 5 files (.ex)136Generated uboot_env app137==> cc_precompiler138Compiling 3 files (.ex)139Generated cc_precompiler app140==> ex_yuv141cp /home/nerves/.cache/libyuv/out/libyuv.so /work/proj/_build/trellis/lib/ex_yuv/priv142cp: cannot stat '/home/nerves/.cache/libyuv/out/libyuv.so': No such file or directory143make: *** [Makefile:31: /work/proj/_build/trellis/lib/ex_yuv/priv/yuv_nif.so] Error 1144make: *** Waiting for unfinished jobs....145-- The C compiler identification is GNU 15.3.0146-- The CXX compiler identification is GNU 15.3.0147-- Detecting C compiler ABI info148-- Detecting C compiler ABI info - failed149-- Check for working C compiler: /home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-gcc150-- Check for working C compiler: /home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-gcc - broken151CMake Error at /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:67 (message):152 The C compiler153154 "/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-gcc"155156 is not able to compile a simple test program.157158 It fails with the following output:159160 Change Dir: '/home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-B80u7U'161 162 Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_d08f7/fast163 gmake[1]: Entering directory '/home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-B80u7U'164 /usr/bin/gmake -f CMakeFiles/cmTC_d08f7.dir/build.make CMakeFiles/cmTC_d08f7.dir/build165 gmake[2]: Entering directory '/home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-B80u7U'166 Building C object CMakeFiles/cmTC_d08f7.dir/testCCompiler.c.o167 /home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-gcc -shared -fPIC -o CMakeFiles/cmTC_d08f7.dir/testCCompiler.c.o -c /home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-B80u7U/testCCompiler.c168 Linking C executable cmTC_d08f7169 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d08f7.dir/link.txt --verbose=1170 /home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-gcc -shared -fPIC -L/home/nerves/.cache/libyuv/out -lyuv -Wl,-rpath,'$ORIGIN' -Wl,--allow-multiple-definition CMakeFiles/cmTC_d08f7.dir/testCCompiler.c.o -o cmTC_d08f7 171 /home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/riscv64-nerves-linux-gnu/bin/ld: cannot find -lyuv: No such file or directory172 collect2: error: ld returned 1 exit status173 gmake[2]: *** [CMakeFiles/cmTC_d08f7.dir/build.make:99: cmTC_d08f7] Error 1174 gmake[2]: Leaving directory '/home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-B80u7U'175 gmake[1]: *** [Makefile:127: cmTC_d08f7/fast] Error 2176 gmake[1]: Leaving directory '/home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-B80u7U'177 178 179180 181182 CMake will not be able to correctly generate this project.183Call Stack (most recent call first):184 CMakeLists.txt:6 (project)185186187-- Configuring incomplete, errors occurred!188make: *** [Makefile:38: /home/nerves/.cache/libyuv/out/flag] Error 1189could not compile dependency :ex_yuv, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ex_yuv --force", update it with "mix deps.update ex_yuv" or clean it with "mix deps.clean ex_yuv"190==> nerves_compatibility_test191** (Mix) Could not compile with "make" (exit status: 2).192You need to have gcc and make installed. If you are using193Ubuntu or any other Debian-based system, install the packages194"build-essential". Also install "erlang-dev" package if not195included in your Erlang/OTP version. If you're on Fedora, run196"dnf group install 'Development Tools'".197