ocv_photo_analyzer

Build log

nerves_system_rpi4

ocv_photo_analyzer 1.0.1 · fail · run ocv_photo_analyzer-1.0.1-1791023068462
426 of 426 lines
1Resolving Hex dependencies...2Resolution completed in 0.184s3Unchanged: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.233* Getting ocv_photo_analyzer (Hex package)34* Getting nerves (Hex package)35* Getting ring_logger (Hex package)36* Getting toolshed (Hex package)37* Getting nerves_runtime (Hex package)38* Getting nerves_system_bbb (Hex package)39* Getting nerves_system_mangopi_mq_pro (Hex package)40* Getting nerves_system_qemu_aarch64 (Hex package)41* Getting nerves_system_rpi0 (Hex package)42* Getting nerves_system_rpi4 (Hex package)43* Getting nerves_system_rpi5 (Hex package)44* Getting nerves_system_trellis (Hex package)45* Getting nerves_system_x86_64 (Hex package)46* Getting nerves_system_br (Hex package)47* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)48* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)49* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)50* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)51* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)52* Getting nerves_logging (Hex package)53* Getting nerves_uevent (Hex package)54* Getting uboot_env (Hex package)55* Getting elixir_make (Hex package)56* Getting property_table (Hex package)57* Getting circular_buffer (Hex package)58* Getting interactive_cmd (Hex package)59* Getting nerves_discovery (Hex package)60* Getting tablet (Hex package)61* Getting porcelain (Hex package)62==> nerves_system_br63Generated nerves_system_br app64==> circular_buffer65Compiling 1 file (.ex)66Generated circular_buffer app67==> porcelain68Compiling 9 files (.ex)69    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead70    │71  6 │   defcallback exec(prog :: binary, args :: [binary], opts :: Keyword.t)72    │   ~73    │74    └─ lib/porcelain/drivers/driver_common.ex:6:3: Porcelain.Driver.Common (module)7576    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead77    │78  7 │   defcallback exec_shell(prog :: binary, opts :: Keyword.t)79    │   ~80    │81    └─ lib/porcelain/drivers/driver_common.ex:7:3: Porcelain.Driver.Common (module)8283    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead84    │85  8 │   defcallback spawn(prog :: binary, args :: [binary], opts :: Keyword.t)86    │   ~87    │88    └─ lib/porcelain/drivers/driver_common.ex:8:3: Porcelain.Driver.Common (module)8990    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead91    │92  9 │   defcallback spawn_shell(prog :: binary, opts :: Keyword.t)93    │   ~94    │95    └─ lib/porcelain/drivers/driver_common.ex:9:3: Porcelain.Driver.Common (module)9697    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead98    │99 11 │   defcallback feed_input(port :: port, input :: iodata)100    │   ~101    │102    └─ lib/porcelain/drivers/driver_common.ex:11:3: Porcelain.Driver.Common (module)103104    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead105    │106 12 │   defcallback process_data(data :: binary, output :: any, error :: any)107    │   ~108    │109    └─ lib/porcelain/drivers/driver_common.ex:12:3: Porcelain.Driver.Common (module)110111    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead112    │113 13 │   defcallback send_signal(port :: port, signal :: Porcelain.Process.signal)114    │   ~115    │116    └─ lib/porcelain/drivers/driver_common.ex:13:3: Porcelain.Driver.Common (module)117118    warning: Behaviour.defcallback/1 is deprecated. Use the @callback module attribute instead119    │120 14 │   defcallback stop_process(port :: port) :: integer121    │   ~122    │123    └─ lib/porcelain/drivers/driver_common.ex:14:3: Porcelain.Driver.Common (module)124125warning: 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 attributes126  lib/porcelain/drivers/driver_common.ex:4: (module)127  (elixir 1.20.3) src/elixir_compiler.erl:102: :elixir_compiler.dispatch/4128  (elixir 1.20.3) src/elixir_compiler.erl:76: :elixir_compiler.compile/4129  (elixir 1.20.3) src/elixir_module.erl:491: :elixir_module.eval_form/7130  (elixir 1.20.3) src/elixir_module.erl:164: :elixir_module.compile/7131  (elixir 1.20.3) src/elixir_compiler.erl:41: :elixir_compiler.optimize_defmodule/2132133     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)134     │135 165 │     result = if opt == :discard, do: result = nil, else: result136     │                                      ~137     │138     └─ lib/porcelain/drivers/driver_common.ex:165:38: Porcelain.Driver.Common.send_result/4139140    warning: function init/1 required by behaviour GenServer is not implemented (in module Porcelain.Driver.Common.StreamServer).141142    We will inject a default implementation for now:143144        def init(init_arg) do145          {:ok, init_arg}146        end147148    You can copy the implementation above or define your own that converts the arguments given to GenServer.start_link/3 to the server state.149150    │151  1 │ defmodule Porcelain.Driver.Common.StreamServer do152    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~153    │154    └─ lib/porcelain/drivers/stream_server.ex:1: Porcelain.Driver.Common.StreamServer (module)155156    warning: using single-quoted strings to represent charlists is deprecated.157    Use ~c"" if you indeed want a charlist or use "" instead.158    You may run "mix format --migrate" to change all single-quoted159    strings to use the ~c sigil and fix this warning.160    │161 72 │         set_env(:shell_command, {'sh', ["-c"]})162    │                                  ~163    │164    └─ lib/porcelain/init.ex:72:34165166    warning: using single-quoted strings to represent charlists is deprecated.167    Use ~c"" if you indeed want a charlist or use "" instead.168    You may run "mix format --migrate" to change all single-quoted169    strings to use the ~c sigil and fix this warning.170    │171 76 │           {nil, :windows} -> 'command.com'172    │                              ~173    │174    └─ lib/porcelain/init.ex:76:30175176    warning: using single-quoted strings to represent charlists is deprecated.177    Use ~c"" if you indeed want a charlist or use "" instead.178    You may run "mix format --migrate" to change all single-quoted179    strings to use the ~c sigil and fix this warning.180    │181 77 │           {nil, _}        -> 'cmd'182    │                              ~183    │184    └─ lib/porcelain/init.ex:77:30185186     warning: using single-quoted strings to represent charlists is deprecated.187     Use ~c"" if you indeed want a charlist or use "" instead.188     You may run "mix format --migrate" to change all single-quoted189     strings to use the ~c sigil and fix this warning.190     │191 106 │       exe=:os.find_executable('goon') ->192     │                               ~193     │194     └─ lib/porcelain/init.ex:106:31195196    warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead197    │198 37 │             Logger.warn ["[Porcelain]: ", error_string(other)]199    │                    ~200    │201    └─ lib/porcelain/init.ex:37:20: Porcelain.Init.init/1202203    warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead204    │205 38 │             Logger.warn "[Porcelain]: falling back to the basic driver."206    │                    ~207    │208    └─ lib/porcelain/init.ex:38:20: Porcelain.Init.init/1209210    warning: String.to_char_list/1 is deprecated. Use String.to_charlist/1 instead211    │212 78 │           {cmd, _}        -> String.to_char_list(cmd)213    │                                     ~214    │215    └─ lib/porcelain/init.ex:78:37: Porcelain.Init.init_shell/0216217     warning: String.to_char_list/1 is deprecated. Use String.to_charlist/1 instead218     │219 405 │     do: String.to_char_list(name)220     │                ~221     │222     └─ lib/porcelain.ex:405:16: Porcelain.convert_env_name/1223     └─ lib/porcelain.ex:412:41: Porcelain.convert_env_val/1224225     warning: Atom.to_char_list/1 is deprecated. Use Atom.to_charlist/1 instead226     │227 408 │     do: Atom.to_char_list(name)228     │              ~229     │230     └─ lib/porcelain.ex:408:14: Porcelain.convert_env_name/1231232Generated porcelain app233==> tablet234Compiling 2 files (.ex)235Generated tablet app236==> elixir_make237Compiling 8 files (.ex)238Generated elixir_make app239==> nerves_logging240 CC kmsg_tailer.o241 LD kmsg_tailer242Compiling 5 files (.ex)243Generated nerves_logging app244==> nerves_discovery245Compiling 5 files (.ex)246Generated nerves_discovery app247==> ring_logger248Compiling 7 files (.ex)249Generated ring_logger app250==> interactive_cmd251Compiling 1 file (.ex)252Generated interactive_cmd app253==> nerves254Compiling 65 files (.ex)255    warning: redefining module Mix.Tasks.Nerves.Init (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Mix.Tasks.Nerves.Init.beam)256    │257  6 │ defmodule Mix.Tasks.Nerves.Init do258    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~259    │260    └─ lib/mix/tasks/nerves.init.ex:6: Mix.Tasks.Nerves.Init (module)261262    warning: redefining module Nerves (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.beam)263    │264  6 │ defmodule Nerves do265    │ ~~~~~~~~~~~~~~~~~~~266    │267    └─ lib/nerves.ex:6: Nerves (module)268269    warning: redefining module Nerves.ArtifactResolver (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.ArtifactResolver.beam)270    │271  5 │ defmodule Nerves.ArtifactResolver do272    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~273    │274    └─ lib/nerves/artifact_resolver.ex:5: Nerves.ArtifactResolver (module)275276    warning: redefining module Nerves.BuildAction.AppModes (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.AppModes.beam)277    │278  6 │ defmodule Nerves.BuildAction.AppModes do279    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~280    │281    └─ lib/nerves/build_action/app_modes.ex:6: Nerves.BuildAction.AppModes (module)282283    warning: redefining module Nerves.BuildAction.CheckExecutables (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.CheckExecutables.beam)284    │285  5 │ defmodule Nerves.BuildAction.CheckExecutables do286    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~287    │288    └─ lib/nerves/build_action/check_executables.ex:5: Nerves.BuildAction.CheckExecutables (module)289290    warning: redefining module Nerves.BuildAction.Erlinit (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.Erlinit.beam)291    │292  8 │ defmodule Nerves.BuildAction.Erlinit do293    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~294    │295    └─ lib/nerves/build_action/erlinit.ex:8: Nerves.BuildAction.Erlinit (module)296297    warning: redefining module Nerves.BuildAction.Firmware (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.Firmware.beam)298    │299  5 │ defmodule Nerves.BuildAction.Firmware do300    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~301    │302    └─ lib/nerves/build_action/firmware.ex:5: Nerves.BuildAction.Firmware (module)303304    warning: redefining module Nerves.BuildAction.IExStartupCheck (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.IExStartupCheck.beam)305    │306  7 │ defmodule Nerves.BuildAction.IExStartupCheck do307    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~308    │309    └─ lib/nerves/build_action/iex_startup_check.ex:7: Nerves.BuildAction.IExStartupCheck (module)310311    warning: redefining module Nerves.BuildAction.NervesV1System (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1System.beam)312    │313  5 │ defmodule Nerves.BuildAction.NervesV1System do314    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~315    │316    └─ lib/nerves/build_action/nerves_v1_system.ex:5: Nerves.BuildAction.NervesV1System (module)317318    warning: redefining module Nerves.BuildAction.NervesV1Toolchain (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1Toolchain.beam)319    │320  5 │ defmodule Nerves.BuildAction.NervesV1Toolchain do321    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~322    │323    └─ lib/nerves/build_action/nerves_v1_toolchain.ex:5: Nerves.BuildAction.NervesV1Toolchain (module)324325    warning: redefining module Nerves.BuildAction.Rootfs (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.Rootfs.beam)326    │327  5 │ defmodule Nerves.BuildAction.Rootfs do328    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~329    │330    └─ lib/nerves/build_action/rootfs.ex:5: Nerves.BuildAction.Rootfs (module)331332    warning: redefining module Nerves.BuildAction.SortApps (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.SortApps.beam)333    │334  6 │ defmodule Nerves.BuildAction.SortApps do335    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~336    │337    └─ lib/nerves/build_action/sort_apps.ex:6: Nerves.BuildAction.SortApps (module)338339    warning: redefining module Nerves.BuildAction.StripAll (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.StripAll.beam)340    │341  5 │ defmodule Nerves.BuildAction.StripAll do342    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~343    │344    └─ lib/nerves/build_action/strip_all.ex:5: Nerves.BuildAction.StripAll (module)345346    warning: redefining module Nerves.BuildAction.Trimmer (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildAction.Trimmer.beam)347    │348  5 │ defmodule Nerves.BuildAction.Trimmer do349    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~350    │351    └─ lib/nerves/build_action/trimmer.ex:5: Nerves.BuildAction.Trimmer (module)352353    warning: redefining module Nerves.BuildPlan (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildPlan.beam)354    │355  5 │ defmodule Nerves.BuildPlan do356    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~357    │358    └─ lib/nerves/build_plan.ex:5: Nerves.BuildPlan (module)359360    warning: redefining module Nerves.BuildPlan.Checks (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.BuildPlan.Checks.beam)361    │362  5 │ defmodule Nerves.BuildPlan.Checks do363    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~364    │365    └─ lib/nerves/build_plan/checks.ex:5: Nerves.BuildPlan.Checks (module)366367    warning: redefining module Nerves.Container (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.Container.beam)368    │369  6 │ defmodule Nerves.Container do370    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~371    │372    └─ lib/nerves/container.ex:6: Nerves.Container (module)373374    warning: redefining module Nerves.Fingerprint (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.Fingerprint.beam)375    │376  5 │ defmodule Nerves.Fingerprint do377    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~378    │379    └─ lib/nerves/fingerprint.ex:5: Nerves.Fingerprint (module)380381    warning: redefining module Nerves.MixPackage (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.MixPackage.beam)382    │383  5 │ defmodule Nerves.MixPackage do384    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~385    │386    └─ lib/nerves/mix_package.ex:5: Nerves.MixPackage (module)387388    warning: redefining module Nerves.Paths (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.Paths.beam)389    │390  5 │ defmodule Nerves.Paths do391    │ ~~~~~~~~~~~~~~~~~~~~~~~~~392    │393    └─ lib/nerves/paths.ex:5: Nerves.Paths (module)394395    warning: redefining module Nerves.TargetTuple (current version loaded from /work/proj/_build/rpi4/lib/nerves/ebin/Elixir.Nerves.TargetTuple.beam)396    │397  5 │ defmodule Nerves.TargetTuple do398    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~399    │400    └─ lib/nerves/target_tuple.ex:5: Nerves.TargetTuple (module)401402Generated nerves app403==> nerves_toolchain_aarch64_nerves_linux_gnu404Compiling 1 file (.ex)405Generated nerves_toolchain_aarch64_nerves_linux_gnu app406==> nerves_system_rpi4407Generated nerves_system_rpi4 app408==> uboot_env409Compiling 5 files (.ex)410Generated uboot_env app411==> ocv_photo_analyzer412/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -c -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include -I -I"/usr/local/include/" -o src/main.o src/main.cpp413src/main.cpp:2:10: fatal error: opencv2/highgui.hpp: No such file or directory414    2 | #include "opencv2/highgui.hpp"415      |          ^~~~~~~~~~~~~~~~~~~~~416compilation terminated.417make: *** [Makefile:70: src/main.o] Error 1418could 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"419==> nerves_compatibility_test420** (Mix) Could not compile with "make" (exit status: 2).421You need to have gcc and make installed. If you are using422Ubuntu or any other Debian-based system, install the packages423"build-essential". Also install "erlang-dev" package if not424included in your Erlang/OTP version. If you're on Fedora, run425"dnf group install 'Development Tools'".426