Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/deepin-gir-generator.spec'], chrootPath='/var/lib/mock/f33-build-528397-64707/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/deepin-gir-generator.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 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/deepin-gir-generator-2.0.2-6.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/deepin-gir-generator.spec'], chrootPath='/var/lib/mock/f33-build-528397-64707/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/deepin-gir-generator.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 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.04D2oX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-gir-generator-2.0.2 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/go-gir-generator-2.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go-gir-generator-2.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/go-gir-generator-2.0.2/vendor + [[ ! -e /builddir/build/BUILD/go-gir-generator-2.0.2/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/go-gir-generator-2.0.2/_build/bin install: creating directory '/builddir/build/BUILD/go-gir-generator-2.0.2/_build' install: creating directory '/builddir/build/BUILD/go-gir-generator-2.0.2/_build/bin' + export GOPATH=/builddir/build/BUILD/go-gir-generator-2.0.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/go-gir-generator-2.0.2/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/go-gir-generator-2.0.2/_build/src/pkg.deepin.io/gir ]] ++ dirname /builddir/build/BUILD/go-gir-generator-2.0.2/_build/src/pkg.deepin.io/gir + install -m 0755 -vd /builddir/build/BUILD/go-gir-generator-2.0.2/_build/src/pkg.deepin.io install: creating directory '/builddir/build/BUILD/go-gir-generator-2.0.2/_build/src' install: creating directory '/builddir/build/BUILD/go-gir-generator-2.0.2/_build/src/pkg.deepin.io' + ln -fs /builddir/build/BUILD/go-gir-generator-2.0.2 /builddir/build/BUILD/go-gir-generator-2.0.2/_build/src/pkg.deepin.io/gir Patch #0 (11.patch): + cd /builddir/build/BUILD/go-gir-generator-2.0.2/_build/src/pkg.deepin.io/gir + echo 'Patch #0 (11.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib.in/gio-2.0/config.json + rm -rf gogtk-demo + find . -name .gitignore -delete + sed -i 's#go build#go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d '\'' \\n'\'') -extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\''" -a -v -x#' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.emwqbX + umask 022 + cd /builddir/build/BUILD + cd go-gir-generator-2.0.2 + mkdir -p out/src/pkg.deepin.io/gir/glib-2.0 out/src/pkg.deepin.io/gir/gio-2.0 out/src/pkg.deepin.io/gir/gobject-2.0 out/src/pkg.deepin.io/gir/gudev-1.0 + export GOPATH=/usr/share/gocode + GOPATH=/usr/share/gocode + /usr/bin/make -O -j4 V=1 VERBOSE=1 cp -r lib.in/gobject-2.0 out/src/pkg.deepin.io/gir/ cp -r lib.in/gio-2.0 out/src/pkg.deepin.io/gir/ cp -r lib.in/glib-2.0 out/src/pkg.deepin.io/gir/ cp -r lib.in/gudev-1.0 out/src/pkg.deepin.io/gir/ mkdir -p out/src/pkg.deepin.io/gir/ cd src/gir-generator && go build -buildmode pie -compiler gc -tags="rpm_crashtraceback " -ldflags " -B 0x -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" -a -v -x -o /builddir/build/BUILD/go-gir-generator-2.0.2/out/gir-generator -buildmode=pie not supported on linux/riscv64 make: *** [Makefile:18: generator] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.emwqbX (%build) Bad exit status from /var/tmp/rpm-tmp.emwqbX (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 riscv64 --nodeps /builddir/build/SPECS/deepin-gir-generator.spec