Build log
nerves_system_rpi4
ex_libnice 0.8.0 · fail · run rb-ex_libnice-0.8.0-1794777326660
535 of 535 lines
1Resolving Hex dependencies...2Resolution completed in 0.027s3* Getting ex_libnice (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_bbb (Hex package)10* Getting nerves_system_mangopi_mq_pro (Hex package)11* Getting nerves_system_qemu_aarch64 (Hex package)12* Getting nerves_system_rpi0 (Hex package)13* Getting nerves_system_rpi0_2 (Hex package)14* Getting nerves_system_rpi4 (Hex package)15* Getting nerves_system_rpi5 (Hex package)16* Getting nerves_system_trellis (Hex package)17* Getting nerves_system_x86_64 (Hex package)18* Getting nerves_system_br (Hex package)19* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)20* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)21* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)22* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)23* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)24* Getting nerves_logging (Hex package)25* Getting nerves_uevent (Hex package)26* Getting uboot_env (Hex package)27* Getting elixir_make (Hex package)28* Getting property_table (Hex package)29* Getting circular_buffer (Hex package)30* Getting interactive_cmd (Hex package)31* Getting nerves_discovery (Hex package)32* Getting tablet (Hex package)33* Getting bunch (Hex package)34* Getting mdns (Hex package)35* Getting unifex (Hex package)36* Getting bundlex (Hex package)37* Getting shmex (Hex package)38* Getting bunch_native (Hex package)39* Getting elixir_uuid (Hex package)40* Getting jason (Hex package)41* Getting qex (Hex package)42* Getting req (Hex package)43* Getting zarex (Hex package)44* Getting finch (Hex package)45* Getting mime (Hex package)46* Getting mint (Hex package)47* Getting nimble_options (Hex package)48* Getting nimble_pool (Hex package)49* Getting telemetry (Hex package)50* Getting hpax (Hex package)51* Getting dns (Hex package)52==> tablet53Compiling 2 files (.ex)54Generated tablet app55==> nerves_discovery56Compiling 5 files (.ex)57Generated nerves_discovery app58==> interactive_cmd59Compiling 1 file (.ex)60Generated interactive_cmd app61==> nerves62Compiling 65 files (.ex)63Generated nerves app64==> nerves_system_br65Generated nerves_system_br app66==> mime67Compiling 1 file (.ex)68Generated mime app69==> circular_buffer70Compiling 1 file (.ex)71Generated circular_buffer app72==> nimble_options73Compiling 3 files (.ex)74Generated nimble_options app75==> jason76Compiling 10 files (.ex)77Generated jason app78==> logger_backends79Compiling 7 files (.ex)80Generated logger_backends app81==> hpax82Compiling 4 files (.ex)83Generated hpax app84==> mint85Compiling 1 file (.erl)86Compiling 21 files (.ex)87Generated mint app88==> bunch89Compiling 19 files (.ex)90 warning: the variable "chunk_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator91 │92 47 │ <<chunk::binary-size(chunk_size)>> <> rest ->93 │ ~94 │95 └─ lib/bunch/binary.ex:47:28: Bunch.Binary.do_chunk_every_rem/39697 warning: the variable "len" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator98 │99 90 │ <<b::binary-size(len), r::binary>> = binary100 │ ~101 │102 └─ lib/bunch/binary.ex:90:22: Bunch.Binary.split_int_part/2103104Generated bunch app105==> zarex106Compiling 1 file (.ex)107Generated zarex app108==> elixir_make109Compiling 8 files (.ex)110Generated elixir_make app111==> nerves_logging112 CC kmsg_tailer.o113 LD kmsg_tailer114Compiling 5 files (.ex)115Generated nerves_logging app116==> elixir_uuid117Compiling 1 file (.ex)118 warning: use Bitwise is deprecated. import Bitwise instead119 │120 2 │ use Bitwise, only_operators: true121 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~122 │123 └─ lib/uuid.ex:2: UUID (module)124125Generated elixir_uuid app126==> ring_logger127Compiling 7 files (.ex)128Generated ring_logger app129==> nerves_toolchain_aarch64_nerves_linux_gnu130Compiling 1 file (.ex)131Generated nerves_toolchain_aarch64_nerves_linux_gnu app132==> nerves_system_rpi4133Generated nerves_system_rpi4 app134==> dns135Compiling 7 files (.ex)136Generated dns app137==> mdns138Compiling 6 files (.ex)139 warning: unused require Logger140 │141 3 │ require Logger142 │ ~143 │144 └─ lib/mdns.ex:3:3145146 warning: unused require Logger147 │148 3 │ require Logger149 │ ~150 │151 └─ lib/mdns/server.ex:3:3152153 warning: a struct for Mdns.Server.State is expected on struct update:154155 %Mdns.Server.State{state | udp: udp}156157 but got type:158159 dynamic()160161 where "state" was given the type:162163 # type: dynamic()164 # from: lib/mdns/server.ex:53:42165 state166167 when defining the variable "state", you must also pattern match on "%Mdns.Server.State{}"168169 type warning found at:170 │171 67 │ {:reply, :ok, %State{state | udp: udp}}172 │ ~173 │174 └─ lib/mdns/server.ex:67:19: Mdns.Server.handle_call/3175176 warning: a struct for Mdns.Server.State is expected on struct update:177178 %Mdns.Server.State{state | ip: ip}179180 but got type:181182 dynamic()183184 where "state" was given the type:185186 # type: dynamic()187 # from: lib/mdns/server.ex:77:37188 state189190 when defining the variable "state", you must also pattern match on "%Mdns.Server.State{}"191192 type warning found at:193 │194 78 │ {:reply, :ok, %State{state | ip: ip}}195 │ ~196 │197 └─ lib/mdns/server.ex:78:19: Mdns.Server.handle_call/3198199 warning: a struct for Mdns.Server.State is expected on struct update:200201 %Mdns.Server.State{state | services: Enum.uniq([service | state.services])}202203 but got type:204205 dynamic()206207 where "state" was given the type:208209 # type: dynamic()210 # from: lib/mdns/server.ex:81:51211 state212213 when defining the variable "state", you must also pattern match on "%Mdns.Server.State{}"214215 type warning found at:216 │217 82 │ {:reply, :ok, %State{state | :services => Enum.uniq([service | state.services])}}218 │ ~219 │220 └─ lib/mdns/server.ex:82:19: Mdns.Server.handle_call/3221222 warning: a struct for Mdns.Client.State is expected on struct update:223224 %Mdns.Client.State{state | udp: udp}225226 but got type:227228 dynamic()229230 where "state" was given the type:231232 # type: dynamic()233 # from: lib/mdns/client.ex:50:46234 state235236 when defining the variable "state", you must also pattern match on "%Mdns.Client.State{}"237238 type warning found at:239 │240 71 │ {:reply, :ok, %State{state | udp: udp}}241 │ ~242 │243 └─ lib/mdns/client.ex:71:19: Mdns.Client.handle_call/3244245 warning: a struct for Mdns.Client.State is expected on struct update:246247 %Mdns.Client.State{state | queries: Enum.uniq([namespace | state.queries])}248249 but got type:250251 dynamic(%{..., udp: term()})252253 where "state" was given the type:254255 # type: dynamic(%{..., udp: term()})256 # from: lib/mdns/client.ex:94:14257 :gen_udp.send(258 state.udp,259 Mdns.Utilities.Network.mdns_group(),260 Mdns.Utilities.Network.mdns_port(),261 p262 )263264 when defining the variable "state", you must also pattern match on "%Mdns.Client.State{}"265266 type warning found at:267 │268 95 │ {:noreply, %State{state | :queries => Enum.uniq([namespace | state.queries])}}269 │ ~270 │271 └─ lib/mdns/client.ex:95:16: Mdns.Client.handle_cast/2272273 warning: a struct for Mdns.Client.State is expected on struct update:274275 %Mdns.Client.State{state | devices: devices}276277 but got type:278279 dynamic(%{..., devices: map(), queries: term()})280281 where "state" was given the types:282283 # type: dynamic(%{..., devices: map()})284 # from: lib/mdns/client.ex:113:14285 get_device(ip, record, state)286287 # type: dynamic(%{..., devices: map(), queries: term()})288 # from: lib/mdns/client.ex:116:12289 Enum.reduce(state.queries, %{other: []}, fn query, acc ->290 cond do291 ...292 end293 end)294295 when defining the variable "state", you must also pattern match on "%Mdns.Client.State{}"296297 type warning found at:298 │299 129 │ %State{state | :devices => devices}300 │ ~301 │302 └─ lib/mdns/client.ex:129:5: Mdns.Client.handle_response/3303304 warning: a struct for Mdns.Client.Device is expected on struct update:305306 %Mdns.Client.Device{307 device308 | services: Enum.uniq([to_string(record.data), to_string(record.domain)] ++ device.services)309 }310311 but got type:312313 dynamic()314315 where "device" was given the type:316317 # type: dynamic()318 # from: lib/mdns/client.ex:132:60319 device320321 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"322323 type warning found at:324 │325 133 │ %Device{326 │ ~327 │328 └─ lib/mdns/client.ex:133:5: Mdns.Client.handle_device/2329330 warning: a struct for Mdns.Client.Device is expected on struct update:331332 %Mdns.Client.Device{device | domain: to_string(record.domain)}333334 but got type:335336 dynamic()337338 where "device" was given the type:339340 # type: dynamic()341 # from: lib/mdns/client.ex:140:58342 device343344 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"345346 type warning found at:347 │348 141 │ %Device{device | :domain => to_string(record.domain)}349 │ ~350 │351 └─ lib/mdns/client.ex:141:5: Mdns.Client.handle_device/2352353 warning: a struct for Mdns.Client.Device is expected on struct update:354355 %Mdns.Client.Device{356 device357 | payload:358 Enum.reduce(data, %{}, fn kv, acc ->359 case String.split(to_string(kv), "=", parts: 2) do360 ...361 end362 end)363 }364365 but got type:366367 dynamic()368369 where "device" was given the type:370371 # type: dynamic()372 # from: lib/mdns/client.ex:144:63373 device374375 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"376377 type warning found at:378 │379 145 │ %Device{380 │ ~381 │382 └─ lib/mdns/client.ex:145:5: Mdns.Client.handle_device/2383384 warning: a struct for Mdns.Client.Device is expected on struct update:385386 %Mdns.Client.Device{device | port: port}387388 but got type:389390 dynamic()391392 where "device" was given the type:393394 # type: dynamic()395 # from: lib/mdns/client.ex:157:94396 device397398 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"399400 type warning found at:401 │402 158 │ %Device{403 │ ~404 │405 └─ lib/mdns/client.ex:158:5: Mdns.Client.handle_device/2406407 warning: a struct for Mdns.Client.Device is expected on struct update:408409 %Mdns.Client.Device{410 device411 | services: Enum.uniq([to_string(record.data), to_string(record.domain)] ++ device.services)412 }413414 but got type:415416 dynamic()417418 where "device" was given the type:419420 # type: dynamic()421 # from: lib/mdns/client.ex:164:58422 device423424 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"425426 type warning found at:427 │428 165 │ %Device{429 │ ~430 │431 └─ lib/mdns/client.ex:165:5: Mdns.Client.handle_device/2432433Generated mdns app434==> nerves_compatibility_test435===> Analyzing applications...436===> Compiling telemetry437==> uboot_env438Compiling 5 files (.ex)439Generated uboot_env app440==> qex441Compiling 4 files (.ex)442warning: x..y inside match is deprecated, you must always match on the step: x..y//var or x..y//_ if you want to ignore it443 lib/qex.ex:45: Qex.new/1444445Generated qex app446==> nimble_pool447Compiling 2 files (.ex)448Generated nimble_pool app449==> finch450Compiling 23 files (.ex)451Generated finch app452==> req453Compiling 24 files (.ex)454Generated req app455==> bundlex456Compiling 39 files (.ex)457 warning: the following clause will never match:458459 :custom ->460461 because it attempts to match on the result of:462463 Bundlex.Platform.get_target!()464465 which has type:466467 dynamic(:nerves)468469 type warning found at:470 │471 82 │ :custom -> :nerves472 │ ~~~~~~~~~~~~~~~~~~473 │474 └─ lib/bundlex.ex:82: Bundlex.platform/0475476Generated bundlex app477==> bunch_native478Bundlex: Building natives: lib, bunch479Generated bunch_native app480==> shmex481Bundlex: Building natives: lib, shmex482Compiling 2 files (.ex)483Generated shmex app484==> unifex485Bundlex: Building natives: unifex486/work/proj/deps_rpi4/unifex/c_src/unifex/cnode/unifex/cnode.c: In function 'unifex_cnode_init':487/work/proj/deps_rpi4/unifex/c_src/unifex/cnode/unifex/cnode.c:172:49: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]488 172 | *env = (UnifexEnv){.node_name = calloc(sizeof(char), 256),489 | ^~~~490/work/proj/deps_rpi4/unifex/c_src/unifex/cnode/unifex/cnode.c:172:49: note: earlier argument should specify number of elements, later size of each element491Compiling 33 files (.ex)492 warning: unused require Bundlex.CNode493 │494 6 │ require Bundlex.CNode495 │ ~496 │497 └─ lib/unifex/cnode.ex:6:3498499Generated unifex app500==> property_table501Compiling 8 files (.ex)502Generated property_table app503==> nerves_uevent504 CC uevent.o505 LD uevent506Compiling 5 files (.ex)507Generated nerves_uevent app508==> nerves_runtime509Compiling 14 files (.ex)510Generated nerves_runtime app511==> toolshed512Compiling 5 files (.ex)513Generated toolshed app514==> ex_libnice515Bundlex: Building natives: native516warning: Bundlex: `pkg_configs` option has been deprecated. Please use `os_deps` option.517518warning: Bundlex: Native :native uses deprecated syntax for `os_deps`. See `Bundlex.Project.os_dep` for the new syntax.519520521could not compile dependency :ex_libnice, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ex_libnice --force", update it with "mix deps.update ex_libnice" or clean it with "mix deps.clean ex_libnice"522==> nerves_compatibility_test523** (Mix) Bundlex: Couldn't load OS dependency :nice of package ex_libnice. Make sure to follow installation instructions that may be available in the readme of ex_libnice.524525Tried the following providers:526527Provider `{:pkg_config, ["nice"]}` couldn't load ["nice"] libraries with pkg-config due to:528 ** (BundlexError) pkg-config error:529 Code: 1530 Package nice was not found in the pkg-config search path.531 Perhaps you should add the directory containing `nice.pc'532 to the PKG_CONFIG_PATH environment variable533 Package 'nice', required by 'virtual:world', not found534535