-fPIC -frandom-seed=7Nb2AU1YvcDQ0Ysc6Tyl -o ./_x002.o -c iowait.cgo2.c /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b232/_pkg_.a # internal cp $WORK/b232/_pkg_.a /builddir/.cache/go-build/b2/b24a14d284b7fe0f92db88a644bf58b7e4f1fdf86cc8e02dbab22a079c69911a-d # internal cd /builddir/build/BUILD/startdde-5.10.1/gopath/src/github.com/linuxdeepin/startdde/iowait TERM='dumb' gcc -I . -fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b228=/tmp/go-build -gno-record-gcc-switches -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I $WORK/b228/ -O2 -g -W -Wall -fstack-protector-all -fPIC -frandom-seed=7Nb2AU1YvcDQ0Ysc6Tyl -o $WORK/b228/_x003.o -c xcursor_remap.c cd $WORK/b228 TERM='dumb' gcc -I /builddir/build/BUILD/startdde-5.10.1/gopath/src/github.com/linuxdeepin/startdde/iowait -fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b228=/tmp/go-build -gno-record-gcc-switches -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I ./ -O2 -g -W -Wall -fstack-protector-all -fPIC -frandom-seed=7Nb2AU1YvcDQ0Ysc6Tyl -o ./_cgo_main.o -c _cgo_main.c cd /builddir/build/BUILD/startdde-5.10.1 TERM='dumb' gcc -I ./gopath/src/github.com/linuxdeepin/startdde/iowait -fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b228=/tmp/go-build -gno-record-gcc-switches -o $WORK/b228/_cgo_.o $WORK/b228/_cgo_main.o $WORK/b228/_x001.o $WORK/b228/_x002.o $WORK/b228/_x003.o -O2 -g -lm -lX11 -lgobject-2.0 -lgio-2.0 -lXfixes -lXcursor -lglib-2.0 TERM='dumb' /usr/lib/golang/pkg/tool/linux_riscv64/cgo -dynpackage iowait -dynimport $WORK/b228/_cgo_.o -dynout $WORK/b228/_cgo_import.go cat >/tmp/go-build1510796667/b228/importcfg << 'EOF' # internal # import config packagefile bufio=/tmp/go-build1510796667/b002/_pkg_.a packagefile fmt=/tmp/go-build1510796667/b049/_pkg_.a packagefile github.com/linuxdeepin/go-lib/log=/tmp/go-build1510796667/b195/_pkg_.a packagefile github.com/linuxdeepin/go-lib/strv=/tmp/go-build1510796667/b097/_pkg_.a packagefile os=/tmp/go-build1510796667/b052/_pkg_.a packagefile strconv=/tmp/go-build1510796667/b037/_pkg_.a packagefile strings=/tmp/go-build1510796667/b027/_pkg_.a packagefile time=/tmp/go-build1510796667/b029/_pkg_.a packagefile runtime/cgo=/tmp/go-build1510796667/b080/_pkg_.a packagefile syscall=/tmp/go-build1510796667/b030/_pkg_.a EOF /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b228/_pkg_.a -trimpath "$WORK/b228=>" -p github.com/linuxdeepin/startdde/iowait -installsuffix shared -buildid 7Nb2AU1YvcDQ0Ysc6Tyl/7Nb2AU1YvcDQ0Ysc6Tyl -goversion go1.21.3 -c=4 -shared -nolocalimports -importcfg $WORK/b228/importcfg -pack $WORK/b228/_cgo_gotypes.go $WORK/b228/iowait.cgo1.go $WORK/b228/_cgo_import.go cd /builddir/build/BUILD/startdde-5.10.1/gopath/src/github.com/linuxdeepin/startdde/iowait /usr/lib/golang/pkg/tool/linux_riscv64/pack r $WORK/b228/_pkg_.a $WORK/b228/_x001.o $WORK/b228/_x002.o $WORK/b228/_x003.o # internal /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b228/_pkg_.a # internal cp $WORK/b228/_pkg_.a /builddir/.cache/go-build/a7/a731d54cbec819f61b42dbf0085749dbd7240351220beb2d508a77c057ca75d3-d # internal error: Bad exit status from /var/tmp/rpm-tmp.9LbNdl (%build) Bad exit status from /var/tmp/rpm-tmp.9LbNdl (%build) RPM build errors: 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/startdde.spec