Build log
nerves_system_rpi4
mquickjs_ex 0.2.0 · fail · run mquickjs_ex-0.2.0-1789378519894
241 of 241 lines
1Resolving Hex dependencies...2Resolution completed in 0.182s3Unchanged:4 circular_buffer 1.1.05 elixir_make 0.10.06 interactive_cmd 0.1.47 jason 1.4.58 mquickjs_ex 0.2.09 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 shoehorn 0.9.334 tablet 0.3.335 toolshed 0.5.036 uboot_env 1.0.237* Getting mquickjs_ex (Hex package)38* Getting nerves (Hex package)39* Getting shoehorn (Hex package)40* Getting ring_logger (Hex package)41* Getting toolshed (Hex package)42* Getting nerves_runtime (Hex package)43* Getting nerves_system_bbb (Hex package)44* Getting nerves_system_mangopi_mq_pro (Hex package)45* Getting nerves_system_qemu_aarch64 (Hex package)46* Getting nerves_system_rpi (Hex package)47* Getting nerves_system_rpi0 (Hex package)48* Getting nerves_system_rpi0_2 (Hex package)49* Getting nerves_system_rpi2 (Hex package)50* Getting nerves_system_rpi3 (Hex package)51* Getting nerves_system_rpi4 (Hex package)52* Getting nerves_system_rpi5 (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_aarch64_nerves_linux_gnu (Hex package)57* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (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 jason (Hex package)68* Getting nerves_discovery (Hex package)69* Getting tablet (Hex package)70==> jason71Compiling 10 files (.ex)72Generated jason app73==> tablet74Compiling 2 files (.ex)75Generated tablet app76==> elixir_make77Compiling 8 files (.ex)78Generated elixir_make app79==> nerves_discovery80Compiling 5 files (.ex)81Generated nerves_discovery app82==> interactive_cmd83Compiling 1 file (.ex)84Generated interactive_cmd app85==> nerves86HOST_CC port.o87HOST_LD port88Compiling 55 files (.ex)89Generated nerves app90==> nerves_compatibility_test9192Nerves environment93 MIX_TARGET: rpi494 MIX_ENV: prod9596Checking for prebuilt Nerves artifacts...97 Found nerves_system_rpi4 in cache98 /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.299 Found nerves_toolchain_aarch64_nerves_linux_gnu in cache100 /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.1101==> jason102Compiling 10 files (.ex)103Compiling lib/decoder.ex (it's taking more than 10s)104Generated jason app105==> tablet106Compiling 2 files (.ex)107Generated tablet app108==> elixir_make109Compiling 8 files (.ex)110Generated elixir_make app111==> nerves_discovery112Compiling 5 files (.ex)113Generated nerves_discovery app114==> interactive_cmd115Compiling 1 file (.ex)116Generated interactive_cmd app117==> nerves118HOST_CC port.o119HOST_LD port120Compiling 55 files (.ex)121Generated nerves app122==> nerves_system_br123Generated nerves_system_br app124==> nerves_toolchain_aarch64_nerves_linux_gnu125Compiling 1 file (.ex)126Generated nerves_toolchain_aarch64_nerves_linux_gnu app127==> nerves_system_rpi4128Generated nerves_system_rpi4 app129==> nerves_compatibility_test130131Nerves environment132 MIX_TARGET: rpi4133 MIX_ENV: prod134135==> circular_buffer136Compiling 1 file (.ex)137Generated circular_buffer app138==> mquickjs_ex139cc -O2 -Wall -D_GNU_SOURCE -fno-math-errno -fno-trapping-math -o c_src/mquickjs_ex_stdlib_gen c_src/mquickjs_ex_stdlib.c c_src/vendor/mquickjs_build.c -Ic_src/vendor140mkdir -p priv141cd c_src && ./mquickjs_ex_stdlib_gen > mquickjs_ex_stdlib.h142cd c_src && ./mquickjs_ex_stdlib_gen -a > mquickjs_atom.h143Too many properties, consider increasing ATOM_ALIGN144Too many properties, consider increasing ATOM_ALIGN145Too many properties, consider increasing ATOM_ALIGN146cc -O2 -Wall -fPIC -D_GNU_SOURCE -fno-math-errno -fno-trapping-math -shared -o priv/mquickjs_ex.so c_src/mquickjs_ex.c c_src/vendor/mquickjs.c c_src/vendor/dtoa.c c_src/vendor/libm.c c_src/vendor/cutils.c \147 -Ic_src/vendor -Ic_src -I/usr/local/lib/erlang/erts-17.0.4/include -lm148Compiling 5 files (.ex)149 warning: the following clause is redundant:150151 def normalize_scope([])152153 it has type:154155 empty_list()156157 previous clauses have already matched on the following types:158159 binary()160 empty_list() or non_empty_list(term(), term())161 atom() and not nil162 nil163164 │165 135 │ def normalize_scope([]), do: []166 │ ~167 │168 └─ lib/mquickjs_ex/api.ex:135:7: MquickjsEx.API.normalize_scope/1169170Generated mquickjs_ex app171==> nerves_logging172 CC kmsg_tailer.o173 LD kmsg_tailer174Compiling 5 files (.ex)175Generated nerves_logging app176==> ring_logger177Compiling 7 files (.ex)178Generated ring_logger app179==> shoehorn180Compiling 8 files (.ex)181Generated shoehorn app182==> uboot_env183Compiling 5 files (.ex)184Generated uboot_env app185==> property_table186Compiling 8 files (.ex)187Generated property_table app188==> nerves_uevent189 CC uevent.o190 LD uevent191Compiling 5 files (.ex)192Generated nerves_uevent app193==> nerves_runtime194Compiling 14 files (.ex)195Generated nerves_runtime app196==> toolshed197Compiling 5 files (.ex)198Generated toolshed app199==> nerves_compatibility_test200Compiling 2 files (.ex)201Generated nerves_compatibility_test app202|nerves| Building OTP Release...203204* [Nerves] validating vm.args205* skipping runtime configuration (config/runtime.exs not found)206* creating _build/rpi4/rel/nerves_compatibility_test/releases/0.1.0/vm.args207Updating base firmware image with Erlang release...208scrub-otp-release.sh: ERROR: Unexpected executable format for '/work/proj/_build/rpi4/_nerves-tmp/rootfs_overlay/srv/erlang/lib/mquickjs_ex-0.2.0/priv/mquickjs_ex.so'209210Got:211 readelf:Advanced Micro Devices X86-64;0x0212213Expecting:214 readelf:AArch64;0x0215216This file was compiled for the host or a different target and probably217will not work.218219Check the following:2202211. If this file comes from a library, that library may be compiling to222 its source directory under `deps`. Manually clean up the source223 directory and try building again.2242252. Are you using a path dependency in your mix deps? If so, run226 'mix clean' in that directory to avoid pulling in any of its227 build products.2282293. Did you recently upgrade or change your Nerves system? If so,230 try cleaning and rebuilding this project and its deps.2312324. Are you building outside of Nerves' mix integration? If so,233 make sure that you've sourced 'nerves-env.sh'.234235If you are very sure you know what you are doing, you may place an empty236file in the same directory as the offending file(s) called '.noscrub'.237This will explicitly disable scrubbing for that directory.238239If you're still having trouble, please file an issue on Github240at https://github.com/nerves-project/nerves_system_br/issues.241