Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/grafana.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-259127-24615/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2g2agy58:/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.2g2agy58:/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', '4e48f79c64f742a8a112b84643e56673', '-D', '/var/lib/mock/dist-ocs23-base-build-259127-24615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2g2agy58:/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 x86_64 --nodeps /builddir/build/SPECS/grafana.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/grafana-10.2.6-3.ocs23.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/grafana.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-259127-24615/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2g2agy58:/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.2g2agy58:/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', 'f38830a5a87c4db598781f526348af16', '-D', '/var/lib/mock/dist-ocs23-base-build-259127-24615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2g2agy58:/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 x86_64 --nodeps /builddir/build/SPECS/grafana.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vkYfnD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grafana-10.2.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-10.2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grafana-vendor-10.2.6-1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-10.2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3001 (0001-update-grafana-cli-script-with-distro-specific-paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 Patch #3001 (0001-update-grafana-cli-script-with-distro-specific-paths.patch): patching file packaging/wrappers/grafana-cli Patch #3002 (0002-add-manpages.patch): + echo 'Patch #3002 (0002-add-manpages.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file docs/man/man1/grafana-cli.1 patching file docs/man/man1/grafana-server.1 Patch #3003 (0003-update-default-configuration.patch): + echo 'Patch #3003 (0003-update-default-configuration.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file conf/defaults.ini patching file conf/sample.ini Patch #3004 (0004-remove-unused-backend-dependencies.patch): + echo 'Patch #3004 (0004-remove-unused-backend-dependencies.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file go.mod patching file go.sum patching file pkg/extensions/main.go Patch #3005 (0005-remove-unused-frontend-crypto.patch): + echo 'Patch #3005 (0005-remove-unused-frontend-crypto.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file package.json patching file yarn.lock Patch #3006 (0006-skip-marketplace-plugin-install-test.patch): + echo 'Patch #3006 (0006-skip-marketplace-plugin-install-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pkg/tests/api/plugins/api_plugins_test.go Patch #3007 (0007-redact-weak-ciphers.patch): + echo 'Patch #3007 (0007-redact-weak-ciphers.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pkg/api/http_server.go Patch #3008 (0008-replace-faulty-slices-sort.patch): + echo 'Patch #3008 (0008-replace-faulty-slices-sort.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pkg/services/sqlstore/migrator/dialect.go Patch #3009 (0009-update-wrappers-and-systemd-with-distro-paths.patch): + echo 'Patch #3009 (0009-update-wrappers-and-systemd-with-distro-paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file packaging/rpm/systemd/grafana-server.service patching file packaging/wrappers/grafana patching file packaging/wrappers/grafana-server Patch #3010 (0010-remove-bcrypt-references.patch): + echo 'Patch #3010 (0010-remove-bcrypt-references.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pkg/services/extsvcauth/oauthserver/oasimpl/service.go Patch #3011 (1001-vendor-patch-removed-backend-crypto.patch): + echo 'Patch #3011 (1001-vendor-patch-removed-backend-crypto.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file vendor/golang.org/x/crypto/openpgp/elgamal/elgamal.go patching file vendor/github.com/prometheus/exporter-toolkit/web/handler.go patching file vendor/github.com/prometheus/exporter-toolkit/web/tls_config.go Hunk #2 succeeded at 218 (offset -39 lines). Hunk #3 succeeded at 311 (offset -39 lines). patching file vendor/github.com/ProtonMail/go-crypto/openpgp/internal/algorithm/cipher.go patching file vendor/github.com/ProtonMail/go-crypto/openpgp/s2k/s2k.go patching file vendor/github.com/ProtonMail/go-crypto/openpgp/packet/symmetrically_encrypted_aead.go patching file vendor/github.com/ProtonMail/go-crypto/openpgp/read.go patching file vendor/github.com/google/s2a-go/internal/record/internal/aeadcrypter/chachapoly.go patching file vendor/github.com/google/s2a-go/internal/record/internal/halfconn/halfconn.go patching file vendor/github.com/google/s2a-go/internal/record/internal/halfconn/expander.go patching file vendor/github.com/Masterminds/sprig/v3/crypto.go patching file vendor/github.com/microsoft/go-mssqldb/integratedauth/ntlm/ntlm.go patching file vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/client_certificate_credential.go patching file vendor/github.com/Azure/go-autorest/autorest/adal/persist.go patching file vendor/github.com/Azure/go-ntlmssp/nlmp.go patching file vendor/github.com/ory/fosite/hash_bcrypt.go patching file vendor/filippo.io/age/internal/stream/stream.go patching file vendor/filippo.io/age/primitives.go patching file vendor/filippo.io/age/scrypt.go patching file vendor/filippo.io/age/x25519.go patching file vendor/gopkg.in/square/go-jose.v2/asymmetric.go patching file vendor/gopkg.in/square/go-jose.v2/jwk.go patching file vendor/gopkg.in/square/go-jose.v2/signing.go patching file vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope.go patching file vendor/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_extended_nonce.go patching file vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go patching file vendor/k8s.io/apiserver/pkg/storage/value/encrypt/secretbox/secretbox.go patching file vendor/k8s.io/apiserver/pkg/server/config.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.duwIUN + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 grafana-10.2.6 + export GOEXPERIMENT=boringcrypto + GOEXPERIMENT=boringcrypto + export 'LDFLAGS=-X main.version=10.2.6 -X main.buildstamp=' + LDFLAGS='-X main.version=10.2.6 -X main.buildstamp=' + for cmd in grafana grafana-cli grafana-server + %gobuild -o /builddir/build/BUILD/bin/grafana ./pkg/cmd/grafana /var/tmp/rpm-tmp.duwIUN: line 46: fg: no job control RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.duwIUN (%build) Bad exit status from /var/tmp/rpm-tmp.duwIUN (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f38830a5a87c4db598781f526348af16 -D /var/lib/mock/dist-ocs23-base-build-259127-24615/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2g2agy58:/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 x86_64 --nodeps /builddir/build/SPECS/grafana.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 597, 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 f38830a5a87c4db598781f526348af16 -D /var/lib/mock/dist-ocs23-base-build-259127-24615/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.2g2agy58:/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 x86_64 --nodeps /builddir/build/SPECS/grafana.spec