Build log
nerves_system_rpi4
picam 0.4.1 · fail · run picam-0.4.1-1789384836289
174 of 174 lines
1Resolving Hex dependencies...2Resolution completed in 0.184s3Unchanged:4 circular_buffer 1.1.05 elixir_make 0.10.06 interactive_cmd 0.1.47 jason 1.4.58 nerves 1.15.09 nerves_discovery 0.1.510 nerves_logging 0.2.411 nerves_runtime 0.13.1312 nerves_system_bbb 2.30.213 nerves_system_br 1.34.414 nerves_system_mangopi_mq_pro 0.17.215 nerves_system_qemu_aarch64 0.4.216 nerves_system_rpi 2.1.217 nerves_system_rpi0 2.1.218 nerves_system_rpi0_2 2.1.219 nerves_system_rpi2 2.1.220 nerves_system_rpi3 2.1.221 nerves_system_rpi4 2.1.222 nerves_system_rpi5 2.1.223 nerves_system_x86_64 1.34.224 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.125 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.126 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.127 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.128 nerves_toolchain_x86_64_nerves_linux_musl 15.3.129 nerves_uevent 0.1.730 picam 0.4.131 property_table 0.3.432 ring_logger 0.11.733 shoehorn 0.9.334 tablet 0.3.335 toolshed 0.5.036 uboot_env 1.0.237* Getting picam (Hex package)38* Getting nerves (Hex package)39* Getting shoehorn (Hex package)40* Getting ring_logger (Hex package)41* Getting toolshed (Hex package)42* Getting nerves_runtime (Hex package)43* Getting nerves_system_bbb (Hex package)44* Getting nerves_system_mangopi_mq_pro (Hex package)45* Getting nerves_system_qemu_aarch64 (Hex package)46* Getting nerves_system_rpi (Hex package)47* Getting nerves_system_rpi0 (Hex package)48* Getting nerves_system_rpi0_2 (Hex package)49* Getting nerves_system_rpi2 (Hex package)50* Getting nerves_system_rpi3 (Hex package)51* Getting nerves_system_rpi4 (Hex package)52* Getting nerves_system_rpi5 (Hex package)53* Getting nerves_system_x86_64 (Hex package)54* Getting nerves_system_br (Hex package)55* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)56* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)57* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)58* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (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==> jason71Compiling 10 files (.ex)72Generated jason app73==> tablet74Compiling 2 files (.ex)75Generated tablet app76==> elixir_make77Compiling 8 files (.ex)78Generated elixir_make app79==> nerves_discovery80Compiling 5 files (.ex)81Generated nerves_discovery app82==> interactive_cmd83Compiling 1 file (.ex)84Generated interactive_cmd app85==> nerves86HOST_CC port.o87HOST_LD port88Compiling 55 files (.ex)89Generated nerves app90==> nerves_compatibility_test9192Nerves environment93 MIX_TARGET: rpi494 MIX_ENV: prod9596Checking for prebuilt Nerves artifacts...97 Found nerves_system_rpi4 in cache98 /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.299 Found nerves_toolchain_aarch64_nerves_linux_gnu in cache100 /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1101==> jason102Compiling 10 files (.ex)103Compiling lib/encode.ex (it's taking more than 10s)104Compiling lib/decoder.ex (it's taking more than 10s)105Generated jason app106==> tablet107Compiling 2 files (.ex)108Generated tablet app109==> elixir_make110Compiling 8 files (.ex)111Generated elixir_make app112==> nerves_discovery113Compiling 5 files (.ex)114Generated nerves_discovery app115==> interactive_cmd116Compiling 1 file (.ex)117Generated interactive_cmd app118==> nerves119HOST_CC port.o120HOST_LD port121Compiling 55 files (.ex)122Generated nerves app123==> nerves_system_br124Generated nerves_system_br app125==> nerves_toolchain_aarch64_nerves_linux_gnu126Compiling 1 file (.ex)127Generated nerves_toolchain_aarch64_nerves_linux_gnu app128==> nerves_system_rpi4129Generated nerves_system_rpi4 app130==> nerves_compatibility_test131132Nerves environment133 MIX_TARGET: rpi4134 MIX_ENV: prod135136==> circular_buffer137Compiling 1 file (.ex)138Generated circular_buffer app139==> nerves_logging140 CC kmsg_tailer.o141 LD kmsg_tailer142Compiling 5 files (.ex)143Generated nerves_logging app144==> ring_logger145Compiling 7 files (.ex)146Generated ring_logger app147==> shoehorn148Compiling 8 files (.ex)149Generated shoehorn app150==> picam151mkdir -p /work/proj/_build/rpi4/lib/picam/ebin/../obj152mkdir -p /work/proj/_build/rpi4/lib/picam/ebin/../priv153/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a72 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.2/staging -c src/raspijpgs.c -o /work/proj/_build/rpi4/lib/picam/ebin/../obj/raspijpgs.o154/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a72 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.2/staging -c src/picam_camera.c -o /work/proj/_build/rpi4/lib/picam/ebin/../obj/picam_camera.o155src/picam_camera.c:3:10: fatal error: bcm_host.h: No such file or directory156 3 | #include "bcm_host.h"157 | ^~~~~~~~~~~~158compilation terminated.159make: *** [Makefile:68: /work/proj/_build/rpi4/lib/picam/ebin/../obj/picam_camera.o] Error 1160make: *** Waiting for unfinished jobs....161src/raspijpgs.c:37:10: fatal error: bcm_host.h: No such file or directory162 37 | #include "bcm_host.h"163 | ^~~~~~~~~~~~164compilation terminated.165make: *** [Makefile:68: /work/proj/_build/rpi4/lib/picam/ebin/../obj/raspijpgs.o] Error 1166could not compile dependency :picam, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile picam --force", update it with "mix deps.update picam" or clean it with "mix deps.clean picam"167==> nerves_compatibility_test168** (Mix) Could not compile with "make" (exit status: 2).169You need to have gcc and make installed. If you are using170Ubuntu or any other Debian-based system, install the packages171"build-essential". Also install "erlang-dev" package if not172included in your Erlang/OTP version. If you're on Fedora, run173"dnf group install 'Development Tools'".174