ex_mgrs

Build log

nerves_system_rpi4

ex_mgrs 0.1.1 · fail · run ex_mgrs-0.1.1-1789360378607
248 of 248 lines
1Resolving Hex dependencies...2Resolution completed in 0.222s3Unchanged:4  circular_buffer 1.1.05  elixir_make 0.10.06  ex_mgrs 0.1.17  interactive_cmd 0.1.48  jason 1.4.59  nerves 1.15.010  nerves_discovery 0.1.511  nerves_logging 0.2.412  nerves_runtime 0.13.1313  nerves_system_bbb 2.30.214  nerves_system_br 1.34.415  nerves_system_mangopi_mq_pro 0.17.216  nerves_system_qemu_aarch64 0.4.217  nerves_system_rpi 2.1.218  nerves_system_rpi0 2.1.219  nerves_system_rpi0_2 2.1.220  nerves_system_rpi2 2.1.221  nerves_system_rpi3 2.1.222  nerves_system_rpi4 2.1.223  nerves_system_rpi5 2.1.224  nerves_system_x86_64 1.34.225  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.126  nerves_toolchain_armv6_nerves_linux_gnueabihf 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  rustler 0.38.034  rustler_precompiled 0.9.035  shoehorn 0.9.336  tablet 0.3.337  toolshed 0.5.038  uboot_env 1.0.239* Getting ex_mgrs (Hex package)40* Getting nerves (Hex package)41* Getting shoehorn (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_rpi (Hex package)49* Getting nerves_system_rpi0 (Hex package)50* Getting nerves_system_rpi0_2 (Hex package)51* Getting nerves_system_rpi2 (Hex package)52* Getting nerves_system_rpi3 (Hex package)53* Getting nerves_system_rpi4 (Hex package)54* Getting nerves_system_rpi5 (Hex package)55* Getting nerves_system_x86_64 (Hex package)56* Getting nerves_system_br (Hex package)57* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)58* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)59* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)60* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)61* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)62* Getting nerves_logging (Hex package)63* Getting nerves_uevent (Hex package)64* Getting uboot_env (Hex package)65* Getting elixir_make (Hex package)66* Getting property_table (Hex package)67* Getting circular_buffer (Hex package)68* Getting interactive_cmd (Hex package)69* Getting jason (Hex package)70* Getting nerves_discovery (Hex package)71* Getting tablet (Hex package)72* Getting rustler (Hex package)73* Getting rustler_precompiled (Hex package)74You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more75==> jason76Compiling 10 files (.ex)77Generated jason app78==> tablet79Compiling 2 files (.ex)80Generated tablet app81==> elixir_make82Compiling 8 files (.ex)83Generated elixir_make app84==> nerves_discovery85Compiling 5 files (.ex)86Generated nerves_discovery app87==> interactive_cmd88Compiling 1 file (.ex)89Generated interactive_cmd app90==> nerves91HOST_CC port.o92HOST_LD port93Compiling 55 files (.ex)94Generated nerves app95==> nerves_compatibility_test9697Nerves environment98  MIX_TARGET:   rpi499  MIX_ENV:      prod100101Checking for prebuilt Nerves artifacts...102  Found nerves_system_rpi4 in cache103    /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.2104  Found nerves_toolchain_aarch64_nerves_linux_gnu in cache105    /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1106==> jason107Compiling 10 files (.ex)108Compiling lib/decoder.ex (it's taking more than 10s)109Compiling lib/encode.ex (it's taking more than 10s)110Generated jason app111==> tablet112Compiling 2 files (.ex)113Generated tablet app114==> elixir_make115Compiling 8 files (.ex)116Generated elixir_make app117==> nerves_discovery118Compiling 5 files (.ex)119Generated nerves_discovery app120==> interactive_cmd121Compiling 1 file (.ex)122Generated interactive_cmd app123==> nerves124HOST_CC port.o125HOST_LD port126Compiling 55 files (.ex)127Generated nerves app128==> nerves_system_br129Generated nerves_system_br app130==> nerves_toolchain_aarch64_nerves_linux_gnu131Compiling 1 file (.ex)132Generated nerves_toolchain_aarch64_nerves_linux_gnu app133==> nerves_system_rpi4134Generated nerves_system_rpi4 app135==> nerves_compatibility_test136137Nerves environment138  MIX_TARGET:   rpi4139  MIX_ENV:      prod140141==> circular_buffer142Compiling 1 file (.ex)143Generated circular_buffer app144==> rustler145Compiling 7 files (.ex)146Generated rustler app147==> nerves_logging148 CC kmsg_tailer.o149 LD kmsg_tailer150Compiling 5 files (.ex)151Generated nerves_logging app152==> ring_logger153Compiling 7 files (.ex)154Generated ring_logger app155==> shoehorn156Compiling 8 files (.ex)157Generated shoehorn app158==> rustler_precompiled159Compiling 4 files (.ex)160Generated rustler_precompiled app161==> ex_mgrs162Compiling 4 files (.ex)163     warning: the variable "precision" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator164     │165 120 │         <<easting::binary-size(precision), northing::binary-size(precision)>> = digits166     │                                ~167     │168     └─ lib/ex_mgrs.ex:120:32: ExMgrs.validate_and_format/4169170     warning: the variable "precision" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator171     │172 120 │         <<easting::binary-size(precision), northing::binary-size(precision)>> = digits173     │                                                                  ~174     │175     └─ lib/ex_mgrs.ex:120:66: ExMgrs.validate_and_format/4176177     warning: the variable "offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator178     │179 370 │     <<_::binary-size(offset), pixel::big-unsigned-integer-16, _::binary>> = @grid_binary180     │                      ~181     │182     └─ lib/ex_mgrs/geoid.ex:370:22: ExMgrs.Geoid.grid_value/218318418504:37:13.380 [debug] Downloading NIF from https://github.com/cortfritz/ex_mgrs/releases/download/v0.1.1/libgeoconvert_nif-v0.1.1-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz18618704:37:16.276 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/libgeoconvert_nif-v0.1.1-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz and extracted to /work/proj/_build/rpi4/lib/ex_mgrs/priv/native/libgeoconvert_nif-v0.1.1-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz188Generated ex_mgrs app189==> uboot_env190Compiling 5 files (.ex)191Generated uboot_env app192==> property_table193Compiling 8 files (.ex)194Generated property_table app195==> nerves_uevent196 CC uevent.o197 LD uevent198Compiling 5 files (.ex)199Generated nerves_uevent app200==> nerves_runtime201Compiling 14 files (.ex)202Generated nerves_runtime app203==> toolshed204Compiling 5 files (.ex)205Generated toolshed app206==> nerves_compatibility_test207Compiling 2 files (.ex)208Generated nerves_compatibility_test app209|nerves| Building OTP Release...210211* [Nerves] validating vm.args212* skipping runtime configuration (config/runtime.exs not found)213* creating _build/rpi4/rel/nerves_compatibility_test/releases/0.1.0/vm.args214Updating base firmware image with Erlang release...215scrub-otp-release.sh: ERROR: Unexpected executable format for '/work/proj/_build/rpi4/_nerves-tmp/rootfs_overlay/srv/erlang/lib/ex_mgrs-0.1.1/priv/native/libgeoconvert_nif.so'216217Got:218 readelf:Advanced Micro Devices X86-64;0x0219220Expecting:221 readelf:AArch64;0x0222223This file was compiled for the host or a different target and probably224will not work.225226Check the following:2272281. If this file comes from a library, that library may be compiling to229   its source directory under `deps`. Manually clean up the source230   directory and try building again.2312322. Are you using a path dependency in your mix deps? If so, run233   'mix clean' in that directory to avoid pulling in any of its234   build products.2352363. Did you recently upgrade or change your Nerves system? If so,237   try cleaning and rebuilding this project and its deps.2382394. Are you building outside of Nerves' mix integration? If so,240   make sure that you've sourced 'nerves-env.sh'.241242If you are very sure you know what you are doing, you may place an empty243file in the same directory as the offending file(s) called '.noscrub'.244This will explicitly disable scrubbing for that directory.245246If you're still having trouble, please file an issue on Github247at https://github.com/nerves-project/nerves_system_br/issues.248