Build log
nerves_system_rpi0
neutron 0.2.1 · fail · run neutron-0.2.1-1791017240988
152 of 152 lines
1Resolving Hex dependencies...2Resolution completed in 0.133s3Unchanged:4 circular_buffer 1.1.05 elixir_make 0.10.06 interactive_cmd 0.1.47 nerves 2.0.0-pre.28 nerves_discovery 0.1.59 nerves_logging 0.2.410 nerves_runtime 0.13.1311 nerves_system_bbb 2.30.212 nerves_system_br 1.34.413 nerves_system_mangopi_mq_pro 0.17.214 nerves_system_qemu_aarch64 0.4.215 nerves_system_rpi0 2.1.216 nerves_system_rpi4 2.1.217 nerves_system_rpi5 2.1.218 nerves_system_trellis 0.5.019 nerves_system_x86_64 1.34.220 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.121 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.122 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.123 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.124 nerves_toolchain_x86_64_nerves_linux_musl 15.3.125 nerves_uevent 0.1.726 neutron 0.2.127 property_table 0.3.428 ring_logger 0.11.729 tablet 0.3.330 toolshed 0.5.031 uboot_env 1.0.232* Getting neutron (Hex package)33* Getting nerves (Hex package)34* Getting ring_logger (Hex package)35* Getting toolshed (Hex package)36* Getting nerves_runtime (Hex package)37* Getting nerves_system_bbb (Hex package)38* Getting nerves_system_mangopi_mq_pro (Hex package)39* Getting nerves_system_qemu_aarch64 (Hex package)40* Getting nerves_system_rpi0 (Hex package)41* Getting nerves_system_rpi4 (Hex package)42* Getting nerves_system_rpi5 (Hex package)43* Getting nerves_system_trellis (Hex package)44* Getting nerves_system_x86_64 (Hex package)45* Getting nerves_system_br (Hex package)46* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)47* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)48* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)49* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)50* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)51* Getting nerves_logging (Hex package)52* Getting nerves_uevent (Hex package)53* Getting uboot_env (Hex package)54* Getting elixir_make (Hex package)55* Getting property_table (Hex package)56* Getting circular_buffer (Hex package)57* Getting interactive_cmd (Hex package)58* Getting nerves_discovery (Hex package)59* Getting tablet (Hex package)60==> nerves_system_br61Generated nerves_system_br app62==> circular_buffer63Compiling 1 file (.ex)64Generated circular_buffer app65==> tablet66Compiling 2 files (.ex)67Generated tablet app68==> elixir_make69Compiling 8 files (.ex)70Generated elixir_make app71==> nerves_logging72 CC kmsg_tailer.o73 LD kmsg_tailer74Compiling 5 files (.ex)75Generated nerves_logging app76==> nerves_discovery77Compiling 5 files (.ex)78Generated nerves_discovery app79==> ring_logger80Compiling 7 files (.ex)81Generated ring_logger app82==> neutron83mkdir -p /work/proj/_build/rpi0/lib/neutron/priv/84/home/nerves/.nerves/artifacts/nerves_toolchain_armv6_nerves_linux_gnueabihf-15.3.1/bin/armv6-nerves-linux-gnueabihf-gcc c_src/neutron_nif.c \85 -shared \86 -pedantic \87 -fPIC \88 -O3 \89 -finline-functions \90 -o /work/proj/_build/rpi0/lib/neutron/priv/neutron_nif.so \91 /usr/lib/libpulsar.so \92 -I/usr/local/ssl/include \93 -I/home/nerves/.nerves/artifacts/nerves_system_rpi0-2.1.2/staging/usr/lib/erlang/erts-17.0.6/include -I/home/nerves/.nerves/artifacts/nerves_system_rpi0-2.1.2/staging/usr/lib/erlang/lib/erl_interface-5.8.2/include \94 -I/home/nerves/.nerves/artifacts/nerves_system_rpi0-2.1.2/staging/usr/lib/erlang/erts-17.0.6/include \95 -L/home/nerves/.nerves/artifacts/nerves_system_rpi0-2.1.2/staging/usr/lib/erlang/lib/erl_interface-5.8.2/lib -lei96apt-get found97E: setgroups 65534 failed - setgroups (1: Operation not permitted)98E: setegid 65534 failed - setegid (1: Operation not permitted)99E: seteuid 42 failed - seteuid (1: Operation not permitted)100E: setgroups 0 failed - setgroups (1: Operation not permitted)101rm: cannot remove '/var/cache/apt/archives/partial/*.deb': Permission denied102Reading package lists...103W: chown to _apt:root of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)104W: chown to _apt:root of directory /var/lib/apt/lists/auxfiles failed - SetupAPTPartialDirectory (1: Operation not permitted)105E: setgroups 65534 failed - setgroups (1: Operation not permitted)106E: setegid 65534 failed - setegid (1: Operation not permitted)107E: seteuid 42 failed - seteuid (1: Operation not permitted)108E: setgroups 0 failed - setgroups (1: Operation not permitted)109E: Method gave invalid 400 URI Failure message: Failed to setgroups - setgroups (1: Operation not permitted)110E: Method gave invalid 400 URI Failure message: Failed to setgroups - setgroups (1: Operation not permitted)111E: Method http has died unexpectedly!112E: Sub-process http returned an error code (112)113c_src/neutron_nif.c:3:10: fatal error: pulsar/c/client.h: No such file or directory114 3 | #include "pulsar/c/client.h"115 | ^~~~~~~~~~~~~~~~~~~116compilation terminated.117make: *** [Makefile:42: priv/neutron_nif.so] Error 1118make: *** Waiting for unfinished jobs....119Reading package lists...120Building dependency tree...121Reading state information...122The following NEW packages will be installed:123 apache-pulsar-client apache-pulsar-client-dev124E: setgroups 65534 failed - setgroups (1: Operation not permitted)125E: setegid 65534 failed - setegid (1: Operation not permitted)126E: seteuid 42 failed - seteuid (1: Operation not permitted)127E: setgroups 0 failed - setgroups (1: Operation not permitted)1280 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.129Need to get 0 B/65.5 MB of archives.130After this operation, 0 B of additional disk space will be used.131Get:1 /work/proj/deps_rpi0/neutron/apache-pulsar-client.deb apache-pulsar-client amd64 2.7.0 [25.8 MB]132Get:2 /work/proj/deps_rpi0/neutron/apache-pulsar-client-dev.deb apache-pulsar-client-dev amd64 2.7.0 [39.7 MB]133W: chown to _apt:root of directory /var/cache/apt/archives/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)134W: chmod 0700 of directory /var/cache/apt/archives/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)135W: chown to _apt:root of directory /var/lib/apt/lists/auxfiles failed - SetupAPTPartialDirectory (1: Operation not permitted)136E: setgroups 65534 failed - setgroups (1: Operation not permitted)137E: setegid 65534 failed - setegid (1: Operation not permitted)138E: seteuid 42 failed - seteuid (1: Operation not permitted)139W: Download is performed unsandboxed as root as file '/var/cache/apt/archives/partial/apache-pulsar-client_2.7.0_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)140E: setgroups 0 failed - setgroups (1: Operation not permitted)141W: Problem unlinking the file /var/cache/apt/archives/partial/apache-pulsar-client_2.7.0_amd64.deb - PrepareFiles (13: Permission denied)142W: Problem unlinking the file /var/cache/apt/archives/partial/apache-pulsar-client-dev_2.7.0_amd64.deb - PrepareFiles (13: Permission denied)143make: *** [Makefile:36: get_deps] Error 100144could not compile dependency :neutron, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile neutron --force", update it with "mix deps.update neutron" or clean it with "mix deps.clean neutron"145==> nerves_compatibility_test146** (Mix) Could not compile with "make" (exit status: 2).147You need to have gcc and make installed. If you are using148Ubuntu or any other Debian-based system, install the packages149"build-essential". Also install "erlang-dev" package if not150included in your Erlang/OTP version. If you're on Fedora, run151"dnf group install 'Development Tools'".152