Build log
host
gen_magic 1.1.1 · fail · run gen_magic-1.1.1-1791188647475
59 of 59 lines
1Resolving Hex dependencies...2Resolution completed in 0.177s3Unchanged:4 circular_buffer 1.1.05 elixir_make 0.7.86 gen_magic 1.1.17 interactive_cmd 0.1.48 nerves 2.0.0-pre.29 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_rpi0 2.1.217 nerves_system_rpi4 2.1.218 nerves_system_rpi5 2.1.219 nerves_system_trellis 0.5.020 nerves_system_x86_64 1.34.221 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.122 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.123 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.124 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.125 nerves_toolchain_x86_64_nerves_linux_musl 15.3.126 nerves_uevent 0.1.727 property_table 0.3.428 ring_logger 0.11.729 tablet 0.3.330 toolshed 0.5.031 uboot_env 1.0.232All dependencies have been fetched33 warning: using single-quoted strings to represent charlists is deprecated.34 Use ~c"" if you indeed want a charlist or use "" instead.35 You may run "mix format --migrate" to change all single-quoted36 strings to use the ~c sigil and fix this warning.37 │38 4 │ if :erlang.system_info(:otp_release) < '21' do39 │ ~40 │41 └─ /work/proj/deps/gen_magic/mix.exs:4:424243==> gen_magic44mkdir -p priv45cc -std=c99 -g -Wall -Wextra -Werror src/apprentice.c -lm `pkg-config --cflags --libs libmagic 2>/dev/null || echo "-lmagic"` -o priv/apprentice46src/apprentice.c:37:10: fatal error: magic.h: No such file or directory47 37 | #include <magic.h>48 | ^~~~~~~~~49compilation terminated.50make: *** [Makefile:8: priv/apprentice] Error 151could not compile dependency :gen_magic, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile gen_magic --force", update it with "mix deps.update gen_magic" or clean it with "mix deps.clean gen_magic"52==> nerves_compatibility_test53** (Mix) Could not compile with "make" (exit status: 2).54You need to have gcc and make installed. If you are using55Ubuntu or any other Debian-based system, install the packages56"build-essential". Also install "erlang-dev" package if not57included in your Erlang/OTP version. If you're on Fedora, run58"dnf group install 'Development Tools'".59