Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/kernel-alt.spec'], chrootPath='/var/lib/mock/kernel-alt-4.14.0-115.5.1.el7a-20190201150756-213/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/kernel-alt.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 sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/kernel-alt-4.14.0-115.5.1.el7a.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/kernel-alt.spec'], chrootPath='/var/lib/mock/kernel-alt-4.14.0-115.5.1.el7a-20190201150756-213/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/kernel-alt.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.5hKHbk + umask 022 + cd /builddir/build/BUILD + patch_command='patch -p1 -F1 -s' + cd /builddir/build/BUILD + rm -rf kernel-alt-4.14.0-115.5.1.el7a + /usr/bin/mkdir -p kernel-alt-4.14.0-115.5.1.el7a + cd kernel-alt-4.14.0-115.5.1.el7a + /usr/bin/xz -dc /builddir/build/SOURCES/linux-4.14.0-115.5.1.el7a.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv linux-4.14.0-115.5.1.el7a linux-4.14.0-115.5.1.el7a.aarch64 + cd linux-4.14.0-115.5.1.el7a.aarch64 + cp /builddir/build/SOURCES/kernel-alt-4.14.0-aarch64-debug.config /builddir/build/SOURCES/kernel-alt-4.14.0-aarch64.config /builddir/build/SOURCES/kernel-alt-4.14.0-ppc64le-debug.config /builddir/build/SOURCES/kernel-alt-4.14.0-ppc64le.config /builddir/build/SOURCES/kernel-alt-4.14.0-s390x-debug.config /builddir/build/SOURCES/kernel-alt-4.14.0-s390x-kdump.config /builddir/build/SOURCES/kernel-alt-4.14.0-s390x.config /builddir/build/SOURCES/kernel-alt-4.14.0-x86_64-debug.config /builddir/build/SOURCES/kernel-alt-4.14.0-x86_64.config . + ApplyOptionalPatch linux-kernel-test.patch + local patch=linux-kernel-test.patch + shift + '[' '!' -f /builddir/build/SOURCES/linux-kernel-test.patch ']' ++ wc -l /builddir/build/SOURCES/linux-kernel-test.patch ++ awk '{print $1}' + local C=0 + '[' 0 -gt 9 ']' + '[' '!' -d .git ']' + git init Initialized empty Git repository in /builddir/build/BUILD/kernel-alt-4.14.0-115.5.1.el7a/linux-4.14.0-115.5.1.el7a.aarch64/.git/ + git config user.email noreply@centos.org + git config user.name 'AltArch Kernel' + git config gc.auto 0 + git add . + git commit -a -q -m baseline + git am /builddir/build/SOURCES/0001-net-mvpp2-remove-useless-goto.patch Applying: net: mvpp2: remove useless goto + git am /builddir/build/SOURCES/0002-net-mvpp2-set-the-Rx-FIFO-size-depending-on-the-port.patch Applying: net: mvpp2: set the Rx FIFO size depending on the port speeds for PPv2.2 + git am /builddir/build/SOURCES/0003-net-mvpp2-initialize-the-Tx-FIFO-size.patch Applying: net: mvpp2: initialize the Tx FIFO size + git am /builddir/build/SOURCES/0004-net-mvpp2-initialize-the-RSS-tables.patch Applying: net: mvpp2: initialize the RSS tables + git am /builddir/build/SOURCES/0005-net-mvpp2-limit-TSO-segments-and-use-stop-wake-thres.patch Applying: net: mvpp2: limit TSO segments and use stop/wake thresholds + git am /builddir/build/SOURCES/0006-net-mvpp2-use-the-aggr-txq-size-define-everywhere.patch Applying: net: mvpp2: use the aggr txq size define everywhere + git am /builddir/build/SOURCES/0007-net-mvpp2-simplify-the-Tx-desc-set-DMA-logic.patch Applying: net: mvpp2: simplify the Tx desc set DMA logic + git am /builddir/build/SOURCES/0008-net-mvpp2-add-ethtool-GOP-statistics.patch Applying: net: mvpp2: add ethtool GOP statistics + git am /builddir/build/SOURCES/0009-net-mvpp2-fix-GOP-statistics-loop-start-and-stop-con.patch Applying: net: mvpp2: fix GOP statistics loop start and stop conditions + git am /builddir/build/SOURCES/0010-net-mvpp2-fix-the-txq_init-error-path.patch Applying: net: mvpp2: fix the txq_init error path + git am /builddir/build/SOURCES/0011-net-mvpp2-cleanup-probed-ports-in-the-probe-error-pa.patch Applying: net: mvpp2: cleanup probed ports in the probe error path + git am /builddir/build/SOURCES/0012-net-mvpp2-do-not-disable-GMAC-padding.patch Applying: net: mvpp2: do not disable GMAC padding + git am /builddir/build/SOURCES/0013-net-mvpp2-check-ethtool-sets-the-Tx-ring-size-is-to-.patch Applying: net: mvpp2: check ethtool sets the Tx ring size is to a valid min value + git am /builddir/build/SOURCES/0014-net-mvpp2-allocate-zeroed-tx-descriptors.patch Applying: net: mvpp2: allocate zeroed tx descriptors + git am /builddir/build/SOURCES/0015-net-mvpp2-fix-the-RSS-table-entry-offset.patch Applying: net: mvpp2: fix the RSS table entry offset + git am /builddir/build/SOURCES/0016-net-mvpp2-only-free-the-TSO-header-buffers-when-it-w.patch Applying: net: mvpp2: only free the TSO header buffers when it was allocated + git am /builddir/build/SOURCES/0017-net-mvpp2-split-the-max-ring-size-from-the-default-o.patch Applying: net: mvpp2: split the max ring size from the default one + git am /builddir/build/SOURCES/0018-net-mvpp2-align-values-in-ethtool-get_coalesce.patch Applying: net: mvpp2: align values in ethtool get_coalesce + git am /builddir/build/SOURCES/0019-net-mvpp2-report-the-tx-usec-coalescing-information-.patch Applying: net: mvpp2: report the tx-usec coalescing information to ethtool + git am /builddir/build/SOURCES/0020-net-mvpp2-adjust-the-coalescing-parameters.patch Applying: net: mvpp2: adjust the coalescing parameters + git am /builddir/build/SOURCES/0021-device-property-Introduce-fwnode_get_mac_address.patch Applying: device property: Introduce fwnode_get_mac_address() + git am /builddir/build/SOURCES/0022-device-property-Introduce-fwnode_get_phy_mode.patch Applying: device property: Introduce fwnode_get_phy_mode() + git am /builddir/build/SOURCES/0023-device-property-Introduce-fwnode_irq_get.patch Applying: device property: Introduce fwnode_irq_get() + git am /builddir/build/SOURCES/0024-device-property-Allow-iterating-over-available-child.patch Applying: device property: Allow iterating over available child fwnodes + git am /builddir/build/SOURCES/0025-net-mvpp2-simplify-maintaining-enabled-ports-list.patch Applying: net: mvpp2: simplify maintaining enabled ports' list + git am /builddir/build/SOURCES/0026-net-mvpp2-use-device_-fwnode_-APIs-instead-of-of_.patch Applying: net: mvpp2: use device_*/fwnode_* APIs instead of of_* + git am /builddir/build/SOURCES/0027-net-mvpp2-enable-ACPI-support-in-the-driver.patch Applying: net: mvpp2: enable ACPI support in the driver + git am /builddir/build/SOURCES/0028-mvpp2-fix-multicast-address-filter.patch Applying: mvpp2: fix multicast address filter + git am /builddir/build/SOURCES/0029-net-mvpp2-Add-hardware-offloading-for-VLAN-filtering.patch Applying: net: mvpp2: Add hardware offloading for VLAN filtering + git am /builddir/build/SOURCES/0030-net-mvpp2-use-the-same-buffer-pool-for-all-ports.patch Applying: net: mvpp2: use the same buffer pool for all ports + git am /builddir/build/SOURCES/0031-net-mvpp2-update-the-BM-buffer-free-destroy-logic.patch Applying: net: mvpp2: update the BM buffer free/destroy logic + git am /builddir/build/SOURCES/0032-net-mvpp2-use-a-data-size-of-10kB-for-Tx-FIFO-on-por.patch Applying: net: mvpp2: use a data size of 10kB for Tx FIFO on port 0 + git am /builddir/build/SOURCES/0033-net-mvpp2-enable-UDP-TCP-checksum-over-IPv6.patch Applying: net: mvpp2: enable UDP/TCP checksum over IPv6 + git am /builddir/build/SOURCES/0034-net-mvpp2-jumbo-frames-support.patch Applying: net: mvpp2: jumbo frames support + git am /builddir/build/SOURCES/0035-net-mvpp2-mvpp2_check_hw_buf_num-can-be-static.patch Applying: net: mvpp2: mvpp2_check_hw_buf_num() can be static + git am /builddir/build/SOURCES/0036-net-mvpp2-Simplify-MAC-filtering-function-parameters.patch Applying: net: mvpp2: Simplify MAC filtering function parameters + git am /builddir/build/SOURCES/0037-net-mvpp2-Add-support-for-unicast-filtering.patch Applying: net: mvpp2: Add support for unicast filtering + git am /builddir/build/SOURCES/0038-net-mvpp2-use-correct-index-on-array-mvpp2_pools.patch Applying: net: mvpp2: use correct index on array mvpp2_pools + git am /builddir/build/SOURCES/0039-net-mvpp2-Make-mvpp2_prs_hw_read-a-parser-entry-init.patch Applying: net: mvpp2: Make mvpp2_prs_hw_read a parser entry init function + git am /builddir/build/SOURCES/0040-net-mvpp2-Don-t-use-dynamic-allocs-for-local-variabl.patch Applying: net: mvpp2: Don't use dynamic allocs for local variables + git am /builddir/build/SOURCES/0041-net-mvpp2-Use-relaxed-I-O-in-data-path.patch Applying: net: mvpp2: Use relaxed I/O in data path + git am /builddir/build/SOURCES/0042-net-mvpp2-Fix-parser-entry-init-boundary-check.patch Applying: net: mvpp2: Fix parser entry init boundary check + git am /builddir/build/SOURCES/0043-net-mvpp2-Fix-TCAM-filter-reserved-range.patch Applying: net: mvpp2: Fix TCAM filter reserved range + git am /builddir/build/SOURCES/0044-net-mvpp2-Fix-DMA-address-mask-size.patch Applying: net: mvpp2: Fix DMA address mask size + git am /builddir/build/SOURCES/0045-net-mvpp2-Fix-clk-error-path-in-mvpp2_probe.patch Applying: net: mvpp2: Fix clk error path in mvpp2_probe + git am /builddir/build/SOURCES/0046-net-mvpp2-Fix-clock-resource-by-adding-missing-mg_co.patch Applying: net: mvpp2: Fix clock resource by adding missing mg_core_clk + git am /builddir/build/SOURCES/0001-BACKPORT-arm64-cmpwait-Clear-event-register-before-a.patch Applying: BACKPORT: arm64: cmpwait: Clear event register before arming exclusive monitor + git am /builddir/build/SOURCES/0002-BACKPORT-arm64-barrier-Implement-smp_cond_load_relax.patch Applying: BACKPORT: arm64: barrier: Implement smp_cond_load_relaxed error: patch failed: arch/arm64/include/asm/barrier.h:182 error: arch/arm64/include/asm/barrier.h: patch does not apply Patch failed at 0001 BACKPORT: arm64: barrier: Implement smp_cond_load_relaxed The copy of the patch that failed is found in: /builddir/build/BUILD/kernel-alt-4.14.0-115.5.1.el7a/linux-4.14.0-115.5.1.el7a.aarch64/.git/rebase-apply/patch When you have resolved this problem, run "git am --resolved". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". error: Bad exit status from /var/tmp/rpm-tmp.5hKHbk (%prep) Bad exit status from /var/tmp/rpm-tmp.5hKHbk (%prep) 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/kernel-alt.spec