Build log
nerves_system_rpi0_2
magma 0.3.2 · fail · run magma-0.3.2-1793130583470
228 of 228 lines
1Resolving Hex dependencies...2Resolution completed in 0.163s3Unchanged:4 burrito 1.6.05 circular_buffer 1.1.06 clipboard 0.2.17 elixir_make 0.10.18 exile 0.15.09 finch 0.24.010 hpax 1.1.011 interactive_cmd 0.1.412 jason 1.4.513 logger_backends 1.0.114 magma 0.3.215 mime 2.0.716 mint 1.11.017 nerves 2.0.0-pre.318 nerves_discovery 0.1.619 nerves_logging 0.2.420 nerves_runtime 0.13.1321 nerves_system_bbb 2.31.122 nerves_system_br 1.35.323 nerves_system_mangopi_mq_pro 0.18.124 nerves_system_qemu_aarch64 0.5.125 nerves_system_rpi0 2.2.126 nerves_system_rpi0_2 2.2.127 nerves_system_rpi4 2.2.128 nerves_system_rpi5 2.2.129 nerves_system_trellis 0.6.130 nerves_system_x86_64 1.35.131 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.132 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.133 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.134 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.135 nerves_toolchain_x86_64_nerves_linux_musl 15.3.136 nerves_uevent 0.1.837 nimble_options 1.1.138 nimble_pool 1.1.039 panpipe 0.3.340 property_table 0.3.441 protocol_ex 0.5.142 req 0.7.543 ring_logger 0.11.744 tablet 0.3.345 telemetry 1.4.246 toolshed 0.5.047 typed_struct 0.3.048 uboot_env 1.0.349 yamerl 0.10.050 yaml_elixir 2.12.251 yaml_front_matter 1.0.052* Getting magma (Hex package)53* Getting nerves (Hex package)54* Getting logger_backends (Hex package)55* Getting ring_logger (Hex package)56* Getting toolshed (Hex package)57* Getting nerves_runtime (Hex package)58* Getting nerves_system_bbb (Hex package)59* Getting nerves_system_mangopi_mq_pro (Hex package)60* Getting nerves_system_qemu_aarch64 (Hex package)61* Getting nerves_system_rpi0 (Hex package)62* Getting nerves_system_rpi0_2 (Hex package)63* Getting nerves_system_rpi4 (Hex package)64* Getting nerves_system_rpi5 (Hex package)65* Getting nerves_system_trellis (Hex package)66* Getting nerves_system_x86_64 (Hex package)67* Getting nerves_system_br (Hex package)68* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)69* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)70* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)71* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)72* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)73* Getting nerves_logging (Hex package)74* Getting nerves_uevent (Hex package)75* Getting uboot_env (Hex package)76* Getting elixir_make (Hex package)77* Getting property_table (Hex package)78* Getting circular_buffer (Hex package)79* Getting interactive_cmd (Hex package)80* Getting nerves_discovery (Hex package)81* Getting tablet (Hex package)82* Getting burrito (Hex package)83* Getting clipboard (Hex package)84* Getting jason (Hex package)85* Getting panpipe (Hex package)86* Getting yaml_elixir (Hex package)87* Getting yaml_front_matter (Hex package)88* Getting yamerl (Hex package)89* Getting exile (Hex package)90* Getting protocol_ex (Hex package)91* Getting req (Hex package)92* Getting typed_struct (Hex package)93* Getting finch (Hex package)94* Getting mime (Hex package)95* Getting mint (Hex package)96* Getting nimble_options (Hex package)97* Getting nimble_pool (Hex package)98* Getting telemetry (Hex package)99* Getting hpax (Hex package)100You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more101==> tablet102Compiling 2 files (.ex)103Generated tablet app104==> nerves_discovery105Compiling 5 files (.ex)106Generated nerves_discovery app107==> interactive_cmd108Compiling 1 file (.ex)109Generated interactive_cmd app110==> nerves111Compiling 65 files (.ex)112Generated nerves app113==> nerves_system_br114Generated nerves_system_br app115==> typed_struct116Compiling 2 files (.ex)117Generated typed_struct app118==> mime119Compiling 1 file (.ex)120Generated mime app121==> circular_buffer122Compiling 1 file (.ex)123Generated circular_buffer app124==> nimble_options125Compiling 3 files (.ex)126Generated nimble_options app127==> jason128Compiling 10 files (.ex)129Generated jason app130==> logger_backends131Compiling 7 files (.ex)132Generated logger_backends app133==> hpax134Compiling 4 files (.ex)135Generated hpax app136==> mint137Compiling 1 file (.erl)138Compiling 21 files (.ex)139Generated mint app140==> nerves_compatibility_test141===> Analyzing applications...142===> Compiling yamerl143/work/proj/deps_rpi0_2/yamerl/src/yamerl_constr.erl:801:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.144Compile directive 'nowarn_deprecated_catch' can be used to suppress145warnings in selected modules.146% 801| catch Mod:module_info(),147% | ^148149 ┌─ src/yamerl_constr.erl:150 │151 801 │ catch Mod:module_info(),152 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.153Compile directive 'nowarn_deprecated_catch' can be used to suppress154warnings in selected modules.155156157/work/proj/deps_rpi0_2/yamerl/src/yamerl_node_binary.erl:65:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.158Compile directive 'nowarn_deprecated_catch' can be used to suppress159warnings in selected modules.160% 65| case catch base64:decode(Text) of161% | ^162163/work/proj/deps_rpi0_2/yamerl/src/yamerl_node_binary.erl:72:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.164Compile directive 'nowarn_deprecated_catch' can be used to suppress165warnings in selected modules.166% 72| case catch base64:decode(Text) of167% | ^168169 ┌─ src/yamerl_node_binary.erl:170 │171 65 │ case catch base64:decode(Text) of172 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.173Compile directive 'nowarn_deprecated_catch' can be used to suppress174warnings in selected modules.175176 ┌─ src/yamerl_node_binary.erl:177 │178 72 │ case catch base64:decode(Text) of179 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.180Compile directive 'nowarn_deprecated_catch' can be used to suppress181warnings in selected modules.182183184==> clipboard185Compiling 1 file (.ex)186 warning: this clause of defp execute/1 is never used (or it will always fail/warn when invoked)187 │188 122 │ defp execute(nil), do: {:error, "Unsupported operating system"}189 │ ~190 │191 └─ lib/clipboard.ex:122:8: Clipboard.execute/1192193 warning: this clause of defp execute/2 is never used (or it will always fail/warn when invoked)194 │195 138 │ defp execute(nil, _), do: {:error, "Unsupported operating system"}196 │ ~197 │198 └─ lib/clipboard.ex:138:8: Clipboard.execute/2199200Generated clipboard app201==> elixir_make202Compiling 8 files (.ex)203Generated elixir_make app204==> nerves_logging205 CC kmsg_tailer.o206 LD kmsg_tailer207Compiling 5 files (.ex)208Generated nerves_logging app209==> exile210mkdir -p priv211/work/nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -std=c99 -I/work/nerves/artifacts/nerves_system_rpi0_2-2.2.1/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include -shared -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a53 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_rpi0_2-2.2.1/staging -D_POSIX_C_SOURCE=200809L c_src/exile.c -o priv/exile.so212mkdir -p priv213/work/nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -std=c99 -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a53 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_rpi0_2-2.2.1/staging -D_POSIX_C_SOURCE=200809L c_src/spawner.c -o priv/spawner214c_src/exile.c:1:10: fatal error: erl_nif.h: No such file or directory215 1 | #include "erl_nif.h"216 | ^~~~~~~~~~~217compilation terminated.218make: *** [Makefile:29: priv/exile.so] Error 1219make: *** Waiting for unfinished jobs....220could not compile dependency :exile, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile exile --force", update it with "mix deps.update exile" or clean it with "mix deps.clean exile"221==> nerves_compatibility_test222** (Mix) Could not compile with "make" (exit status: 2).223You need to have gcc and make installed. If you are using224Ubuntu or any other Debian-based system, install the packages225"build-essential". Also install "erlang-dev" package if not226included in your Erlang/OTP version. If you're on Fedora, run227"dnf group install 'Development Tools'".228