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-317418-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.7cbo_6vv:/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.7cbo_6vv:/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', '869758d5feac44529ea86d47df9654e5', '-D', '/var/lib/mock/dist-an23-loongarch-build-317418-67753/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7cbo_6vv:/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-317418-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.7cbo_6vv:/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.7cbo_6vv:/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', 'cca07ad3920e473eac9ec83ff2295782', '-D', '/var/lib/mock/dist-an23-loongarch-build-317418-67753/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7cbo_6vv:/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.UTMkQp + 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.CGCq9r + 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 cca07ad3920e473eac9ec83ff2295782 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: 16525968 kB MemFree: 5341264 kB MemAvailable: 12741344 kB Buffers: 1680 kB Cached: 9237664 kB SwapCached: 3200 kB Active: 3304432 kB Inactive: 6280032 kB Active(anon): 34992 kB Inactive(anon): 348816 kB Active(file): 3269440 kB Inactive(file): 5931216 kB Unevictable: 26128 kB Mlocked: 26128 kB SwapTotal: 16719840 kB SwapFree: 16677856 kB Dirty: 360256 kB Writeback: 0 kB AnonPages: 368784 kB Mapped: 164720 kB Shmem: 31696 kB KReclaimable: 477488 kB Slab: 1090672 kB SReclaimable: 477488 kB SUnreclaim: 613184 kB KernelStack: 8080 kB PageTables: 7776 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 24982816 kB Committed_AS: 1838864 kB VmallocTotal: 136364883936 kB VmallocUsed: 31120 kB VmallocChunk: 0 kB Percpu: 37888 kB AnonHugePages: 0 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB FileHugePages: 0 kB FilePmdMapped: 0 kB CmaTotal: 32768 kB CmaFree: 32384 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 + 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 Building Go cmd/dist using /usr/lib/golang. (go1.20.5 linux/loong64) /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.CGCq9r (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.CGCq9r (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M cca07ad3920e473eac9ec83ff2295782 -D /var/lib/mock/dist-an23-loongarch-build-317418-67753/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.7cbo_6vv:/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 cca07ad3920e473eac9ec83ff2295782 -D /var/lib/mock/dist-an23-loongarch-build-317418-67753/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.7cbo_6vv:/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