Build log
nerves_system_mangopi_mq_pro
blue_heron_transport_usb 0.2.0 · fail · run blue_heron_transport_usb-0.2.0-1791156590948
647 of 647 lines
1Resolving Hex dependencies...2Resolution completed in 0.119s3Unchanged:4 blue_heron 0.3.05 blue_heron_transport_usb 0.2.06 circular_buffer 1.1.07 elixir_make 0.7.88 interactive_cmd 0.1.49 nerves 2.0.0-pre.210 nerves_discovery 0.1.511 nerves_logging 0.2.412 nerves_runtime 0.13.1313 nerves_system_bbb 2.30.214 nerves_system_br 1.34.415 nerves_system_mangopi_mq_pro 0.17.216 nerves_system_qemu_aarch64 0.4.217 nerves_system_rpi0 2.1.218 nerves_system_rpi4 2.1.219 nerves_system_rpi5 2.1.220 nerves_system_trellis 0.5.021 nerves_system_x86_64 1.34.222 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.123 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.124 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.125 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.126 nerves_toolchain_x86_64_nerves_linux_musl 15.3.127 nerves_uevent 0.1.728 property_table 0.3.429 ring_logger 0.11.730 tablet 0.3.331 toolshed 0.5.032 uboot_env 1.0.233* Getting blue_heron_transport_usb (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 blue_heron (Hex package)62==> nerves_system_br63Generated nerves_system_br app64==> circular_buffer65Compiling 1 file (.ex)66Generated circular_buffer app67==> tablet68Compiling 2 files (.ex)69Generated tablet app70warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"71 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/272 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/173 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/574 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/275 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/476 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/27778==> elixir_make79Compiling 6 files (.ex)80 warning: unused require Logger81 │82 6 │ require Logger83 │ ~84 │85 └─ lib/elixir_make/precompiler.ex:6:38687 warning: unused require Logger88 │89 4 │ require Logger90 │ ~91 │92 └─ lib/elixir_make/artefact.ex:4:39394 warning: unused require Logger95 │96 16 │ require Logger97 │ ~98 │99 └─ lib/mix/tasks/elixir_make.precompile.ex:16:3100101Generated elixir_make app102==> nerves_logging103 CC kmsg_tailer.o104 LD kmsg_tailer105Compiling 5 files (.ex)106Generated nerves_logging app107==> blue_heron108Compiling 96 files (.ex)109 warning: using single-quoted strings to represent charlists is deprecated.110 Use ~c"" if you indeed want a charlist or use "" instead.111 You may run "mix format --migrate" to change all single-quoted112 strings to use the ~c sigil and fix this warning.113 │114 81 │ to_string(:io_lib.format('~2.16.0B:~2.16.0B:~2.16.0B:~2.16.0B:~2.16.0B:~2.16.0B', iodata))115 │ ~116 │117 └─ lib/blue_heron/address.ex:81:30118119 warning: the variable "pair_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator120 │121 58 │ <<chunk::binary-size(pair_size), rest::binary>> = data122 │ ~123 │124 └─ lib/blue_heron/att/responses/find_information_response.ex:58:26: BlueHeron.ATT.FindInformationResponse.chunk_information_data/3125126 warning: the variable "item_length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator127 │128 41 │ <<attribute_data::binary-size(item_length), rest::binary>> = data129 │ ~130 │131 └─ lib/blue_heron/att/responses/read_by_group_type_response.ex:41:35: BlueHeron.ATT.ReadByGroupTypeResponse.deserialize_attribute_data/3132133 warning: the variable "item_length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator134 │135 64 │ <<attribute_data::binary-size(item_length), rest::binary>> = attribute_data136 │ ~137 │138 └─ lib/blue_heron/att/responses/read_by_type_response.ex:64:35: BlueHeron.ATT.ReadByTypeResponse.deserialize_attribute_data/3139140 warning: the variable "field_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator141 │142 188 │ <<parameter::little-size(field_size), bin::binary>> = bin143 │ ~144 │145 └─ lib/blue_heron/hci/arrayed_data.ex:188:30: BlueHeron.HCI.ArrayedData.deserialize/3146147 warning: the variable "field_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator148 │149 200 │ <<parameter::little-size(field_size), bin::binary>> = bin150 │ ~151 │152 └─ lib/blue_heron/hci/arrayed_data.ex:200:30: BlueHeron.HCI.ArrayedData.deserialize/3153154 warning: the variable "field_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator155 │156 214 │ <<parameter::binary-size(field_size), bin::binary>> ->157 │ ~158 │159 └─ lib/blue_heron/hci/arrayed_data.ex:214:32: BlueHeron.HCI.ArrayedData.deserialize/3160161 warning: the variable "field_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator162 │163 227 │ <<parameter::little-size(field_size), bin::binary>> ->164 │ ~165 │166 └─ lib/blue_heron/hci/arrayed_data.ex:227:32: BlueHeron.HCI.ArrayedData.deserialize/3167168 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead169 │170 217 │ Logger.warn(171 │ ~172 │173 └─ lib/blue_heron/att/client.ex:217:12: BlueHeron.ATT.Client.connecting/3174175 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead176 │177 231 │ Logger.warn("Timeout establishing connection")178 │ ~179 │180 └─ lib/blue_heron/att/client.ex:231:12: BlueHeron.ATT.Client.connecting/3181182 warning: the variable "payload_length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator183 │184 27 │ <<payload::binary-size(payload_length), rest::binary>> = rest185 │ ~186 │187 └─ lib/blue_heron/hci_dump.ex:27:28: BlueHeron.HCIDump.decode_bin/2188189 warning: unused require Logger190 │191 29 │ require Logger192 │ ~193 │194 └─ lib/blue_heron/hci/events/command_status.ex:29:3195196 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead197 │198 257 │ Logger.warn("Create connection called, but already connected!")199 │ ~200 │201 └─ lib/blue_heron/att/client.ex:257:12: BlueHeron.ATT.Client.connected/3202203 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead204 │205 326 │ Logger.warn("Disconnected from #{inspect(handle, base: :hex)}")206 │ ~207 │208 └─ lib/blue_heron/att/client.ex:326:12: BlueHeron.ATT.Client.connected/3209210 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead211 │212 67 │ Logger.warn("""213 │ ~214 │215 └─ lib/blue_heron/hci/events/command_complete.ex:67:14: BlueHeron.HCI.Event.CommandComplete.maybe_decode_return_parameters/1216217 warning: unused require BlueHeron.HCI.CommandComplete.ReturnParameters218 │219 12 │ require BlueHeron.HCI.CommandComplete.ReturnParameters220 │ ~221 │222 └─ lib/blue_heron/hci/events/command_complete.ex:12:3223224 warning: incompatible types given to BlueHeron.HCI.Command.LinkPolicy.WriteDefaultLinkPolicySettings.deserialize/1:225226 BlueHeron.HCI.Command.LinkPolicy.WriteDefaultLinkPolicySettings.deserialize(bin)227228 given types:229230 -binary()-231232 but expected one of:233234 bitstring() and not binary()235236 where "bin" was given the type:237238 # type: binary()239 # from: lib/blue_heron/hci/deserializable.ex:11:42240 <<"\x0F\b", _::binary>> = bin241242 type warning found at:243 │244 12 │ unquote(mod).deserialize(bin)245 │ ~246 │247 └─ lib/blue_heron/hci/deserializable.ex:12:20: BlueHeron.HCI.Deserializable.BitString.deserialize/1248249 warning: a struct for BlueHeron.ATT.Client is expected on struct update:250251 %BlueHeron.ATT.Client{data | caller: nil}252253 but got type:254255 dynamic(%{256 ...,257 caller: nil or {term(), term()},258 connection: %{..., connection_handle: term()},259 controlling_process: atom() or pid() or port() or reference() or {atom(), atom()}260 })261262 where "data" was given the types:263264 # type: dynamic(%{..., connection: %{..., connection_handle: term()}})265 # from: lib/blue_heron/att/client.ex:324:53266 %{connection: %{connection_handle: handle}} = data267268 # type: dynamic(%{..., caller: nil or {term(), term()}, connection: %{..., connection_handle: term()}})269 # from: lib/blue_heron/att/client.ex:332:10270 maybe_reply([{:next_event, :internal, :create_connection}], data.caller, {:error, disconnect})271272 # type: dynamic(%{273 ...,274 caller: nil or {term(), term()},275 connection: %{..., connection_handle: term()},276 controlling_process: atom() or pid() or port() or reference() or {atom(), atom()}277 })278 # from: lib/blue_heron/att/client.ex:334:5279 send(data.controlling_process, {BlueHeron.ATT.Client, self(), disconnect})280281 when defining the variable "data", you must also pattern match on "%BlueHeron.ATT.Client{}"282283 type warning found at:284 │285 335 │ {:next_state, :connecting, %__MODULE__{data | caller: nil}, actions}286 │ ~287 │288 └─ lib/blue_heron/att/client.ex:335:32: BlueHeron.ATT.Client.connected/3289290 warning: the following clause cannot match because the previous clauses already matched all possible values:291292 {replies, data} ->293294 it attempts to match on the result of:295296 maybe_reply(data, {:error, :unopened})297298 which has the already matched type:299300 dynamic({empty_list(), %{..., calls: term()}})301302 where "data" was given the type:303304 # type: dynamic(%{..., calls: term()})305 # from: lib/blue_heron/hci/transport.ex306 {replies, data}307308 where "replies" was given the type:309310 # type: empty_list()311 # from: lib/blue_heron/hci/transport.ex312 {replies, data}313314 type warning found at:315 │316 310 │ {replies, data} ->317 │ ~318 │319 └─ lib/blue_heron/hci/transport.ex:310:23: BlueHeron.HCI.Transport.goto_unopened/1320321 warning: the following pattern will never match:322323 <<enable_sniff_mode::integer-size(1), enable_hold_mode::integer-size(1),324 enable_role_switch::integer-size(1)>> = dlps325326 because the right-hand side has type:327328 binary()329330 where "dlps" was given the type:331332 # type: binary()333 # from: lib/blue_heron/hci/commands/link_policy/write_default_link_policy_settings.ex:34:48334 <<..., dlps::binary-unit(1)-size(3)>>335336 where "enable_hold_mode" was given the type:337338 # type: integer()339 # from: lib/blue_heron/hci/commands/link_policy/write_default_link_policy_settings.ex:35:45340 <<..., enable_hold_mode::integer-size(1), ...>>341342 where "enable_role_switch" was given the type:343344 # type: integer()345 # from: lib/blue_heron/hci/commands/link_policy/write_default_link_policy_settings.ex:35:68346 <<..., enable_role_switch::integer-size(1)>>347348 where "enable_sniff_mode" was given the type:349350 # type: integer()351 # from: lib/blue_heron/hci/commands/link_policy/write_default_link_policy_settings.ex:35:24352 <<enable_sniff_mode::integer-size(1), ...>>353354 type warning found at:355 │356 35 │ <<enable_sniff_mode::1, enable_hold_mode::1, enable_role_switch::1>> = dlps357 │ ~358 │359 └─ lib/blue_heron/hci/commands/link_policy/write_default_link_policy_settings.ex:35:74: BlueHeron.HCI.Command.LinkPolicy.WriteDefaultLinkPolicySettings.deserialize/1360361 warning: unknown key .subevent_code in expression:362363 report.subevent_code364365 the given type does not have the given key:366367 dynamic(%BlueHeron.HCI.Event.LEMeta.AdvertisingReport{368 devices: empty_list() or non_empty_list(term(), term()),369 num_reports: term(),370 code: integer()371 })372373 where "report" was given the types:374375 # type: dynamic(%BlueHeron.HCI.Event.LEMeta.AdvertisingReport{})376 # from: lib/blue_heron/hci/events/le_meta/advertising_report.ex:23:19377 report378379 # type: dynamic(%BlueHeron.HCI.Event.LEMeta.AdvertisingReport{380 devices: empty_list() or non_empty_list(term(), term())381 })382 # from: lib/blue_heron/hci/events/le_meta/advertising_report.ex:24:27383 BlueHeron.HCI.Event.LEMeta.AdvertisingReport.Device.serialize(report.devices)384385 # type: dynamic(%BlueHeron.HCI.Event.LEMeta.AdvertisingReport{386 devices: empty_list() or non_empty_list(term(), term()),387 code: integer()388 })389 # from: lib/blue_heron/hci/events/le_meta/advertising_report.ex:27:16390 <<report.code, ...>>391392 hint: all expressions given to binaries are assumed to be of type integer() unless said otherwise. For example, <<expr>> assumes "expr" is an integer. Pass a modifier, such as <<expr::float>> or <<expr::binary>>, to change the default behavior.393394 type warning found at:395 │396 27 │ <<report.code, size, report.subevent_code, bin::binary>>397 │ ~~~~~~~~~~~~~398 │399 └─ lib/blue_heron/hci/events/le_meta/advertising_report.ex:27:35: BlueHeron.HCI.Serializable.BlueHeron.HCI.Event.LEMeta.AdvertisingReport.serialize/1400401Generated blue_heron app402==> nerves_discovery403Compiling 5 files (.ex)404Generated nerves_discovery app405==> ring_logger406Compiling 7 files (.ex)407Generated ring_logger app408==> interactive_cmd409Compiling 1 file (.ex)410Generated interactive_cmd app411==> nerves412Compiling 65 files (.ex)413 warning: redefining module Mix.Tasks.Nerves.Init (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Mix.Tasks.Nerves.Init.beam)414 │415 6 │ defmodule Mix.Tasks.Nerves.Init do416 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~417 │418 └─ lib/mix/tasks/nerves.init.ex:6: Mix.Tasks.Nerves.Init (module)419420 warning: redefining module Nerves (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.beam)421 │422 6 │ defmodule Nerves do423 │ ~~~~~~~~~~~~~~~~~~~424 │425 └─ lib/nerves.ex:6: Nerves (module)426427 warning: redefining module Nerves.ArtifactResolver (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.ArtifactResolver.beam)428 │429 5 │ defmodule Nerves.ArtifactResolver do430 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~431 │432 └─ lib/nerves/artifact_resolver.ex:5: Nerves.ArtifactResolver (module)433434 warning: redefining module Nerves.BuildAction.AppModes (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.AppModes.beam)435 │436 6 │ defmodule Nerves.BuildAction.AppModes do437 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~438 │439 └─ lib/nerves/build_action/app_modes.ex:6: Nerves.BuildAction.AppModes (module)440441 warning: redefining module Nerves.BuildAction.CheckExecutables (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.CheckExecutables.beam)442 │443 5 │ defmodule Nerves.BuildAction.CheckExecutables do444 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~445 │446 └─ lib/nerves/build_action/check_executables.ex:5: Nerves.BuildAction.CheckExecutables (module)447448 warning: redefining module Nerves.BuildAction.Erlinit (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.Erlinit.beam)449 │450 8 │ defmodule Nerves.BuildAction.Erlinit do451 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~452 │453 └─ lib/nerves/build_action/erlinit.ex:8: Nerves.BuildAction.Erlinit (module)454455 warning: redefining module Nerves.BuildAction.Firmware (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.Firmware.beam)456 │457 5 │ defmodule Nerves.BuildAction.Firmware do458 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~459 │460 └─ lib/nerves/build_action/firmware.ex:5: Nerves.BuildAction.Firmware (module)461462 warning: redefining module Nerves.BuildAction.IExStartupCheck (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.IExStartupCheck.beam)463 │464 7 │ defmodule Nerves.BuildAction.IExStartupCheck do465 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~466 │467 └─ lib/nerves/build_action/iex_startup_check.ex:7: Nerves.BuildAction.IExStartupCheck (module)468469 warning: redefining module Nerves.BuildAction.NervesV1System (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1System.beam)470 │471 5 │ defmodule Nerves.BuildAction.NervesV1System do472 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~473 │474 └─ lib/nerves/build_action/nerves_v1_system.ex:5: Nerves.BuildAction.NervesV1System (module)475476 warning: redefining module Nerves.BuildAction.NervesV1Toolchain (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1Toolchain.beam)477 │478 5 │ defmodule Nerves.BuildAction.NervesV1Toolchain do479 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~480 │481 └─ lib/nerves/build_action/nerves_v1_toolchain.ex:5: Nerves.BuildAction.NervesV1Toolchain (module)482483 warning: redefining module Nerves.BuildAction.Rootfs (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.Rootfs.beam)484 │485 5 │ defmodule Nerves.BuildAction.Rootfs do486 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~487 │488 └─ lib/nerves/build_action/rootfs.ex:5: Nerves.BuildAction.Rootfs (module)489490 warning: redefining module Nerves.BuildAction.SortApps (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.SortApps.beam)491 │492 6 │ defmodule Nerves.BuildAction.SortApps do493 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~494 │495 └─ lib/nerves/build_action/sort_apps.ex:6: Nerves.BuildAction.SortApps (module)496497 warning: redefining module Nerves.BuildAction.StripAll (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.StripAll.beam)498 │499 5 │ defmodule Nerves.BuildAction.StripAll do500 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~501 │502 └─ lib/nerves/build_action/strip_all.ex:5: Nerves.BuildAction.StripAll (module)503504 warning: redefining module Nerves.BuildAction.Trimmer (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildAction.Trimmer.beam)505 │506 5 │ defmodule Nerves.BuildAction.Trimmer do507 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~508 │509 └─ lib/nerves/build_action/trimmer.ex:5: Nerves.BuildAction.Trimmer (module)510511 warning: redefining module Nerves.BuildPlan (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildPlan.beam)512 │513 5 │ defmodule Nerves.BuildPlan do514 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~515 │516 └─ lib/nerves/build_plan.ex:5: Nerves.BuildPlan (module)517518 warning: redefining module Nerves.BuildPlan.Checks (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.BuildPlan.Checks.beam)519 │520 5 │ defmodule Nerves.BuildPlan.Checks do521 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~522 │523 └─ lib/nerves/build_plan/checks.ex:5: Nerves.BuildPlan.Checks (module)524525 warning: redefining module Nerves.Container (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.Container.beam)526 │527 6 │ defmodule Nerves.Container do528 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~529 │530 └─ lib/nerves/container.ex:6: Nerves.Container (module)531532 warning: redefining module Nerves.Fingerprint (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.Fingerprint.beam)533 │534 5 │ defmodule Nerves.Fingerprint do535 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~536 │537 └─ lib/nerves/fingerprint.ex:5: Nerves.Fingerprint (module)538539 warning: redefining module Nerves.MixPackage (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.MixPackage.beam)540 │541 5 │ defmodule Nerves.MixPackage do542 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~543 │544 └─ lib/nerves/mix_package.ex:5: Nerves.MixPackage (module)545546 warning: redefining module Nerves.Paths (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.Paths.beam)547 │548 5 │ defmodule Nerves.Paths do549 │ ~~~~~~~~~~~~~~~~~~~~~~~~~550 │551 └─ lib/nerves/paths.ex:5: Nerves.Paths (module)552553 warning: redefining module Nerves.TargetTuple (current version loaded from /work/proj/_build/mangopi_mq_pro/lib/nerves/ebin/Elixir.Nerves.TargetTuple.beam)554 │555 5 │ defmodule Nerves.TargetTuple do556 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~557 │558 └─ lib/nerves/target_tuple.ex:5: Nerves.TargetTuple (module)559560Generated nerves app561==> nerves_toolchain_riscv64_nerves_linux_gnu562Compiling 1 file (.ex)563Generated nerves_toolchain_riscv64_nerves_linux_gnu app564==> nerves_system_mangopi_mq_pro565Generated nerves_system_mangopi_mq_pro app566==> uboot_env567Compiling 5 files (.ex)568Generated uboot_env app569==> property_table570Compiling 8 files (.ex)571Generated property_table app572==> nerves_uevent573 CC uevent.o574 LD uevent575Compiling 5 files (.ex)576Generated nerves_uevent app577==> nerves_runtime578Compiling 14 files (.ex)579Generated nerves_runtime app580==> toolshed581Compiling 5 files (.ex)582Generated toolshed app583==> blue_heron_transport_usb584mkdir -p /work/proj/_build/mangopi_mq_pro/lib/blue_heron_transport_usb/priv585Package libusb-1.0 was not found in the pkg-config search path.586Perhaps you should add the directory containing `libusb-1.0.pc'587to the PKG_CONFIG_PATH environment variable588Package 'libusb-1.0', required by 'virtual:world', not found589Package libusb-1.0 was not found in the pkg-config search path.590Perhaps you should add the directory containing `libusb-1.0.pc'591to the PKG_CONFIG_PATH environment variable592Package 'libusb-1.0', required by 'virtual:world', not found593mkdir -p /work/proj/_build/mangopi_mq_pro/lib/blue_heron_transport_usb/obj594Package libusb-1.0 was not found in the pkg-config search path.595Perhaps you should add the directory containing `libusb-1.0.pc'596to the PKG_CONFIG_PATH environment variable597Package 'libusb-1.0', required by 'virtual:world', not found598Package libusb-1.0 was not found in the pkg-config search path.599Perhaps you should add the directory containing `libusb-1.0.pc'600to the PKG_CONFIG_PATH environment variable601Package 'libusb-1.0', required by 'virtual:world', not found602Package libusb-1.0 was not found in the pkg-config search path.603Perhaps you should add the directory containing `libusb-1.0.pc'604to the PKG_CONFIG_PATH environment variable605Package 'libusb-1.0', required by 'virtual:world', not found606/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-15.3.1/bin/riscv64-nerves-linux-gnu-gcc -c -mabi=lp64d -fstack-protector-strong -march=rv64imafdc_zicsr_zifencei -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_mangopi_mq_pro-0.17.2/staging -Wall -pedantic -o /work/proj/_build/mangopi_mq_pro/lib/blue_heron_transport_usb/obj/hci_transport.o src/hci_transport.c607Package libusb-1.0 was not found in the pkg-config search path.608Perhaps you should add the directory containing `libusb-1.0.pc'609to the PKG_CONFIG_PATH environment variable610Package 'libusb-1.0', required by 'virtual:world', not found611Package libusb-1.0 was not found in the pkg-config search path.612Perhaps you should add the directory containing `libusb-1.0.pc'613to the PKG_CONFIG_PATH environment variable614Package 'libusb-1.0', required by 'virtual:world', not found615Package libusb-1.0 was not found in the pkg-config search path.616Perhaps you should add the directory containing `libusb-1.0.pc'617to the PKG_CONFIG_PATH environment variable618Package 'libusb-1.0', required by 'virtual:world', not found619/home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-15.3.1/bin/riscv64-nerves-linux-gnu-gcc -c -mabi=lp64d -fstack-protector-strong -march=rv64imafdc_zicsr_zifencei -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_mangopi_mq_pro-0.17.2/staging -Wall -pedantic -o /work/proj/_build/mangopi_mq_pro/lib/blue_heron_transport_usb/obj/erlcmd.o src/erlcmd.c620Package libusb-1.0 was not found in the pkg-config search path.621Perhaps you should add the directory containing `libusb-1.0.pc'622to the PKG_CONFIG_PATH environment variable623Package 'libusb-1.0', required by 'virtual:world', not found624Package libusb-1.0 was not found in the pkg-config search path.625Perhaps you should add the directory containing `libusb-1.0.pc'626to the PKG_CONFIG_PATH environment variable627Package 'libusb-1.0', required by 'virtual:world', not found628Package libusb-1.0 was not found in the pkg-config search path.629Perhaps you should add the directory containing `libusb-1.0.pc'630to the PKG_CONFIG_PATH environment variable631Package 'libusb-1.0', required by 'virtual:world', not found632In file included from src/hci_transport.c:27:633src/btusb.h:18:10: fatal error: libusb-1.0/libusb.h: No such file or directory634 18 | #include <libusb-1.0/libusb.h>635 | ^~~~~~~~~~~~~~~~~~~~~636compilation terminated.637make: *** [Makefile:50: /work/proj/_build/mangopi_mq_pro/lib/blue_heron_transport_usb/obj/hci_transport.o] Error 1638make: *** Waiting for unfinished jobs....639could not compile dependency :blue_heron_transport_usb, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile blue_heron_transport_usb --force", update it with "mix deps.update blue_heron_transport_usb" or clean it with "mix deps.clean blue_heron_transport_usb"640==> nerves_compatibility_test641** (Mix) Could not compile with "make" (exit status: 2).642You need to have gcc and make installed. If you are using643Ubuntu or any other Debian-based system, install the packages644"build-essential". Also install "erlang-dev" package if not645included in your Erlang/OTP version. If you're on Fedora, run646"dnf group install 'Development Tools'".647