没看到明显的错误,突然报错了。最后信息如下:
[ 79s] packagefile sort=$WORK/b045/_pkg_.a
[ 79s] packagefile strconv=$WORK/b023/_pkg_.a
[ 79s] packagefile strings=$WORK/b050/_pkg_.a
[ 79s] packagefile sync=$WORK/b006/_pkg_.a
[ 79s] packagefile sync/atomic=$WORK/b014/_pkg_.a
[ 79s] packagefile time=$WORK/b019/_pkg_.a
[ 79s] packagefile unicode/utf8=$WORK/b025/_pkg_.a
[ 79s] EOF
[ 79s] cd /usr/lib64/go/1.11/src/net/http
[ 79s] /usr/lib64/go/1.11/pkg/tool/linux_amd64/compile -o $WORK/b143/_pkg_.a -trimpath $WORK/b143 -shared -p net/http -std -complete -installsuffix shared -buildid H6uULgGY5iwunHfp-BNL/H6uULgGY5iwunHfp-BNL -goversion go1.11.5 -D "" -importcfg $WORK/b143/importcfg -pack ./client.go ./cookie.go ./doc.go ./filetransport.go ./fs.go ./h2_bundle.go ./header.go ./http.go ./jar.go ./method.go ./request.go ./response.go ./roundtrip.go ./server.go ./sniff.go ./socks_bundle.go ./status.go ./transfer.go ./transport.go
[ 80s] /usr/lib64/go/1.11/pkg/tool/linux_amd64/buildid -w $WORK/b095/exe/a.out # internal
[ 80s] mv $WORK/b095/exe/a.out /home/abuild/rpmbuild/BUILD/go/bin/gomobile
[ 80s] rm -r $WORK/b095/
[ 83s] /usr/lib64/go/1.11/pkg/tool/linux_amd64/buildid -w $WORK/b143/_pkg_.a # internal
[ 83s] cp $WORK/b143/_pkg_.a /home/abuild/.cache/go-build/55/55ee39ba0abbe7ee1968886da1aff9d2bc47e4a3cf8a4b11774bbfb1fc2718a7-d # internal
[ 83s] error: Bad exit status from /var/tmp/rpm-tmp.3kTte9 (%build)