CLEAN u-boot * Removing /media/video/test/my.LibreELEC/build.LibreELEC-RK3399.arm-10.0-devel/build/u-boot-8659d08d2b589693d121c1298484e861b7dafc4f ... UNPACK u-boot APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0002-rockchip-board-use-efuse-cpuid-to-set-ethaddr.patch patching file arch/arm/mach-rockchip/board.c APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0003-rockchip-rk3328-get-serial-and-ethaddr-from-efuse.patch patching file arch/arm/dts/rk3328.dtsi patching file configs/evb-rk3328_defconfig APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0004-rk3328-evb-fix-sdmmc-vmmc-supply.patch patching file arch/arm/dts/rk3328-evb.dts patching file arch/arm/dts/rk3328.dtsi APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0005-rockchip-rk3288-get-serial-and-ethaddr-from-efuse.patch patching file arch/arm/dts/rk3288.dtsi patching file configs/miqi-rk3288_defconfig patching file configs/tinker-rk3288_defconfig APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0006-rk3399-evb-use-common-get-serial-and-ethaddr-from-ef.patch patching file board/rockchip/evb_rk3399/evb-rk3399.c patching file include/configs/evb_rk3399.h APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0007-include-update-log2-header-from-the-Linux-kernel.patch patching file include/linux/log2.h APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0008-rockchip-disable-android-boot-and-config.patch patching file arch/arm/mach-rockchip/boot_mode.c patching file configs/evb-rk3328_defconfig patching file configs/evb-rk3399_defconfig patching file configs/miqi-rk3288_defconfig Hunk #3 succeeded at 76 (offset 1 line). patching file configs/tinker-rk3288_defconfig patching file include/configs/rockchip-common.h APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0009-configs-sync-rk3288-rk3328-and-rk3399-defconfig.patch patching file configs/evb-rk3328_defconfig patching file configs/evb-rk3399_defconfig patching file configs/miqi-rk3288_defconfig patching file configs/tinker-rk3288_defconfig Hunk #2 succeeded at 41 with fuzz 1. APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0010-rk3288-tinker-enable-emmc.patch patching file arch/arm/dts/rk3288-tinker.dtsi patching file include/configs/tinker_rk3288.h APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0011-Revert-rockchip-dts-rk3328-evb-Enable-gmac2io-for-rk.patch patching file arch/arm/dts/rk3328-evb.dts APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0012-Revert-Makefile-enable-Werror-option.patch patching file Makefile APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0013-Makefile-adopt-std-gnu11-for-HOSTCFLAGS-on-Linux.patch patching file Makefile APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0014-Makefile-Ensure-we-build-with-std-gnu11.patch patching file Makefile APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0015-Makefile-Use-fno-strict-aliasing-globally.patch patching file Makefile APPLY PATCH (common - rockchip) packages/tools/u-boot/patches/rockchip/u-boot-0016-dts-Makefile-Build-rockchip-dtbs-based-on-SoC-types.patch patching file arch/arm/dts/Makefile BUILD u-boot (target) TOOLCHAIN make (auto-detect) make[1]: Entering directory '/media/video/test/my.LibreELEC/build.LibreELEC-RK3399.arm-10.0-devel/build/u-boot-8659d08d2b589693d121c1298484e861b7dafc4f' make[1]: Leaving directory '/media/video/test/my.LibreELEC/build.LibreELEC-RK3399.arm-10.0-devel/build/u-boot-8659d08d2b589693d121c1298484e861b7dafc4f' make[1]: Entering directory '/media/video/test/my.LibreELEC/build.LibreELEC-RK3399.arm-10.0-devel/build/u-boot-8659d08d2b589693d121c1298484e861b7dafc4f' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:2468: scripts/kconfig/confdata.c: In function ‘conf_write’: scripts/kconfig/confdata.c:771:19: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=] sprintf(newname, "%s%s", dirname, basename); ^~~~~~ scripts/kconfig/confdata.c:771:19: note: assuming directive output of 7 bytes scripts/kconfig/confdata.c:771:2: note: ‘sprintf’ output 1 or more bytes (assuming 4104) into a destination of size 4097 sprintf(newname, "%s%s", dirname, basename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scripts/kconfig/confdata.c:774:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=] sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); ^~~~~~~~~~~~~~~~~ scripts/kconfig/confdata.c:774:3: note: ‘sprintf’ output between 13 and 4119 bytes into a destination of size 4097 sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HOSTLD scripts/kconfig/conf # # configuration written to .config # make[1]: Leaving directory '/media/video/test/my.LibreELEC/build.LibreELEC-RK3399.arm-10.0-devel/build/u-boot-8659d08d2b589693d121c1298484e861b7dafc4f' make[1]: Entering directory '/media/video/test/my.LibreELEC/build.LibreELEC-RK3399.arm-10.0-devel/build/u-boot-8659d08d2b589693d121c1298484e861b7dafc4f' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:2468: scripts/kconfig/confdata.c: In function ‘conf_write’: scripts/kconfig/confdata.c:771:19: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=] sprintf(newname, "%s%s", dirname, basename); ^~~~~~ scripts/kconfig/confdata.c:771:19: note: assuming directive output of 7 bytes scripts/kconfig/confdata.c:771:2: note: ‘sprintf’ output 1 or more bytes (assuming 4104) into a destination of size 4097 sprintf(newname, "%s%s", dirname, basename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scripts/kconfig/confdata.c:774:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=] sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); ^~~~~~~~~~~~~~~~~ scripts/kconfig/confdata.c:774:3: note: ‘sprintf’ output between 13 and 4119 bytes into a destination of size 4097 sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h UPD 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 CHK include/config/uboot.release CHK include/generated/timestamp_autogenerated.h UPD include/generated/timestamp_autogenerated.h HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/srcpos.o UPD include/config/uboot.release HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o SHIPPED scripts/dtc/dtc-lexer.lex.c CHK include/generated/version_autogenerated.h SHIPPED scripts/dtc/dtc-parser.tab.h SHIPPED scripts/dtc/dtc-parser.tab.c UPD include/generated/version_autogenerated.h HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o CC lib/asm-offsets.s CC arch/arm/lib/asm-offsets.s CHK include/generated/asm-offsets.h CHK include/generated/generic-asm-offsets.h UPD include/generated/asm-offsets.h UPD include/generated/generic-asm-offsets.h HOSTLD scripts/dtc/dtc LDS u-boot.lds HOSTCC tools/gen_eth_addr HOSTCC tools/gen_ethaddr_crc.o WRAP tools/lib/crc8.c HOSTCC tools/img2srec HOSTCC tools/mkenvimage.o HOSTCC tools/os_support.o WRAP tools/lib/crc32.c HOSTCC tools/aisimage.o HOSTCC tools/atmelimage.o WRAP tools/common/bootm.c HOSTCC tools/default_image.o In file included from tools/../include/../lib/libfdt/libfdt.h:10, from tools/../include/libfdt.h:1, from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: /usr/include/libfdt_env.h:71:30: error: conflicting types for ‘fdt64_t’ typedef uint64_t FDT_BITWISE fdt64_t; ^~~~~~~ In file included from : ././include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here typedef __be64 fdt64_t; ^~~~~~~ In file included from ././include/libfdt_env.h:12, from : /usr/include/libfdt_env.h:91:24: error: expected ‘)’ before ‘x’ static inline uint32_t fdt32_to_cpu(fdt32_t x) ^~~~~~~~~~~~ ././include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:71:23: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff000000) >> 24) | \ ^~ ././include/compiler.h:71:30: error: expected ‘)’ before ‘|’ token ((((x) & 0xff000000) >> 24) | \ ^ /usr/include/libfdt_env.h:95:23: error: expected ‘)’ before ‘x’ static inline fdt32_t cpu_to_fdt32(uint32_t x) ^~~~~~~~~~~~ ././include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:71:23: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff000000) >> 24) | \ ^~ ././include/compiler.h:71:30: error: expected ‘)’ before ‘|’ token ((((x) & 0xff000000) >> 24) | \ ^ /usr/include/libfdt_env.h:100:24: error: expected ‘)’ before ‘x’ static inline uint64_t fdt64_to_cpu(fdt64_t x) ^~~~~~~~~~~~ ././include/compiler.h:76:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ ././include/compiler.h:76:36: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^~ ././include/compiler.h:76:43: error: expected ‘)’ before ‘|’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ /usr/include/libfdt_env.h:104:23: error: expected ‘)’ before ‘x’ static inline fdt64_t cpu_to_fdt64(uint64_t x) ^~~~~~~~~~~~ ././include/compiler.h:76:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ ././include/compiler.h:76:36: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^~ ././include/compiler.h:76:43: error: expected ‘)’ before ‘|’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ make[2]: *** [scripts/Makefile.host:116: tools/aisimage.o] Fehler 1 make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet.... In file included from tools/../include/../lib/libfdt/libfdt.h:10, from tools/../include/libfdt.h:1, from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/atmelimage.c:8: /usr/include/libfdt_env.h:71:30: error: conflicting types for ‘fdt64_t’ typedef uint64_t FDT_BITWISE fdt64_t; ^~~~~~~ In file included from : ././include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here typedef __be64 fdt64_t; ^~~~~~~ In file included from ././include/libfdt_env.h:12, from : /usr/include/libfdt_env.h:91:24: error: expected ‘)’ before ‘x’ static inline uint32_t fdt32_to_cpu(fdt32_t x) ^~~~~~~~~~~~ ././include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:71:23: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff000000) >> 24) | \ ^~ ././include/compiler.h:71:30: error: expected ‘)’ before ‘|’ token ((((x) & 0xff000000) >> 24) | \ ^ /usr/include/libfdt_env.h:95:23: error: expected ‘)’ before ‘x’ static inline fdt32_t cpu_to_fdt32(uint32_t x) ^~~~~~~~~~~~ ././include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:71:23: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff000000) >> 24) | \ ^~ ././include/compiler.h:71:30: error: expected ‘)’ before ‘|’ token ((((x) & 0xff000000) >> 24) | \ ^ /usr/include/libfdt_env.h:100:24: error: expected ‘)’ before ‘x’ static inline uint64_t fdt64_to_cpu(fdt64_t x) ^~~~~~~~~~~~ ././include/compiler.h:76:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ ././include/compiler.h:76:36: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^~ ././include/compiler.h:76:43: error: expected ‘)’ before ‘|’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ /usr/include/libfdt_env.h:104:23: error: expected ‘)’ before ‘x’ static inline fdt64_t cpu_to_fdt64(uint64_t x) ^~~~~~~~~~~~ ././include/compiler.h:76:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ ././include/compiler.h:76:36: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^~ ././include/compiler.h:76:43: error: expected ‘)’ before ‘|’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ make[2]: *** [scripts/Makefile.host:116: tools/atmelimage.o] Fehler 1 In file included from tools/../include/../lib/libfdt/libfdt.h:10, from tools/../include/libfdt.h:1, from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/default_image.c:17: /usr/include/libfdt_env.h:71:30: error: conflicting types for ‘fdt64_t’ typedef uint64_t FDT_BITWISE fdt64_t; ^~~~~~~ In file included from : ././include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here typedef __be64 fdt64_t; ^~~~~~~ In file included from ././include/libfdt_env.h:12, from : /usr/include/libfdt_env.h:91:24: error: expected ‘)’ before ‘x’ static inline uint32_t fdt32_to_cpu(fdt32_t x) ^~~~~~~~~~~~ ././include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:71:23: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff000000) >> 24) | \ ^~ ././include/compiler.h:71:30: error: expected ‘)’ before ‘|’ token ((((x) & 0xff000000) >> 24) | \ ^ /usr/include/libfdt_env.h:95:23: error: expected ‘)’ before ‘x’ static inline fdt32_t cpu_to_fdt32(uint32_t x) ^~~~~~~~~~~~ ././include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:71:23: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff000000) >> 24) | \ ^~ ././include/compiler.h:71:30: error: expected ‘)’ before ‘|’ token ((((x) & 0xff000000) >> 24) | \ ^ /usr/include/libfdt_env.h:100:24: error: expected ‘)’ before ‘x’ static inline uint64_t fdt64_to_cpu(fdt64_t x) ^~~~~~~~~~~~ ././include/compiler.h:76:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ ././include/compiler.h:76:36: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^~ ././include/compiler.h:76:43: error: expected ‘)’ before ‘|’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ /usr/include/libfdt_env.h:104:23: error: expected ‘)’ before ‘x’ static inline fdt64_t cpu_to_fdt64(uint64_t x) ^~~~~~~~~~~~ ././include/compiler.h:76:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ ././include/compiler.h:76:36: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^~ ././include/compiler.h:76:43: error: expected ‘)’ before ‘|’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ make[2]: *** [scripts/Makefile.host:116: tools/default_image.o] Fehler 1 make[1]: *** [Makefile:1297: tools] Error 2 make[1]: Leaving directory '/media/video/test/my.LibreELEC/build.LibreELEC-RK3399.arm-10.0-devel/build/u-boot-8659d08d2b589693d121c1298484e861b7dafc4f' FAILURE: scripts/build u-boot:target during make_target (package.mk) *********** FAILED COMMAND *********** DEBUG=${PKG_DEBUG} CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="" ARCH=arm _python_sysroot="${TOOLCHAIN}" _python_prefix=/ _python_exec_prefix=/ make ${UBOOT_TARGET} HOSTCC="${HOST_CC}" HOSTLDFLAGS="-L${TOOLCHAIN}/lib" HOSTSTRIP="true" CONFIG_MKIMAGE_DTC_PATH="scripts/dtc/dtc" ************************************** *********** FAILED COMMAND *********** ${SCRIPTS}/build "${1}" "${PARENT_PKG}" ************************************** FAILURE: scripts/install u-boot:target has failed!