Build log
nerves_system_trellis
bellwether 0.1.0 · fail · run bellwether-0.1.0-1790071059820
229 of 229 lines
1Resolving Hex dependencies...2Resolution completed in 0.347s3Unchanged:4 bellwether 0.1.05 cbor 1.0.26 circular_buffer 1.1.07 elixir_make 0.10.08 interactive_cmd 0.1.49 jason 1.4.510 nerves 1.15.011 nerves_discovery 0.1.512 nerves_logging 0.2.413 nerves_runtime 0.13.1314 nerves_system_br 1.34.415 nerves_system_mangopi_mq_pro 0.17.216 nerves_system_rpi4 2.1.217 nerves_system_trellis 0.5.018 nerves_system_x86_64 1.34.219 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.120 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.121 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.122 nerves_toolchain_x86_64_nerves_linux_musl 15.3.123 nerves_uevent 0.1.724 property_table 0.3.425 ring_logger 0.11.726 shoehorn 0.9.327 tablet 0.3.328 toolshed 0.5.029 uboot_env 1.0.230* Getting bellwether (Hex package)31* Getting nerves (Hex package)32* Getting shoehorn (Hex package)33* Getting ring_logger (Hex package)34* Getting toolshed (Hex package)35* Getting nerves_runtime (Hex package)36* Getting nerves_system_mangopi_mq_pro (Hex package)37* Getting nerves_system_rpi4 (Hex package)38* Getting nerves_system_trellis (Hex package)39* Getting nerves_system_x86_64 (Hex package)40* Getting nerves_system_br (Hex package)41* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)42* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)43* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)44* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)45* Getting nerves_logging (Hex package)46* Getting nerves_uevent (Hex package)47* Getting uboot_env (Hex package)48* Getting elixir_make (Hex package)49* Getting property_table (Hex package)50* Getting circular_buffer (Hex package)51* Getting interactive_cmd (Hex package)52* Getting jason (Hex package)53* Getting nerves_discovery (Hex package)54* Getting tablet (Hex package)55* Getting cbor (Hex package)56==> jason57Compiling 10 files (.ex)58Generated jason app59==> tablet60Compiling 2 files (.ex)61Generated tablet app62==> elixir_make63Compiling 8 files (.ex)64Generated elixir_make app65==> nerves_discovery66Compiling 5 files (.ex)67Generated nerves_discovery app68==> interactive_cmd69Compiling 1 file (.ex)70Generated interactive_cmd app71==> nerves72HOST_CC port.o73HOST_LD port74Compiling 55 files (.ex)75Generated nerves app76==> nerves_compatibility_test7778Nerves environment79 MIX_TARGET: trellis80 MIX_ENV: prod8182Checking for prebuilt Nerves artifacts...83 Found nerves_system_trellis in cache84 /home/nerves/.nerves/artifacts/nerves_system_trellis-portable-0.5.085 Found nerves_toolchain_armv7_nerves_linux_gnueabihf in cache86 /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.187==> jason88Compiling 10 files (.ex)89Compiling lib/decoder.ex (it's taking more than 10s)90Compiling lib/encode.ex (it's taking more than 10s)91Generated jason app92==> tablet93Compiling 2 files (.ex)94Generated tablet app95==> elixir_make96Compiling 8 files (.ex)97Generated elixir_make app98==> nerves_discovery99Compiling 5 files (.ex)100Generated nerves_discovery app101==> interactive_cmd102Compiling 1 file (.ex)103Generated interactive_cmd app104==> nerves105HOST_CC port.o106HOST_LD port107Compiling 55 files (.ex)108Generated nerves app109==> nerves_system_br110Generated nerves_system_br app111==> nerves_toolchain_armv7_nerves_linux_gnueabihf112Compiling 1 file (.ex)113Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app114==> nerves_system_trellis115Generated nerves_system_trellis app116==> nerves_compatibility_test117118Nerves environment119 MIX_TARGET: trellis120 MIX_ENV: prod121122==> circular_buffer123Compiling 1 file (.ex)124Generated circular_buffer app125==> nerves_logging126 CC kmsg_tailer.o127 LD kmsg_tailer128Compiling 5 files (.ex)129Generated nerves_logging app130==> ring_logger131Compiling 7 files (.ex)132Generated ring_logger app133==> shoehorn134Compiling 8 files (.ex)135Generated shoehorn app136==> cbor137Compiling 5 files (.ex)138 warning: the variable "len" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator139 │140 53 │ <<value::binary-size(len), new_rest::binary>> = rest141 │ ~142 │143 └─ lib/cbor/decoder.ex:53:26: CBOR.Decoder.decode_string/2144145 warning: the variable "len" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator146 │147 63 │ <<value::binary-size(len), new_rest::binary>> = mid_rest148 │ ~149 │150 └─ lib/cbor/decoder.ex:63:30: CBOR.Decoder.decode_string_indefinite/3151152 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator153 │154 150 │ <<res::unsigned-integer-size(size)-unit(8)>> = bytes155 │ ~156 │157 └─ lib/cbor/decoder.ex:150:38: CBOR.Decoder.decode_tag/2158159 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator160 │161 155 │ <<res::unsigned-integer-size(size)-unit(8)>> = bytes162 │ ~163 │164 └─ lib/cbor/decoder.ex:155:38: CBOR.Decoder.decode_tag/2165166Generated cbor app167==> bellwether168Compiling 13 files (.ex)169Generated bellwether app170==> uboot_env171Compiling 5 files (.ex)172Generated uboot_env app173==> property_table174Compiling 8 files (.ex)175Generated property_table app176==> nerves_uevent177 CC uevent.o178 LD uevent179Compiling 5 files (.ex)180Generated nerves_uevent app181==> nerves_runtime182Compiling 14 files (.ex)183Generated nerves_runtime app184==> toolshed185Compiling 5 files (.ex)186Generated toolshed app187==> nerves_compatibility_test188Compiling 2 files (.ex)189Generated nerves_compatibility_test app190|nerves| Building OTP Release...191192* [Nerves] validating vm.args193* skipping runtime configuration (config/runtime.exs not found)194* creating _build/trellis/rel/nerves_compatibility_test/releases/0.1.0/vm.args195Updating base firmware image with Erlang release...196scrub-otp-release.sh: ERROR: Unexpected executable format for '/work/proj/_build/trellis/_nerves-tmp/rootfs_overlay/srv/erlang/lib/bellwether-0.1.0/priv/bin/aarch64-unknown-linux-musl/bellwether-core-handler'197198Got:199 readelf:AArch64;0x0200201Expecting:202 readelf:ARM;0x5000400, Version5 EABI, hard-float ABI203204This file was compiled for the host or a different target and probably205will not work.206207Check the following:2082091. If this file comes from a library, that library may be compiling to210 its source directory under `deps`. Manually clean up the source211 directory and try building again.2122132. Are you using a path dependency in your mix deps? If so, run214 'mix clean' in that directory to avoid pulling in any of its215 build products.2162173. Did you recently upgrade or change your Nerves system? If so,218 try cleaning and rebuilding this project and its deps.2192204. Are you building outside of Nerves' mix integration? If so,221 make sure that you've sourced 'nerves-env.sh'.222223If you are very sure you know what you are doing, you may place an empty224file in the same directory as the offending file(s) called '.noscrub'.225This will explicitly disable scrubbing for that directory.226227If you're still having trouble, please file an issue on Github228at https://github.com/nerves-project/nerves_system_br/issues.229