Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gimp-layer-via-copy-cut.spec'], chrootPath='/var/lib/mock/f30-build-35314-19664/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gimp-layer-via-copy-cut.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/gimp-layer-via-copy-cut-1.6-10.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gimp-layer-via-copy-cut.spec'], chrootPath='/var/lib/mock/f30-build-35314-19664/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gimp-layer-via-copy-cut.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DTjUjh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gimp-layer-via-copy-cut-1.6 + /usr/bin/mkdir -p gimp-layer-via-copy-cut-1.6 + cd gimp-layer-via-copy-cut-1.6 + /usr/bin/unzip -qq /builddir/build/SOURCES/layer-via-copy-cut.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/LICENSE.txt . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5ybusK + umask 022 + cd /builddir/build/BUILD Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.D9Izlh + cd gimp-layer-via-copy-cut-1.6 + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gimp-layer-via-copy-cut-1.6-10.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gimp-layer-via-copy-cut-1.6-10.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/gimp-layer-via-copy-cut-1.6-10.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gimp-layer-via-copy-cut-1.6-10.fc30.riscv64 + cd gimp-layer-via-copy-cut-1.6 + install -Dpm 0755 layer-via-copy-cut.py -t /builddir/build/BUILDROOT/gimp-layer-via-copy-cut-1.6-10.fc30.riscv64/usr/lib64/gimp/2.0/plug-ins/ + install -Dm 0644 -p /builddir/build/SOURCES/gimp-layer-via-copy-cut.metainfo.xml /builddir/build/BUILDROOT/gimp-layer-via-copy-cut-1.6-10.fc30.riscv64/usr/share/appdata/gimp-layer-via-copy-cut.metainfo.xml + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/lib64/gimp/2.0/plug-ins/layer-via-copy-cut.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.D9Izlh (%install) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.D9Izlh (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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 riscv64 --nodeps /builddir/build/SPECS/gimp-layer-via-copy-cut.spec