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