make[1]: Entering directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_cubieboard' GEN ./Makefile # # configuration written to .config # make[1]: Leaving directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_cubieboard' make[1]: Entering directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_cubieboard' 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 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 CC lib/asm-offsets.s CC arch/arm/lib/asm-offsets.s CHK include/generated/generic-asm-offsets.h CHK include/generated/asm-offsets.h HOSTCC tools/img2srec HOSTCC tools/mkenvimage.o HOSTCC tools/fit_image.o HOSTCC tools/image-host.o HOSTCC tools/lib/sha1.o HOSTCC tools/lib/sha256.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 arch/arm/cpu/armv7/cache_v7.o CC board/sunxi/board.o CC arch/arm/mach-sunxi/board.o CC disk/part.o CC arch/arm/lib/bootm-fdt.o CC drivers/block/blk_legacy.o CC cmd/boot.o CC common/init/board_init.o CC arch/arm/lib/bootm.o CC arch/arm/mach-sunxi/clock.o CC cmd/bootm.o CC disk/part_dos.o CC arch/arm/cpu/armv7/cpu.o CC arch/arm/lib/zimage.o CC disk/part_iso.o CC arch/arm/lib/stack.o CC drivers/block/ahci-uclass.o CC arch/arm/lib/interrupts.o CC disk/part_efi.o CC board/sunxi/ahci.o CC cmd/help.o LD common/init/built-in.o CC arch/arm/mach-sunxi/cpu_info.o LD disk/built-in.o CC arch/arm/cpu/armv7/cp15.o CC arch/arm/mach-sunxi/dram_helpers.o CC common/main.o CC arch/arm/lib/reset.o CC drivers/block/ahci.o CC common/exports.o CC cmd/version.o CC cmd/source.o CC arch/arm/cpu/armv7/syslib.o CC board/sunxi/dram_sun4i_auto.o CC arch/arm/mach-sunxi/pinmux.o CC arch/arm/lib/cache.o CC arch/arm/cpu/armv7/sunxi/timer.o CC arch/arm/lib/cache-cp15.o CC arch/arm/lib/psci-dt.o CC common/hash.o CC arch/arm/mach-sunxi/usb_phy.o CC cmd/bdinfo.o LD board/sunxi/built-in.o LD arch/arm/cpu/armv7/sunxi/built-in.o CC cmd/bootefi.o CC drivers/block/libata.o CC arch/arm/lib/eabi_compat.o CC drivers/core/device.o CC arch/arm/mach-sunxi/clock_sun4i.o LD arch/arm/lib/built-in.o LD drivers/block/built-in.o CC arch/arm/mach-sunxi/pmic_bus.o CC drivers/core/fdtaddr.o CC drivers/crypto/fsl/sec.o CC drivers/core/lists.o LD drivers/crypto/fsl/built-in.o LD arch/arm/cpu/armv7/built-in.o LD arch/arm/mach-sunxi/built-in.o CC common/cli_hush.o CC common/autoboot.o CC drivers/core/root.o CC common/board_f.o LD drivers/crypto/built-in.o CC common/board_r.o CC common/board_info.o CC common/bootm.o CC common/bootm_os.o CC common/env_attr.o CC drivers/core/uclass.o CC cmd/bootz.o CC drivers/core/util.o CC drivers/core/device-remove.o CC drivers/core/simple-bus.o CC cmd/console.o CC cmd/echo.o CC drivers/core/dump.o CC common/env_callback.o CC drivers/input/keyboard-uclass.o CC drivers/input/input.o CC drivers/input/key_matrix.o CC cmd/elf.o CC cmd/exit.o CC cmd/ext4.o CC common/env_flags.o CC common/env_mmc.o CC drivers/core/of_extra.o CC common/fdt_support.o CC common/miiphyutil.o CC common/usb.o CC drivers/core/ofnode.o CC cmd/ext2.o CC cmd/fat.o LD drivers/input/built-in.o CC cmd/fdt.o CC cmd/fs.o CC common/usb_hub.o CC common/usb_storage.o CC cmd/gpio.o CC common/iomux.o CC cmd/i2c.o LD drivers/core/built-in.o CC common/edid.o CC drivers/mmc/mmc.o CC common/splash.o CC common/menu.o CC drivers/mmc/mmc_legacy.o CC drivers/mmc/mmc_write.o CC drivers/mmc/sunxi_mmc.o CC drivers/gpio/gpio-uclass.o CC drivers/gpio/sunxi_gpio.o CC cmd/itest.o CC cmd/load.o CC common/scsi.o CC common/usb_kbd.o CC common/cli_readline.o CC common/cli_simple.o CC common/env_common.o CC cmd/mem.o CC cmd/mii.o CC cmd/misc.o CC drivers/i2c/i2c_core.o CC cmd/mmc.o LD drivers/gpio/built-in.o CC drivers/i2c/mvtwsi.o CC common/console.o CC cmd/net.o CC cmd/part.o LD drivers/mmc/built-in.o CC cmd/pcmcia.o CC drivers/rtc/date.o CC cmd/pxe.o CC cmd/scsi.o LD drivers/rtc/built-in.o LD drivers/i2c/built-in.o CC cmd/disk.o CC cmd/setexpr.o CC drivers/power/axp209.o CC drivers/video/cfb_console.o CC common/dlmalloc.o CC common/malloc_simple.o CC common/image.o CC common/image-fdt.o LD drivers/power/built-in.o CC cmd/test.o CC common/memsize.o CC drivers/video/sunxi/sunxi_display.o CC drivers/video/sunxi/lcdc.o CC drivers/video/sunxi/tve_common.o CC common/stdio.o CC common/cli.o CC common/command.o CC cmd/usb.o CC drivers/video/sunxi/../videomodes.o CC common/s_record.o CC cmd/ximg.o CC cmd/nvedit.o CC common/xyzModem.o CC drivers/spi/spi.o CC drivers/serial/serial-uclass.o LD drivers/video/sunxi/built-in.o CC drivers/usb/common/common.o LD drivers/video/built-in.o LD drivers/built-in.o CC drivers/serial/ns16550.o LD drivers/usb/common/built-in.o LD common/built-in.o LD drivers/spi/built-in.o CC drivers/usb/host/usb-uclass.o CC drivers/usb/host/ohci-hcd.o CC fs/fs.o LD cmd/built-in.o LD drivers/serial/built-in.o CC drivers/usb/host/ohci-sunxi.o CC fs/ext4/ext4fs.o CC fs/fat/fat_write.o CC lib/efi_loader/efi_image_loader.o CC lib/efi_loader/efi_boottime.o CC net/checksum.o CC fs/ext4/ext4_common.o CC fs/ext4/dev.o CC drivers/usb/host/ehci-hcd.o CC lib/efi_loader/efi_runtime.o CC net/arp.o CC lib/efi_loader/efi_console.o CC drivers/usb/host/ehci-sunxi.o CC net/bootp.o CC net/eth-uclass.o CC fs/fat/file.o CC lib/efi_loader/efi_memory.o CC net/eth_common.o LD fs/ext4/built-in.o CC net/net.o CC net/nfs.o CC lib/efi_loader/efi_disk.o CC lib/efi_loader/efi_net.o CC lib/efi_loader/efi_smbios.o LD drivers/usb/host/built-in.o CC lib/efi_loader/helloworld.o CC lib/zlib/zlib.o CC net/ping.o CC test/dm/cmd_dm.o LD lib/efi_loader/helloworld.so LD lib/efi_loader/built-in.o Traceback (most recent call last): File "", line 1, in ImportError: No module named libfdt OBJCOPY lib/efi_loader/helloworld.efi *** 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:1359: recipe for target 'checkbinman' failed make[1]: *** [checkbinman] Error 1 make[1]: *** Waiting for unfinished jobs.... CC net/tftp.o CC lib/gunzip.o CC lib/smbios.o LD fs/fat/built-in.o CC lib/initcall.o LD fs/built-in.o CC lib/lmb.o CC lib/net_utils.o LD test/dm/built-in.o CC lib/qsort.o CC lib/rc4.o CC lib/list_sort.o CC lib/fdtdec_common.o CC lib/fdtdec.o LD net/built-in.o CC lib/hashtable.o CC lib/display_options.o CC lib/crc32.o CC lib/div64.o CC lib/hang.o CC lib/linux_compat.o CC lib/membuff.o CC lib/slre.o CC lib/tables_csum.o CC lib/time.o CC lib/uuid.o CC lib/vsprintf.o CC lib/panic.o CC lib/strto.o CC lib/strmhz.o LD lib/zlib/built-in.o LD lib/built-in.o make[1]: Leaving directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_cubieboard' Makefile:150: recipe for target 'sub-make' failed make: *** [sub-make] Error 2