magma

Build log

nerves_system_rpi5

magma 0.3.2 · fail · run magma-0.3.2-1790983273514
212 of 212 lines
1Resolving Hex dependencies...2Resolution completed in 0.207s3Unchanged:4  burrito 1.6.05  circular_buffer 1.1.06  clipboard 0.2.17  elixir_make 0.10.08  exile 0.15.09  finch 0.24.010  hpax 1.1.011  interactive_cmd 0.1.412  jason 1.4.513  magma 0.3.214  mime 2.0.715  mint 1.11.016  nerves 2.0.0-pre.217  nerves_discovery 0.1.518  nerves_logging 0.2.419  nerves_runtime 0.13.1320  nerves_system_bbb 2.30.221  nerves_system_br 1.34.422  nerves_system_mangopi_mq_pro 0.17.223  nerves_system_qemu_aarch64 0.4.224  nerves_system_rpi0 2.1.225  nerves_system_rpi4 2.1.226  nerves_system_rpi5 2.1.227  nerves_system_trellis 0.5.028  nerves_system_x86_64 1.34.229  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.130  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.131  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.132  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.133  nerves_toolchain_x86_64_nerves_linux_musl 15.3.134  nerves_uevent 0.1.735  nimble_options 1.1.136  nimble_pool 1.1.037  panpipe 0.3.338  property_table 0.3.439  protocol_ex 0.5.140  req 0.7.441  ring_logger 0.11.742  tablet 0.3.343  telemetry 1.4.244  toolshed 0.5.045  typed_struct 0.3.046  uboot_env 1.0.247  yamerl 0.10.048  yaml_elixir 2.12.249  yaml_front_matter 1.0.050* Getting magma (Hex package)51* Getting nerves (Hex package)52* Getting ring_logger (Hex package)53* Getting toolshed (Hex package)54* Getting nerves_runtime (Hex package)55* Getting nerves_system_bbb (Hex package)56* Getting nerves_system_mangopi_mq_pro (Hex package)57* Getting nerves_system_qemu_aarch64 (Hex package)58* Getting nerves_system_rpi0 (Hex package)59* Getting nerves_system_rpi4 (Hex package)60* Getting nerves_system_rpi5 (Hex package)61* Getting nerves_system_trellis (Hex package)62* Getting nerves_system_x86_64 (Hex package)63* Getting nerves_system_br (Hex package)64* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)65* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)66* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)67* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)68* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)69* Getting nerves_logging (Hex package)70* Getting nerves_uevent (Hex package)71* Getting uboot_env (Hex package)72* Getting elixir_make (Hex package)73* Getting property_table (Hex package)74* Getting circular_buffer (Hex package)75* Getting interactive_cmd (Hex package)76* Getting nerves_discovery (Hex package)77* Getting tablet (Hex package)78* Getting burrito (Hex package)79* Getting clipboard (Hex package)80* Getting jason (Hex package)81* Getting panpipe (Hex package)82* Getting yaml_elixir (Hex package)83* Getting yaml_front_matter (Hex package)84* Getting yamerl (Hex package)85* Getting exile (Hex package)86* Getting protocol_ex (Hex package)87* Getting req (Hex package)88* Getting typed_struct (Hex package)89* Getting finch (Hex package)90* Getting mime (Hex package)91* Getting mint (Hex package)92* Getting nimble_options (Hex package)93* Getting nimble_pool (Hex package)94* Getting telemetry (Hex package)95* Getting hpax (Hex package)96You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more97==> nerves_system_br98Generated nerves_system_br app99==> typed_struct100Compiling 2 files (.ex)101Generated typed_struct app102==> mime103Compiling 1 file (.ex)104Generated mime app105==> circular_buffer106Compiling 1 file (.ex)107Generated circular_buffer app108==> nimble_options109Compiling 3 files (.ex)110Generated nimble_options app111==> jason112Compiling 10 files (.ex)113Generated jason app114==> hpax115Compiling 4 files (.ex)116Generated hpax app117==> mint118Compiling 1 file (.erl)119Compiling 21 files (.ex)120Generated mint app121==> nerves_compatibility_test122===> Analyzing applications...123===> Compiling yamerl124/work/proj/deps_rpi5/yamerl/src/yamerl_node_binary.erl:65:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.125Compile directive 'nowarn_deprecated_catch' can be used to suppress126warnings in selected modules.127%   65|    case catch base64:decode(Text) of128%     |         ^129130/work/proj/deps_rpi5/yamerl/src/yamerl_node_binary.erl:72:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.131Compile directive 'nowarn_deprecated_catch' can be used to suppress132warnings in selected modules.133%   72|    case catch base64:decode(Text) of134%     |         ^135136    ┌─ src/yamerl_node_binary.erl:137    │138 65 │     case catch base64:decode(Text) of139    │          ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.140Compile directive 'nowarn_deprecated_catch' can be used to suppress141warnings in selected modules.142143    ┌─ src/yamerl_node_binary.erl:144    │145 72 │     case catch base64:decode(Text) of146    │          ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.147Compile directive 'nowarn_deprecated_catch' can be used to suppress148warnings in selected modules.149150151/work/proj/deps_rpi5/yamerl/src/yamerl_constr.erl:801:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.152Compile directive 'nowarn_deprecated_catch' can be used to suppress153warnings in selected modules.154%  801|     catch Mod:module_info(),155%     |     ^156157     ┌─ src/yamerl_constr.erl:158     │159 801 │      catch Mod:module_info(),160     │      ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.161Compile directive 'nowarn_deprecated_catch' can be used to suppress162warnings in selected modules.163164165==> clipboard166Compiling 1 file (.ex)167     warning: this clause of defp execute/1 is never used (or it will always fail/warn when invoked)168     │169 122 │   defp execute(nil), do: {:error, "Unsupported operating system"}170     │        ~171     │172     └─ lib/clipboard.ex:122:8: Clipboard.execute/1173174     warning: this clause of defp execute/2 is never used (or it will always fail/warn when invoked)175     │176 138 │   defp execute(nil, _), do: {:error, "Unsupported operating system"}177     │        ~178     │179     └─ lib/clipboard.ex:138:8: Clipboard.execute/2180181Generated clipboard app182==> tablet183Compiling 2 files (.ex)184Generated tablet app185==> elixir_make186Compiling 8 files (.ex)187Generated elixir_make app188==> nerves_logging189 CC kmsg_tailer.o190 LD kmsg_tailer191Compiling 5 files (.ex)192Generated nerves_logging app193==> exile194mkdir -p priv195mkdir -p priv196/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -std=c99 -I/home/nerves/.nerves/artifacts/nerves_system_rpi5-2.1.2/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include -shared -mabi=lp64 -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 -fstack-protector-strong -mcpu=cortex-a76 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_rpi5-2.1.2/staging -D_POSIX_C_SOURCE=200809L c_src/exile.c -o priv/exile.so197/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -std=c99 -mabi=lp64 -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 -fstack-protector-strong -mcpu=cortex-a76 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_rpi5-2.1.2/staging -D_POSIX_C_SOURCE=200809L c_src/spawner.c -o priv/spawner198c_src/exile.c:1:10: fatal error: erl_nif.h: No such file or directory199    1 | #include "erl_nif.h"200      |          ^~~~~~~~~~~201compilation terminated.202make: *** [Makefile:29: priv/exile.so] Error 1203make: *** Waiting for unfinished jobs....204could 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"205==> nerves_compatibility_test206** (Mix) Could not compile with "make" (exit status: 2).207You need to have gcc and make installed. If you are using208Ubuntu or any other Debian-based system, install the packages209"build-essential". Also install "erlang-dev" package if not210included in your Erlang/OTP version. If you're on Fedora, run211"dnf group install 'Development Tools'".212