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-633026-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=1658448000 Wrote: /builddir/build/SRPMS/golang-1.19~rc2-2.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-633026-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=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.04l7Cg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go + /usr/bin/gzip -dc /builddir/build/SOURCES/go1.19rc2.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/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.EIAFQc + umask 022 + cd /builddir/build/BUILD + cd go + uname -a Linux nufive.home.annexia.org 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 : 3 isa : rv64imafdc mmu : sv39 uarch : sifive,u74-mc processor : 1 hart : 1 isa : rv64imafdc mmu : sv39 uarch : sifive,u74-mc processor : 2 hart : 2 isa : rv64imafdc mmu : sv39 uarch : sifive,u74-mc processor : 3 hart : 4 isa : rv64imafdc mmu : sv39 uarch : sifive,u74-mc MemTotal: 16356080 kB MemFree: 7674180 kB MemAvailable: 15700380 kB Buffers: 669840 kB Cached: 6984384 kB SwapCached: 10116 kB Active: 4180804 kB Inactive: 3615736 kB Active(anon): 5592 kB Inactive(anon): 138880 kB Active(file): 4175212 kB Inactive(file): 3476856 kB Unevictable: 1716 kB Mlocked: 0 kB SwapTotal: 4194300 kB SwapFree: 4164092 kB Dirty: 152948 kB Writeback: 0 kB AnonPages: 142372 kB Mapped: 116532 kB Shmem: 584 kB KReclaimable: 630696 kB Slab: 749656 kB SReclaimable: 630696 kB SUnreclaim: 118960 kB KernelStack: 2500 kB PageTables: 3984 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 12372340 kB Committed_AS: 536328 kB VmallocTotal: 67108864 kB VmallocUsed: 44508 kB VmallocChunk: 0 kB Percpu: 10016 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/internal/unsafeheader bootstrap/internal/goexperiment bootstrap/math/bits bootstrap/cmd/internal/bio bootstrap/cmd/internal/src bootstrap/internal/buildcfg bootstrap/sort bootstrap/strconv bootstrap/cmd/internal/notsha256 bootstrap/cmd/internal/sys bootstrap/cmd/internal/pkgpath bootstrap/cmd/internal/quoted bootstrap/cmd/internal/edit bootstrap/internal/goversion bootstrap/cmd/internal/gcprog bootstrap/container/heap bootstrap/internal/race bootstrap/cmd/compile/internal/test bootstrap/cmd/link/internal/benchmark bootstrap/cmd/internal/objabi bootstrap/debug/dwarf bootstrap/compress/flate bootstrap/math/big bootstrap/cmd/internal/dwarf bootstrap/cmd/internal/goobj bootstrap/compress/zlib bootstrap/cmd/compile/internal/abt bootstrap/cmd/internal/obj 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/loong64 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/asm/internal/flags bootstrap/cmd/asm/internal/lex 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/internal/pkgbits 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/compile/internal/objw bootstrap/cmd/compile/internal/abi bootstrap/cmd/compile/internal/typecheck bootstrap/cmd/compile/internal/deadcode bootstrap/cmd/link/internal/dwtest bootstrap/cmd/compile/internal/compare bootstrap/cmd/compile/internal/escape bootstrap/cmd/compile/internal/inline bootstrap/cmd/compile/internal/staticdata bootstrap/cmd/compile/internal/devirtualize bootstrap/cmd/compile/internal/importer bootstrap/cmd/link/internal/amd64 bootstrap/cmd/link/internal/arm bootstrap/cmd/compile/internal/reflectdata bootstrap/cmd/link/internal/arm64 bootstrap/cmd/link/internal/loong64 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/compile/internal/staticinit bootstrap/cmd/link 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/amd64 bootstrap/cmd/compile/internal/arm bootstrap/cmd/compile/internal/arm64 bootstrap/cmd/compile/internal/dwarfgen bootstrap/cmd/compile/internal/walk bootstrap/cmd/compile/internal/loong64 bootstrap/cmd/compile/internal/mips bootstrap/cmd/compile/internal/noder bootstrap/cmd/compile/internal/mips64 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/pkginit bootstrap/cmd/compile/internal/gc bootstrap/cmd/compile Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. runtime internal/goarch internal/goexperiment runtime/internal/atomic runtime/internal/math runtime/internal/syscall internal/cpu internal/abi runtime/internal/sys internal/bytealg internal/goos /builddir/build/BUILD/go/src/runtime/internal/syscall/syscall_linux.go:38:17: internal compiler error: 'syscall_RawSyscall6': nil register for value: v23 = SelectN [0] v22 syscall_RawSyscall6 func(uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) (uintptr, uintptr, uintptr) b1: (-37) v14 = Arg {num} : num[uintptr] (num[uintptr]) (-37) v15 = Arg {a1} : a1[uintptr] (a1[uintptr]) (-37) v16 = Arg {a2} : a2[uintptr] (a2[uintptr]) (-37) v17 = Arg {a3} : a3[uintptr] (a3[uintptr]) (-37) v18 = Arg {a4} : a4[uintptr] (a4[uintptr]) (-37) v19 = Arg {a5} : a5[uintptr] (a5[uintptr]) (-37) v20 = Arg {a6} : a6[uintptr] (a6[uintptr]) (?) v1 = InitMem (?) v13 = SP : SP (-37) v40 = LoadReg v14 : X5 (-37) v41 = MOVDstore [8] v13 v40 v1 (-37) v42 = MOVDstore [16] v13 v40 v41 (-37) v43 = MOVDstore [24] v13 v40 v42 (-37) v44 = MOVDstore [32] v13 v40 v43 (-37) v45 = MOVDstore [40] v13 v40 v44 (-37) v46 = MOVDstore [48] v13 v40 v45 (-37) v47 = MOVDstore [56] v13 v40 v46 (38) v22 = CALLstatic {AuxCall{runtime/internal/syscall.Syscall6}} [80] v47 (38) v23 = SelectN [0] v22 (38) v25 = MOVDload [64] v13 v23 : X5 (38) v26 = MOVDload [72] v13 v23 : X6 (38) v27 = MOVDload [80] v13 v23 : X7 (-38) v29 = VarDef {r1} v23 (-38) v30 = VarDef {r2} v29 (-38) v31 = VarDef {errno} v30 (38) v48 = MOVDstore {r1} v13 v23 v31 (38) v49 = MOVDstore {r2} v13 v23 v48 (38) v50 = MOVDstore {errno} v13 v23 v49 (38) v28 = MakeResult v50 Ret v28 name num[uintptr]: [v14] name a1[uintptr]: [v15] name a2[uintptr]: [v16] name a3[uintptr]: [v17] name a4[uintptr]: [v18] name a5[uintptr]: [v19] name a6[uintptr]: [v20] Please file a bug report including a short program that triggers the error. https://go.dev/issue/new /builddir/build/BUILD/go/src/internal/cpu/cpu.go:149:6: internal compiler error: 'processOptions': resultInArg0 value's input SB cannot be an output of v7 = MOVDnop v368 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-187153457/runtime/internal/syscall/_go_.a -p runtime/internal/syscall -importcfg /tmp/go-tool-dist-187153457/runtime/internal/syscall/importcfg -asmhdr /tmp/go-tool-dist-187153457/runtime/internal/syscall/go_asm.h -symabis /tmp/go-tool-dist-187153457/runtime/internal/syscall/symabis /builddir/build/BUILD/go/src/runtime/internal/syscall/syscall_linux.go: exit status 2 go tool dist: FAILED: /builddir/build/BUILD/go/pkg/tool/linux_riscv64/compile -std -pack -o /tmp/go-tool-dist-187153457/internal/cpu/_go_.a -p internal/cpu -importcfg /tmp/go-tool-dist-187153457/internal/cpu/importcfg -asmhdr /tmp/go-tool-dist-187153457/internal/cpu/go_asm.h -symabis /tmp/go-tool-dist-187153457/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 /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-187153457/runtime/internal/math/_go_.a -p runtime/internal/math -importcfg /tmp/go-tool-dist-187153457/runtime/internal/math/importcfg /builddir/build/BUILD/go/src/runtime/internal/math/math.go: exit status 2 /builddir/build/BUILD/go/src/runtime/internal/atomic/types.go:365:4: internal compiler error: '(*Float64).Load': nil register for value: v17 = MOVDstore {r} v2 v15 v18 (*Float64).Load method(*Float64) func() float64 b2: (-364) v6 = Arg <*Float64> {f} : f[*Float64] (f[*Float64]) (?) v1 = InitMem (365) v10 = InlMark [2] v1 (-365) v22 = LoadReg <*Float64> v6 : X5 (365) v13 = LoweredAtomicLoad64 v22 v1 : (+259) v15 = Select0 v13 : X5 (~R0[uint64]) (259) v14 = Select1 v13 (-365) v18 = VarDef {r} v14 (?) v2 = SP : SP (+365) v17 = MOVDstore {r} v2 v15 v18 (+366) v25 = FMOVDload v2 v17 : F0 (-366) v27 = VarDef {~r0} v17 (366) v16 = FMOVDstore v2 v17 v27 (366) v26 = MakeResult v16 Ret v26 name f[*Float64]: [v6] name ~R0[uint64]: [v15] 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-187153457/runtime/internal/atomic/_go_.a -p runtime/internal/atomic -importcfg /tmp/go-tool-dist-187153457/runtime/internal/atomic/importcfg -asmhdr /tmp/go-tool-dist-187153457/runtime/internal/atomic/go_asm.h -symabis /tmp/go-tool-dist-187153457/runtime/internal/atomic/symabis /builddir/build/BUILD/go/src/runtime/internal/atomic/atomic_riscv64.go /builddir/build/BUILD/go/src/runtime/internal/atomic/doc.go /builddir/build/BUILD/go/src/runtime/internal/atomic/stubs.go /builddir/build/BUILD/go/src/runtime/internal/atomic/types.go /builddir/build/BUILD/go/src/runtime/internal/atomic/types_64bit.go /builddir/build/BUILD/go/src/runtime/internal/atomic/unaligned.go: exit status 2 error: Bad exit status from /var/tmp/rpm-tmp.EIAFQc (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.EIAFQc (%build) 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