Build log
nerves_system_mangopi_mq_pro
dht 0.1.2 · fail · run dht-0.1.2-1790888387946
165 of 165 lines
1Resolving Hex dependencies...2Resolution completed in 0.288s3Unchanged:4 circular_buffer 1.1.05 dht 0.1.26 elixir_make 0.10.07 interactive_cmd 0.1.48 jason 1.4.59 nerves 1.15.010 nerves_discovery 0.1.511 nerves_logging 0.2.412 nerves_runtime 0.13.1313 nerves_system_br 1.34.414 nerves_system_mangopi_mq_pro 0.17.215 nerves_system_rpi4 2.1.216 nerves_system_trellis 0.5.017 nerves_system_x86_64 1.34.218 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.119 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.120 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.121 nerves_toolchain_x86_64_nerves_linux_musl 15.3.122 nerves_uevent 0.1.723 property_table 0.3.424 ring_logger 0.11.725 shoehorn 0.9.326 tablet 0.3.327 telemetry 1.4.228 telemetry_poller 1.3.029 toolshed 0.5.030 uboot_env 1.0.231* Getting dht (Hex package)32* Getting nerves (Hex package)33* Getting shoehorn (Hex package)34* Getting ring_logger (Hex package)35* Getting toolshed (Hex package)36* Getting nerves_runtime (Hex package)37* Getting nerves_system_mangopi_mq_pro (Hex package)38* Getting nerves_system_rpi4 (Hex package)39* Getting nerves_system_trellis (Hex package)40* Getting nerves_system_x86_64 (Hex package)41* Getting nerves_system_br (Hex package)42* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)43* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)44* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)45* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)46* Getting nerves_logging (Hex package)47* Getting nerves_uevent (Hex package)48* Getting uboot_env (Hex package)49* Getting elixir_make (Hex package)50* Getting property_table (Hex package)51* Getting circular_buffer (Hex package)52* Getting interactive_cmd (Hex package)53* Getting jason (Hex package)54* Getting nerves_discovery (Hex package)55* Getting tablet (Hex package)56* Getting telemetry_poller (Hex package)57* Getting telemetry (Hex package)58==> jason59Compiling 10 files (.ex)60Generated jason app61==> tablet62Compiling 2 files (.ex)63Generated tablet app64==> elixir_make65Compiling 8 files (.ex)66Generated elixir_make app67==> nerves_discovery68Compiling 5 files (.ex)69Generated nerves_discovery app70==> interactive_cmd71Compiling 1 file (.ex)72Generated interactive_cmd app73==> nerves74HOST_CC port.o75HOST_LD port76Compiling 55 files (.ex)77Generated nerves app78==> nerves_compatibility_test7980Nerves environment81 MIX_TARGET: mangopi_mq_pro82 MIX_ENV: prod8384Checking for prebuilt Nerves artifacts...85 Found nerves_system_mangopi_mq_pro in cache86 /home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.287 Found nerves_toolchain_riscv64_nerves_linux_gnu in cache88 /home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.189==> jason90Compiling 10 files (.ex)91Generated jason app92==> tablet93Compiling 2 files (.ex)94Generated tablet app95==> elixir_make96Compiling 8 files (.ex)97Generated elixir_make app98==> nerves_discovery99Compiling 5 files (.ex)100Generated nerves_discovery app101==> interactive_cmd102Compiling 1 file (.ex)103Generated interactive_cmd app104==> nerves105HOST_CC port.o106HOST_LD port107Compiling 55 files (.ex)108Generated nerves app109==> nerves_system_br110Generated nerves_system_br app111==> nerves_toolchain_riscv64_nerves_linux_gnu112Compiling 1 file (.ex)113Generated nerves_toolchain_riscv64_nerves_linux_gnu app114==> nerves_system_mangopi_mq_pro115Generated nerves_system_mangopi_mq_pro app116==> nerves_compatibility_test117118Nerves environment119 MIX_TARGET: mangopi_mq_pro120 MIX_ENV: prod121122==> circular_buffer123Compiling 1 file (.ex)124Generated circular_buffer app125==> nerves_logging126 CC kmsg_tailer.o127 LD kmsg_tailer128Compiling 5 files (.ex)129Generated nerves_logging app130==> ring_logger131Compiling 7 files (.ex)132Generated ring_logger app133==> shoehorn134Compiling 8 files (.ex)135Generated shoehorn app136==> nerves_compatibility_test137===> Analyzing applications...138===> Compiling telemetry139===> Analyzing applications...140===> Compiling telemetry_poller141==> dht142mkdir -p /work/proj/_build/mangopi_mq_pro/lib/dht/ebin/../obj143mkdir -p /work/proj/_build/mangopi_mq_pro/lib/dht/ebin/../priv144/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-gcc -D TARGET= -c -I/home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.2/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include -mabi=lp64d -fstack-protector-strong -march=rv64imafdc_zicsr_zifencei -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_mangopi_mq_pro-portable-0.17.2/staging -std=gnu99 -o /work/proj/_build/mangopi_mq_pro/lib/dht/ebin/../obj/main.o src/main.c145/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/bin/riscv64-nerves-linux-gnu-gcc -D TARGET= -c -I/home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.2/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include -mabi=lp64d -fstack-protector-strong -march=rv64imafdc_zicsr_zifencei -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_mangopi_mq_pro-portable-0.17.2/staging -std=gnu99 -o /work/proj/_build/mangopi_mq_pro/lib/dht/ebin/../obj/erlcmd.o src/erlcmd.c146src/main.c:27:12: error: operator '==' has no left operand147 27 | #if TARGET == RPI148 | ^~149src/main.c:30:14: error: operator '==' has no left operand150 30 | #elif TARGET == RPI2151 | ^~152src/main.c:33:14: error: operator '==' has no left operand153 33 | #elif TARGET == BBB154 | ^~155make: *** [Makefile:76: /work/proj/_build/mangopi_mq_pro/lib/dht/ebin/../obj/main.o] Error 1156make: *** Waiting for unfinished jobs....157could not compile dependency :dht, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile dht --force", update it with "mix deps.update dht" or clean it with "mix deps.clean dht"158==> nerves_compatibility_test159** (Mix) Could not compile with "make" (exit status: 2).160You need to have gcc and make installed. If you are using161Ubuntu or any other Debian-based system, install the packages162"build-essential". Also install "erlang-dev" package if not163included in your Erlang/OTP version. If you're on Fedora, run164"dnf group install 'Development Tools'".165