include -I/usr/include/sysprof-6 -pthread -I $WORK/b165/ -O2 -g -frandom-seed=PftzbvfJuyfk5-5qUP4j -o $WORK/b165/_x002.o -c fixwarning.cgo2.c TERM='dumb' gcc -I /usr/share/gocode/src/github.com/linuxdeepin/go-gir/glib-2.0 -fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b165=/tmp/go-build -gno-record-gcc-switches -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I $WORK/b165/ -O2 -g -frandom-seed=PftzbvfJuyfk5-5qUP4j -o $WORK/b165/_x003.o -c glib.cgo2.c TERM='dumb' gcc -I /usr/share/gocode/src/github.com/linuxdeepin/go-gir/glib-2.0 -fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b165=/tmp/go-build -gno-record-gcc-switches -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I $WORK/b165/ -O2 -g -frandom-seed=PftzbvfJuyfk5-5qUP4j -o $WORK/b165/_x004.o -c misc.cgo2.c cd /usr/share/gocode/src/github.com/linuxdeepin/go-gir/glib-2.0 TERM='dumb' gcc -I . -fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b165=/tmp/go-build -gno-record-gcc-switches -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I $WORK/b165/ -O2 -g -frandom-seed=PftzbvfJuyfk5-5qUP4j -o $WORK/b165/_x005.o -c glib.gen.c cd $WORK/b165 TERM='dumb' gcc -I /usr/share/gocode/src/github.com/linuxdeepin/go-gir/glib-2.0 -fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b165=/tmp/go-build -gno-record-gcc-switches -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I $WORK/b165/ -O2 -g -frandom-seed=PftzbvfJuyfk5-5qUP4j -o $WORK/b165/_cgo_main.o -c _cgo_main.c cd /builddir/build/BUILD/deepin-pw-check-5.1.18 TERM='dumb' gcc -I /usr/share/gocode/src/github.com/linuxdeepin/go-gir/glib-2.0 -fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b165=/tmp/go-build -gno-record-gcc-switches -o $WORK/b165/_cgo_.o $WORK/b165/_cgo_main.o $WORK/b165/_x001.o $WORK/b165/_x002.o $WORK/b165/_x003.o $WORK/b165/_x004.o $WORK/b165/_x005.o -O2 -g -lglib-2.0 TERM='dumb' /usr/lib/golang/pkg/tool/linux_riscv64/cgo -dynpackage glib -dynimport $WORK/b165/_cgo_.o -dynout $WORK/b165/_cgo_import.go cat >/tmp/go-build3076908072/b165/importcfg << 'EOF' # internal # import config packagefile runtime/cgo=/tmp/go-build3076908072/b075/_pkg_.a packagefile syscall=/tmp/go-build3076908072/b039/_pkg_.a EOF /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b165/_pkg_.a -trimpath "$WORK/b165=>" -p github.com/linuxdeepin/go-gir/glib-2.0 -installsuffix shared -buildid PftzbvfJuyfk5-5qUP4j/PftzbvfJuyfk5-5qUP4j -goversion go1.22.2 -c=4 -shared -nolocalimports -importcfg $WORK/b165/importcfg -pack $WORK/b165/_cgo_gotypes.go $WORK/b165/fixwarning.cgo1.go $WORK/b165/glib.cgo1.go $WORK/b165/misc.cgo1.go $WORK/b165/_cgo_import.go cd /usr/share/gocode/src/github.com/linuxdeepin/go-gir/glib-2.0 /usr/lib/golang/pkg/tool/linux_riscv64/pack r $WORK/b165/_pkg_.a $WORK/b165/_x001.o $WORK/b165/_x002.o $WORK/b165/_x003.o $WORK/b165/_x004.o $WORK/b165/_x005.o # internal /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b165/_pkg_.a # internal cp $WORK/b165/_pkg_.a /builddir/.cache/go-build/97/971eb206aafc98761fe9fbe7bba302bce4285d010fb3f19f188a50db805352dd-d # internal RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.rOrNIh (%build) Bad exit status from /var/tmp/rpm-tmp.rOrNIh (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 riscv64 --nodeps /builddir/build/SPECS/deepin-pw-check.spec