Build log
nerves_system_mangopi_mq_pro
bellwether 0.1.0 · fail · run bellwether-0.1.0-1790071059820
228 of 228 lines
1Resolving Hex dependencies...2Resolution completed in 0.476s3Unchanged: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: mangopi_mq_pro80 MIX_ENV: prod8182Checking for prebuilt Nerves artifacts...83 Found nerves_system_mangopi_mq_pro in cache84 /home/nerves/.nerves/artifacts/nerves_system_mangopi_mq_pro-portable-0.17.285 Found nerves_toolchain_riscv64_nerves_linux_gnu in cache86 /home/nerves/.nerves/artifacts/nerves_toolchain_riscv64_nerves_linux_gnu-linux_x86_64-15.3.187==> jason88Compiling 10 files (.ex)89Compiling lib/decoder.ex (it's taking more than 10s)90Generated jason app91==> tablet92Compiling 2 files (.ex)93Generated tablet app94==> elixir_make95Compiling 8 files (.ex)96Generated elixir_make app97==> nerves_discovery98Compiling 5 files (.ex)99Generated nerves_discovery app100==> interactive_cmd101Compiling 1 file (.ex)102Generated interactive_cmd app103==> nerves104HOST_CC port.o105HOST_LD port106Compiling 55 files (.ex)107Generated nerves app108==> nerves_system_br109Generated nerves_system_br app110==> nerves_toolchain_riscv64_nerves_linux_gnu111Compiling 1 file (.ex)112Generated nerves_toolchain_riscv64_nerves_linux_gnu app113==> nerves_system_mangopi_mq_pro114Generated nerves_system_mangopi_mq_pro app115==> nerves_compatibility_test116117Nerves environment118 MIX_TARGET: mangopi_mq_pro119 MIX_ENV: prod120121==> circular_buffer122Compiling 1 file (.ex)123Generated circular_buffer app124==> nerves_logging125 CC kmsg_tailer.o126 LD kmsg_tailer127Compiling 5 files (.ex)128Generated nerves_logging app129==> ring_logger130Compiling 7 files (.ex)131Generated ring_logger app132==> shoehorn133Compiling 8 files (.ex)134Generated shoehorn app135==> cbor136Compiling 5 files (.ex)137 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 operator138 │139 53 │ <<value::binary-size(len), new_rest::binary>> = rest140 │ ~141 │142 └─ lib/cbor/decoder.ex:53:26: CBOR.Decoder.decode_string/2143144 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 operator145 │146 63 │ <<value::binary-size(len), new_rest::binary>> = mid_rest147 │ ~148 │149 └─ lib/cbor/decoder.ex:63:30: CBOR.Decoder.decode_string_indefinite/3150151 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 operator152 │153 150 │ <<res::unsigned-integer-size(size)-unit(8)>> = bytes154 │ ~155 │156 └─ lib/cbor/decoder.ex:150:38: CBOR.Decoder.decode_tag/2157158 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 operator159 │160 155 │ <<res::unsigned-integer-size(size)-unit(8)>> = bytes161 │ ~162 │163 └─ lib/cbor/decoder.ex:155:38: CBOR.Decoder.decode_tag/2164165Generated cbor app166==> bellwether167Compiling 13 files (.ex)168Generated bellwether app169==> uboot_env170Compiling 5 files (.ex)171Generated uboot_env app172==> property_table173Compiling 8 files (.ex)174Generated property_table app175==> nerves_uevent176 CC uevent.o177 LD uevent178Compiling 5 files (.ex)179Generated nerves_uevent app180==> nerves_runtime181Compiling 14 files (.ex)182Generated nerves_runtime app183==> toolshed184Compiling 5 files (.ex)185Generated toolshed app186==> nerves_compatibility_test187Compiling 2 files (.ex)188Generated nerves_compatibility_test app189|nerves| Building OTP Release...190191* [Nerves] validating vm.args192* skipping runtime configuration (config/runtime.exs not found)193* creating _build/mangopi_mq_pro/rel/nerves_compatibility_test/releases/0.1.0/vm.args194Updating base firmware image with Erlang release...195scrub-otp-release.sh: ERROR: Unexpected executable format for '/work/proj/_build/mangopi_mq_pro/_nerves-tmp/rootfs_overlay/srv/erlang/lib/bellwether-0.1.0/priv/bin/aarch64-unknown-linux-musl/bellwether-core-handler'196197Got:198 readelf:AArch64;0x0199200Expecting:201 readelf:RISC-V;0x5, RVC, double-float ABI202203This file was compiled for the host or a different target and probably204will not work.205206Check the following:2072081. If this file comes from a library, that library may be compiling to209 its source directory under `deps`. Manually clean up the source210 directory and try building again.2112122. Are you using a path dependency in your mix deps? If so, run213 'mix clean' in that directory to avoid pulling in any of its214 build products.2152163. Did you recently upgrade or change your Nerves system? If so,217 try cleaning and rebuilding this project and its deps.2182194. Are you building outside of Nerves' mix integration? If so,220 make sure that you've sourced 'nerves-env.sh'.221222If you are very sure you know what you are doing, you may place an empty223file in the same directory as the offending file(s) called '.noscrub'.224This will explicitly disable scrubbing for that directory.225226If you're still having trouble, please file an issue on Github227at https://github.com/nerves-project/nerves_system_br/issues.228