evision

Build log

nerves_system_trellis

evision 1.0.1-rc.0 · fail · run evision-1.0.1-rc.0-1790904593585
429 of 429 lines
1Resolving Hex dependencies...2Resolution completed in 0.359s3Unchanged:4  castore 1.0.215  circular_buffer 1.1.06  complex 0.7.07  elixir_make 0.10.08  evision 1.0.1-rc.09  interactive_cmd 0.1.410  jason 1.4.511  nerves 1.15.012  nerves_discovery 0.1.513  nerves_logging 0.2.414  nerves_runtime 0.13.1315  nerves_system_br 1.34.416  nerves_system_mangopi_mq_pro 0.17.217  nerves_system_rpi4 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_armv7_nerves_linux_gnueabihf 15.3.122  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.123  nerves_toolchain_x86_64_nerves_linux_musl 15.3.124  nerves_uevent 0.1.725  nx 0.12.126  property_table 0.3.427  ring_logger 0.11.728  shoehorn 0.9.329  tablet 0.3.330  telemetry 1.4.231  toolshed 0.5.032  uboot_env 1.0.233* Getting evision (Hex package)34* Getting nerves (Hex package)35* Getting shoehorn (Hex package)36* Getting ring_logger (Hex package)37* Getting toolshed (Hex package)38* Getting nerves_runtime (Hex package)39* Getting nerves_system_mangopi_mq_pro (Hex package)40* Getting nerves_system_rpi4 (Hex package)41* Getting nerves_system_trellis (Hex package)42* Getting nerves_system_x86_64 (Hex package)43* Getting nerves_system_br (Hex package)44* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)45* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)46* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)47* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)48* Getting nerves_logging (Hex package)49* Getting nerves_uevent (Hex package)50* Getting uboot_env (Hex package)51* Getting elixir_make (Hex package)52* Getting property_table (Hex package)53* Getting circular_buffer (Hex package)54* Getting interactive_cmd (Hex package)55* Getting jason (Hex package)56* Getting nerves_discovery (Hex package)57* Getting tablet (Hex package)58* Getting castore (Hex package)59* Getting nx (Hex package)60* Getting complex (Hex package)61* Getting telemetry (Hex package)62==> jason63Compiling 10 files (.ex)64Generated jason app65==> tablet66Compiling 2 files (.ex)67Generated tablet app68==> elixir_make69Compiling 8 files (.ex)70Generated elixir_make app71==> nerves_discovery72Compiling 5 files (.ex)73Generated nerves_discovery app74==> interactive_cmd75Compiling 1 file (.ex)76Generated interactive_cmd app77==> nerves78HOST_CC port.o79HOST_LD port80Compiling 55 files (.ex)81Generated nerves app82==> nerves_compatibility_test8384Nerves environment85  MIX_TARGET:   trellis86  MIX_ENV:      prod8788Checking for prebuilt Nerves artifacts...89  Found nerves_system_trellis in cache90    /home/nerves/.nerves/artifacts/nerves_system_trellis-portable-0.5.091  Found nerves_toolchain_armv7_nerves_linux_gnueabihf in cache92    /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.193==> jason94Compiling 10 files (.ex)95Generated jason app96==> tablet97Compiling 2 files (.ex)98Generated tablet app99==> elixir_make100Compiling 8 files (.ex)101Generated elixir_make app102==> nerves_discovery103Compiling 5 files (.ex)104Generated nerves_discovery app105==> interactive_cmd106Compiling 1 file (.ex)107Generated interactive_cmd app108==> nerves109HOST_CC port.o110HOST_LD port111Compiling 55 files (.ex)112Generated nerves app113==> nerves_system_br114Generated nerves_system_br app115==> nerves_toolchain_armv7_nerves_linux_gnueabihf116Compiling 1 file (.ex)117Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app118==> nerves_system_trellis119Generated nerves_system_trellis app120==> nerves_compatibility_test121122Nerves environment123  MIX_TARGET:   trellis124  MIX_ENV:      prod125126==> circular_buffer127Compiling 1 file (.ex)128Generated circular_buffer app129==> complex130Compiling 2 files (.ex)131     warning: the following clause is redundant:132133         def divide(n, b) when is_number(n) and (b === :infinity or b === :neg_infinity)134135     it has type:136137         dynamic(float() or integer()), dynamic(:infinity or :neg_infinity)138139     previous clauses have already matched on the following types:140141         :infinity or :nan or :neg_infinity, :infinity or :nan or :neg_infinity142         :nan, float() or integer()143         float() or integer(), :nan144         float() or integer(), :infinity145         float() or integer(), :neg_infinity146         float() or integer(), float() or integer()147148     │149 590 │   def divide(n, b) when is_number(n) and b in [:infinity, :neg_infinity] do150     │       ~151     │152     └─ lib/complex.ex:590:7: Complex.divide/2153154      warning: the following clause is redundant:155156          def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0157158      it has type:159160          dynamic(%Complex{re: float() or integer(), im: float() or integer()}), :neg_infinity161162      previous clauses have already matched on the following types:163164          :infinity or :nan or :neg_infinity, %Complex{}165          %Complex{}, :infinity or :nan or :neg_infinity166          %Complex{re: :infinity or :nan or :neg_infinity}, term()167          %Complex{im: :infinity or :nan or :neg_infinity}, term()168          term(), %Complex{re: :infinity or :nan or :neg_infinity}169          term(), %Complex{im: :infinity or :nan or :neg_infinity}170          :nan, term()171          term(), :nan172173      │174 1143 │   def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0, do: new(:infinity, 0)175      │       ~176      │177      └─ lib/complex.ex:1143:7: Complex.pow/2178179      warning: the following clause is redundant:180181          def atan2(:nan, :nan)182183      it has type:184185          :nan, :nan186187      previous clauses have already matched on the following types:188189          float() or integer(), float() or integer()190          :infinity, :infinity191          :infinity, :neg_infinity192          :infinity, :nan193          :infinity, float() or integer()194          :neg_infinity, :infinity195          :neg_infinity, :neg_infinity196          :neg_infinity, :nan197          :neg_infinity, float() or integer()198          :nan, :infinity or :nan or :neg_infinity or float() or integer()199          :infinity or :nan or :neg_infinity or float() or integer(), :nan200201      │202 1458 │   def atan2(:nan, :nan), do: :nan203      │       ~204      │205      └─ lib/complex.ex:1458:7: Complex.atan2/2206207Generated complex app208==> nerves_logging209 CC kmsg_tailer.o210 LD kmsg_tailer211Compiling 5 files (.ex)212Generated nerves_logging app213==> castore214Compiling 1 file (.ex)215Generated castore app216==> ring_logger217Compiling 7 files (.ex)218Generated ring_logger app219==> shoehorn220Compiling 8 files (.ex)221Generated shoehorn app222==> nerves_compatibility_test223===> Analyzing applications...224===> Compiling telemetry225==> nx226Compiling 42 files (.ex)227Compiling lib/nx/binary_backend.ex (it's taking more than 10s)228      warning: the following conditional expression will always succeed:229230          is_float(split)231232      because it evaluates to:233234          dynamic(true)235236      where "split" was given the types:237238          # type: dynamic(float() or integer())239          # from: lib/nx.ex:3608:43240          split * axis_size241242          # type: float()243          # from: lib/nx.ex:3618:9244          is_integer(split)245246      type warning found at:247      │248 3622 │         is_float(split) and float_split_index > 0 and float_split_index < axis_size ->249      │         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~250      │251      └─ lib/nx.ex:3622: Nx.split/3252253      warning: this clause in cond will always match:254255          is_float(split)256257      since it has type:258259          dynamic(true)260261      where "split" was given the types:262263          # type: dynamic(float() or integer())264          # from: lib/nx.ex:3608:43265          split * axis_size266267          # type: float()268          # from: lib/nx.ex:3618:9269          is_integer(split)270271      type warning found at:272      │273 3625 │         is_float(split) ->274      │                         ~275      │276      └─ lib/nx.ex:3625:25: Nx.split/3277278      warning: incompatible types given to Kernel.trunc/1:279280          trunc(x)281282      given types:283284          -dynamic(%Complex{285            re: :infinity or :nan or :neg_infinity or float(),286            im: :infinity or :nan or :neg_infinity or float()287          })-288289      but expected one of:290291          float() or integer()292293      where "x" was given the type:294295          # type: dynamic(%Complex{296            re: :infinity or :nan or :neg_infinity or float(),297            im: :infinity or :nan or :neg_infinity or float()298          })299          # from: lib/nx/binary_backend.ex:2080:17300          x =301            Nx.Shared.read_complex(302              x,303              arg1304            )305306      type warning found at:307      │308 2093 │                   number_to_binary(trunc(x), output_type)309      │                                    ~310      │311      └─ lib/nx/binary_backend.ex:2093:36: Nx.BinaryBackend.as_type/2312313      warning: comparison with structs found:314315          a >= b316317      given types:318319          dynamic(320            %Complex{321              re: :infinity or :nan or :neg_infinity or float(),322              im: :infinity or :nan or :neg_infinity or float()323            } or float() or integer()324          ) >=325            dynamic(326              %Complex{327                re: :infinity or :nan or :neg_infinity or float(),328                im: :infinity or :nan or :neg_infinity or float()329              } or float() or integer()330            )331332      where "a" was given the type:333334          # type: dynamic(335            %Complex{336              re: :infinity or :nan or :neg_infinity or float(),337              im: :infinity or :nan or :neg_infinity or float()338            } or float() or integer()339          )340          # from: lib/nx/binary_backend.ex341          {a, b}342343      where "b" was given the type:344345          # type: dynamic(346            %Complex{347              re: :infinity or :nan or :neg_infinity or float(),348              im: :infinity or :nan or :neg_infinity or float()349            } or float() or integer()350          )351          # from: lib/nx/binary_backend.ex352          {a, b}353354      Comparison operators (>, <, >=, <=, min, and max) perform structural and not semantic comparison. Comparing with a struct won't give meaningful results. Structs that can be compared typically define a compare/2 function within their modules that can be used for semantic comparison.355356      type warning found at:357      │358 2138 │               {a, b} -> a >= b359      │                           ~360      │361      └─ lib/nx/binary_backend.ex:2138:27: Nx.BinaryBackend.do_sort/4362363      warning: comparison with structs found:364365          a <= b366367      given types:368369          dynamic(370            %Complex{371              re: :infinity or :nan or :neg_infinity or float(),372              im: :infinity or :nan or :neg_infinity or float()373            } or float() or integer()374          ) <=375            dynamic(376              %Complex{377                re: :infinity or :nan or :neg_infinity or float(),378                im: :infinity or :nan or :neg_infinity or float()379              } or float() or integer()380            )381382      where "a" was given the type:383384          # type: dynamic(385            %Complex{386              re: :infinity or :nan or :neg_infinity or float(),387              im: :infinity or :nan or :neg_infinity or float()388            } or float() or integer()389          )390          # from: lib/nx/binary_backend.ex391          {a, b}392393      where "b" was given the type:394395          # type: dynamic(396            %Complex{397              re: :infinity or :nan or :neg_infinity or float(),398              im: :infinity or :nan or :neg_infinity or float()399            } or float() or integer()400          )401          # from: lib/nx/binary_backend.ex402          {a, b}403404      Comparison operators (>, <, >=, <=, min, and max) perform structural and not semantic comparison. Comparing with a struct won't give meaningful results. Structs that can be compared typically define a compare/2 function within their modules that can be used for semantic comparison.405406      type warning found at:407      │408 2152 │               {a, b} -> a <= b409      │                           ~410      │411      └─ lib/nx/binary_backend.ex:2152:27: Nx.BinaryBackend.do_sort/4412413Generated nx app414==> evision415using opencv_contrib 5.0.0416Downloading OpenCV contrib 5.0.0...417/bin/sh: 1: cd: can't cd to /work/proj/_build/trellis/lib/evision/cmake_opencv_5.0.0418make: *** [Makefile:238: /work/proj/_build/trellis/lib/evision/priv/lib/cmake/opencv5/OpenCVConfig.cmake] Error 2419make: *** Waiting for unfinished jobs....420Unzipping OpenCV contrib 5.0.0...421could not compile dependency :evision, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile evision --force", update it with "mix deps.update evision" or clean it with "mix deps.clean evision"422==> nerves_compatibility_test423** (Mix) Could not compile with "make" (exit status: 2).424You need to have gcc and make installed. If you are using425Ubuntu or any other Debian-based system, install the packages426"build-essential". Also install "erlang-dev" package if not427included in your Erlang/OTP version. If you're on Fedora, run428"dnf group install 'Development Tools'".429