Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-github-elves-elvish.spec'], chrootPath='/var/lib/mock/f33-build-324089-57997/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-github-elves-elvish.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/golang-github-elves-elvish-0.14.0-2.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-elves-elvish.spec'], chrootPath='/var/lib/mock/f33-build-324089-57997/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-elves-elvish.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.r6upXg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elvish-0.14.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/elvish-0.14.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd elvish-0.14.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/elvish-0.14.0/vendor + [[ ! -e /builddir/build/BUILD/elvish-0.14.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/elvish-0.14.0/_build/bin install: creating directory '/builddir/build/BUILD/elvish-0.14.0/_build' install: creating directory '/builddir/build/BUILD/elvish-0.14.0/_build/bin' + export GOPATH=/builddir/build/BUILD/elvish-0.14.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/elvish-0.14.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/elvish-0.14.0/_build/src/github.com/elves/elvish ]] ++ dirname /builddir/build/BUILD/elvish-0.14.0/_build/src/github.com/elves/elvish + install -m 0755 -vd /builddir/build/BUILD/elvish-0.14.0/_build/src/github.com/elves install: creating directory '/builddir/build/BUILD/elvish-0.14.0/_build/src' install: creating directory '/builddir/build/BUILD/elvish-0.14.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/elvish-0.14.0/_build/src/github.com/elves' + ln -fs /builddir/build/BUILD/elvish-0.14.0 /builddir/build/BUILD/elvish-0.14.0/_build/src/github.com/elves/elvish + cd /builddir/build/BUILD/elvish-0.14.0/_build/src/github.com/elves/elvish + mv cmd/examples examples + rm -rf cmd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7bzZTh + umask 022 + cd /builddir/build/BUILD + cd elvish-0.14.0 ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + GOPATH=/builddir/build/BUILD/elvish-0.14.0/_build:/usr/share/gocode + GO111MODULE=off + go build -compiler gc '-tags=rpm_crashtraceback ' -ldflags '-X github.com/elves/elvish/version=0.14.0 -B 0xcf98cdbf6d9e8f8152965dd84a7698e95cf44ada -extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\''' -a -v -x -o /builddir/build/BUILD/elvish-0.14.0/_build/bin/elvish github.com/elves/elvish WORK=/tmp/go-build660356970 internal/cpu internal/unsafeheader mkdir -p $WORK/b010/ mkdir -p $WORK/b006/ runtime/internal/sys cat >$WORK/b010/importcfg << 'EOF' # internal # import config EOF mkdir -p $WORK/b013/ cat >$WORK/b006/importcfg << 'EOF' # internal # import config EOF cat >$WORK/b013/importcfg << 'EOF' # internal # import config EOF cd /usr/lib/golang/src/internal/unsafeheader /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b006/_pkg_.a -trimpath "$WORK/b006=>" -p internal/unsafeheader -std -complete -buildid lyBzIJZq4i1M22iXB4le/lyBzIJZq4i1M22iXB4le -goversion go1.15rc1 -D "" -importcfg $WORK/b006/importcfg -pack -c=4 ./unsafeheader.go cd /usr/lib/golang/src/internal/cpu /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b010/_pkg_.a -trimpath "$WORK/b010=>" -p internal/cpu -std -+ -complete -buildid mO-nIRiAUxovQ5rT1dnb/mO-nIRiAUxovQ5rT1dnb -goversion go1.15rc1 -D "" -importcfg $WORK/b010/importcfg -pack -c=4 ./cpu.go ./cpu_no_init.go ./cpu_riscv64.go cd /usr/lib/golang/src/runtime/internal/sys /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p runtime/internal/sys -std -+ -complete -buildid 6pWrFbJRf3zu1wi1CuLL/6pWrFbJRf3zu1wi1CuLL -goversion go1.15rc1 -D "" -importcfg $WORK/b013/importcfg -pack -c=4 ./arch.go ./arch_riscv64.go ./intrinsics.go ./intrinsics_common.go ./stubs.go ./sys.go ./zgoarch_riscv64.go ./zgoos_linux.go ./zversion.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b006/_pkg_.a # internal cp $WORK/b006/_pkg_.a /builddir/.cache/go-build/c0/c0671064701b4219b6764d9783604df56d661f6f1552caddb2248cebf4069982-d # internal internal/race mkdir -p $WORK/b016/ cat >$WORK/b016/importcfg << 'EOF' # internal # import config EOF cd /usr/lib/golang/src/internal/race /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b016/_pkg_.a -trimpath "$WORK/b016=>" -p internal/race -std -complete -buildid _JUMUWZwTfZFjYD-hu3w/_JUMUWZwTfZFjYD-hu3w -goversion go1.15rc1 -D "" -importcfg $WORK/b016/importcfg -pack -c=4 ./doc.go ./norace.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b013/_pkg_.a # internal /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b016/_pkg_.a # internal cp $WORK/b016/_pkg_.a /builddir/.cache/go-build/61/61b9ba3f032aab355beb2b8711adfbbfedbb2898daea821a5c838aa4ed61a3f0-d # internal cp $WORK/b013/_pkg_.a /builddir/.cache/go-build/a0/a0f7a0dbaeea027d2e34b292cdc3d39a0789e71daad54005625bb3d86659d58e-d # internal runtime/internal/math mkdir -p $WORK/b012/ cat >$WORK/b012/importcfg << 'EOF' # internal # import config packagefile runtime/internal/sys=$WORK/b013/_pkg_.a EOF cd /usr/lib/golang/src/runtime/internal/math /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b012/_pkg_.a -trimpath "$WORK/b012=>" -p runtime/internal/math -std -+ -complete -buildid 34JbZZEO_MjGbP-c7Vqn/34JbZZEO_MjGbP-c7Vqn -goversion go1.15rc1 -D "" -importcfg $WORK/b012/importcfg -pack -c=4 ./math.go /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b010/_pkg_.a # internal sync/atomic mkdir -p $WORK/b017/ cp $WORK/b010/_pkg_.a /builddir/.cache/go-build/b7/b732f88d60f1e5a8781828ca8b78a004188ede64175f5ed6f02c38eb4d371552-d # internal internal/bytealg mkdir -p $WORK/b009/ cat >$WORK/b017/go_asm.h << 'EOF' # internal EOF cat >$WORK/b009/go_asm.h << 'EOF' # internal EOF cd /usr/lib/golang/src/internal/bytealg /usr/lib/golang/pkg/tool/linux_riscv64/asm -p internal/bytealg -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /usr/lib/golang/pkg/include -D GOOS_linux -D GOARCH_riscv64 -gensymabis -o $WORK/b009/symabis ./equal_riscv64.s ./indexbyte_riscv64.s cd /usr/lib/golang/src/sync/atomic /usr/lib/golang/pkg/tool/linux_riscv64/asm -p sync/atomic -trimpath "$WORK/b017=>" -I $WORK/b017/ -I /usr/lib/golang/pkg/include -D GOOS_linux -D GOARCH_riscv64 -gensymabis -o $WORK/b017/symabis ./asm.s cat >$WORK/b017/importcfg << 'EOF' # internal # import config EOF /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b012/_pkg_.a # internal /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b017/_pkg_.a -trimpath "$WORK/b017=>" -p sync/atomic -std -buildid EJfCnfc7pSbABGZ2iil3/EJfCnfc7pSbABGZ2iil3 -goversion go1.15rc1 -symabis $WORK/b017/symabis -D "" -importcfg $WORK/b017/importcfg -pack -asmhdr $WORK/b017/go_asm.h -c=4 ./doc.go ./value.go cat >$WORK/b009/importcfg << 'EOF' # internal # import config packagefile internal/cpu=$WORK/b010/_pkg_.a EOF cd /usr/lib/golang/src/internal/bytealg /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b009/_pkg_.a -trimpath "$WORK/b009=>" -p internal/bytealg -std -+ -buildid wuXQLBWGsXLjDqZuUf78/wuXQLBWGsXLjDqZuUf78 -goversion go1.15rc1 -symabis $WORK/b009/symabis -D "" -importcfg $WORK/b009/importcfg -pack -asmhdr $WORK/b009/go_asm.h -c=4 ./bytealg.go ./compare_generic.go ./count_generic.go ./equal_generic.go ./equal_native.go ./index_generic.go ./indexbyte_native.go cp $WORK/b012/_pkg_.a /builddir/.cache/go-build/c4/c46ca15470cefe9cf14718994c18b6182a34e638cc9787b96d7f88bef15640df-d # internal unicode mkdir -p $WORK/b018/ cat >$WORK/b018/importcfg << 'EOF' # internal # import config EOF cd /usr/lib/golang/src/unicode /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b018/_pkg_.a -trimpath "$WORK/b018=>" -p unicode -std -complete -buildid 1XE5AzD4Bk7cXKlvK0pc/1XE5AzD4Bk7cXKlvK0pc -goversion go1.15rc1 -D "" -importcfg $WORK/b018/importcfg -pack -c=4 ./casetables.go ./digit.go ./graphic.go ./letter.go ./tables.go cd /usr/lib/golang/src/sync/atomic /usr/lib/golang/pkg/tool/linux_riscv64/asm -p sync/atomic -trimpath "$WORK/b017=>" -I $WORK/b017/ -I /usr/lib/golang/pkg/include -D GOOS_linux -D GOARCH_riscv64 -o $WORK/b017/asm.o ./asm.s /usr/lib/golang/pkg/tool/linux_riscv64/pack r $WORK/b017/_pkg_.a $WORK/b017/asm.o # internal /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b017/_pkg_.a # internal cp $WORK/b017/_pkg_.a /builddir/.cache/go-build/ad/ad4b66fb7ad545004b480586655c8204277b45829576d10a65b1aabed82629bd-d # internal unicode/utf8 mkdir -p $WORK/b019/ cat >$WORK/b019/importcfg << 'EOF' # internal # import config EOF cd /usr/lib/golang/src/unicode/utf8 /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b019/_pkg_.a -trimpath "$WORK/b019=>" -p unicode/utf8 -std -complete -buildid mQpVTMjbAJiIxhzczvZE/mQpVTMjbAJiIxhzczvZE -goversion go1.15rc1 -D "" -importcfg $WORK/b019/importcfg -pack -c=4 ./utf8.go cd /usr/lib/golang/src/internal/bytealg /usr/lib/golang/pkg/tool/linux_riscv64/asm -p internal/bytealg -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /usr/lib/golang/pkg/include -D GOOS_linux -D GOARCH_riscv64 -o $WORK/b009/equal_riscv64.o ./equal_riscv64.s /usr/lib/golang/pkg/tool/linux_riscv64/asm -p internal/bytealg -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /usr/lib/golang/pkg/include -D GOOS_linux -D GOARCH_riscv64 -o $WORK/b009/indexbyte_riscv64.o ./indexbyte_riscv64.s /usr/lib/golang/pkg/tool/linux_riscv64/pack r $WORK/b009/_pkg_.a $WORK/b009/equal_riscv64.o $WORK/b009/indexbyte_riscv64.o # internal /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b009/_pkg_.a # internal cp $WORK/b009/_pkg_.a /builddir/.cache/go-build/bb/bb488376f0b118a6f49e6690ef8d711008b4cbf29678fc259cba479206905c81-d # internal math/bits mkdir -p $WORK/b024/ cat >$WORK/b024/importcfg << 'EOF' # internal # import config EOF cd /usr/lib/golang/src/math/bits /usr/lib/golang/pkg/tool/linux_riscv64/compile -o $WORK/b024/_pkg_.a -trimpath "$WORK/b024=>" -p math/bits -std -complete -buildid up68R39f1y66bkewQudT/up68R39f1y66bkewQudT -goversion go1.15rc1 -D "" -importcfg $WORK/b024/importcfg -pack -c=4 ./bits.go ./bits_errors.go ./bits_tables.go go tool compile: signal: segmentation fault (core dumped) /usr/lib/golang/pkg/tool/linux_riscv64/buildid -w $WORK/b019/_pkg_.a # internal cp $WORK/b019/_pkg_.a /builddir/.cache/go-build/63/63a636810b7d7020f9c4cd16f7170eee257d82d3a03b660f922f50158cc9abab-d # internal internal/testlog mkdir -p $WORK/b034/ cat >$WORK/b034/importcfg << 'EOF' # internal # import config packagefile sync/atomic=$WORK/b017/_pkg_.a EOF go: failed to remove work dir: unlinkat /tmp/go-build660356970: directory not empty error: Bad exit status from /var/tmp/rpm-tmp.7bzZTh (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7bzZTh (%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-elves-elvish.spec