make[1]: Entering directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_bananapi_m2m' GEN ./Makefile # # configuration written to .config # make[1]: Leaving directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_bananapi_m2m' make[1]: Entering directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_bananapi_m2m' 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 HOSTCC scripts/dtc/dtc-parser.tab.o PYMOD scripts/dtc/pylibfdt/_libfdt.so unable to execute 'swig': No such file or directory error: command 'swig' failed with exit status 1 /srv/build/amery/sunxi/sunxi-nightly/u-boot-sunxi-mainline/scripts/dtc/pylibfdt/Makefile:26: recipe for target 'scripts/dtc/pylibfdt/_libfdt.so' failed make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1 /srv/build/amery/sunxi/sunxi-nightly/u-boot-sunxi-mainline/scripts/Makefile.build:425: recipe for target 'scripts/dtc/pylibfdt' failed make[3]: *** [scripts/dtc/pylibfdt] Error 2 make[3]: *** Waiting for unfinished jobs.... /srv/build/amery/sunxi/sunxi-nightly/u-boot-sunxi-mainline/scripts/Makefile.build:425: recipe for target 'scripts/dtc' failed make[2]: *** [scripts/dtc] Error 2 /srv/build/amery/sunxi/sunxi-nightly/u-boot-sunxi-mainline/Makefile:491: recipe for target 'scripts' failed make[1]: *** [scripts] Error 2 make[1]: *** Waiting for unfinished jobs.... CHK include/config.h CFG u-boot.cfg UPD include/config/uboot.release make[1]: Leaving directory '/srv/build/amery/sunxi/sunxi-nightly/build_u-boot-mainline/build_bananapi_m2m' Makefile:150: recipe for target 'sub-make' failed make: *** [sub-make] Error 2