Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/arm-trusted-firmware.spec'], chrootPath='/var/lib/mock/arm-trusted-firmware-1.5-1.fc29-20180325101459-26734/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.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 aarch64 --nodeps /builddir/build/SPECS/arm-trusted-firmware.spec'] with env {'LANG': 'en_GB.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 warning: Could not canonicalize hostname: aarch64-01.bsys.centos.org Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/arm-trusted-firmware-1.5-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/arm-trusted-firmware.spec'], chrootPath='/var/lib/mock/arm-trusted-firmware-1.5-1.fc29-20180325101459-26734/root'shell=Falseuid=1002env={'LANG': 'en_GB.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 aarch64 --nodeps /builddir/build/SPECS/arm-trusted-firmware.spec'] with env {'LANG': 'en_GB.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VoVO6K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf arm-trusted-firmware-1.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd arm-trusted-firmware-1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/arm-none-eabi-/arm-linux-gnu-/ plat/rockchip/rk3399/drivers/m0/Makefile + tar xf /builddir/build/SOURCES/arm-trusted-firmware-AW-aa75c8d.tar.gz + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qPYX0B + umask 022 + cd /builddir/build/BUILD + cd arm-trusted-firmware-1.5 + for soc in juno rk3399 rk3368 rk3328 hikey hikey960 zynqmp ++ echo juno + make 'HOSTCC=gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' CROSS_COMPILE= PLAT=juno bl31 CC plat/arm/board/juno/juno_topology.c CC drivers/arm/gic/common/gic_common.c CC drivers/arm/gic/v2/gicv2_main.c CC drivers/arm/gic/v2/gicv2_helpers.c CC plat/common/plat_gicv2.c CC plat/arm/common/arm_gicv2.c CC drivers/arm/cci/cci.c CC plat/arm/common/arm_cci.c CC drivers/arm/tzc/tzc400.c CC plat/arm/board/juno/juno_security.c CC plat/arm/board/juno/juno_trng.c CC plat/arm/common/arm_tzc400.c CC lib/utils/mem_region.c CC plat/arm/board/common/drivers/norflash/norflash.c CC plat/arm/common/arm_nor_psci_mem_protect.c CC plat/arm/common/arm_bl31_setup.c CC plat/arm/common/arm_pm.c CC plat/arm/common/arm_topology.c CC plat/arm/common/execution_state_switch.c CC plat/common/plat_psci_common.c CC plat/arm/common/arm_sip_svc.c CC lib/pmf/pmf_smc.c CC plat/arm/soc/common/soc_css_security.c CC plat/arm/css/common/css_pm.c CC plat/arm/css/common/css_topology.c CC plat/arm/css/drivers/scp/css_pm_scmi.c CC plat/arm/css/drivers/scmi/scmi_common.c CC plat/arm/css/drivers/scmi/scmi_pwr_dmn_proto.c CC plat/arm/css/drivers/scmi/scmi_sys_pwr_proto.c CC bl31/bl31_main.c CC bl31/interrupt_mgmt.c CC bl31/bl31_context_mgmt.c CC common/runtime_svc.c CC services/arm_arch_svc/arm_arch_svc_setup.c CC services/std_svc/std_svc_setup.c CC lib/el3_runtime/cpu_data_array.c CC lib/el3_runtime/aarch64/context_mgmt.c CC lib/cpus/errata_report.c CC lib/psci/psci_off.c CC lib/psci/psci_on.c CC lib/psci/psci_suspend.c CC lib/psci/psci_common.c CC lib/psci/psci_main.c CC lib/psci/psci_setup.c CC lib/psci/psci_system_off.c CC lib/psci/psci_mem_protect.c CC lib/locks/bakery/bakery_lock_coherent.c CC lib/psci/psci_stat.c CC lib/pmf/pmf_main.c CC lib/extensions/spe/spe.c CC common/bl_common.c CC common/tf_log.c CC common/tf_printf.c CC common/tf_snprintf.c CC plat/common/plat_bl_common.c CC plat/common/plat_log_common.c CC plat/common/aarch64/plat_common.c CC lib/stdlib/abort.c CC lib/stdlib/assert.c CC lib/stdlib/exit.c CC lib/stdlib/mem.c CC lib/stdlib/printf.c CC lib/stdlib/putchar.c CC lib/stdlib/puts.c CC lib/stdlib/sscanf.c CC lib/stdlib/strchr.c CC lib/stdlib/strcmp.c CC lib/stdlib/strlen.c CC lib/stdlib/strncmp.c CC lib/stdlib/strnlen.c CC lib/stdlib/subr_prf.c CC lib/stdlib/timingsafe_bcmp.c CC plat/arm/board/common/board_css_common.c CC plat/arm/common/arm_common.c CC lib/xlat_tables_v2/aarch64/xlat_tables_arch.c CC lib/xlat_tables_v2/xlat_tables_internal.c AS lib/cpus/aarch64/cortex_a53.S AS lib/cpus/aarch64/cortex_a57.S AS lib/cpus/aarch64/cortex_a72.S AS bl31/aarch64/bl31_entrypoint.S AS bl31/aarch64/runtime_exceptions.S bl31/aarch64/runtime_exceptions.S: Assembler messages: bl31/aarch64/runtime_exceptions.S:184: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:192: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:197: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:202: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:216: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:220: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:224: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:228: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:242: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:246: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:250: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:258: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:272: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:276: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:280: Error: non-constant expression in ".if" statement bl31/aarch64/runtime_exceptions.S:288: Error: non-constant expression in ".if" statement make: *** [build/juno/release/bl31/runtime_exceptions.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.qPYX0B (%build) Bad exit status from /var/tmp/rpm-tmp.qPYX0B (%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 aarch64 --nodeps /builddir/build/SPECS/arm-trusted-firmware.spec