exnotify

Build log

nerves_system_trellis

exnotify 0.1.0 · fail · run exnotify-0.1.0-1790918823526
396 of 396 lines
1Resolving Hex dependencies...2Resolution completed in 0.097s3Unchanged:4  bunch 1.6.45  bunch_native 0.3.06  bundlex 0.4.17  circular_buffer 1.1.08  elixir_make 0.10.09  exnotify 0.1.010  interactive_cmd 0.1.411  jason 1.4.512  nerves 1.15.013  nerves_discovery 0.1.514  nerves_logging 0.2.415  nerves_runtime 0.13.1316  nerves_system_br 1.34.417  nerves_system_mangopi_mq_pro 0.17.218  nerves_system_rpi4 2.1.219  nerves_system_trellis 0.5.020  nerves_system_x86_64 1.34.221  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.122  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.123  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.124  nerves_toolchain_x86_64_nerves_linux_musl 15.3.125  nerves_uevent 0.1.726  property_table 0.3.427  qex 0.5.228  ring_logger 0.11.729  secure_random 0.5.130  shmex 0.3.031  shoehorn 0.9.332  tablet 0.3.333  toolshed 0.5.034  uboot_env 1.0.235  unifex 0.4.036* Getting exnotify (Hex package)37* Getting nerves (Hex package)38* Getting shoehorn (Hex package)39* Getting ring_logger (Hex package)40* Getting toolshed (Hex package)41* Getting nerves_runtime (Hex package)42* Getting nerves_system_mangopi_mq_pro (Hex package)43* Getting nerves_system_rpi4 (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_riscv64_nerves_linux_gnu (Hex package)51* Getting nerves_logging (Hex package)52* Getting nerves_uevent (Hex package)53* Getting uboot_env (Hex package)54* Getting elixir_make (Hex package)55* Getting property_table (Hex package)56* Getting circular_buffer (Hex package)57* Getting interactive_cmd (Hex package)58* Getting jason (Hex package)59* Getting nerves_discovery (Hex package)60* Getting tablet (Hex package)61* Getting unifex (Hex package)62* Getting bunch (Hex package)63* Getting bundlex (Hex package)64* Getting shmex (Hex package)65* Getting bunch_native (Hex package)66* Getting qex (Hex package)67* Getting secure_random (Hex package)68==> jason69Compiling 10 files (.ex)70Generated jason app71==> tablet72Compiling 2 files (.ex)73Generated tablet app74==> elixir_make75Compiling 8 files (.ex)76Generated elixir_make app77==> nerves_discovery78Compiling 5 files (.ex)79Generated nerves_discovery app80==> interactive_cmd81Compiling 1 file (.ex)82Generated interactive_cmd app83==> nerves84HOST_CC port.o85HOST_LD port86Compiling 55 files (.ex)87Generated nerves app88==> nerves_compatibility_test8990Nerves environment91  MIX_TARGET:   trellis92  MIX_ENV:      prod9394Checking for prebuilt Nerves artifacts...95  Found nerves_system_trellis in cache96    /home/nerves/.nerves/artifacts/nerves_system_trellis-portable-0.5.097  Found nerves_toolchain_armv7_nerves_linux_gnueabihf in cache98    /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.199==> jason100Compiling 10 files (.ex)101Generated jason app102==> tablet103Compiling 2 files (.ex)104Generated tablet app105==> elixir_make106Compiling 8 files (.ex)107Generated elixir_make app108==> nerves_discovery109Compiling 5 files (.ex)110Generated nerves_discovery app111==> interactive_cmd112Compiling 1 file (.ex)113Generated interactive_cmd app114==> nerves115HOST_CC port.o116HOST_LD port117Compiling 55 files (.ex)118Generated nerves app119==> nerves_system_br120Generated nerves_system_br app121==> nerves_toolchain_armv7_nerves_linux_gnueabihf122Compiling 1 file (.ex)123Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app124==> nerves_system_trellis125Generated nerves_system_trellis app126==> nerves_compatibility_test127128Nerves environment129  MIX_TARGET:   trellis130  MIX_ENV:      prod131132==> circular_buffer133Compiling 1 file (.ex)134Generated circular_buffer app135==> bunch136Compiling 19 files (.ex)137Generated bunch app138==> nerves_logging139 CC kmsg_tailer.o140 LD kmsg_tailer141Compiling 5 files (.ex)142Generated nerves_logging app143==> ring_logger144Compiling 7 files (.ex)145Generated ring_logger app146==> shoehorn147Compiling 8 files (.ex)148Generated shoehorn app149==> secure_random150Compiling 1 file (.ex)151    warning: use Bitwise is deprecated. import Bitwise instead152    │153  2 │   use Bitwise154    │   ~~~~~~~~~~~155    │156    └─ lib/secure_random.ex:2: SecureRandom (module)157158Generated secure_random app159==> uboot_env160Compiling 5 files (.ex)161Generated uboot_env app162==> qex163Compiling 4 files (.ex)164warning: x..y inside match is deprecated, you must always match on the step: x..y//var or x..y//_ if you want to ignore it165  lib/qex.ex:45: Qex.new/1166167Generated qex app168==> bundlex169Compiling 29 files (.ex)170    warning: using single-quoted strings to represent charlists is deprecated.171    Use ~c"" if you indeed want a charlist or use "" instead.172    You may run "mix format --migrate" to change all single-quoted173    strings to use the ~c sigil and fix this warning.174    │175 38 │         {port, {:data, {:eol, 'ready'}}},176    │                               ~177    │178    └─ lib/bundlex/cnode/server.ex:38:31179180    warning: using single-quoted strings to represent charlists is deprecated.181    Use ~c"" if you indeed want a charlist or use "" instead.182    You may run "mix format --migrate" to change all single-quoted183    strings to use the ~c sigil and fix this warning.184    │185 48 │         :ok = :win32reg.change_key(reg, '\\hklm\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion')186    │                                         ~187    │188    └─ lib/bundlex/platform.ex:48:41189190    warning: using single-quoted strings to represent charlists is deprecated.191    Use ~c"" if you indeed want a charlist or use "" instead.192    You may run "mix format --migrate" to change all single-quoted193    strings to use the ~c sigil and fix this warning.194    │195 49 │         {:ok, build} = :win32reg.value(reg, 'BuildLabEx')196    │                                             ~197    │198    └─ lib/bundlex/platform.ex:49:45199200    warning: expected a map or struct when accessing .toolchain_module in expression:201202        Bundlex.Platform.get_module(platform).toolchain_module203204    but got type:205206        dynamic(207          Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or208            Bundlex.Platform.Windows64209        )210211    where "platform" was given the type:212213        # type: dynamic(:linux or :macosx or :windows32 or :windows64)214        # from: lib/tasks/compile.bundlex.ex:34:37215        Bundlex.Platform.get_module(platform)216217    hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()218219    type warning found at:220    │221 34 │     commands = commands ++ Platform.get_module(platform).toolchain_module.before_all!(platform)222    │                                                          ~223    │224    └─ lib/tasks/compile.bundlex.ex:34:58: Mix.Tasks.Compile.Bundlex.run/1225226     warning: a struct for Bundlex.Native is expected on struct update:227228         %Bundlex.Native{native | deps: parsed_deps, preprocessors: preprocessors}229230     but got type:231232         dynamic(%{..., sources: term()})233234     where "native" was given the type:235236         # type: dynamic(%{..., sources: term()})237         # from: lib/bundlex/native.ex:126:51238         Enum.empty?(native.sources)239240     when defining the variable "native", you must also pattern match on "%Bundlex.Native{}"241242     type warning found at:243     │244 129 │         %__MODULE__{native | deps: parsed_deps, preprocessors: preprocessors}245     │         ~246     │247     └─ lib/bundlex/native.ex:129:9: Bundlex.Native.parse_native/2248249     warning: expected a map or struct when accessing .toolchain_module in expression:250251         Bundlex.Platform.get_module(platform).toolchain_module252253     but got type:254255         dynamic(256           Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or257             Bundlex.Platform.Windows64258         )259260     where "platform" was given the type:261262         # type: dynamic(:linux or :macosx or :windows32 or :windows64)263         # from: lib/bundlex/native.ex:106:27264         Bundlex.Platform.get_module(platform)265266     hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()267268     type warning found at:269     │270 106 │       commands = Platform.get_module(platform).toolchain_module.compiler_commands(native)271     │                                                ~272     │273     └─ lib/bundlex/native.ex:106:48: Bundlex.Native.resolve_native/4274275Generated bundlex app276warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()277  (bundlex 0.4.1) lib/tasks/compile.bundlex.ex:34: Mix.Tasks.Compile.Bundlex.run/1278  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5279  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2280  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4281  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2282283==> bunch_native284Bundlex: Building natives: lib, bunch285warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()286  (bundlex 0.4.1) lib/bundlex/native.ex:106: Bundlex.Native.resolve_native/4287  (bunch 1.6.4) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/3288  (bundlex 0.4.1) lib/tasks/compile.bundlex.ex:38: Mix.Tasks.Compile.Bundlex.run/1289  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5290  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2291292Generated bunch_native app293==> shmex294Bundlex: Building natives: lib, shmex295Compiling 2 files (.ex)296     warning: the following pattern will never match:297298         {:ok, trimmed_front} <- trim_leading(shm, bytes)299300     because the right-hand side has type:301302         none()303304     where "bytes" was given the type:305306         # type: dynamic()307         # from: lib/shmex_native.ex:119:17308         bytes309310     where "shm" was given the type:311312         # type: dynamic()313         # from: lib/shmex_native.ex:119:12314         shm315316     type warning found at:317     │318 120 │     with {:ok, trimmed_front} <- trim_leading(shm, bytes),319     │     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~320     │321     └─ lib/shmex_native.ex:120: Shmex.Native.trim/2322323Generated shmex app324==> unifex325Bundlex: Building natives: unifex326Compiling 30 files (.ex)327    warning: unused require Bundlex.CNode328    │329  6 │   require Bundlex.CNode330    │   ~331    │332    └─ lib/unifex/cnode.ex:6:3333334Generated unifex app335==> exnotify336/usr/bin/sh: 1: clang-format: not found337Bundlex: Building natives: inotify338Compiling 1 file (.ex)339Generated exnotify app340==> property_table341Compiling 8 files (.ex)342Generated property_table app343==> nerves_uevent344 CC uevent.o345 LD uevent346Compiling 5 files (.ex)347Generated nerves_uevent app348==> nerves_runtime349Compiling 14 files (.ex)350Generated nerves_runtime app351==> toolshed352Compiling 5 files (.ex)353Generated toolshed app354==> nerves_compatibility_test355Compiling 2 files (.ex)356Generated nerves_compatibility_test app357|nerves| Building OTP Release...358359* [Nerves] validating vm.args360* skipping runtime configuration (config/runtime.exs not found)361* creating _build/trellis/rel/nerves_compatibility_test/releases/0.1.0/vm.args362Updating base firmware image with Erlang release...363scrub-otp-release.sh: ERROR: Unexpected executable format for '/work/proj/_build/trellis/_nerves-tmp/rootfs_overlay/srv/erlang/lib/shmex-0.3.0/priv/bundlex/nif/shmex.so'364365Got:366 readelf:Advanced Micro Devices X86-64;0x0367368Expecting:369 readelf:ARM;0x5000400, Version5 EABI, hard-float ABI370371This file was compiled for the host or a different target and probably372will not work.373374Check the following:3753761. If this file comes from a library, that library may be compiling to377   its source directory under `deps`. Manually clean up the source378   directory and try building again.3793802. Are you using a path dependency in your mix deps? If so, run381   'mix clean' in that directory to avoid pulling in any of its382   build products.3833843. Did you recently upgrade or change your Nerves system? If so,385   try cleaning and rebuilding this project and its deps.3863874. Are you building outside of Nerves' mix integration? If so,388   make sure that you've sourced 'nerves-env.sh'.389390If you are very sure you know what you are doing, you may place an empty391file in the same directory as the offending file(s) called '.noscrub'.392This will explicitly disable scrubbing for that directory.393394If you're still having trouble, please file an issue on Github395at https://github.com/nerves-project/nerves_system_br/issues.396