packagefile context=$WORK/b027/_pkg_.a BUILDSTDERR: packagefile errors=$WORK/b003/_pkg_.a BUILDSTDERR: packagefile io=$WORK/b020/_pkg_.a BUILDSTDERR: packagefile os=$WORK/b012/_pkg_.a BUILDSTDERR: packagefile path/filepath=$WORK/b028/_pkg_.a BUILDSTDERR: packagefile runtime=$WORK/b005/_pkg_.a BUILDSTDERR: packagefile strconv=$WORK/b031/_pkg_.a BUILDSTDERR: packagefile strings=$WORK/b030/_pkg_.a BUILDSTDERR: packagefile sync=$WORK/b019/_pkg_.a BUILDSTDERR: packagefile syscall=$WORK/b017/_pkg_.a BUILDSTDERR: EOF BUILDSTDERR: cd /usr/lib/golang/src/os/exec BUILDSTDERR: /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b023/_pkg_.a -trimpath "$WORK/b023=>" -p os/exec -std -complete -buildid tgsJjzfLnCLSye0Cmzwt/tgsJjzfLnCLSye0Cmzwt -goversion go1.14 -D "" -importcfg $WORK/b023/importcfg -pack -c=4 ./exec.go ./exec_unix.go ./lp_unix.go BUILDSTDERR: /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b023/_pkg_.a # internal BUILDSTDERR: cp $WORK/b023/_pkg_.a /builddir/.cache/go-build/c2/c237aecc7c1072a54c68ec258b702bbbf5361e49efc7b6d6c66fda40dcb83baf-d # internal BUILDSTDERR: github.com/kr/pty BUILDSTDERR: mkdir -p $WORK/b002/ BUILDSTDERR: cat >$WORK/b002/importcfg << 'EOF' # internal BUILDSTDERR: # import config BUILDSTDERR: packagefile errors=$WORK/b003/_pkg_.a BUILDSTDERR: packagefile os=$WORK/b012/_pkg_.a BUILDSTDERR: packagefile os/exec=$WORK/b023/_pkg_.a BUILDSTDERR: packagefile strconv=$WORK/b031/_pkg_.a BUILDSTDERR: packagefile syscall=$WORK/b017/_pkg_.a BUILDSTDERR: EOF BUILDSTDERR: cd /usr/share/gocode/src/github.com/kr/pty BUILDSTDERR: /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b002/_pkg_.a -trimpath "$WORK/b002=>" -p github.com/kr/pty -complete -buildid 7iTM1iXXLCO-OjzquP8B/7iTM1iXXLCO-OjzquP8B -goversion go1.14 -D "" -importcfg $WORK/b002/importcfg -pack -c=4 ./doc.go ./ioctl.go ./pty_linux.go ./run.go ./util.go BUILDSTDERR: # github.com/kr/pty BUILDSTDERR: /usr/share/gocode/src/github.com/kr/pty/pty_linux.go:39:8: undefined: _C_uint BUILDSTDERR: /usr/share/gocode/src/github.com/kr/pty/pty_linux.go:48:8: undefined: _C_int BUILDSTDERR: /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b036/_pkg_.a # internal BUILDSTDERR: cp $WORK/b036/_pkg_.a /builddir/.cache/go-build/0d/0db5e3c75b1555da000794631dd13aa18f220be5e2e6d8fe8dd3a2f4b86e7cb0-d # internal BUILDSTDERR: log BUILDSTDERR: mkdir -p $WORK/b035/ BUILDSTDERR: cat >$WORK/b035/importcfg << 'EOF' # internal BUILDSTDERR: # import config BUILDSTDERR: packagefile fmt=$WORK/b036/_pkg_.a BUILDSTDERR: packagefile io=$WORK/b020/_pkg_.a BUILDSTDERR: packagefile os=$WORK/b012/_pkg_.a BUILDSTDERR: packagefile runtime=$WORK/b005/_pkg_.a BUILDSTDERR: packagefile sync=$WORK/b019/_pkg_.a BUILDSTDERR: packagefile time=$WORK/b021/_pkg_.a BUILDSTDERR: EOF BUILDSTDERR: cd /usr/lib/golang/src/log BUILDSTDERR: /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b035/_pkg_.a -trimpath "$WORK/b035=>" -p log -std -complete -buildid OeyF372a2Q8c_6cbrYNL/OeyF372a2Q8c_6cbrYNL -goversion go1.14 -D "" -importcfg $WORK/b035/importcfg -pack -c=4 ./log.go BUILDSTDERR: /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b035/_pkg_.a # internal BUILDSTDERR: cp $WORK/b035/_pkg_.a /builddir/.cache/go-build/3e/3eb358086f5ff6935a65a2b559be04fc17ea0a89001f24f5a85fdecc85627ca8-d # internal BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.WYkHAb (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.WYkHAb (%build) RPM build errors: 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/golang-github-kr-text.spec