Build log
nerves_system_rpi4
fit_decoder 0.1.0 · fail · run fit_decoder-0.1.0-1790926425034
195 of 195 lines
1Resolving Hex dependencies...2Resolution completed in 0.131s3Unchanged:4 circular_buffer 1.1.05 elixir_make 0.10.06 fit_decoder 0.1.07 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_br 1.34.414 nerves_system_mangopi_mq_pro 0.17.215 nerves_system_rpi4 2.1.216 nerves_system_trellis 0.5.017 nerves_system_x86_64 1.34.218 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.119 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.120 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.121 nerves_toolchain_x86_64_nerves_linux_musl 15.3.122 nerves_uevent 0.1.723 property_table 0.3.424 ring_logger 0.11.725 shoehorn 0.9.326 tablet 0.3.327 toolshed 0.5.028 uboot_env 1.0.229* Getting fit_decoder (Hex package)30* Getting nerves (Hex package)31* Getting shoehorn (Hex package)32* Getting ring_logger (Hex package)33* Getting toolshed (Hex package)34* Getting nerves_runtime (Hex package)35* Getting nerves_system_mangopi_mq_pro (Hex package)36* Getting nerves_system_rpi4 (Hex package)37* Getting nerves_system_trellis (Hex package)38* Getting nerves_system_x86_64 (Hex package)39* Getting nerves_system_br (Hex package)40* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)41* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)42* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)43* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)44* Getting nerves_logging (Hex package)45* Getting nerves_uevent (Hex package)46* Getting uboot_env (Hex package)47* Getting elixir_make (Hex package)48* Getting property_table (Hex package)49* Getting circular_buffer (Hex package)50* Getting interactive_cmd (Hex package)51* Getting jason (Hex package)52* Getting nerves_discovery (Hex package)53* Getting tablet (Hex package)54==> jason55Compiling 10 files (.ex)56Generated jason app57==> tablet58Compiling 2 files (.ex)59Generated tablet app60==> elixir_make61Compiling 8 files (.ex)62Generated elixir_make app63==> nerves_discovery64Compiling 5 files (.ex)65Generated nerves_discovery app66==> interactive_cmd67Compiling 1 file (.ex)68Generated interactive_cmd app69==> nerves70HOST_CC port.o71HOST_LD port72Compiling 55 files (.ex)73Generated nerves app74==> nerves_compatibility_test7576Nerves environment77 MIX_TARGET: rpi478 MIX_ENV: prod7980Checking for prebuilt Nerves artifacts...81 Found nerves_system_rpi4 in cache82 /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.1.283 Found nerves_toolchain_aarch64_nerves_linux_gnu in cache84 /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_x86_64-15.3.185==> jason86Compiling 10 files (.ex)87Generated jason app88==> tablet89Compiling 2 files (.ex)90Generated tablet app91==> elixir_make92Compiling 8 files (.ex)93Generated elixir_make app94==> nerves_discovery95Compiling 5 files (.ex)96Generated nerves_discovery app97==> interactive_cmd98Compiling 1 file (.ex)99Generated interactive_cmd app100==> nerves101HOST_CC port.o102HOST_LD port103Compiling 55 files (.ex)104Generated nerves app105==> nerves_system_br106Generated nerves_system_br app107==> nerves_toolchain_aarch64_nerves_linux_gnu108Compiling 1 file (.ex)109Generated nerves_toolchain_aarch64_nerves_linux_gnu app110==> nerves_system_rpi4111Generated nerves_system_rpi4 app112==> nerves_compatibility_test113114Nerves environment115 MIX_TARGET: rpi4116 MIX_ENV: prod117118==> circular_buffer119Compiling 1 file (.ex)120Generated circular_buffer app121==> fit_decoder122g++ -fPIC -I"/usr/local/lib/erlang/erts-17.0.4/include" -I"c_src/fit_sdk/cpp" c_src/nif.cpp c_src/fit_sdk/cpp/fit.cpp c_src/fit_sdk/cpp/fit_accumulated_field.cpp c_src/fit_sdk/cpp/fit_accumulator.cpp c_src/fit_sdk/cpp/fit_buffer_encode.cpp c_src/fit_sdk/cpp/fit_buffered_mesg_broadcaster.cpp c_src/fit_sdk/cpp/fit_buffered_record_mesg_broadcaster.cpp c_src/fit_sdk/cpp/fit_crc.cpp c_src/fit_sdk/cpp/fit_date_time.cpp c_src/fit_sdk/cpp/fit_decode.cpp c_src/fit_sdk/cpp/fit_developer_field.cpp c_src/fit_sdk/cpp/fit_developer_field_definition.cpp c_src/fit_sdk/cpp/fit_developer_field_description.cpp c_src/fit_sdk/cpp/fit_encode.cpp c_src/fit_sdk/cpp/fit_factory.cpp c_src/fit_sdk/cpp/fit_field.cpp c_src/fit_sdk/cpp/fit_field_base.cpp c_src/fit_sdk/cpp/fit_field_definition.cpp c_src/fit_sdk/cpp/fit_mesg.cpp c_src/fit_sdk/cpp/fit_mesg_broadcaster.cpp c_src/fit_sdk/cpp/fit_mesg_definition.cpp c_src/fit_sdk/cpp/fit_mesg_with_event_broadcaster.cpp c_src/fit_sdk/cpp/fit_profile.cpp c_src/fit_sdk/cpp/fit_protocol_validator.cpp c_src/fit_sdk/cpp/fit_unicode.cpp -o priv/nif.so -shared123Compiling 3 files (.ex)124Generated fit_decoder 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==> uboot_env137Compiling 5 files (.ex)138Generated uboot_env app139==> property_table140Compiling 8 files (.ex)141Generated property_table app142==> nerves_uevent143 CC uevent.o144 LD uevent145Compiling 5 files (.ex)146Generated nerves_uevent app147==> nerves_runtime148Compiling 14 files (.ex)149Generated nerves_runtime app150==> toolshed151Compiling 5 files (.ex)152Generated toolshed app153==> nerves_compatibility_test154Compiling 2 files (.ex)155Generated nerves_compatibility_test app156|nerves| Building OTP Release...157158* [Nerves] validating vm.args159* skipping runtime configuration (config/runtime.exs not found)160* creating _build/rpi4/rel/nerves_compatibility_test/releases/0.1.0/vm.args161Updating base firmware image with Erlang release...162scrub-otp-release.sh: ERROR: Unexpected executable format for '/work/proj/_build/rpi4/_nerves-tmp/rootfs_overlay/srv/erlang/lib/fit_decoder-0.1.0/priv/nif.so'163164Got:165 readelf:Advanced Micro Devices X86-64;0x0166167Expecting:168 readelf:AArch64;0x0169170This file was compiled for the host or a different target and probably171will not work.172173Check the following:1741751. If this file comes from a library, that library may be compiling to176 its source directory under `deps`. Manually clean up the source177 directory and try building again.1781792. Are you using a path dependency in your mix deps? If so, run180 'mix clean' in that directory to avoid pulling in any of its181 build products.1821833. Did you recently upgrade or change your Nerves system? If so,184 try cleaning and rebuilding this project and its deps.1851864. Are you building outside of Nerves' mix integration? If so,187 make sure that you've sourced 'nerves-env.sh'.188189If you are very sure you know what you are doing, you may place an empty190file in the same directory as the offending file(s) called '.noscrub'.191This will explicitly disable scrubbing for that directory.192193If you're still having trouble, please file an issue on Github194at https://github.com/nerves-project/nerves_system_br/issues.195