avatarex

Build log

nerves_system_mangopi_mq_pro

avatarex 0.2.0 · fail · run avatarex-0.2.0-1789930095359
427 of 427 lines
1Resolving Hex dependencies...2Resolution completed in 0.364s3Unchanged:4  avatarex 0.2.05  cc_precompiler 0.1.116  circular_buffer 1.1.07  elixir_make 0.10.08  image 0.31.19  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_bbb 2.30.216  nerves_system_br 1.34.417  nerves_system_mangopi_mq_pro 0.17.218  nerves_system_qemu_aarch64 0.4.219  nerves_system_rpi 2.1.220  nerves_system_rpi0 2.1.221  nerves_system_rpi0_2 2.1.222  nerves_system_rpi2 2.1.223  nerves_system_rpi3 2.1.224  nerves_system_rpi4 2.1.225  nerves_system_rpi5 2.1.226  nerves_system_x86_64 1.34.227  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.128  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.129  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.130  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.131  nerves_toolchain_x86_64_nerves_linux_musl 15.3.132  nerves_uevent 0.1.733  phoenix_html 3.3.434  property_table 0.3.435  ring_logger 0.11.736  shoehorn 0.9.337  sweet_xml 0.7.538  tablet 0.3.339  toolshed 0.5.040  uboot_env 1.0.241  vix 0.41.042* Getting avatarex (Hex package)43* Getting nerves (Hex package)44* Getting shoehorn (Hex package)45* Getting ring_logger (Hex package)46* Getting toolshed (Hex package)47* Getting nerves_runtime (Hex package)48* Getting nerves_system_bbb (Hex package)49* Getting nerves_system_mangopi_mq_pro (Hex package)50* Getting nerves_system_qemu_aarch64 (Hex package)51* Getting nerves_system_rpi (Hex package)52* Getting nerves_system_rpi0 (Hex package)53* Getting nerves_system_rpi0_2 (Hex package)54* Getting nerves_system_rpi2 (Hex package)55* Getting nerves_system_rpi3 (Hex package)56* Getting nerves_system_rpi4 (Hex package)57* Getting nerves_system_rpi5 (Hex package)58* Getting nerves_system_x86_64 (Hex package)59* Getting nerves_system_br (Hex package)60* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)61* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)62* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)63* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)64* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)65* Getting nerves_logging (Hex package)66* Getting nerves_uevent (Hex package)67* Getting uboot_env (Hex package)68* Getting elixir_make (Hex package)69* Getting property_table (Hex package)70* Getting circular_buffer (Hex package)71* Getting interactive_cmd (Hex package)72* Getting jason (Hex package)73* Getting nerves_discovery (Hex package)74* Getting tablet (Hex package)75* Getting image (Hex package)76* Getting phoenix_html (Hex package)77* Getting sweet_xml (Hex package)78* Getting vix (Hex package)79* Getting cc_precompiler (Hex package)80==> jason81Compiling 10 files (.ex)82Generated jason app83==> tablet84Compiling 2 files (.ex)85Generated tablet app86==> elixir_make87Compiling 8 files (.ex)88Generated elixir_make app89==> nerves_discovery90Compiling 5 files (.ex)91Generated nerves_discovery app92==> interactive_cmd93Compiling 1 file (.ex)94Generated interactive_cmd app95==> nerves96HOST_CC port.o97HOST_LD port98Compiling 55 files (.ex)99Generated nerves app100==> nerves_compatibility_test101102Nerves environment103  MIX_TARGET:   mangopi_mq_pro104  MIX_ENV:      prod105106Checking for prebuilt Nerves artifacts...107  Found nerves_system_mangopi_mq_pro in cache108    /home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.2109  Found nerves_toolchain_riscv64_nerves_linux_gnu in cache110    /home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1111==> jason112Compiling 10 files (.ex)113Compiling lib/encode.ex (it's taking more than 10s)114Compiling lib/decoder.ex (it's taking more than 10s)115Generated jason app116==> tablet117Compiling 2 files (.ex)118Generated tablet app119==> elixir_make120Compiling 8 files (.ex)121Generated elixir_make app122==> nerves_discovery123Compiling 5 files (.ex)124Generated nerves_discovery app125==> interactive_cmd126Compiling 1 file (.ex)127Generated interactive_cmd app128==> nerves129HOST_CC port.o130HOST_LD port131Compiling 55 files (.ex)132Compiling lib/mix/tasks/nerves.artifact.get.ex (it's taking more than 10s)133Compiling lib/mix/tasks/firmware.ex (it's taking more than 10s)134Generated nerves app135==> nerves_system_br136Generated nerves_system_br app137==> nerves_toolchain_riscv64_nerves_linux_gnu138Compiling 1 file (.ex)139Generated nerves_toolchain_riscv64_nerves_linux_gnu app140==> nerves_system_mangopi_mq_pro141Generated nerves_system_mangopi_mq_pro app142==> nerves_compatibility_test143144Nerves environment145  MIX_TARGET:   mangopi_mq_pro146  MIX_ENV:      prod147148==> circular_buffer149Compiling 1 file (.ex)150Generated circular_buffer app151==> nerves_logging152 CC kmsg_tailer.o153 LD kmsg_tailer154Compiling 5 files (.ex)155Generated nerves_logging app156==> ring_logger157Compiling 7 files (.ex)158Generated ring_logger app159==> shoehorn160Compiling 8 files (.ex)161Generated shoehorn app162==> phoenix_html163Compiling 9 files (.ex)164    warning: you are implementing a protocol for Plug.Conn but said module is not available. Make sure the module name is correct. If Plug.Conn is an optional dependency, please wrap the protocol implementation in a Code.ensure_loaded?(Plug.Conn) check165    │166 87 │ defimpl Phoenix.HTML.FormData, for: [Plug.Conn, Atom, Map] do167    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~168    │169    └─ lib/phoenix_html/form_data.ex:87: (file)170171    warning: comparison between distinct types found:172173        id == nil174175    given types:176177        dynamic(not false and not nil and not binary()) == nil178179    where "id" was given the types:180181        # type: dynamic(not false and not nil)182        # from: lib/phoenix_html/form_data.ex:92:8183        id = Keyword.get(opts, :id) || name184185        # type: dynamic(not false and not nil and not binary())186        # from: lib/phoenix_html/form_data.ex:94:12187        is_binary(id)188189    While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false190191    type warning found at:192    │193 94 │     unless is_binary(id) or is_nil(id) do194    │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~195    │196    └─ lib/phoenix_html/form_data.ex:94: Phoenix.HTML.FormData.Atom.to_form/2197198    warning: the 1st pattern in clause will never match:199200        60201202    because it is expected to receive type:203204        dynamic(empty_list() or non_empty_list(term(), term()))205206    hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())207208    type warning found at:209    │210 56 │   def to_iodata(?<), do: "&lt;"211    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~212    │213    └─ lib/phoenix_html/safe.ex:56: Phoenix.HTML.Safe.List.to_iodata/1214215    warning: the 1st pattern in clause will never match:216217        62218219    because it is expected to receive type:220221        dynamic(empty_list() or non_empty_list(term(), term()))222223    hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())224225    type warning found at:226    │227 57 │   def to_iodata(?>), do: "&gt;"228    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~229    │230    └─ lib/phoenix_html/safe.ex:57: Phoenix.HTML.Safe.List.to_iodata/1231232    warning: the 1st pattern in clause will never match:233234        38235236    because it is expected to receive type:237238        dynamic(empty_list() or non_empty_list(term(), term()))239240    hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())241242    type warning found at:243    │244 58 │   def to_iodata(?&), do: "&amp;"245    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~246    │247    └─ lib/phoenix_html/safe.ex:58: Phoenix.HTML.Safe.List.to_iodata/1248249    warning: the 1st pattern in clause will never match:250251        34252253    because it is expected to receive type:254255        dynamic(empty_list() or non_empty_list(term(), term()))256257    hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())258259    type warning found at:260    │261 59 │   def to_iodata(?"), do: "&quot;"262    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~263    │264    └─ lib/phoenix_html/safe.ex:59: Phoenix.HTML.Safe.List.to_iodata/1265266    warning: the 1st pattern in clause will never match:267268        39269270    because it is expected to receive type:271272        dynamic(empty_list() or non_empty_list(term(), term()))273274    hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())275276    type warning found at:277    │278 60 │   def to_iodata(?'), do: "&#39;"279    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~280    │281    └─ lib/phoenix_html/safe.ex:60: Phoenix.HTML.Safe.List.to_iodata/1282283    warning: the 1st pattern in clause will never match:284285        {:safe, data}286287    because it is expected to receive type:288289        dynamic(empty_list() or non_empty_list(term(), term()))290291    hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())292293    type warning found at:294    │295 76 │   def to_iodata({:safe, data}) do296    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~297    │298    └─ lib/phoenix_html/safe.ex:76: Phoenix.HTML.Safe.List.to_iodata/1299300    warning: the following clause is redundant:301302        def to_iodata(other)303304    it has type:305306        dynamic(empty_list() or non_empty_list(term(), term()))307308    previous clauses have already matched on the following types:309310        non_empty_list(term(), term())311        empty_list()312313    │314 80 │   def to_iodata(other) do315    │       ~316    │317    └─ lib/phoenix_html/safe.ex:80:7: Phoenix.HTML.Safe.List.to_iodata/1318319    warning: the 1st pattern in clause will never match:320321        h322323    because it is expected to receive type:324325        dynamic(empty_list() or non_empty_list(term(), term()))326327    where "h" was given the type:328329        # type: integer()330        # from: lib/phoenix_html/safe.ex:62:25331        is_integer(h)332333    hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())334335    type warning found at:336    │337 62 │   def to_iodata(h) when is_integer(h) and h <= 255 do338    │                 ~339    │340    └─ lib/phoenix_html/safe.ex:62:17: Phoenix.HTML.Safe.List.to_iodata/1341342    warning: the 1st pattern in clause will never match:343344        h345346    because it is expected to receive type:347348        dynamic(empty_list() or non_empty_list(term(), term()))349350    where "h" was given the type:351352        # type: integer()353        # from: lib/phoenix_html/safe.ex:66:25354        is_integer(h)355356    hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())357358    type warning found at:359    │360 66 │   def to_iodata(h) when is_integer(h) do361    │                 ~362    │363    └─ lib/phoenix_html/safe.ex:66:17: Phoenix.HTML.Safe.List.to_iodata/1364365    warning: the 1st pattern in clause will never match:366367        h368369    because it is expected to receive type:370371        dynamic(empty_list() or non_empty_list(term(), term()))372373    where "h" was given the type:374375        # type: binary()376        # from: lib/phoenix_html/safe.ex:72:25377        is_binary(h)378379    hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())380381    type warning found at:382    │383 72 │   def to_iodata(h) when is_binary(h) do384    │                 ~385    │386    └─ lib/phoenix_html/safe.ex:72:17: Phoenix.HTML.Safe.List.to_iodata/1387388Generated phoenix_html app389==> uboot_env390Compiling 5 files (.ex)391Generated uboot_env app392==> cc_precompiler393Compiling 3 files (.ex)394Generated cc_precompiler app395==> vix396Setting up precompiled libvips...39739818:57:02.450 [debug] Fetching https://github.com/akash-akya/sharp-libvips/releases/download/v8.18.3-rc1/sharp-libvips-linux-x64.tar.gz39940018:57:06.058 [debug] Extracting to /work/proj/_build/mangopi_mq_pro/lib/vix/priv/sharp-libvips-linux-x64.tar.gz401 CC     pipe.c402 CC     utils.c403 CC     vips_boxed.c404 CC     vips_foreign.c405 CC     vips_image.c406 CC     vips_interpolate.c407 CC     vips_operation.c408 CC     vix.c409 CC     g_boxed.c410 CC     g_object.c411 CC     g_param_spec.c412 CC     g_type.c413 CC     g_value.c414 LD     vix.so415/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.1/riscv64-nerves-linux-gnu/bin/ld: /work/proj/_build/mangopi_mq_pro/lib/vix/priv/precompiled_libvips/lib/libvips-cpp.so.8.18.3: error adding symbols: file in wrong format416collect2: error: ld returned 1 exit status417make[1]: *** [Makefile:240: /work/proj/_build/mangopi_mq_pro/lib/vix/priv/vix.so] Error 1418make: *** [Makefile:10: compile] Error 2419could not compile dependency :vix, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile vix --force", update it with "mix deps.update vix" or clean it with "mix deps.clean vix"420==> nerves_compatibility_test421** (Mix) Could not compile with "make" (exit status: 2).422You need to have gcc and make installed. If you are using423Ubuntu or any other Debian-based system, install the packages424"build-essential". Also install "erlang-dev" package if not425included in your Erlang/OTP version. If you're on Fedora, run426"dnf group install 'Development Tools'".427