peacap

Build log

host

peacap 0.1.1 · fail · run peacap-0.1.1-1792619405265
76 of 76 lines
1Resolving Hex dependencies...2Resolution completed in 0.114s3Unchanged:4  bpf 0.2.05  circular_buffer 1.1.06  elixir_make 0.10.07  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.014  nerves_system_br 1.35.215  nerves_system_mangopi_mq_pro 0.18.016  nerves_system_qemu_aarch64 0.5.017  nerves_system_rpi0 2.2.018  nerves_system_rpi4 2.2.019  nerves_system_rpi5 2.2.020  nerves_system_trellis 0.6.021  nerves_system_x86_64 1.35.022  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  peacap 0.1.129  property_table 0.3.430  ring_logger 0.11.731  tablet 0.3.332  toolshed 0.5.033  typedstruct 0.5.434  uboot_env 1.0.335All dependencies have been fetched36==> bpf37Compiling 11 files (.ex)38     warning: the variable "k" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator39     │40 100 │       <<_::binary-size(k), byte::8, _::binary>> ->41     │                        ~42     │43     └─ lib/bpf/interpreter.ex:100:24: BPF.Interpreter.step/24445     warning: the variable "offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator46     │47 303 │       <<_::binary-size(offset), value::size(bits), _::binary>> ->48     │                        ~49     │50     └─ lib/bpf/interpreter.ex:303:24: BPF.Interpreter.extract_bytes/35152     warning: the variable "bits" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator53     │54 303 │       <<_::binary-size(offset), value::size(bits), _::binary>> ->55     │                                             ~56     │57     └─ lib/bpf/interpreter.ex:303:45: BPF.Interpreter.extract_bytes/35859Generated bpf app60==> peacap61mkdir -p priv62cc -O2 -Wall -Wextra -fPIC -I/usr/local/lib/erlang/erts-17.1.1/include -o priv/peacap_nif.so c_src/peacap_nif.c -shared -lpcap63c_src/peacap_nif.c:3:10: fatal error: pcap/pcap.h: No such file or directory64    3 | #include <pcap/pcap.h>65      |          ^~~~~~~~~~~~~66compilation terminated.67make: *** [Makefile:16: priv/peacap_nif.so] Error 168could not compile dependency :peacap, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile peacap --force", update it with "mix deps.update peacap" or clean it with "mix deps.clean peacap"69==> nerves_compatibility_test70** (Mix) Could not compile with "make" (exit status: 2).71You need to have gcc and make installed. If you are using72Ubuntu or any other Debian-based system, install the packages73"build-essential". Also install "erlang-dev" package if not74included in your Erlang/OTP version. If you're on Fedora, run75"dnf group install 'Development Tools'".76