Build log
nerves_system_rpi4
localize_phone_number 1.0.0 · fail · run localize_phone_number-1.0.0-1793130337654
199 of 199 lines
1Resolving Hex dependencies...2Resolution completed in 0.152s3Unchanged:4 circular_buffer 1.1.05 decimal 3.2.06 elixir_make 0.10.17 expo 1.1.18 gettext 1.0.29 interactive_cmd 0.1.410 localize 1.4.311 localize_phone_number 1.0.012 logger_backends 1.0.113 nerves 2.0.0-pre.314 nerves_discovery 0.1.615 nerves_logging 0.2.416 nerves_runtime 0.13.1317 nerves_system_bbb 2.31.118 nerves_system_br 1.35.319 nerves_system_mangopi_mq_pro 0.18.120 nerves_system_qemu_aarch64 0.5.121 nerves_system_rpi0 2.2.122 nerves_system_rpi0_2 2.2.123 nerves_system_rpi4 2.2.124 nerves_system_rpi5 2.2.125 nerves_system_trellis 0.6.126 nerves_system_x86_64 1.35.127 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.833 nimble_parsec 1.4.234 property_table 0.3.435 ring_logger 0.11.736 tablet 0.3.337 toolshed 0.5.038 uboot_env 1.0.339* Getting localize_phone_number (Hex package)40* Getting nerves (Hex package)41* Getting logger_backends (Hex package)42* Getting ring_logger (Hex package)43* Getting toolshed (Hex package)44* Getting nerves_runtime (Hex package)45* Getting nerves_system_bbb (Hex package)46* Getting nerves_system_mangopi_mq_pro (Hex package)47* Getting nerves_system_qemu_aarch64 (Hex package)48* Getting nerves_system_rpi0 (Hex package)49* Getting nerves_system_rpi0_2 (Hex package)50* Getting nerves_system_rpi4 (Hex package)51* Getting nerves_system_rpi5 (Hex package)52* Getting nerves_system_trellis (Hex package)53* Getting nerves_system_x86_64 (Hex package)54* Getting nerves_system_br (Hex package)55* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)56* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)57* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)58* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)59* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)60* Getting nerves_logging (Hex package)61* Getting nerves_uevent (Hex package)62* Getting uboot_env (Hex package)63* Getting elixir_make (Hex package)64* Getting property_table (Hex package)65* Getting circular_buffer (Hex package)66* Getting interactive_cmd (Hex package)67* Getting nerves_discovery (Hex package)68* Getting tablet (Hex package)69* Getting localize (Hex package)70* Getting decimal (Hex package)71* Getting gettext (Hex package)72* Getting nimble_parsec (Hex package)73* Getting expo (Hex package)74==> tablet75Compiling 2 files (.ex)76Generated tablet app77==> nerves_discovery78Compiling 5 files (.ex)79Generated nerves_discovery app80==> interactive_cmd81Compiling 1 file (.ex)82Generated interactive_cmd app83==> nerves84Compiling 65 files (.ex)85Generated nerves app86==> nerves_system_br87Generated nerves_system_br app88==> circular_buffer89Compiling 1 file (.ex)90Generated circular_buffer app91==> logger_backends92Compiling 7 files (.ex)93Generated logger_backends app94==> elixir_make95Compiling 8 files (.ex)96Generated elixir_make app97==> nerves_logging98 CC kmsg_tailer.o99 LD kmsg_tailer100Compiling 5 files (.ex)101Generated nerves_logging app102==> ring_logger103Compiling 7 files (.ex)104Generated ring_logger app105==> decimal106Compiling 4 files (.ex)107Generated decimal app108==> nerves_toolchain_aarch64_nerves_linux_gnu109Compiling 1 file (.ex)110Generated nerves_toolchain_aarch64_nerves_linux_gnu app111==> nerves_system_rpi4112Generated nerves_system_rpi4 app113==> nimble_parsec114Compiling 4 files (.ex)115Generated nimble_parsec app116==> expo117Compiling 2 files (.erl)118Compiling 22 files (.ex)119Generated expo app120==> gettext121Compiling 18 files (.ex)122 warning: this clause in cond will never match:123124 not is_binary(locale)125126 since it has type:127128 dynamic(false)129130 where "locale" was given the types:131132 # type: binary()133 # from: lib/gettext.ex:806:28134 locale135136 # type: binary()137 # from: lib/gettext.ex:806:41138 is_binary(locale)139140 type warning found at:141 │142 808 │ not is_binary(locale) ->143 │ ~144 │145 └─ lib/gettext.ex:808:29: Gettext.put_locale!/2146147 warning: the following clause is redundant:148149 defp ensure_empty_msgstr!(%Expo.Message.Plural{} = message)150151 it has type:152153 dynamic(%Expo.Message.Plural{})154155 previous clauses have already matched on the following types:156157 %Expo.Message.Singular{}158 %Expo.Message.Plural{}159160 │161 391 │ defp ensure_empty_msgstr!(%Message.Plural{} = message) do162 │ ~163 │164 └─ lib/gettext/extractor.ex:391:8: Gettext.Extractor.ensure_empty_msgstr!/1165166 warning: Kernel.ParallelCompiler.async/1 is deprecated. Use `pmap/2` instead167 │168 426 │ Kernel.ParallelCompiler.async(fn ->169 │ ~170 │171 └─ lib/gettext/compiler.ex:426:39: Gettext.Compiler.compile_po_files/3172173Generated gettext app174==> localize175Compiling 3 files (.yrl)176Compiling 4 files (.xrl)177Compiling 7 files (.erl)178Compiling 301 files (.ex)179Compiling lib/localize/date/parser.ex (it's taking more than 10s)180Generated localize app181==> localize_phone_number182Erlang/OTP 29 [erts-17.1.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit:ns]183184Eshell V17.1.1 (press Ctrl+G to abort, type help(). for help)1851> /work/nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-g++ -c -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a72 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_rpi4-2.2.1/staging -fPIC -I/work/nerves/artifacts/nerves_system_rpi4-2.2.1/staging/usr/lib/erlang/erts-17.1.1/include -I/work/nerves/artifacts/nerves_system_rpi4-2.2.1/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include c_src/localize_phone_number_nif.cpp -o c_src/localize_phone_number_nif.o186c_src/localize_phone_number_nif.cpp:12:10: fatal error: phonenumbers/phonenumberutil.h: No such file or directory187 12 | #include "phonenumbers/phonenumberutil.h"188 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~189compilation terminated.190make: *** [c_src/Makefile:123: c_src/localize_phone_number_nif.o] Error 1191could not compile dependency :localize_phone_number, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile localize_phone_number --force", update it with "mix deps.update localize_phone_number" or clean it with "mix deps.clean localize_phone_number"192==> nerves_compatibility_test193** (Mix) Could not compile with "make" (exit status: 2).194You need to have gcc and make installed. If you are using195Ubuntu or any other Debian-based system, install the packages196"build-essential". Also install "erlang-dev" package if not197included in your Erlang/OTP version. If you're on Fedora, run198"dnf group install 'Development Tools'".199