Build log
nerves_system_trellis
ex_cldr_strftime 1.0.1 · fail · run ex_cldr_strftime-1.0.1-1790906391876
309 of 309 lines
1Resolving Hex dependencies...2Resolution completed in 0.213s3Unchanged:4 circular_buffer 1.1.05 cldr_utils 2.29.76 decimal 3.1.17 digital_token 2.1.08 elixir_make 0.10.09 ex_cldr 2.47.510 ex_cldr_calendars 1.26.411 ex_cldr_currencies 2.17.212 ex_cldr_dates_times 2.21.013 ex_cldr_numbers 2.38.314 ex_cldr_strftime 1.0.115 interactive_cmd 0.1.416 jason 1.4.517 nerves 1.15.018 nerves_discovery 0.1.519 nerves_logging 0.2.420 nerves_runtime 0.13.1321 nerves_system_br 1.34.422 nerves_system_mangopi_mq_pro 0.17.223 nerves_system_rpi4 2.1.224 nerves_system_trellis 0.5.025 nerves_system_x86_64 1.34.226 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.127 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.128 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.129 nerves_toolchain_x86_64_nerves_linux_musl 15.3.130 nerves_uevent 0.1.731 property_table 0.3.432 ring_logger 0.11.733 shoehorn 0.9.334 tablet 0.3.335 toolshed 0.5.036 uboot_env 1.0.237* Getting ex_cldr_strftime (Hex package)38* Getting nerves (Hex package)39* Getting shoehorn (Hex package)40* Getting ring_logger (Hex package)41* Getting toolshed (Hex package)42* Getting nerves_runtime (Hex package)43* Getting nerves_system_mangopi_mq_pro (Hex package)44* Getting nerves_system_rpi4 (Hex package)45* Getting nerves_system_trellis (Hex package)46* Getting nerves_system_x86_64 (Hex package)47* Getting nerves_system_br (Hex package)48* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)49* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)50* Getting nerves_toolchain_aarch64_nerves_linux_gnu (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 jason (Hex package)60* Getting nerves_discovery (Hex package)61* Getting tablet (Hex package)62* Getting ex_cldr_calendars (Hex package)63* Getting ex_cldr_dates_times (Hex package)64* Getting ex_cldr_numbers (Hex package)65* Getting decimal (Hex package)66* Getting digital_token (Hex package)67* Getting ex_cldr (Hex package)68* Getting ex_cldr_currencies (Hex package)69* Getting cldr_utils (Hex package)70==> tablet71Compiling 2 files (.ex)72Generated tablet app73==> elixir_make74Compiling 8 files (.ex)75Generated elixir_make app76==> nerves_discovery77Compiling 5 files (.ex)78Generated nerves_discovery app79==> decimal80Compiling 4 files (.ex)81Generated decimal app82==> jason83Compiling 10 files (.ex)84Generated jason app85==> interactive_cmd86Compiling 1 file (.ex)87Generated interactive_cmd app88==> nerves89HOST_CC port.o90HOST_LD port91Compiling 55 files (.ex)92Generated nerves app93==> nerves_compatibility_test9495Nerves environment96 MIX_TARGET: trellis97 MIX_ENV: prod9899Checking for prebuilt Nerves artifacts...100 Found nerves_system_trellis in cache101 /home/nerves/.nerves/artifacts/nerves_system_trellis-portable-0.5.0102 Found nerves_toolchain_armv7_nerves_linux_gnueabihf in cache103 /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.1104==> tablet105Compiling 2 files (.ex)106Generated tablet app107==> elixir_make108Compiling 8 files (.ex)109Generated elixir_make app110==> nerves_discovery111Compiling 5 files (.ex)112Generated nerves_discovery app113==> decimal114Compiling 4 files (.ex)115Generated decimal app116==> jason117Compiling 10 files (.ex)118Generated jason app119==> interactive_cmd120Compiling 1 file (.ex)121Generated interactive_cmd app122==> nerves123HOST_CC port.o124HOST_LD port125Compiling 55 files (.ex)126Generated nerves app127==> nerves_system_br128Generated nerves_system_br app129==> nerves_toolchain_armv7_nerves_linux_gnueabihf130Compiling 1 file (.ex)131Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app132==> nerves_system_trellis133Generated nerves_system_trellis app134==> nerves_compatibility_test135136Nerves environment137 MIX_TARGET: trellis138 MIX_ENV: prod139140==> circular_buffer141Compiling 1 file (.ex)142Generated circular_buffer app143==> nerves_logging144 CC kmsg_tailer.o145 LD kmsg_tailer146Compiling 5 files (.ex)147Generated nerves_logging app148==> ring_logger149Compiling 7 files (.ex)150Generated ring_logger app151==> cldr_utils152Compiling 12 files (.ex)153Generated cldr_utils app154==> ex_cldr155Compiling 1 file (.yrl)156Compiling 1 file (.xrl)157Compiling 2 files (.erl)158Compiling 46 files (.ex)159Compiling lib/cldr/validity/subdivision.ex (it's taking more than 10s)160Compiling lib/cldr/validity/language.ex (it's taking more than 10s)161Generated ex_cldr app162==> shoehorn163Compiling 8 files (.ex)164Generated shoehorn app165==> ex_cldr_currencies166Compiling 11 files (.ex)167Generated ex_cldr_currencies app168==> digital_token169Compiling 6 files (.ex)170Generated digital_token app171==> ex_cldr_numbers172Compiling 2 files (.xrl)173Compiling 2 files (.yrl)174Compiling 4 files (.erl)175Compiling 27 files (.ex)176Generated ex_cldr_numbers app177==> ex_cldr_calendars178Compiling 25 files (.ex)179 warning: a struct for NaiveDateTime is expected on struct update:180181 %NaiveDateTime{naive_datetime | year: year, month: month, day: day}182183 but got type:184185 dynamic(186 %Date.Range{} or %{..., calendar: Calendar.ISO} or187 (%{..., calendar: term(), day: term(), month: term(), year: term()} and188 not %{..., calendar: Calendar.ISO}) or189 (%{..., calendar: term(), day: term(), month: term(), year: term()} and190 not %{..., calendar: Calendar.ISO})191 )192193 where "naive_datetime" was given the type:194195 # type: dynamic(196 %Date.Range{} or %{..., calendar: Calendar.ISO} or197 (%{..., calendar: term(), day: term(), month: term(), year: term()} and198 not %{..., calendar: Calendar.ISO}) or199 (%{..., calendar: term(), day: term(), month: term(), year: term()} and200 not %{..., calendar: Calendar.ISO})201 )202 # from: lib/cldr/calendar/base/week.ex:420:59203 Cldr.Calendar.plus(naive_datetime, :years, step)204205 when defining the variable "naive_datetime", you must also pattern match on "%NaiveDateTime{}"206207 type warning found at:208 │209 421 │ %NaiveDateTime{naive_datetime | year: year, month: month, day: day}210 │ ~211 │212 └─ lib/cldr/calendar/base/week.ex:421:5: Cldr.Calendar.Base.Week.add/3213214Generated ex_cldr_calendars app215==> uboot_env216Compiling 5 files (.ex)217Generated uboot_env app218==> ex_cldr_dates_times219Compiling 2 files (.xrl)220Compiling 2 files (.erl)221warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"222 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2223 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1224 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5225 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2226 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4227 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2228229Compiling 23 files (.ex)230 warning: the following clause is redundant:231232 def extended_year(%{year: year, calendar: Calendar.ISO}, n, _locale, _backend, options)233234 it has type:235236 dynamic(%{..., calendar: Calendar.ISO, year: term()}), dynamic(), dynamic(), dynamic(), dynamic()237238 previous clauses have already matched on the following types:239240 %{..., calendar: Calendar.ISO}, term(), term(), term(), term()241242 │243 646 │ def extended_year(%{year: year, calendar: Calendar.ISO}, n, _locale, _backend, options) do244 │ ~245 │246 └─ lib/cldr/format/date_time_formatter.ex:646:7: Cldr.DateTime.Formatter.extended_year/5247248 warning: the following clause is redundant:249250 defp find_format(datetime, format, _locale, _calendar, _backend, _options)251 when (format === :short or format === :medium or format === :long or format === :full) and252 not ((is_map_key(datetime, :year) and is_map_key(datetime, :month) and253 is_map_key(datetime, :day) and is_map_key(datetime, :hour) and254 is_map_key(datetime, :minute) and is_map_key(datetime, :second) and255 is_map_key(datetime, :time_zone) and is_map_key(datetime, :zone_abbr)) or256 (is_map_key(datetime, :year) and is_map_key(datetime, :month) and257 is_map_key(datetime, :day) and is_map_key(datetime, :hour) and258 is_map_key(datetime, :minute) and is_map_key(datetime, :second)))259260 it has type:261262 dynamic(263 %{..., day: not_set()} or %{..., hour: not_set()} or264 %{..., hour: not_set(), zone_abbr: not_set()} or %{..., minute: not_set()} or265 %{..., minute: not_set(), time_zone: not_set()} or266 %{..., minute: not_set(), zone_abbr: not_set()} or %{..., month: not_set()} or267 %{..., month: not_set(), zone_abbr: not_set()} or %{..., second: not_set()} or268 %{..., second: not_set(), time_zone: not_set()} or269 %{..., second: not_set(), zone_abbr: not_set()} or %{..., year: not_set()}270 ), dynamic(:full or :long or :medium or :short), dynamic(), dynamic(), dynamic(), dynamic()271272 previous clauses have already matched on the following types:273274 term(), :full or :long or :medium or :short, term(), term(), term(), %{..., style: :at}275 term(), :full or :long or :medium or :short, term(), term(), term(), term()276 term(), atom() and not nil, term(), term(), term(), term()277 term(), binary(), term(), term(), term(), term()278 term(), map(), term(), term(), term(), term()279280 │281 747 │ defp find_format(datetime, format, _locale, _calendar, _backend, _options)282 │ ~283 │284 └─ lib/cldr/date_time.ex:747:8: Cldr.DateTime.find_format/6285286Generated ex_cldr_dates_times app287==> ex_cldr_strftime288Compiling 3 files (.ex)289Generated ex_cldr_strftime app290==> property_table291Compiling 8 files (.ex)292Generated property_table app293==> nerves_uevent294 CC uevent.o295Assembler messages:296Fatal error: can't create /work/proj/_build/trellis/lib/nerves_uevent/obj/uevent.o: No such file or directory297c_src/uevent.c:851:1: fatal error: error writing to -: Broken pipe298 851 | }299 | ^300compilation terminated.301make: *** [Makefile:82: /work/proj/_build/trellis/lib/nerves_uevent/obj/uevent.o] Error 1302could not compile dependency :nerves_uevent, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile nerves_uevent --force", update it with "mix deps.update nerves_uevent" or clean it with "mix deps.clean nerves_uevent"303==> nerves_compatibility_test304** (Mix) Could not compile with "make" (exit status: 2).305If the error message above says that libmnl.h can't be found, then the306fix is to install libmnl. For example, run `apt install libmnl-dev` on307Debian-based systems. For Nerves targets, be sure to include308`BR2_PACKAGE_LIBMNL=y` in the Nerves system's nerves_defconfig.309