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-build-python3.11-384901-71833/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.404v81ir:/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.404v81ir:/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', '95a9d836b35d4734b6a4558f3e533b75', '-D', '/var/lib/mock/dist-an23-build-python3.11-384901-71833/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.404v81ir:/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=1712880000 Wrote: /builddir/build/SRPMS/golang-1.22.1-4.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-build-python3.11-384901-71833/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.404v81ir:/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.404v81ir:/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', 'f78a81eccefb4ce6a6a3e144d46421e1', '-D', '/var/lib/mock/dist-an23-build-python3.11-384901-71833/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.404v81ir:/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=1712880000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FLF6YG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/go1.22.1.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-Modify-go.env.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 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/re-enable-cgo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /builddir/build/SOURCES/fedora.go ./src/runtime/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xbQ9nH + 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 + set -xe + uname -a Linux f78a81eccefb4ce6a6a3e144d46421e1 5.10.134-16.2_rc1.an23.loongarch64 #1 SMP Tue Jan 2 09:58:44 CST 2024 loongarch64 loongarch64 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 lvz Hardware Watchpoint : yes, iwatch count: 0, dwatch count: 0 MemTotal: 132184976 kB MemFree: 35224640 kB MemAvailable: 127083776 kB Buffers: 6527344 kB Cached: 87941280 kB SwapCached: 11120 kB Active: 10062320 kB Inactive: 84601568 kB Active(anon): 50064 kB Inactive(anon): 179856 kB Active(file): 10012256 kB Inactive(file): 84421712 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 41943008 kB SwapFree: 41866208 kB Dirty: 284896 kB Writeback: 0 kB AnonPages: 187792 kB Mapped: 162944 kB Shmem: 34656 kB KReclaimable: 1298880 kB Slab: 1664192 kB SReclaimable: 1298880 kB SUnreclaim: 365312 kB KernelStack: 7888 kB PageTables: 6272 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 108035488 kB Committed_AS: 4419936 kB VmallocTotal: 136364883936 kB VmallocUsed: 149120 kB VmallocChunk: 0 kB Percpu: 130048 kB AnonHugePages: 0 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.21.10 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=%{gohostarch}' + GOHOSTARCH='%{gohostarch}' + 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=%{gohostarch}' + GOARCH='%{gohostarch}' + DEFAULT_GO_LD_FLAGS= + export 'GO_LDFLAGS=-linkmode internal ' + GO_LDFLAGS='-linkmode internal ' + export CGO_ENABLED=0 + CGO_ENABLED=0 + ./make.bash --no-clean -v go tool dist: unknown $GOHOSTARCH %{gohostarch} error: Bad exit status from /var/tmp/rpm-tmp.xbQ9nH (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.xbQ9nH (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f78a81eccefb4ce6a6a3e144d46421e1 -D /var/lib/mock/dist-an23-build-python3.11-384901-71833/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.404v81ir:/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.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 f78a81eccefb4ce6a6a3e144d46421e1 -D /var/lib/mock/dist-an23-build-python3.11-384901-71833/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.404v81ir:/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