Build log
host
localize_phone_number 1.0.0 · fail · run localize_phone_number-1.0.0-1793130337654
162 of 162 lines
1Resolving Hex dependencies...2Resolution completed in 0.146s3Unchanged: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.339All dependencies have been fetched40==> tablet41Compiling 2 files (.ex)42Generated tablet app43==> nerves_discovery44Compiling 5 files (.ex)45Generated nerves_discovery app46==> interactive_cmd47Compiling 1 file (.ex)48Generated interactive_cmd app49==> nerves50Compiling 65 files (.ex)51Generated nerves app52==> circular_buffer53Compiling 1 file (.ex)54Generated circular_buffer app55==> logger_backends56Compiling 7 files (.ex)57Generated logger_backends app58==> elixir_make59Compiling 8 files (.ex)60Generated elixir_make app61==> nerves_logging62 CC kmsg_tailer.o63 LD kmsg_tailer64Not crosscompiling. To test locally, the port binary needs extra permissions.65Set SUDO=sudo to set permissions. The default is to skip this step.66SUDO_ASKPASS=/usr/bin/ssh-askpass67SUDO=true68Compiling 5 files (.ex)69Generated nerves_logging app70==> ring_logger71Compiling 7 files (.ex)72Generated ring_logger app73==> decimal74Compiling 4 files (.ex)75Generated decimal app76==> nimble_parsec77Compiling 4 files (.ex)78Generated nimble_parsec app79==> expo80Compiling 2 files (.erl)81Compiling 22 files (.ex)82Generated expo app83==> gettext84Compiling 18 files (.ex)85 warning: this clause in cond will never match:8687 not is_binary(locale)8889 since it has type:9091 dynamic(false)9293 where "locale" was given the types:9495 # type: binary()96 # from: lib/gettext.ex:806:2897 locale9899 # type: binary()100 # from: lib/gettext.ex:806:41101 is_binary(locale)102103 type warning found at:104 │105 808 │ not is_binary(locale) ->106 │ ~107 │108 └─ lib/gettext.ex:808:29: Gettext.put_locale!/2109110 warning: the following clause is redundant:111112 defp ensure_empty_msgstr!(%Expo.Message.Plural{} = message)113114 it has type:115116 dynamic(%Expo.Message.Plural{})117118 previous clauses have already matched on the following types:119120 %Expo.Message.Singular{}121 %Expo.Message.Plural{}122123 │124 391 │ defp ensure_empty_msgstr!(%Message.Plural{} = message) do125 │ ~126 │127 └─ lib/gettext/extractor.ex:391:8: Gettext.Extractor.ensure_empty_msgstr!/1128129 warning: Kernel.ParallelCompiler.async/1 is deprecated. Use `pmap/2` instead130 │131 426 │ Kernel.ParallelCompiler.async(fn ->132 │ ~133 │134 └─ lib/gettext/compiler.ex:426:39: Gettext.Compiler.compile_po_files/3135136Generated gettext app137==> localize138Compiling 3 files (.yrl)139Compiling 4 files (.xrl)140Compiling 7 files (.erl)141Compiling 301 files (.ex)142Compiling lib/localize/date/parser.ex (it's taking more than 10s)143Generated localize app144==> localize_phone_number145Erlang/OTP 29 [erts-17.1.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit:ns]146147Eshell V17.1.1 (press Ctrl+G to abort, type help(). for help)1481> g++ -c -O3 -std=c++17 -finline-functions -Wall -fPIC -I/usr/local/lib/erlang/erts-17.1.1/include -I/usr/local/lib/erlang/usr/include c_src/localize_phone_number_nif.cpp -o c_src/localize_phone_number_nif.o149c_src/localize_phone_number_nif.cpp:12:10: fatal error: phonenumbers/phonenumberutil.h: No such file or directory150 12 | #include "phonenumbers/phonenumberutil.h"151 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~152compilation terminated.153make: *** [c_src/Makefile:123: c_src/localize_phone_number_nif.o] Error 1154could 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"155==> nerves_compatibility_test156** (Mix) Could not compile with "make" (exit status: 2).157You need to have gcc and make installed. If you are using158Ubuntu or any other Debian-based system, install the packages159"build-essential". Also install "erlang-dev" package if not160included in your Erlang/OTP version. If you're on Fedora, run161"dnf group install 'Development Tools'".162