sunxi

Build log

nerves_system_rpi0

sunxi 0.2.2 · fail · run sunxi-0.2.2-1791295635519
161 of 161 lines
1Resolving Hex dependencies...2Resolution completed in 0.118s3Unchanged:4  circular_buffer 1.1.05  elixir_make 0.10.06  interactive_cmd 0.1.47  logger_backends 1.0.18  nerves 2.0.0-pre.39  nerves_discovery 0.1.510  nerves_logging 0.2.411  nerves_runtime 0.13.1312  nerves_system_bbb 2.30.213  nerves_system_br 1.34.414  nerves_system_mangopi_mq_pro 0.17.215  nerves_system_qemu_aarch64 0.4.216  nerves_system_rpi0 2.1.217  nerves_system_rpi4 2.1.218  nerves_system_rpi5 2.1.219  nerves_system_trellis 0.5.020  nerves_system_x86_64 1.34.221  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.122  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.123  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.124  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.125  nerves_toolchain_x86_64_nerves_linux_musl 15.3.126  nerves_uevent 0.1.727  property_table 0.3.428  ring_logger 0.11.729  sunxi 0.2.230  tablet 0.3.331  toolshed 0.5.032  uboot_env 1.0.233* Getting sunxi (Hex package)34* Getting nerves (Hex package)35* Getting logger_backends (Hex package)36* Getting ring_logger (Hex package)37* Getting toolshed (Hex package)38* Getting nerves_runtime (Hex package)39* Getting nerves_system_bbb (Hex package)40* Getting nerves_system_mangopi_mq_pro (Hex package)41* Getting nerves_system_qemu_aarch64 (Hex package)42* Getting nerves_system_rpi0 (Hex package)43* Getting nerves_system_rpi4 (Hex package)44* Getting nerves_system_rpi5 (Hex package)45* Getting nerves_system_trellis (Hex package)46* Getting nerves_system_x86_64 (Hex package)47* Getting nerves_system_br (Hex package)48* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)49* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)50* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)51* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)52* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)53* Getting nerves_logging (Hex package)54* Getting nerves_uevent (Hex package)55* Getting uboot_env (Hex package)56* Getting elixir_make (Hex package)57* Getting property_table (Hex package)58* Getting circular_buffer (Hex package)59* Getting interactive_cmd (Hex package)60* Getting nerves_discovery (Hex package)61* Getting tablet (Hex package)62==> tablet63Compiling 2 files (.ex)64Generated tablet app65==> nerves_discovery66Compiling 5 files (.ex)67Generated nerves_discovery app68==> interactive_cmd69Compiling 1 file (.ex)70Generated interactive_cmd app71==> nerves72Compiling 65 files (.ex)73Generated nerves app74==> nerves_system_br75Generated nerves_system_br app76==> circular_buffer77Compiling 1 file (.ex)78Generated circular_buffer app79==> logger_backends80Compiling 7 files (.ex)81Generated logger_backends app82==> elixir_make83Compiling 8 files (.ex)84Generated elixir_make app85==> nerves_logging86 CC kmsg_tailer.o87 LD kmsg_tailer88Compiling 5 files (.ex)89Generated nerves_logging app90==> ring_logger91Compiling 7 files (.ex)92Generated ring_logger app93==> nerves_toolchain_armv6_nerves_linux_gnueabihf94Compiling 1 file (.ex)95Generated nerves_toolchain_armv6_nerves_linux_gnueabihf app96==> nerves_system_rpi097Generated nerves_system_rpi0 app98==> uboot_env99Compiling 5 files (.ex)100Generated uboot_env app101==> property_table102Compiling 8 files (.ex)103Generated property_table app104==> nerves_uevent105 CC uevent.o106 LD uevent107Compiling 5 files (.ex)108Generated nerves_uevent app109==> nerves_runtime110Compiling 14 files (.ex)111Generated nerves_runtime app112==> toolshed113Compiling 5 files (.ex)114Generated toolshed app115==> sunxi116Compiling 2 files (.ex)117Generated sunxi app118Error: libusb-1.0 not found. Please install the development version of libusb-1.0.119mkdir -p /work/proj/_build/rpi0/lib/sunxi/priv/bin120mkdir -p /work/proj/_build/rpi0/lib/sunxi/obj121rm -rf /work/proj/_build/rpi0/lib/sunxi/obj/sunxi-tools122cp -R sunxi-tools /work/proj/_build/rpi0/lib/sunxi/obj/sunxi-tools123/usr/bin/make -C /work/proj/_build/rpi0/lib/sunxi/obj/sunxi-tools clean124make[1]: Entering directory '/work/proj/_build/rpi0/lib/sunxi/obj/sunxi-tools'125make -C tests/ clean126make[2]: Entering directory '/work/proj/_build/rpi0/lib/sunxi/obj/sunxi-tools/tests'127rm -rf sunxi-boards.zip sunxi-boards unify-fex128make[2]: Leaving directory '/work/proj/_build/rpi0/lib/sunxi/obj/sunxi-tools/tests'129make[1]: Leaving directory '/work/proj/_build/rpi0/lib/sunxi/obj/sunxi-tools'130/usr/bin/make -C /work/proj/_build/rpi0/lib/sunxi/obj/sunxi-tools CFLAGS+="" LIBS+="-lfdt" sunxi-fel131make[1]: Entering directory '/work/proj/_build/rpi0/lib/sunxi/obj/sunxi-tools'132fatal: not a git repository (or any parent up to mount point /)133Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).134Unable to determine current version (using "v1.4.2" as fallback)135136/home/nerves/.nerves/artifacts/nerves_toolchain_armv6_nerves_linux_gnueabihf-15.3.1/bin/armv6-nerves-linux-gnueabihf-gcc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -mabi=aapcs-linux -mfpu=vfp -marm -fstack-protector-strong -mfloat-abi=hard -mcpu=arm1176jzf-s -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_rpi0-2.1.2/staging `pkg-config --cflags libusb-1.0` `pkg-config --cflags zlib` --sysroot=/home/nerves/.nerves/artifacts/nerves_system_rpi0-2.1.2/staging -o sunxi-fel \137	fel.c fit_image.c progress.c soc_info.c fel_lib.c fel-spiflash.c -lfdt `pkg-config --libs libusb-1.0` `pkg-config --libs zlib` -lfdt138Package libusb-1.0 was not found in the pkg-config search path.139Perhaps you should add the directory containing `libusb-1.0.pc'140to the PKG_CONFIG_PATH environment variable141Package 'libusb-1.0', required by 'virtual:world', not found142Package libusb-1.0 was not found in the pkg-config search path.143Perhaps you should add the directory containing `libusb-1.0.pc'144to the PKG_CONFIG_PATH environment variable145Package 'libusb-1.0', required by 'virtual:world', not found146fel_lib.c:26:10: fatal error: libusb.h: No such file or directory147   26 | #include <libusb.h>148      |          ^~~~~~~~~~149compilation terminated.150make[1]: *** [Makefile:145: sunxi-fel] Error 1151make[1]: Leaving directory '/work/proj/_build/rpi0/lib/sunxi/obj/sunxi-tools'152make: *** [Makefile:90: /work/proj/_build/rpi0/lib/sunxi/priv/bin/sunxi-fel] Error 2153could not compile dependency :sunxi, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile sunxi --force", update it with "mix deps.update sunxi" or clean it with "mix deps.clean sunxi"154==> nerves_compatibility_test155** (Mix) Could not compile with "make" (exit status: 2).156You need to have gcc and make installed. If you are using157Ubuntu or any other Debian-based system, install the packages158"build-essential". Also install "erlang-dev" package if not159included in your Erlang/OTP version. If you're on Fedora, run160"dnf group install 'Development Tools'".161