ex_memvid

Build log

nerves_system_x86_64

ex_memvid 0.1.2 · fail · run ex_memvid-0.1.2-1791257685385
606 of 606 lines
1Resolving Hex dependencies...2Resolution completed in 0.269s3Unchanged:4  axon 0.8.15  bumblebee 0.7.16  castore 1.0.217  cc_precompiler 0.1.118  circular_buffer 1.1.09  complex 0.7.010  elixir_make 0.10.011  evision 0.2.1712  ex_maybe 1.1.113  ex_memvid 0.1.214  gen_state_machine 3.0.015  hnswlib 0.1.1016  interactive_cmd 0.1.417  jason 1.4.518  matrix_reloaded 2.3.019  nerves 2.0.0-pre.220  nerves_discovery 0.1.521  nerves_logging 0.2.422  nerves_runtime 0.13.1323  nerves_system_bbb 2.30.224  nerves_system_br 1.34.425  nerves_system_mangopi_mq_pro 0.17.226  nerves_system_qemu_aarch64 0.4.227  nerves_system_rpi0 2.1.228  nerves_system_rpi4 2.1.229  nerves_system_rpi5 2.1.230  nerves_system_trellis 0.5.031  nerves_system_x86_64 1.34.232  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.133  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.134  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.135  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.136  nerves_toolchain_x86_64_nerves_linux_musl 15.3.137  nerves_uevent 0.1.738  nimble_options 1.1.139  nx 0.13.140  nx_image 0.1.241  nx_signal 0.2.042  pngex 0.1.243  polaris 0.2.044  property_table 0.3.445  qr_code 3.2.046  qrex 0.1.047  result 1.7.248  ring_logger 0.11.749  rustler_precompiled 0.10.050  safetensors 0.1.351  tablet 0.3.352  telemetry 1.4.253  text_chunker 0.7.054  tokenizers 0.5.155  toolshed 0.5.056  uboot_env 1.0.257  unpickler 0.1.058  unzip 0.13.059  xav 0.12.060  xml_builder 2.4.161* Getting ex_memvid (Hex package)62* Getting nerves (Hex package)63* Getting ring_logger (Hex package)64* Getting toolshed (Hex package)65* Getting nerves_runtime (Hex package)66* Getting nerves_system_bbb (Hex package)67* Getting nerves_system_mangopi_mq_pro (Hex package)68* Getting nerves_system_qemu_aarch64 (Hex package)69* Getting nerves_system_rpi0 (Hex package)70* Getting nerves_system_rpi4 (Hex package)71* Getting nerves_system_rpi5 (Hex package)72* Getting nerves_system_trellis (Hex package)73* Getting nerves_system_x86_64 (Hex package)74* Getting nerves_system_br (Hex package)75* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)76* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)77* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)78* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)79* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)80* Getting nerves_logging (Hex package)81* Getting nerves_uevent (Hex package)82* Getting uboot_env (Hex package)83* Getting elixir_make (Hex package)84* Getting property_table (Hex package)85* Getting circular_buffer (Hex package)86* Getting interactive_cmd (Hex package)87* Getting nerves_discovery (Hex package)88* Getting tablet (Hex package)89* Getting bumblebee (Hex package)90* Getting evision (Hex package)91* Getting gen_state_machine (Hex package)92* Getting hnswlib (Hex package)93* Getting nimble_options (Hex package)94* Getting nx (Hex package)95* Getting qr_code (Hex package)96* Getting qrex (Hex package)97* Getting text_chunker (Hex package)98* Getting xav (Hex package)99* Getting rustler_precompiled (Hex package)100* Getting ex_maybe (Hex package)101* Getting matrix_reloaded (Hex package)102* Getting pngex (Hex package)103* Getting result (Hex package)104* Getting xml_builder (Hex package)105* Getting complex (Hex package)106* Getting telemetry (Hex package)107* Getting cc_precompiler (Hex package)108* Getting castore (Hex package)109* Getting axon (Hex package)110* Getting jason (Hex package)111* Getting nx_image (Hex package)112* Getting nx_signal (Hex package)113* Getting safetensors (Hex package)114* Getting tokenizers (Hex package)115* Getting unpickler (Hex package)116* Getting unzip (Hex package)117* Getting polaris (Hex package)118     warning: the following conditional expression:119120         needs_unarchive121122     will always evaluate to:123124         dynamic(true)125126     where "needs_unarchive" was given the type:127128         # type: dynamic(true)129         # from: mix.exs:760:45130         {needs_download, needs_unarchive} =131           if File.exists?(cache_file) do132             if File.regular?(cache_file) do133               {:ok, algo, cache_file_checksum} = checksum(cache_file)134         135               case Logger.__should_log__(:info, Mix.Tasks.Compile.EvisionPrecompiled) do136                 ...137               end138         139               {checksum_matched?, algo_in_map, checksum_in_map} =140                 verify_checksum(cache_file, algo, cache_file_checksum)141         142               if checksum_matched? do143                 {false, true}144               else145                 case Logger.__should_log__(:error, Mix.Tasks.Compile.EvisionPrecompiled) do146                   ...147                 end148         149                 case Logger.__should_log__(:warning, Mix.Tasks.Compile.EvisionPrecompiled) do150                   ...151                 end152         153                 {true, true}154               end155             else156               File.rm_rf!(cache_file)157         158               case Logger.__should_log__(:warning, Mix.Tasks.Compile.EvisionPrecompiled) do159                 ...160               end161         162               {true, true}163             end164           else165             {true, true}166           end167168     type warning found at:169     │170 837 │           if needs_unarchive do171     │           ~~~~~~~~~~~~~~~~~~~~~172     │173     └─ mix.exs:837: Mix.Tasks.Compile.EvisionPrecompiled.prepare/8174175==> ex_maybe176Compiling 1 file (.ex)177Generated ex_maybe app17817903:45:08.307 [info] EVISION_PREFER_PRECOMPILED: true; try to download and use the precompiled library.18018103:45:08.310 [info] Current target `x86_64-linux-musl` has precompiled binaries.18218303:45:08.310 [info] Current host NIF version is `2.18`, will use precompiled binaries with NIF version 2.16.184==> evision185Downloading precompiled tarball from: https://github.com/cocoa-xu/evision/releases/download/v0.2.17/evision-nif_2.16-x86_64-linux-musl-contrib-0.2.17.tar.gz18618703:45:11.215 [info] Precompiled binary tarball downloaded and saved to /home/nerves/.cache/evision-nif_2.16-x86_64-linux-musl-contrib-0.2.17.tar.gz, sha256=37d230636123068dd536d6127d21c88ca6db39acbb3d4cb5eb5ecbfd571132ad18818903:45:14.921 [info] Copying priv directory: /home/nerves/.cache/evision-nif_2.16-x86_64-linux-musl-contrib-0.2.17/priv => /work/proj/_build/x86_64/lib/evision/priv19019103:45:15.761 [info] Copying generated Elixir binding files: /home/nerves/.cache/evision-nif_2.16-x86_64-linux-musl-contrib-0.2.17/elixir_generated => /work/proj/deps_x86_64/evision/lib/generated192warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"193  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2194  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1195  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5196  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2197  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4198  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2199200Compiling 685 files (.ex)201Compiling lib/generated/evision.ex (it's taking more than 10s)202Compiling lib/generated/evision_nif.ex (it's taking more than 10s)203    warning: the following clause will never match:204205        {:error, error} ->206207    because it attempts to match on the result of:208209        IO.binwrite(state.file, body)210211    which has type:212213        dynamic(not {:error, term()})214215    type warning found at:216    │217 79 │       {:error, error} ->218    │       ~~~~~~~~~~~~~~~~~~219    │220    └─ lib/zoo/utils/http.ex:79: Evision.Zoo.Utils.HTTP.download_receive/2221222     warning: the following clause will never match:223224         {:error, error} ->225226     because it attempts to match on the result of:227228         IO.binwrite(state.file, body_part)229230     which has type:231232         dynamic(not {:error, term()})233234     type warning found at:235     │236 106 │       {:error, error} ->237     │       ~~~~~~~~~~~~~~~~~~238     │239     └─ lib/zoo/utils/http.ex:106: Evision.Zoo.Utils.HTTP.download_receive/2240241     warning: the following clause is redundant:242243         def write(self, name, val) when is_binary(name) and is_integer(val)244245     it has type:246247         dynamic(), binary(), integer()248249     previous clauses have already matched on the following types:250251         term(), binary(), empty_list() or non_empty_list(term(), term())252         term(), binary(), binary()253         term(), binary(), float() or integer()254255     │256 704 │   def write(self, name, val) when is_binary(name) and is_integer(val)257     │       ~258     │259     └─ lib/generated/evision_filestorage.ex:704:7: Evision.FileStorage.write/3260261     warning: the following clause is redundant:262263         def dictValue(i) when is_integer(i)264265     it has type:266267         integer()268269     previous clauses have already matched on the following types:270271         binary()272         float() or integer()273274     │275 109 │   def dictValue(i) when is_integer(i)276     │       ~277     │278     └─ lib/generated/evision_dnn_dictvalue.ex:109:7: Evision.DNN.DictValue.dictValue/1279280     warning: the following clause cannot match because the previous clauses already matched all possible values:281282         _ ->283284     it attempts to match on the result of:285286         bboxes.__struct__287288     which has the already matched type:289290         dynamic(Evision.Mat or Nx.Tensor)291292     type warning found at:293     │294 172 │           _ ->295     │             ~296     │297     └─ lib/generated/evision_dnn.ex:172:13: Evision.DNN.nmsBoxes/4298299     warning: the following clause cannot match because the previous clauses already matched all possible values:300301         _ ->302303     it attempts to match on the result of:304305         bboxes.__struct__306307     which has the already matched type:308309         dynamic(Evision.Mat or Nx.Tensor)310311     type warning found at:312     │313 256 │           _ ->314     │             ~315     │316     └─ lib/generated/evision_dnn.ex:256:13: Evision.DNN.nmsBoxesBatched/6317318     warning: the following clause cannot match because the previous clauses already matched all possible values:319320         _ ->321322     it attempts to match on the result of:323324         bboxes.__struct__325326     which has the already matched type:327328         dynamic(Evision.Mat or Nx.Tensor)329330     type warning found at:331     │332 339 │           _ ->333     │             ~334     │335     └─ lib/generated/evision_dnn.ex:339:13: Evision.DNN.nmsBoxesBatched/5336337     warning: the following clause cannot match because the previous clauses already matched all possible values:338339         _ ->340341     it attempts to match on the result of:342343         bboxes.__struct__344345     which has the already matched type:346347         dynamic(Evision.Mat or Nx.Tensor)348349     type warning found at:350     │351 430 │           _ ->352     │             ~353     │354     └─ lib/generated/evision_dnn.ex:430:13: Evision.DNN.softNMSBoxes/5355356     warning: the following clause cannot match because the previous clauses already matched all possible values:357358         _ ->359360     it attempts to match on the result of:361362         bboxes.__struct__363364     which has the already matched type:365366         dynamic(Evision.Mat or Nx.Tensor)367368     type warning found at:369     │370 518 │           _ ->371     │             ~372     │373     └─ lib/generated/evision_dnn.ex:518:13: Evision.DNN.softNMSBoxes/4374375     warning: the following clause is redundant:376377         def gpuMat(m)378             when is_map(m) and (is_atom(Evision.CUDA.GpuMat) or :fail) and is_map_key(m, :__struct__) and379                    :erlang.map_get(:__struct__, m) == Evision.CUDA.GpuMat380381     it has type:382383         dynamic(%{..., __struct__: Evision.CUDA.GpuMat})384385     previous clauses have already matched on the following types:386387         %{..., __struct__: Evision.CUDA.GpuMat}388389     │390 431 │   def gpuMat(m) when is_struct(m, Evision.CUDA.GpuMat)391     │       ~392     │393     └─ lib/generated/evision_cuda_gpumat.ex:431:7: Evision.CUDA.GpuMat.gpuMat/1394395     warning: the right-hand side of || will never be executed:396397         opts || ...398399     because the left-hand side always evaluates to:400401         dynamic(non_empty_list({:mode, :cuda_ipc or :host_ipc or :local}))402403     where "opts" was given the types:404405         # type: dynamic(non_empty_list({:mode, :cuda_ipc or :host_ipc or :local}))406         # from: lib/generated/evision_cuda_gpumat.ex:125:44407         [mode: mode] = opts408409         # type: empty_list() or non_empty_list(term(), term())410         # from: lib/generated/evision_cuda_gpumat.ex:126:8411         is_list(opts)412413     type warning found at:414     │415 127 │     opts = Keyword.validate!(opts || [], [mode: :local])416     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~417     │418     └─ lib/generated/evision_cuda_gpumat.ex:127: Evision.CUDA.GpuMat.to_pointer/2419420     warning: the right-hand side of || will never be executed:421422         opts || ...423424     because the left-hand side always evaluates to:425426         dynamic(empty_list() or non_empty_list(term(), term()))427428     where "opts" was given the types:429430         # type: dynamic(empty_list() or non_empty_list(term(), term()))431         # from: lib/generated/evision_cuda_gpumat.ex:290:50432         opts433434         # type: empty_list() or non_empty_list(term(), term())435         # from: lib/generated/evision_cuda_gpumat.ex:290:109436         is_list(opts)437438     type warning found at:439     │440 291 │     opts = Keyword.validate!(opts || [], [device_id: 0])441     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~442     │443     └─ lib/generated/evision_cuda_gpumat.ex:291: Evision.CUDA.GpuMat.from_pointer/4444445      warning: the following clause will never match:446447          {:error, reason} ->448449      it is expected to match on type:450451          dynamic(452            ({:is_binary, boolean(), term()} and not {:is_binary, true, term()}) or453              ({:not_empty_shape, boolean()} and not {:not_empty_shape, true}) or454              ({:not_error, boolean(), {term(), ...}} and not {:not_error, true, {term(), ...}})455          )456457      type warning found at:458      │459 1286 │       {:error, reason} ->460      │       ~~~~~~~~~~~~~~~~~~~461      │462      └─ lib/evision_mat.ex:1286: Evision.Mat.to_nx/2463464     warning: a struct for Nx.Tensor is expected on struct update:465466         %Nx.Tensor{l | shape: out_shape}467468     but got type:469470         dynamic()471472     where "l" was given the type:473474         # type: dynamic()475         # from: lib/evision/backend.ex:563:27476         l477478     when defining the variable "l", you must also pattern match on "%Nx.Tensor{}"479480     type warning found at:481     │482 566 │     {to_nx(l_mat, %T{l | shape: out_shape}), to_nx(b_mat, %T{r | shape: out_shape})}483     │                   ~484     │485     └─ lib/evision/backend.ex:566:19: Evision.Backend.enforce_same_shape/3486487      warning: the following clause is redundant:488489          true ->490491      previous clauses have already matched on the following types:492493          atom() and not(:f32, :f64, :s16, :s32, :s8, :u16, :u8)494495      type warning found at:496      │497 2104 │       true ->498      │            ~499      │500      └─ lib/evision_mat.ex:2104:12: Evision.Mat.check_unsupported_type/1501502     warning: this clause of defp to_number/1 is never used (or it will always fail/warn when invoked)503     │504 714 │   defp to_number(n) when is_number(n), do: n505     │        ~506     │507     └─ lib/evision/backend.ex:714:8: Evision.Backend.to_number/1508509     warning: the right-hand side of || will never be executed:510511         opts || ...512513     because the left-hand side always evaluates to:514515         dynamic(empty_list() or non_empty_list(term(), term()))516517     where "opts" was given the types:518519         # type: dynamic(empty_list() or non_empty_list(term(), term()))520         # from: lib/evision_mat.ex:873:23521         opts522523         # type: empty_list() or non_empty_list(term(), term())524         # from: lib/evision_mat.ex:873:34525         is_list(opts)526527     type warning found at:528     │529 874 │     opts = Keyword.validate!(opts || [], mode: :local)530     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~531     │532     └─ lib/evision_mat.ex:874: Evision.Mat.to_pointer/2533534Generated evision app535==> xav536mkdir -p /work/proj/_build/x86_64/lib/xav/priv537mkdir -p /work/proj/_build/x86_64/lib/xav/priv538/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-gcc -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_x86_64-1.34.2/staging  -fPIC -shared -I/home/nerves/.nerves/artifacts/nerves_system_x86_64-1.34.2/staging/usr/lib/erlang/erts-17.0.6/include -Ic_src/xav  c_src/xav/xav_decoder.c c_src/xav/decoder.c c_src/xav/video_converter.c c_src/xav/audio_converter.c c_src/xav/utils.c c_src/xav/channel_layout.c -o /work/proj/_build/x86_64/lib/xav/priv/libxavdecoder.so -lavcodec -lswscale -lavutil -lavformat -lavdevice -lswresample539/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-gcc -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_x86_64-1.34.2/staging  -fPIC -shared -I/home/nerves/.nerves/artifacts/nerves_system_x86_64-1.34.2/staging/usr/lib/erlang/erts-17.0.6/include -Ic_src/xav  c_src/xav/xav_reader.c c_src/xav/reader.c c_src/xav/video_converter.c c_src/xav/audio_converter.c c_src/xav/utils.c -o /work/proj/_build/x86_64/lib/xav/priv/libxavreader.so -lavcodec -lswscale -lavutil -lavformat -lavdevice -lswresample540In file included from c_src/xav/xav_decoder.h:1,541                 from c_src/xav/xav_decoder.c:1:542c_src/xav/audio_converter.h:3:10: fatal error: libavutil/channel_layout.h: No such file or directory543    3 | #include <libavutil/channel_layout.h>544      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~545compilation terminated.546In file included from c_src/xav/xav_reader.h:1,547                 from c_src/xav/xav_reader.c:1:548c_src/xav/audio_converter.h:3:10: fatal error: libavutil/channel_layout.h: No such file or directory549    3 | #include <libavutil/channel_layout.h>550      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~551compilation terminated.552In file included from c_src/xav/decoder.c:1:553c_src/xav/decoder.h:1:10: fatal error: libavcodec/avcodec.h: No such file or directory554    1 | #include <libavcodec/avcodec.h>555      |          ^~~~~~~~~~~~~~~~~~~~~~556compilation terminated.557In file included from c_src/xav/reader.c:1:558c_src/xav/reader.h:1:10: fatal error: libavcodec/avcodec.h: No such file or directory559    1 | #include <libavcodec/avcodec.h>560      |          ^~~~~~~~~~~~~~~~~~~~~~561compilation terminated.562In file included from c_src/xav/video_converter.c:1:563c_src/xav/video_converter.h:2:10: fatal error: libavutil/channel_layout.h: No such file or directory564    2 | #include <libavutil/channel_layout.h>565      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~566compilation terminated.567In file included from c_src/xav/video_converter.c:1:568c_src/xav/video_converter.h:2:10: fatal error: libavutil/channel_layout.h: No such file or directory569    2 | #include <libavutil/channel_layout.h>570      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~571compilation terminated.572c_src/xav/audio_converter.c:1:10: fatal error: libavutil/channel_layout.h: No such file or directory573    1 | #include <libavutil/channel_layout.h>574      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~575compilation terminated.576c_src/xav/audio_converter.c:1:10: fatal error: libavutil/channel_layout.h: No such file or directory577    1 | #include <libavutil/channel_layout.h>578      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~579compilation terminated.580In file included from c_src/xav/utils.c:1:581c_src/xav/utils.h:2:10: fatal error: libavcodec/avcodec.h: No such file or directory582    2 | #include <libavcodec/avcodec.h>583      |          ^~~~~~~~~~~~~~~~~~~~~~584compilation terminated.585In file included from c_src/xav/utils.c:1:586c_src/xav/utils.h:2:10: fatal error: libavcodec/avcodec.h: No such file or directory587    2 | #include <libavcodec/avcodec.h>588      |          ^~~~~~~~~~~~~~~~~~~~~~589compilation terminated.590make: *** [Makefile:57: /work/proj/_build/x86_64/lib/xav/priv/libxavreader.so] Error 1591make: *** Waiting for unfinished jobs....592In file included from c_src/xav/channel_layout.c:1:593c_src/xav/channel_layout.h:3:10: fatal error: libavcodec/avcodec.h: No such file or directory594    3 | #include <libavcodec/avcodec.h>595      |          ^~~~~~~~~~~~~~~~~~~~~~596compilation terminated.597make: *** [Makefile:53: /work/proj/_build/x86_64/lib/xav/priv/libxavdecoder.so] Error 1598could not compile dependency :xav, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile xav --force", update it with "mix deps.update xav" or clean it with "mix deps.clean xav"599==> nerves_compatibility_test600** (Mix) Could not compile with "make" (exit status: 2).601You need to have gcc and make installed. If you are using602Ubuntu or any other Debian-based system, install the packages603"build-essential". Also install "erlang-dev" package if not604included in your Erlang/OTP version. If you're on Fedora, run605"dnf group install 'Development Tools'".606