Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/dist-an23.2-build-399906-72361/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2nfqbrj9:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.2nfqbrj9:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'de311d7256bf461dbfb6780c2015ceb3', '-D', '/var/lib/mock/dist-an23.2-build-399906-72361/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2nfqbrj9:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--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 x86_64 --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 error: bad date in %changelog: Thu Mon 13 2024 chenguoqi - 1.21.10-2 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1730246400 Wrote: /builddir/build/SRPMS/golang-1.21.11-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang.spec'], chrootPath='/var/lib/mock/dist-an23.2-build-399906-72361/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2nfqbrj9:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.2nfqbrj9:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '9fa5d85bc8c84dba8bb33a5714d25f0d', '-D', '/var/lib/mock/dist-an23.2-build-399906-72361/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2nfqbrj9:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--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 x86_64 --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 error: bad date in %changelog: Thu Mon 13 2024 chenguoqi - 1.21.10-2 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1730246400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1BBb4h + umask 022 + cd /builddir/build/BUILD + tar xf /builddir/build/SOURCES/loongarch64.tar.gz ++ cat /builddir/build/SOURCES/loongarch64.patches + for p in $(cat /builddir/build/SOURCES/loongarch64.patches) + patch -p1 -s -i loongarch64/0001-cmd-dist-cmd-link-internal-runtime-add-buildmode-plu.patch The text leading up to this was: -------------------------- |From 01cba1b97a827118d3e3e7171e7457d4e036f78c Mon Sep 17 00:00:00 2001 |From: Guoqi Chen |Date: Fri, 7 Jul 2023 07:18:59 +0800 |Subject: [PATCH 01/51] cmd/dist, cmd/link, internal, runtime: add | buildmode={plugin,shared} support for linux/loong64. | |Signed-off-by: Guoqi Chen |Change-Id: I0e7843c7d61420af1c59778ad1e0ecc8dc3bca57 |--- | src/cmd/compile/internal/liveness/plive.go | 7 +- | .../compile/internal/ssa/_gen/LOONG64.rules | 85 +++----- | src/cmd/compile/internal/ssa/regalloc.go | 2 + | .../compile/internal/ssa/rewriteLOONG64.go | 190 +++++++++++------- | src/cmd/dist/test.go | 4 +- | src/cmd/internal/obj/loong64/a.out.go | 1 + | src/cmd/internal/obj/loong64/asm.go | 21 ++ | src/cmd/internal/obj/loong64/cnames.go | 1 + | src/cmd/internal/obj/loong64/obj.go | 123 ++++++++++++ | src/cmd/internal/objabi/reloctype.go | 5 + | src/cmd/internal/objabi/reloctype_string.go | 22 +- | src/cmd/link/internal/loong64/asm.go | 59 +++++- | src/internal/platform/supported.go | 4 +- | src/runtime/asm_loong64.s | 11 + | 14 files changed, 382 insertions(+), 153 deletions(-) | |diff --git a/src/cmd/compile/internal/liveness/plive.go b/src/cmd/compile/internal/liveness/plive.go |index 169467e6f5..38273db07d 100644 |--- a/src/cmd/compile/internal/liveness/plive.go |+++ b/src/cmd/compile/internal/liveness/plive.go -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/src/cmd/compile/internal/ssa/_gen/LOONG64.rules b/src/cmd/compile/internal/ssa/_gen/LOONG64.rules |index 4a47c4cd47..b9aaa3ff7f 100644 |--- a/src/cmd/compile/internal/ssa/_gen/LOONG64.rules |+++ b/src/cmd/compile/internal/ssa/_gen/LOONG64.rules -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/src/cmd/compile/internal/ssa/regalloc.go b/src/cmd/compile/internal/ssa/regalloc.go |index c4d6e48cad..71fedd52cf 100644 |--- a/src/cmd/compile/internal/ssa/regalloc.go |+++ b/src/cmd/compile/internal/ssa/regalloc.go -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/src/cmd/compile/internal/ssa/rewriteLOONG64.go b/src/cmd/compile/internal/ssa/rewriteLOONG64.go |index e88b74cb22..757524bdbb 100644 |--- a/src/cmd/compile/internal/ssa/rewriteLOONG64.go |+++ b/src/cmd/compile/internal/ssa/rewriteLOONG64.go -------------------------- File to patch: Skip this patch? [y] 76 out of 76 hunks ignored The text leading up to this was: -------------------------- |diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go |index 36a20e8b2a..864060cbb2 100644 |--- a/src/cmd/dist/test.go |+++ b/src/cmd/dist/test.go -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/src/cmd/internal/obj/loong64/a.out.go b/src/cmd/internal/obj/loong64/a.out.go |index 99a7da388f..9527e99b56 100644 |--- a/src/cmd/internal/obj/loong64/a.out.go |+++ b/src/cmd/internal/obj/loong64/a.out.go -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/src/cmd/internal/obj/loong64/asm.go b/src/cmd/internal/obj/loong64/asm.go |index 0ab0caafae..c8d00413a0 100644 |--- a/src/cmd/internal/obj/loong64/asm.go |+++ b/src/cmd/internal/obj/loong64/asm.go -------------------------- File to patch: Skip this patch? [y] 3 out of 3 hunks ignored The text leading up to this was: -------------------------- |diff --git a/src/cmd/internal/obj/loong64/cnames.go b/src/cmd/internal/obj/loong64/cnames.go |index 8b8af6ba31..94b1b54c93 100644 |--- a/src/cmd/internal/obj/loong64/cnames.go |+++ b/src/cmd/internal/obj/loong64/cnames.go -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/src/cmd/internal/obj/loong64/obj.go b/src/cmd/internal/obj/loong64/obj.go |index 1eedd46c69..38ab66b819 100644 |--- a/src/cmd/internal/obj/loong64/obj.go |+++ b/src/cmd/internal/obj/loong64/obj.go -------------------------- File to patch: Skip this patch? [y] 2 out of 2 hunks ignored The text leading up to this was: -------------------------- |diff --git a/src/cmd/internal/objabi/reloctype.go b/src/cmd/internal/objabi/reloctype.go |index 996c300d95..241a79817c 100644 |--- a/src/cmd/internal/objabi/reloctype.go |+++ b/src/cmd/internal/objabi/reloctype.go -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/src/cmd/internal/objabi/reloctype_string.go b/src/cmd/internal/objabi/reloctype_string.go |index c7441efa28..e0649a5b0a 100644 |--- a/src/cmd/internal/objabi/reloctype_string.go |+++ b/src/cmd/internal/objabi/reloctype_string.go -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/src/cmd/link/internal/loong64/asm.go b/src/cmd/link/internal/loong64/asm.go |index 8f06068d78..d1296c3309 100644 |--- a/src/cmd/link/internal/loong64/asm.go |+++ b/src/cmd/link/internal/loong64/asm.go -------------------------- File to patch: Skip this patch? [y] 4 out of 4 hunks ignored The text leading up to this was: -------------------------- |diff --git a/src/internal/platform/supported.go b/src/internal/platform/supported.go |index 230a952d2d..abab4b0541 100644 |--- a/src/internal/platform/supported.go |+++ b/src/internal/platform/supported.go -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/src/runtime/asm_loong64.s b/src/runtime/asm_loong64.s |index 6ffa1392c4..78a1a4d358 100644 |--- a/src/runtime/asm_loong64.s |+++ b/src/runtime/asm_loong64.s -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.1BBb4h (%prep) bad date in %changelog: Thu Mon 13 2024 chenguoqi - 1.21.10-2 Bad exit status from /var/tmp/rpm-tmp.1BBb4h (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 9fa5d85bc8c84dba8bb33a5714d25f0d -D /var/lib/mock/dist-an23.2-build-399906-72361/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2nfqbrj9:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --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 --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 x86_64 --nodeps /builddir/build/SPECS/golang.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 9fa5d85bc8c84dba8bb33a5714d25f0d -D /var/lib/mock/dist-an23.2-build-399906-72361/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2nfqbrj9:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --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 --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 x86_64 --nodeps /builddir/build/SPECS/golang.spec'