Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/grafana-pcp.spec'], chrootPath='/var/lib/mock/dist-an8-build-65512-37147/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/grafana-pcp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/grafana-pcp-3.1.0-1.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/grafana-pcp.spec'], chrootPath='/var/lib/mock/dist-an8-build-65512-37147/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/grafana-pcp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xktYeo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + /usr/bin/gzip -dc /builddir/build/SOURCES/grafana-pcp-3.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-pcp-3.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/bin/xz -dc /builddir/build/SOURCES/grafana-pcp-vendor-3.1.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-pcp-3.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/bin/gzip -dc /builddir/build/SOURCES/grafana-pcp-webpack-3.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-pcp-3.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1000 (0001-grafana-pcp-anolis-rebrand.patch):' Patch #1000 (0001-grafana-pcp-anolis-rebrand.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nuar grafana-pcp-3.0.2/node_modules/ua-parser-js/dist/ua-parser.min.js grafana-pcp-3.0.2.org/node_modules/ua-parser-js/dist/ua-parser.min.js |--- grafana-pcp-3.0.2/node_modules/ua-parser-js/dist/ua-parser.min.js 2020-12-18 23:11:40.000000000 +0800 |+++ grafana-pcp-3.0.2.org/node_modules/ua-parser-js/dist/ua-parser.min.js 2021-06-22 18:41:42.974898689 +0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 13 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nuar grafana-pcp-3.0.2/node_modules/ua-parser-js/dist/ua-parser.pack.js grafana-pcp-3.0.2.org/node_modules/ua-parser-js/dist/ua-parser.pack.js |--- grafana-pcp-3.0.2/node_modules/ua-parser-js/dist/ua-parser.pack.js 2020-12-18 23:11:40.000000000 +0800 |+++ grafana-pcp-3.0.2.org/node_modules/ua-parser-js/dist/ua-parser.pack.js 2021-06-22 18:42:17.519191712 +0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 22 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nuar grafana-pcp-3.0.2/node_modules/ua-parser-js/src/ua-parser.js grafana-pcp-3.0.2.org/node_modules/ua-parser-js/src/ua-parser.js |--- grafana-pcp-3.0.2/node_modules/ua-parser-js/src/ua-parser.js 2020-12-18 23:11:40.000000000 +0800 |+++ grafana-pcp-3.0.2.org/node_modules/ua-parser-js/src/ua-parser.js 2021-06-22 18:41:22.926728629 +0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 45 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nuar grafana-pcp-3.0.2/node_modules/ua-parser-js/test/os-test.json grafana-pcp-3.0.2.org/node_modules/ua-parser-js/test/os-test.json |--- grafana-pcp-3.0.2/node_modules/ua-parser-js/test/os-test.json 2020-12-18 23:11:40.000000000 +0800 |+++ grafana-pcp-3.0.2.org/node_modules/ua-parser-js/test/os-test.json 2021-06-22 18:43:41.119900858 +0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.xktYeo (%prep) Bad exit status from /var/tmp/rpm-tmp.xktYeo (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/grafana-pcp.spec