ocv_photo_analyzer

Build log

host

ocv_photo_analyzer 1.0.1 · fail · run ocv_photo_analyzer-1.0.1-1791023068462
215 of 215 lines
1Resolving Hex dependencies...2Resolution completed in 0.111s3Unchanged:4  circular_buffer 1.1.05  elixir_make 0.10.06  interactive_cmd 0.1.47  nerves 2.0.0-pre.28  nerves_discovery 0.1.59  nerves_logging 0.2.410  nerves_runtime 0.13.1311  nerves_system_bbb 2.30.212  nerves_system_br 1.34.413  nerves_system_mangopi_mq_pro 0.17.214  nerves_system_qemu_aarch64 0.4.215  nerves_system_rpi0 2.1.216  nerves_system_rpi4 2.1.217  nerves_system_rpi5 2.1.218  nerves_system_trellis 0.5.019  nerves_system_x86_64 1.34.220  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.121  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.122  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.123  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.124  nerves_toolchain_x86_64_nerves_linux_musl 15.3.125  nerves_uevent 0.1.726  ocv_photo_analyzer 1.0.127  porcelain 2.0.328  property_table 0.3.429  ring_logger 0.11.730  tablet 0.3.331  toolshed 0.5.032  uboot_env 1.0.233All dependencies have been fetched34==> porcelain35Compiling 9 files (.ex)36    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead37    │38  6 │   defcallback exec(prog :: binary, args :: [binary], opts :: Keyword.t)39    │   ~40    │41    └─ lib/porcelain/drivers/driver_common.ex:6:3: Porcelain.Driver.Common (module)4243    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead44    │45  7 │   defcallback exec_shell(prog :: binary, opts :: Keyword.t)46    │   ~47    │48    └─ lib/porcelain/drivers/driver_common.ex:7:3: Porcelain.Driver.Common (module)4950    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead51    │52  8 │   defcallback spawn(prog :: binary, args :: [binary], opts :: Keyword.t)53    │   ~54    │55    └─ lib/porcelain/drivers/driver_common.ex:8:3: Porcelain.Driver.Common (module)5657    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead58    │59  9 │   defcallback spawn_shell(prog :: binary, opts :: Keyword.t)60    │   ~61    │62    └─ lib/porcelain/drivers/driver_common.ex:9:3: Porcelain.Driver.Common (module)6364    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead65    │66 11 │   defcallback feed_input(port :: port, input :: iodata)67    │   ~68    │69    └─ lib/porcelain/drivers/driver_common.ex:11:3: Porcelain.Driver.Common (module)7071    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead72    │73 12 │   defcallback process_data(data :: binary, output :: any, error :: any)74    │   ~75    │76    └─ lib/porcelain/drivers/driver_common.ex:12:3: Porcelain.Driver.Common (module)7778    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead79    │80 13 │   defcallback send_signal(port :: port, signal :: Porcelain.Process.signal)81    │   ~82    │83    └─ lib/porcelain/drivers/driver_common.ex:13:3: Porcelain.Driver.Common (module)8485    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead86    │87 14 │   defcallback stop_process(port :: port) :: integer88    │   ~89    │90    └─ lib/porcelain/drivers/driver_common.ex:14:3: Porcelain.Driver.Common (module)9192warning: the Behaviour module is deprecated. Instead of using this module, use the @callback and @macrocallback module attributes. See the documentation for Module for more information on these attributes93  lib/porcelain/drivers/driver_common.ex:4: (module)94  (elixir 1.20.3) src/elixir_compiler.erl:102: :elixir_compiler.dispatch/495  (elixir 1.20.3) src/elixir_compiler.erl:76: :elixir_compiler.compile/496  (elixir 1.20.3) src/elixir_module.erl:491: :elixir_module.eval_form/797  (elixir 1.20.3) src/elixir_module.erl:164: :elixir_module.compile/798  (elixir 1.20.3) src/elixir_compiler.erl:41: :elixir_compiler.optimize_defmodule/299100     warning: variable "result" is unused (there is a variable with the same name in the context, use the pin operator (^) to match on it or prefix this variable with underscore if it is not meant to be used)101     │102 165 │     result = if opt == :discard, do: result = nil, else: result103     │                                      ~104     │105     └─ lib/porcelain/drivers/driver_common.ex:165:38: Porcelain.Driver.Common.send_result/4106107    warning: function init/1 required by behaviour GenServer is not implemented (in module Porcelain.Driver.Common.StreamServer).108109    We will inject a default implementation for now:110111        def init(init_arg) do112          {:ok, init_arg}113        end114115    You can copy the implementation above or define your own that converts the arguments given to GenServer.start_link/3 to the server state.116117    │118  1 │ defmodule Porcelain.Driver.Common.StreamServer do119    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~120    │121    └─ lib/porcelain/drivers/stream_server.ex:1: Porcelain.Driver.Common.StreamServer (module)122123    warning: using single-quoted strings to represent charlists is deprecated.124    Use ~c"" if you indeed want a charlist or use "" instead.125    You may run "mix format --migrate" to change all single-quoted126    strings to use the ~c sigil and fix this warning.127    │128 72 │         set_env(:shell_command, {'sh', ["-c"]})129    │                                  ~130    │131    └─ lib/porcelain/init.ex:72:34132133    warning: using single-quoted strings to represent charlists is deprecated.134    Use ~c"" if you indeed want a charlist or use "" instead.135    You may run "mix format --migrate" to change all single-quoted136    strings to use the ~c sigil and fix this warning.137    │138 76 │           {nil, :windows} -> 'command.com'139    │                              ~140    │141    └─ lib/porcelain/init.ex:76:30142143    warning: using single-quoted strings to represent charlists is deprecated.144    Use ~c"" if you indeed want a charlist or use "" instead.145    You may run "mix format --migrate" to change all single-quoted146    strings to use the ~c sigil and fix this warning.147    │148 77 │           {nil, _}        -> 'cmd'149    │                              ~150    │151    └─ lib/porcelain/init.ex:77:30152153     warning: using single-quoted strings to represent charlists is deprecated.154     Use ~c"" if you indeed want a charlist or use "" instead.155     You may run "mix format --migrate" to change all single-quoted156     strings to use the ~c sigil and fix this warning.157     │158 106 │       exe=:os.find_executable('goon') ->159     │                               ~160     │161     └─ lib/porcelain/init.ex:106:31162163    warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead164    │165 37 │             Logger.warn ["[Porcelain]: ", error_string(other)]166    │                    ~167    │168    └─ lib/porcelain/init.ex:37:20: Porcelain.Init.init/1169170    warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead171    │172 38 │             Logger.warn "[Porcelain]: falling back to the basic driver."173    │                    ~174    │175    └─ lib/porcelain/init.ex:38:20: Porcelain.Init.init/1176177    warning: String.to_char_list/1 is deprecated. Use String.to_charlist/1 instead178    │179 78 │           {cmd, _}        -> String.to_char_list(cmd)180    │                                     ~181    │182    └─ lib/porcelain/init.ex:78:37: Porcelain.Init.init_shell/0183184     warning: String.to_char_list/1 is deprecated. Use String.to_charlist/1 instead185     │186 405 │     do: String.to_char_list(name)187     │                ~188     │189     └─ lib/porcelain.ex:405:16: Porcelain.convert_env_name/1190     └─ lib/porcelain.ex:412:41: Porcelain.convert_env_val/1191192     warning: Atom.to_char_list/1 is deprecated. Use Atom.to_charlist/1 instead193     │194 408 │     do: Atom.to_char_list(name)195     │              ~196     │197     └─ lib/porcelain.ex:408:14: Porcelain.convert_env_name/1198199Generated porcelain app200==> ocv_photo_analyzer201cc -c -I/usr/local/lib/erlang/usr/include -I -I"/usr/local/include/" -o src/main.o src/main.cpp202src/main.cpp:2:10: fatal error: opencv2/highgui.hpp: No such file or directory203    2 | #include "opencv2/highgui.hpp"204      |          ^~~~~~~~~~~~~~~~~~~~~205compilation terminated.206make: *** [Makefile:70: src/main.o] Error 1207could not compile dependency :ocv_photo_analyzer, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ocv_photo_analyzer --force", update it with "mix deps.update ocv_photo_analyzer" or clean it with "mix deps.clean ocv_photo_analyzer"208==> nerves_compatibility_test209** (Mix) Could not compile with "make" (exit status: 2).210You need to have gcc and make installed. If you are using211Ubuntu or any other Debian-based system, install the packages212"build-essential". Also install "erlang-dev" package if not213included in your Erlang/OTP version. If you're on Fedora, run214"dnf group install 'Development Tools'".215