ex_clamav

Build log

host

ex_clamav 0.1.6 · fail · run ex_clamav-0.1.6-1794777393050
81 of 81 lines
1Resolving Hex dependencies...2Resolution completed in 0.023s3All dependencies have been fetched4==> tablet5Compiling 2 files (.ex)6Generated tablet app7==> nerves_discovery8Compiling 5 files (.ex)9Generated nerves_discovery app10==> interactive_cmd11Compiling 1 file (.ex)12Generated interactive_cmd app13==> nerves14Compiling 65 files (.ex)15Generated nerves app16==> circular_buffer17Compiling 1 file (.ex)18Generated circular_buffer app19==> logger_backends20Compiling 7 files (.ex)21Generated logger_backends app22warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"23  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/224  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/125  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/526  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/227  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/428  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/22930==> elixir_make31Compiling 8 files (.ex)32    warning: unused require Logger33    │34  4 │   require Logger35    │   ~36    │37    └─ lib/elixir_make/artefact.ex:4:33839    warning: unused require Logger40    │41  6 │   require Logger42    │   ~43    │44    └─ lib/elixir_make/precompiler.ex:6:34546    warning: unused require Logger47    │48 16 │   require Logger49    │   ~50    │51    └─ lib/mix/tasks/elixir_make.precompile.ex:16:35253Generated elixir_make app54==> nerves_logging55 CC kmsg_tailer.o56 LD kmsg_tailer57Not crosscompiling. To test locally, the port binary needs extra permissions.58Set SUDO=sudo to set permissions. The default is to skip this step.59SUDO_ASKPASS=/usr/bin/ssh-askpass60SUDO=true61Compiling 5 files (.ex)62Generated nerves_logging app63==> ring_logger64Compiling 7 files (.ex)65Generated ring_logger app66==> ex_clamav67cc -std=c11 -O3 -Wall -Wextra -Wpedantic -fPIC -I/usr/local/lib/erlang/erts-17.1.1/include -I/usr/local/include -I/usr/include -c lib/native/clamav_nif/src/clamav_nif.c -o /work/proj/_build/host/lib/ex_clamav/lib/native/build/clamav_nif.o68lib/native/clamav_nif/src/clamav_nif.c:2:10: fatal error: clamav.h: No such file or directory69    2 | #include <clamav.h>70      |          ^~~~~~~~~~71compilation terminated.72make: *** [Makefile:31: /work/proj/_build/host/lib/ex_clamav/lib/native/build/clamav_nif.o] Error 173could not compile dependency :ex_clamav, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ex_clamav --force", update it with "mix deps.update ex_clamav" or clean it with "mix deps.clean ex_clamav"74==> nerves_compatibility_test75** (Mix) Could not compile with "make" (exit status: 2).76You need to have gcc and make installed. If you are using77Ubuntu or any other Debian-based system, install the packages78"build-essential". Also install "erlang-dev" package if not79included in your Erlang/OTP version. If you're on Fedora, run80"dnf group install 'Development Tools'".81