ex_yuv

Build log

nerves_system_mangopi_mq_pro

ex_yuv 0.2.0 · fail · run ex_yuv-0.2.0-1790916721164
202 of 202 lines
1Resolving Hex dependencies...2Resolution completed in 0.137s3Unchanged: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:   mangopi_mq_pro80  MIX_ENV:      prod8182Checking for prebuilt Nerves artifacts...83  Found nerves_system_mangopi_mq_pro in cache84    /home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.285  Found nerves_toolchain_riscv64_nerves_linux_gnu in cache86    /home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-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_riscv64_nerves_linux_gnu110Compiling 1 file (.ex)111Generated nerves_toolchain_riscv64_nerves_linux_gnu app112==> nerves_system_mangopi_mq_pro113Generated nerves_system_mangopi_mq_pro app114==> nerves_compatibility_test115116Nerves environment117  MIX_TARGET:   mangopi_mq_pro118  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_yuv141Downloading precompiled NIF to /home/nerves/.cache/elixir_make/ex_yuv-nif-2.16-riscv64-linux-gnu-0.2.0.tar.gz142Error happened while installing ex_yuv from precompiled binary: "precompiled \"ex_yuv-nif-2.16-riscv64-linux-gnu-0.2.0.tar.gz\" does not exist or cannot download: :enoent".143144Attempting to compile ex_yuv from source...145cp /home/nerves/.cache/libyuv/out/libyuv.so /work/proj/_build/mangopi_mq_pro/lib/ex_yuv/priv146cp: cannot stat '/home/nerves/.cache/libyuv/out/libyuv.so': No such file or directory147make: *** [Makefile:31: /work/proj/_build/mangopi_mq_pro/lib/ex_yuv/priv/yuv_nif.so] Error 1148make: *** Waiting for unfinished jobs....149Cloning into '/home/nerves/.cache/libyuv'...150-- The C compiler identification is GNU 15.3.0151-- The CXX compiler identification is GNU 15.3.0152-- Detecting C compiler ABI info153-- Detecting C compiler ABI info - failed154-- 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-gcc155-- 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 - broken156CMake Error at /usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:67 (message):157  The C compiler158159    "/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-gcc"160161  is not able to compile a simple test program.162163  It fails with the following output:164165    Change Dir: '/home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-BbIB4f'166    167    Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_9100a/fast168    gmake[1]: Entering directory '/home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-BbIB4f'169    /usr/bin/gmake  -f CMakeFiles/cmTC_9100a.dir/build.make CMakeFiles/cmTC_9100a.dir/build170    gmake[2]: Entering directory '/home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-BbIB4f'171    Building C object CMakeFiles/cmTC_9100a.dir/testCCompiler.c.o172    /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_9100a.dir/testCCompiler.c.o -c /home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-BbIB4f/testCCompiler.c173    Linking C executable cmTC_9100a174    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9100a.dir/link.txt --verbose=1175    /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_9100a.dir/testCCompiler.c.o -o cmTC_9100a 176    /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 directory177    collect2: error: ld returned 1 exit status178    gmake[2]: *** [CMakeFiles/cmTC_9100a.dir/build.make:99: cmTC_9100a] Error 1179    gmake[2]: Leaving directory '/home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-BbIB4f'180    gmake[1]: *** [Makefile:127: cmTC_9100a/fast] Error 2181    gmake[1]: Leaving directory '/home/nerves/.cache/libyuv/out/CMakeFiles/CMakeScratch/TryCompile-BbIB4f'182    183    184185  186187  CMake will not be able to correctly generate this project.188Call Stack (most recent call first):189  CMakeLists.txt:6 (project)190191192-- Configuring incomplete, errors occurred!193make: *** [Makefile:38: /home/nerves/.cache/libyuv/out/flag] Error 1194could 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"195==> nerves_compatibility_test196** (Mix) Could not compile with "make" (exit status: 2).197You need to have gcc and make installed. If you are using198Ubuntu or any other Debian-based system, install the packages199"build-essential". Also install "erlang-dev" package if not200included in your Erlang/OTP version. If you're on Fedora, run201"dnf group install 'Development Tools'".202