Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/uboot-tools.spec'], chrootPath='/var/lib/mock/c71708-updates-armhfp/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1002) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/uboot-tools.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/uboot-tools-2018.01-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/uboot-tools.spec'], chrootPath='/var/lib/mock/c71708-updates-armhfp/root'shell=Falseuid=1002env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/uboot-tools.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MwefhS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf u-boot-2018.01 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/u-boot-2018.01.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd u-boot-2018.01 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git init Initialized empty Git repository in /builddir/build/BUILD/u-boot-2018.01/.git/ + git config --global gc.auto 0 + git config user.email noone@example.com + git config user.name 'no one' + git add . + git commit -a -q -m '2018.01 baseline' + git am /builddir/build/SOURCES/uefi-use-Fedora-specific-path-name.patch /builddir/build/SOURCES/uefi-distro-load-FDT-from-any-partition-on-boot-device.patch /builddir/build/SOURCES/usb-kbd-fixes.patch /builddir/build/SOURCES/db-generic-fixes.patch /builddir/build/SOURCES/db410c-fixes.patch /builddir/build/SOURCES/db820c-support.patch /builddir/build/SOURCES/dragonboard-fixes.patch Applying: use Fedora specific EFI path/name Applying: distro: load FDT from any partition on boot device Applying: usb kbd fixes Applying: spmi: msm: display the PMIC Arb version (debug) Applying: poplar: configs: increase gunzip buffer size for the kernel Applying: dm: core: parse chosen node Applying: db410c: configs: increase gunzip buffer size for the kernel Applying: db410c: update wlan and bt mac addresses from firmware Applying: db410c: replace reset driver with psci Applying: db410c: use the device tree parsed by the lk loader. Applying: db410c: add reserved-memory node to dts Applying: db410c: on aarch64 the fdtfile is in per-vendor subdirectory Applying: env: enable accessing the environment in an EXT4 partition Applying: arm: mach-snapdragon: refactor clock driver Applying: db820c: add qualcomm dragonboard 820C support Applying: db820c: enable pmic gpios for pm8994 Applying: db820c: stop autoboot when vol- pressed Applying: WIP: fix usb Applying: HACK: disable emmc Applying: db410c: config updates Applying: db820c: config updates + git config --unset user.email + git config --unset user.name + rm -rf .git + cp /builddir/build/SOURCES/arm-boards /builddir/build/SOURCES/arm-chromebooks /builddir/build/SOURCES/aarch64-boards /builddir/build/SOURCES/aarch64-chromebooks . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uCBy1J + umask 022 + cd /builddir/build/BUILD + cd u-boot-2018.01 + mkdir builds ++ cat arm-boards + for board in '$(cat arm-boards)' + echo 'Building board: A10-OLinuXino-Lime' Building board: A10-OLinuXino-Lime ++ echo A10-OLinuXino-Lime + mkdir builds/A10-OLinuXino-Lime/ + sun50i=(pine64_plus a64-olinuxino bananapi_m64 nanopi_a64 nanopi_neo2 orangepi_pc2 orangepi_prime orangepi_win orangepi_zero_plus2 sopine_baseboard) + [[ pine64_plus a64-olinuxino bananapi_m64 nanopi_a64 nanopi_neo2 orangepi_pc2 orangepi_prime orangepi_win orangepi_zero_plus2 sopine_baseboard == *\ \A\1\0\-\O\L\i\n\u\X\i\n\o\-\L\i\m\e\ * ]] + rk3368=(geekbox sheep-rk3368) + [[ geekbox sheep-rk3368 == *\ \A\1\0\-\O\L\i\n\u\X\i\n\o\-\L\i\m\e\ * ]] + rk3399=(evb-rk3399 firefly-rk3399 puma-rk3399) + [[ evb-rk3399 firefly-rk3399 puma-rk3399 == *\ \A\1\0\-\O\L\i\n\u\X\i\n\o\-\L\i\m\e\ * ]] ++ echo A10-OLinuXino-Lime ++ echo A10-OLinuXino-Lime + make A10-OLinuXino-Lime_defconfig O=builds/A10-OLinuXino-Lime/ make[1]: Entering directory `/builddir/build/BUILD/u-boot-2018.01/builds/A10-OLinuXino-Lime' HOSTCC scripts/basic/fixdep GEN ./Makefile 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 HOSTLD scripts/kconfig/conf # # configuration written to .config # make[1]: Leaving directory `/builddir/build/BUILD/u-boot-2018.01/builds/A10-OLinuXino-Lime' ++ echo A10-OLinuXino-Lime + make 'HOSTCC=gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' CROSS_COMPILE= -j4 V=1 O=builds/A10-OLinuXino-Lime/ make -C /builddir/build/BUILD/u-boot-2018.01/builds/A10-OLinuXino-Lime KBUILD_SRC=/builddir/build/BUILD/u-boot-2018.01 \ -f /builddir/build/BUILD/u-boot-2018.01/Makefile make[1]: Entering directory `/builddir/build/BUILD/u-boot-2018.01/builds/A10-OLinuXino-Lime' make -f /builddir/build/BUILD/u-boot-2018.01/Makefile silentoldconfig make -f /builddir/build/BUILD/u-boot-2018.01/scripts/Makefile.build obj=scripts/basic ln -fsn /builddir/build/BUILD/u-boot-2018.01 source /bin/sh /builddir/build/BUILD/u-boot-2018.01/scripts/mkmakefile \ /builddir/build/BUILD/u-boot-2018.01 . 2018 01 GEN ./Makefile gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wp,-MD,scripts/basic/.fixdep.d -Iscripts/basic -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/basic/fixdep /builddir/build/BUILD/u-boot-2018.01/scripts/basic/fixdep.c rm -f .tmp_quiet_recordmcount make -f /builddir/build/BUILD/u-boot-2018.01/scripts/Makefile.build obj=scripts/kconfig silentoldconfig gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wp,-MD,scripts/kconfig/.conf.o.d -Iscripts/kconfig -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/u-boot-2018.01/scripts/kconfig/conf.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -Iscripts/kconfig -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="" -DLOCALE -I/builddir/build/BUILD/u-boot-2018.01/scripts/kconfig -Iscripts/kconfig -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o mkdir -p include/config include/generated test -e include/generated/autoksyms.h || \ touch include/generated/autoksyms.h scripts/kconfig/conf --silentoldconfig Kconfig make -f /builddir/build/BUILD/u-boot-2018.01/scripts/Makefile.autoconf || \ { rm -f include/config/auto.conf; false; } mkdir -p include/asm if [ -d /builddir/build/BUILD/u-boot-2018.01/arch/arm/mach-sunxi/include/mach ]; then \ dest=arch/arm/mach-sunxi/include/mach; \ else \ dest=arch/arm/include/asm/arch-sunxi; \ fi; \ ln -fsn /builddir/build/BUILD/u-boot-2018.01/$dest include/asm/arch set -e; : ' CHK include/config.h'; mkdir -p include/; (echo "/* Automatically generated - do not edit */"; for i in $(echo "" | sed 's/,/ /g'); do echo \#define CONFIG_$i | sed '/=/ {s/=/ /;q; } ; { s/$/ 1/; }'; done; echo \#define CONFIG_BOARDDIR board/sunxi; echo \#include \; echo \#include \; echo \#include \; echo \#include \; echo \#include \; echo \#include \;) < /builddir/build/BUILD/u-boot-2018.01/scripts/Makefile.autoconf > include/config.h.tmp; if [ -r include/config.h ] && cmp -s include/config.h include/config.h.tmp; then rm -f include/config.h.tmp; else : ' UPD include/config.h'; mv -f include/config.h.tmp include/config.h; fi gcc -E -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -fshort-wchar -O2 -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -D__KERNEL__ -D__UBOOT__ -D__ARM__ -Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -Iinclude -I/builddir/build/BUILD/u-boot-2018.01/include -I/builddir/build/BUILD/u-boot-2018.01/arch/arm/include -include /builddir/build/BUILD/u-boot-2018.01/include/linux/kconfig.h -nostdinc -isystem /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/include -DDO_DEPS_ONLY -dM /builddir/build/BUILD/u-boot-2018.01/include/common.h > u-boot.cfg.tmp && { grep 'define CONFIG_' u-boot.cfg.tmp > u-boot.cfg; rm u-boot.cfg.tmp; } || { rm u-boot.cfg.tmp; false; } gcc -x c -DDO_DEPS_ONLY -M -MP -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -fshort-wchar -O2 -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -D__KERNEL__ -D__UBOOT__ -D__ARM__ -Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -Iinclude -I/builddir/build/BUILD/u-boot-2018.01/include -I/builddir/build/BUILD/u-boot-2018.01/arch/arm/include -include /builddir/build/BUILD/u-boot-2018.01/include/linux/kconfig.h -nostdinc -isystem /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/include -MQ include/config/auto.conf /builddir/build/BUILD/u-boot-2018.01/include/common.h > include/autoconf.mk.dep || { rm include/autoconf.mk.dep; false; } mkdir -p spl/ gcc -E -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -fshort-wchar -O2 -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -D__KERNEL__ -D__UBOOT__ -D__ARM__ -Wa,-mimplicit-it=always -mthumb -mthumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -Iinclude -I/builddir/build/BUILD/u-boot-2018.01/include -I/builddir/build/BUILD/u-boot-2018.01/arch/arm/include -include /builddir/build/BUILD/u-boot-2018.01/include/linux/kconfig.h -nostdinc -isystem /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.5/include -DCONFIG_SPL_BUILD -DDO_DEPS_ONLY -dM /builddir/build/BUILD/u-boot-2018.01/include/common.h > spl/u-boot.cfg.tmp && { grep 'define CONFIG_' spl/u-boot.cfg.tmp > spl/u-boot.cfg; rm spl/u-boot.cfg.tmp; } || { rm spl/u-boot.cfg.tmp; false; } mkdir -p spl/include/ sed -n -f /builddir/build/BUILD/u-boot-2018.01/tools/scripts/define2mk.sed u-boot.cfg | while read line; do if [ -n "" ] || ! grep -q "${line%=*}=" include/config/auto.conf; then echo "$line"; fi done > include/autoconf.mk sed -n -f /builddir/build/BUILD/u-boot-2018.01/tools/scripts/define2mk.sed spl/u-boot.cfg | while read line; do if [ -n "" ] || ! grep -q "${line%=*}=" include/config/auto.conf; then echo "$line"; fi done > spl/include/autoconf.mk touch include/config/auto.conf make[1]: Leaving directory `/builddir/build/BUILD/u-boot-2018.01/builds/A10-OLinuXino-Lime' set -e; : ' CHK include/config/uboot.release'; mkdir -p include/config/; echo "2018.01$(/bin/sh /builddir/build/BUILD/u-boot-2018.01/scripts/setlocalversion /builddir/build/BUILD/u-boot-2018.01)" < include/config/auto.conf > include/config/uboot.release.tmp; if [ -r include/config/uboot.release ] && cmp -s include/config/uboot.release include/config/uboot.release.tmp; then rm -f include/config/uboot.release.tmp; else : ' UPD include/config/uboot.release'; mv -f include/config/uboot.release.tmp include/config/uboot.release; fi *** Your GCC is older than 6.0 and is not supported make[1]: *** [checkgcc6] Error 1 make: *** [sub-make] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.uCBy1J (%build) Bad exit status from /var/tmp/rpm-tmp.uCBy1J (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/uboot-tools.spec