Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-319220-67753/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=86400uid=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7o5x2nmb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7o5x2nmb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ab163fba15d842c5be17f67329af3dcb', '-D', '/var/lib/mock/dist-an23-loongarch-build-319220-67753/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7o5x2nmb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1696809600 Wrote: /builddir/build/SRPMS/golang-1.20.9-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-319220-67753/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=86400uid=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7o5x2nmb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7o5x2nmb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f0ba7686478e4126926322589dfa3dc7', '-D', '/var/lib/mock/dist-an23-loongarch-build-319220-67753/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7o5x2nmb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1696809600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OsjUeb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/go1.20.9.src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-cmd-go-use-aliyun-proxy-and-local-sumdb.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-cmd-link-use-gold-on-ARM-ARM64-only-if-gold-is-avail.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /builddir/build/SOURCES/anolis.go ./src/runtime/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DD4WRt + umask 022 + cd /builddir/build/BUILD + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd go + uname -a Linux f0ba7686478e4126926322589dfa3dc7 5.10.134-15.1.an23.loongarch64 #1 SMP Thu Sep 7 02:30:41 UTC 2023 loongarch64 GNU/Linux + cat /proc/cpuinfo system type : generic-loongson-machine processor : 0 package : 0 core : 0 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 1 package : 0 core : 1 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 2 package : 0 core : 2 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 3 package : 0 core : 3 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 4 package : 0 core : 4 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 5 package : 0 core : 5 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 6 package : 0 core : 6 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 7 package : 0 core : 7 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 8 package : 0 core : 8 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 9 package : 0 core : 9 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 10 package : 0 core : 10 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 11 package : 0 core : 11 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 12 package : 0 core : 12 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 13 package : 0 core : 13 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 14 package : 0 core : 14 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 15 package : 0 core : 15 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 16 package : 1 core : 0 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 17 package : 1 core : 1 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 18 package : 1 core : 2 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 19 package : 1 core : 3 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 20 package : 1 core : 4 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 21 package : 1 core : 5 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 22 package : 1 core : 6 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 23 package : 1 core : 7 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 24 package : 1 core : 8 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 25 package : 1 core : 9 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 26 package : 1 core : 10 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 27 package : 1 core : 11 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 28 package : 1 core : 12 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 29 package : 1 core : 13 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 30 package : 1 core : 14 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 processor : 31 package : 1 core : 15 CPU Family : Loongson-64bit Model Name : Loongson-3C5000 CPU Revision : 0x11 FPU Revision : 0x00 CPU MHz : 2200.00 BogoMIPS : 4400.00 TLB Entries : 2112 Address Sizes : 48 bits physical, 48 bits virtual ISA : loongarch32 loongarch64 Features : cpucfg lam ual fpu complex crypto lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 MemTotal: 133499264 kB MemFree: 100798240 kB MemAvailable: 127224688 kB Buffers: 12480 kB Cached: 29022960 kB SwapCached: 0 kB Active: 7096560 kB Inactive: 22255440 kB Active(anon): 31536 kB Inactive(anon): 332256 kB Active(file): 7065024 kB Inactive(file): 21923184 kB Unevictable: 26272 kB Mlocked: 26272 kB SwapTotal: 41943008 kB SwapFree: 41943008 kB Dirty: 270144 kB Writeback: 0 kB AnonPages: 341440 kB Mapped: 195200 kB Shmem: 40352 kB KReclaimable: 1329200 kB Slab: 2447776 kB SReclaimable: 1329200 kB SUnreclaim: 1118576 kB KernelStack: 9168 kB PageTables: 9056 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 108692640 kB Committed_AS: 0 kB VmallocTotal: 136364883936 kB VmallocUsed: 153200 kB VmallocChunk: 0 kB Percpu: 130560 kB AnonHugePages: 32768 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB FileHugePages: 0 kB FilePmdMapped: 0 kB CmaTotal: 32768 kB CmaFree: 29248 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 32768 kB Hugetlb: 0 kB ~/build/BUILD/go/src ~/build/BUILD/go Building Go cmd/dist using /usr/lib/golang. (go1.20.5 linux/loong64) + cat /proc/meminfo + export GOROOT_BOOTSTRAP=/usr/lib/golang + GOROOT_BOOTSTRAP=/usr/lib/golang + export GOROOT_FINAL=/usr/lib/golang + GOROOT_FINAL=/usr/lib/golang + export GOHOSTOS=linux + GOHOSTOS=linux + export GOHOSTARCH=loong64 + GOHOSTARCH=loong64 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export CC=gcc + CC=gcc + export CC_FOR_TARGET=gcc + CC_FOR_TARGET=gcc + export GOOS=linux + GOOS=linux + export GOARCH=loong64 + GOARCH=loong64 + ./make.bash --no-clean -v /usr/lib/golang/src/internal/reflectlite/value.go:10:2: open /usr/lib/golang/src/runtime/anolis.go: permission denied error: Bad exit status from /var/tmp/rpm-tmp.DD4WRt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.DD4WRt (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f0ba7686478e4126926322589dfa3dc7 -D /var/lib/mock/dist-an23-loongarch-build-319220-67753/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.7o5x2nmb:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M f0ba7686478e4126926322589dfa3dc7 -D /var/lib/mock/dist-an23-loongarch-build-319220-67753/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.7o5x2nmb:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang.spec