Build log
nerves_system_rpi4
sscmex 0.7.0 · fail · run sscmex-0.7.0-1792940189369
152 of 152 lines
1Resolving Hex dependencies...2Resolution completed in 0.187s3Unchanged:4 cc_precompiler 0.1.115 circular_buffer 1.1.06 elixir_make 0.10.17 interactive_cmd 0.1.48 logger_backends 1.0.19 nerves 2.0.0-pre.310 nerves_discovery 0.1.611 nerves_logging 0.2.412 nerves_runtime 0.13.1313 nerves_system_bbb 2.31.114 nerves_system_br 1.35.315 nerves_system_mangopi_mq_pro 0.18.116 nerves_system_qemu_aarch64 0.5.117 nerves_system_rpi0 2.2.118 nerves_system_rpi4 2.2.119 nerves_system_rpi5 2.2.120 nerves_system_trellis 0.6.121 nerves_system_x86_64 1.35.122 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.123 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.124 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.125 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.126 nerves_toolchain_x86_64_nerves_linux_musl 15.3.127 nerves_uevent 0.1.828 property_table 0.3.429 ring_logger 0.11.730 sscmex 0.7.031 tablet 0.3.332 toolshed 0.5.033 uboot_env 1.0.334* Getting sscmex (Hex package)35* Getting nerves (Hex package)36* Getting logger_backends (Hex package)37* Getting ring_logger (Hex package)38* Getting toolshed (Hex package)39* Getting nerves_runtime (Hex package)40* Getting nerves_system_bbb (Hex package)41* Getting nerves_system_mangopi_mq_pro (Hex package)42* Getting nerves_system_qemu_aarch64 (Hex package)43* Getting nerves_system_rpi0 (Hex package)44* Getting nerves_system_rpi4 (Hex package)45* Getting nerves_system_rpi5 (Hex package)46* Getting nerves_system_trellis (Hex package)47* Getting nerves_system_x86_64 (Hex package)48* Getting nerves_system_br (Hex package)49* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)50* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)51* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)52* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)53* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)54* Getting nerves_logging (Hex package)55* Getting nerves_uevent (Hex package)56* Getting uboot_env (Hex package)57* Getting elixir_make (Hex package)58* Getting property_table (Hex package)59* Getting circular_buffer (Hex package)60* Getting interactive_cmd (Hex package)61* Getting nerves_discovery (Hex package)62* Getting tablet (Hex package)63* Getting cc_precompiler (Hex package)64==> tablet65Compiling 2 files (.ex)66Generated tablet app67==> nerves_discovery68Compiling 5 files (.ex)69Generated nerves_discovery app70==> interactive_cmd71Compiling 1 file (.ex)72Generated interactive_cmd app73==> nerves74Compiling 65 files (.ex)75Generated nerves app76==> nerves_system_br77Generated nerves_system_br app78==> circular_buffer79Compiling 1 file (.ex)80Generated circular_buffer app81==> logger_backends82Compiling 7 files (.ex)83Generated logger_backends app84==> nerves_logging85 CC kmsg_tailer.o86 LD kmsg_tailer87Compiling 5 files (.ex)88Generated nerves_logging app89==> ring_logger90Compiling 7 files (.ex)91Generated ring_logger app92==> nerves_toolchain_aarch64_nerves_linux_gnu93Compiling 1 file (.ex)94Generated nerves_toolchain_aarch64_nerves_linux_gnu app95==> nerves_system_rpi496Generated nerves_system_rpi4 app97==> uboot_env98Compiling 5 files (.ex)99Generated uboot_env app100==> cc_precompiler101Compiling 3 files (.ex)102Generated cc_precompiler app103==> sscmex104Not searching for unused variables given on the command line.105-- The C compiler identification is GNU 15.3.0106-- The CXX compiler identification is GNU 15.3.0107-- Detecting C compiler ABI info108-- Detecting C compiler ABI info - done109-- Check for working C compiler: /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc - skipped110-- Detecting C compile features111-- Detecting C compile features - done112-- Detecting CXX compiler ABI info113-- Detecting CXX compiler ABI info - done114-- Check for working CXX compiler: /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-g++ - skipped115-- Detecting CXX compile features116-- Detecting CXX compile features - done117-- PRIV_DIR: /work/proj/_build/rpi4/lib/sscmex/priv118-- ERTS_INCLUDE_DIR: /home/nerves/.nerves/artifacts/nerves_system_rpi4-2.2.1/staging/usr/lib/erlang/erts-17.1.1/include119-- Using CMAKE_TOOLCHAIN_FILE: /home/nerves/.nerves/artifacts/nerves_system_rpi4-2.2.1/nerves-env.cmake120CMake Error at cmake/sscma_micro.cmake:26 (message):121 SG200X_SDK_PATH is not set, but SSCMA-Micro's CVI engine122 (MA_USE_ENGINE_CVI=1) requires <cviruntime.h> from the CVITEK TPU SDK.123124 Fix one of:125 1. Use the sscmex devenv (provides the SDK automatically):126 direnv allow # or: devenv shell127 2. Point SG200X_SDK_PATH at an extracted reCameraOS SDK,128 e.g. download reCameraOS_sdk_v0.2.0.tar.gz from129 https://github.com/Seeed-Studio/reCamera-OS/releases130 and set:131 export SG200X_SDK_PATH=/path/to/sg2002_recamera_emmc132 3. Use the precompiled NIF from a GitHub release. In your133 parent project, ensure a checksum.exs is present (Hex134 packaging includes one automatically; for git deps, add135 the checksum.exs from the matching release as a dep136 overlay) so cc_precompiler can fetch the precompiled137 artefact instead of building from source.138Call Stack (most recent call first):139 CMakeLists.txt:73 (include)140141142-- Configuring incomplete, errors occurred!143make: *** [Makefile:24: /work/proj/_build/rpi4/lib/sscmex/priv/sscmex_nif.so] Error 1144could not compile dependency :sscmex, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile sscmex --force", update it with "mix deps.update sscmex" or clean it with "mix deps.clean sscmex"145==> nerves_compatibility_test146** (Mix) Could not compile with "make" (exit status: 2).147You need to have gcc and make installed. If you are using148Ubuntu or any other Debian-based system, install the packages149"build-essential". Also install "erlang-dev" package if not150included in your Erlang/OTP version. If you're on Fedora, run151"dnf group install 'Development Tools'".152