make[1]: Entering directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_chip' GEN ./Makefile # # configuration written to .config # make[1]: Leaving directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_chip' make[1]: Entering directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_chip' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h CFG u-boot.cfg GEN include/autoconf.mk.dep CFG spl/u-boot.cfg GEN include/autoconf.mk GEN spl/include/autoconf.mk *** Your GCC is older than 6.0 and will not be supported starting in v2018.01. CHK include/config/uboot.release CHK include/generated/timestamp_autogenerated.h GEN ./Makefile UPD include/generated/timestamp_autogenerated.h CHK include/config.h CFG u-boot.cfg UPD include/config/uboot.release Using /srv/build/amery/sunxi/sunxi-nightly/u-boot-sunxi-mainline as source for U-Boot CHK include/generated/version_autogenerated.h UPD include/generated/version_autogenerated.h CHK include/generated/generic-asm-offsets.h CHK include/generated/asm-offsets.h HOSTCC tools/mkenvimage.o HOSTCC tools/fit_image.o HOSTCC tools/image-host.o HOSTCC tools/dumpimage.o HOSTCC tools/mkimage.o HOSTCC tools/sunxi-spl-image-builder.o HOSTLD tools/mkenvimage HOSTLD tools/sunxi-spl-image-builder HOSTLD tools/dumpimage HOSTLD tools/mkimage CC drivers/video/cfb_console.o CC common/main.o CC cmd/version.o CC drivers/usb/gadget/f_fastboot.o LD cmd/built-in.o LD common/built-in.o Traceback (most recent call last): File "", line 1, in ImportError: No module named libfdt *** binman needs the Python libfdt library. *** Either install it on your system, or try: *** *** sudo apt-get install swig libpython-dev *** *** to have U-Boot build its own version. /srv/build/amery/sunxi/sunxi-nightly/u-boot-sunxi-mainline/Makefile:1383: recipe for target 'checkbinman' failed make[1]: *** [checkbinman] Error 1 make[1]: *** Waiting for unfinished jobs.... CC lib/smbios.o CC lib/display_options.o CC lib/efi_loader/helloworld.o LD drivers/video/built-in.o LD drivers/usb/gadget/built-in.o LD drivers/built-in.o LD lib/efi_loader/helloworld_efi.so OBJCOPY lib/efi_loader/helloworld.efi rm lib/efi_loader/helloworld_efi.so LD lib/built-in.o make[1]: Leaving directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_chip' Makefile:150: recipe for target 'sub-make' failed make: *** [sub-make] Error 2