Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/f33-build-633023-68446/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/golang-1.18.4-1.0.riscv64.fc33~bootstrap.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.spec'], chrootPath='/var/lib/mock/f33-build-633023-68446/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang.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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Qxnk2L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go + /usr/bin/gzip -dc /builddir/build/SOURCES/go1.18.4.src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Don-t-use-the-bundled-tzdata-at-runtime-except-for-t.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-syscall-expose-IfInfomsg.X__ifi_pad-on-s390x.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-cmd-go-disable-Google-s-proxy-and-sumdb.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + cp /builddir/build/SOURCES/fedora.go ./src/runtime/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.g4O6Fh + umask 022 + cd /builddir/build/BUILD + cd go + uname -a Linux unmatched.delorie.com 5.18.8-200.0.riscv64.fc33.riscv64 #1 SMP Wed Jun 29 15:09:53 EDT 2022 riscv64 riscv64 riscv64 GNU/Linux + cat /proc/cpuinfo processor : 0 hart : 2 isa : rv64imafdc mmu : sv39 uarch : sifive,u74-mc processor : 1 hart : 1 isa : rv64imafdc mmu : sv39 uarch : sifive,u74-mc processor : 2 hart : 3 isa : rv64imafdc mmu : sv39 uarch : sifive,u74-mc processor : 3 hart : 4 isa : rv64imafdc mmu : sv39 uarch : sifive,u74-mc MemTotal: 16356080 kB MemFree: 7720376 kB MemAvailable: 15494080 kB Buffers: 503696 kB Cached: 7014816 kB SwapCached: 3512 kB Active: 3714180 kB Inactive: 3938768 kB Active(anon): 24244 kB Inactive(anon): 134748 kB Active(file): 3689936 kB Inactive(file): 3804020 kB Unevictable: 1716 kB Mlocked: 0 kB SwapTotal: 4194300 kB SwapFree: 4134908 kB Dirty: 138828 kB Writeback: 0 kB AnonPages: 132832 kB Mapped: 164024 kB Shmem: 22840 kB KReclaimable: 535928 kB Slab: 652532 kB SReclaimable: 535928 kB SUnreclaim: 116604 kB KernelStack: 2540 kB PageTables: 4652 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 12372340 kB Committed_AS: 573340 kB VmallocTotal: 67108864 kB VmallocUsed: 115772 kB VmallocChunk: 0 kB Percpu: 4608 kB AnonHugePages: 0 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB FileHugePages: 0 kB FilePmdMapped: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB Hugetlb: 0 kB ~/build/BUILD/go/src ~/build/BUILD/go + cat /proc/meminfo + export GOROOT_BOOTSTRAP=/ + GOROOT_BOOTSTRAP=/ + export GOROOT_FINAL=/usr/lib/golang + GOROOT_FINAL=/usr/lib/golang + export GOHOSTOS=linux + GOHOSTOS=linux + export GOHOSTARCH=riscv64 + GOHOSTARCH=riscv64 + pushd src + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export CC=gcc + CC=gcc + export CC_FOR_TARGET=gcc + CC_FOR_TARGET=gcc + export GOOS=linux + GOOS=linux + export GOARCH=riscv64 + GOARCH=riscv64 + ./make.bash --no-clean -v Building Go cmd/dist using /. (go1.14.6 gccgo (GCC) 10.3.1 20210422 (Red Hat 10.3.1-1) linux/riscv64) warning: --no-clean is deprecated and has no effect; use 'go install std cmd' instead Building Go toolchain1 using /. bootstrap/cmd/internal/bio bootstrap/math/bits bootstrap/internal/goexperiment bootstrap/sort bootstrap/internal/buildcfg bootstrap/strconv bootstrap/internal/unsafeheader bootstrap/cmd/internal/src bootstrap/cmd/internal/sys bootstrap/cmd/internal/edit bootstrap/cmd/internal/pkgpath bootstrap/cmd/internal/quoted bootstrap/internal/goversion bootstrap/cmd/internal/gcprog bootstrap/container/heap bootstrap/internal/race bootstrap/cmd/compile/internal/test bootstrap/cmd/link/internal/benchmark bootstrap/compress/flate bootstrap/cmd/internal/objabi bootstrap/debug/dwarf bootstrap/math/big bootstrap/cmd/internal/dwarf bootstrap/cmd/internal/goobj bootstrap/cmd/asm/internal/flags bootstrap/cmd/asm/internal/lex bootstrap/cmd/internal/obj bootstrap/compress/zlib bootstrap/cmd/compile/internal/syntax bootstrap/debug/elf bootstrap/debug/macho bootstrap/debug/pe bootstrap/internal/xcoff bootstrap/go/constant bootstrap/cmd/cgo bootstrap/cmd/internal/obj/arm bootstrap/cmd/internal/obj/arm64 bootstrap/cmd/internal/obj/mips bootstrap/cmd/internal/obj/ppc64 bootstrap/cmd/internal/obj/riscv bootstrap/cmd/internal/obj/s390x bootstrap/cmd/internal/obj/wasm bootstrap/cmd/internal/obj/x86 bootstrap/cmd/compile/internal/base bootstrap/cmd/compile/internal/logopt bootstrap/cmd/compile/internal/types2 bootstrap/cmd/compile/internal/types bootstrap/cmd/compile/internal/ir bootstrap/cmd/compile/internal/bitvec bootstrap/cmd/compile/internal/typebits bootstrap/cmd/internal/archive bootstrap/cmd/internal/codesign bootstrap/cmd/link/internal/sym bootstrap/cmd/link/internal/loader bootstrap/cmd/link/internal/loadelf bootstrap/cmd/link/internal/loadmacho bootstrap/cmd/link/internal/loadpe bootstrap/cmd/link/internal/loadxcoff bootstrap/cmd/link/internal/ld bootstrap/cmd/link/internal/dwtest bootstrap/cmd/compile/internal/objw bootstrap/cmd/compile/internal/abi bootstrap/cmd/compile/internal/typecheck bootstrap/cmd/compile/internal/deadcode bootstrap/cmd/link/internal/amd64 bootstrap/cmd/link/internal/arm bootstrap/cmd/link/internal/arm64 bootstrap/cmd/link/internal/mips bootstrap/cmd/link/internal/mips64 bootstrap/cmd/link/internal/ppc64 bootstrap/cmd/link/internal/riscv64 bootstrap/cmd/link/internal/s390x bootstrap/cmd/link/internal/wasm bootstrap/cmd/link/internal/x86 bootstrap/cmd/link bootstrap/cmd/compile/internal/inline bootstrap/cmd/compile/internal/escape bootstrap/cmd/compile/internal/staticdata bootstrap/cmd/compile/internal/devirtualize bootstrap/cmd/compile/internal/importer bootstrap/cmd/compile/internal/reflectdata bootstrap/cmd/compile/internal/staticinit bootstrap/cmd/compile/internal/pkginit bootstrap/cmd/asm/internal/arch bootstrap/cmd/compile/internal/ssa bootstrap/cmd/asm/internal/asm bootstrap/cmd/asm bootstrap/cmd/compile/internal/liveness bootstrap/cmd/compile/internal/ssagen bootstrap/cmd/compile/internal/arm bootstrap/cmd/compile/internal/arm64 bootstrap/cmd/compile/internal/amd64 bootstrap/cmd/compile/internal/dwarfgen bootstrap/cmd/compile/internal/walk bootstrap/cmd/compile/internal/mips bootstrap/cmd/compile/internal/mips64 bootstrap/cmd/compile/internal/noder bootstrap/cmd/compile/internal/ppc64 bootstrap/cmd/compile/internal/riscv64 bootstrap/cmd/compile/internal/s390x bootstrap/cmd/compile/internal/wasm bootstrap/cmd/compile/internal/x86 bootstrap/cmd/compile/internal/gc bootstrap/cmd/compile Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. runtime runtime/internal/syscall runtime/internal/sys internal/cpu internal/goarch internal/abi runtime/internal/atomic runtime/internal/math internal/bytealg internal/goos internal/goexperiment /builddir/build/BUILD/go/src/runtime/internal/math/math.go:15:3: internal compiler error: 'MulUintptr': nil register for value: v15 = MOVDstore {~r0} v29 v20 v24 MulUintptr func(uintptr, uintptr) (uintptr, bool) b1: (-13) v8 = Arg {a} : a[uintptr] (a[uintptr]) (-13) v9 = Arg {b} : b[uintptr] (b[uintptr]) (?) v1 = InitMem (?) v29 = SP : SP (-14) v27 = LoadReg v8 : X5 (-14) v19 = LoadReg v9 : X6 (14) v12 = OR v27 v19 : X7 (-14) v34 = MOVDconst [4294967296] : X8 BLTU v12 v34 -> b5 b2 b2: <- b1 BEQZ v27 -> b5 b7 (likely) b5: <- b2 b1 (-15) v23 = VarDef {~r0} v1 (-15) v24 = VarDef {~r1} v23 (+15) v20 = MUL v27 v19 : X5 (15) v15 = MOVDstore {~r0} v29 v20 v24 (15) v43 = MOVBstorezero {~r1} v29 v15 (15) v21 = MakeResult v43 Ret v21 b7: <- b2 (-18) v39 = VarDef {~r0} v1 (-18) v40 = VarDef {~r1} v39 (+18) v36 = MUL v29 v15 : X7 (18) v42 = MOVDstore {~r0} v29 v15 v40 (+17) v32 = DIVU v29 v15 : X5 (17) v33 = SLTU v29 v15 : X5 (overflow[bool]) (18) v41 = MOVBstore {~r1} v29 v15 v42 (18) v37 = MakeResult v41 Ret v37 name a[uintptr]: [v8] name b[uintptr]: [v9] name overflow[bool]: [v33] Please file a bug report including a short program that triggers the error. https://go.dev/issue/new go tool dist: FAILED: /builddir/build/BUILD/go/pkg/tool/linux_riscv64/compile -std -pack -o /tmp/go-tool-dist-985379900/runtime/internal/math/_go_.a -p runtime/internal/math -importcfg /tmp/go-tool-dist-985379900/runtime/internal/math/importcfg /builddir/build/BUILD/go/src/runtime/internal/math/math.go: exit status 2 /builddir/build/BUILD/go/src/internal/abi/abi.go:48:7: internal compiler error: '(*RegArgs).Dump': nil register for value: v12 = SelectN [0] v11 (*RegArgs).Dump method(*RegArgs) func() b14: (-47) v5 = Arg <*RegArgs> {r} : r[*RegArgs] (r[*RegArgs]) (?) v1 = InitMem (48) v6 = CALLstatic {AuxCall{runtime.printlock}} v1 (48) v7 = SelectN [0] v6 (?) v133 = SB : SB (?) v64 = SP : SP (?) v143 = MOVaddr <*uint8> {go.string."Ints:"} v133 : X5 (?) v126 = MOVDstore [8] v64 v143 v7 (?) v125 = MOVDstore [16] v64 v143 v126 (48) v9 = CALLstatic {AuxCall{runtime.printstring}} [16] v125 (48) v10 = SelectN [0] v9 (48) v11 = CALLstatic {AuxCall{runtime.printunlock}} v10 (48) v12 = SelectN [0] v11 (+49) v13 = LoweredNilCheck v64 v12 (+52) v50 = CALLstatic {AuxCall{runtime.printlock}} v12 (52) v51 = SelectN [0] v50 (52) v52 = CALLstatic {AuxCall{runtime.printnl}} v51 (52) v53 = SelectN [0] v52 (52) v54 = CALLstatic {AuxCall{runtime.printunlock}} v53 (52) v55 = SelectN [0] v54 (+53) v56 = CALLstatic {AuxCall{runtime.printlock}} v55 (53) v57 = SelectN [0] v56 (?) v124 = MOVDstore [8] v64 v12 v57 (?) v123 = MOVDstore [16] v64 v12 v124 (53) v59 = CALLstatic {AuxCall{runtime.printstring}} [16] v123 (53) v60 = SelectN [0] v59 (53) v61 = CALLstatic {AuxCall{runtime.printunlock}} v60 (53) v62 = SelectN [0] v61 (+57) v97 = CALLstatic {AuxCall{runtime.printlock}} v62 (57) v98 = SelectN [0] v97 (57) v99 = CALLstatic {AuxCall{runtime.printnl}} v98 (57) v100 = SelectN [0] v99 (57) v101 = CALLstatic {AuxCall{runtime.printunlock}} v100 (57) v102 = SelectN [0] v101 (+58) v103 = CALLstatic {AuxCall{runtime.printlock}} v102 (58) v104 = SelectN [0] v103 (?) v122 = MOVDstore [8] v64 v12 v104 (?) v121 = MOVDstore [16] v64 v12 v122 (58) v106 = CALLstatic {AuxCall{runtime.printstring}} [16] v121 (58) v107 = SelectN [0] v106 (58) v108 = CALLstatic {AuxCall{runtime.printunlock}} v107 (58) v109 = SelectN [0] v108 (+62) v144 = CALLstatic {AuxCall{runtime.printlock}} v109 (62) v145 = SelectN [0] v144 (62) v146 = CALLstatic {AuxCall{runtime.printnl}} v145 (62) v147 = SelectN [0] v146 (62) v148 = CALLstatic {AuxCall{runtime.printunlock}} v147 (62) v149 = SelectN [0] v148 (+63) v150 = MakeResult v149 Ret v150 name r[*RegArgs]: [v5] Please file a bug report including a short program that triggers the error. https://go.dev/issue/new go tool dist: FAILED: /builddir/build/BUILD/go/pkg/tool/linux_riscv64/compile -std -pack -o /tmp/go-tool-dist-985379900/internal/abi/_go_.a -p internal/abi -importcfg /tmp/go-tool-dist-985379900/internal/abi/importcfg /builddir/build/BUILD/go/src/internal/abi/abi.go /builddir/build/BUILD/go/src/internal/abi/abi_generic.go: exit status 2 /builddir/build/BUILD/go/src/internal/cpu/cpu.go:148:6: internal compiler error: 'processOptions': resultInArg0 value's input SP cannot be an output of v242 = MOVDnop v28 Please file a bug report including a short program that triggers the error. https://go.dev/issue/new go tool dist: FAILED: /builddir/build/BUILD/go/pkg/tool/linux_riscv64/compile -std -pack -o /tmp/go-tool-dist-985379900/internal/cpu/_go_.a -p internal/cpu -importcfg /tmp/go-tool-dist-985379900/internal/cpu/importcfg -asmhdr /tmp/go-tool-dist-985379900/internal/cpu/go_asm.h -symabis /tmp/go-tool-dist-985379900/internal/cpu/symabis /builddir/build/BUILD/go/src/internal/cpu/cpu.go /builddir/build/BUILD/go/src/internal/cpu/cpu_no_name.go /builddir/build/BUILD/go/src/internal/cpu/cpu_riscv64.go: exit status 2 error: Bad exit status from /var/tmp/rpm-tmp.g4O6Fh (%build) Bad exit status from /var/tmp/rpm-tmp.g4O6Fh (%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/golang.spec