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 aarch64 --nodeps /builddir/build/SPECS/grafana.spec'], chrootPath='/var/lib/mock/dist-an23-build-277742-64428/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1684108800 Wrote: /builddir/build/SRPMS/grafana-9.2.10-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/grafana.spec'], chrootPath='/var/lib/mock/dist-an23-build-277742-64428/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1684108800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vpZjZv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grafana-9.2.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-9.2.10 + /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-9.2.10-1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-9.2.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r plugins-bundled + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grafana-webpack-9.2.10-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-9.2.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-update-grafana-cli-script-with-distro-specific-paths.patch):' Patch #1 (0001-update-grafana-cli-script-with-distro-specific-paths.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file packaging/wrappers/grafana-cli + echo 'Patch #2 (0002-add-manpages.patch):' Patch #2 (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 + echo 'Patch #3 (0003-update-default-configuration.patch):' Patch #3 (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 + echo 'Patch #4 (0004-remove-unused-backend-dependencies.patch):' Patch #4 (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 + echo 'Patch #5 (0005-remove-unused-frontend-crypto.patch):' Patch #5 (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 + echo 'Patch #6 (0006-skip-marketplace-plugin-install-test.patch):' Patch #6 (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 + echo 'Patch #7 (0007-fix-alert-test.patch):' Patch #7 (0007-fix-alert-test.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pkg/tests/api/alerting/api_alertmanager_test.go Patch #8 (0008-graphite-functions-xss.patch): + echo 'Patch #8 (0008-graphite-functions-xss.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file public/app/plugins/datasource/graphite/components/FunctionEditorControls.tsx + echo 'Patch #9 (0009-redact-weak-ciphers.patch):' Patch #9 (0009-redact-weak-ciphers.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pkg/api/http_server.go + echo 'Patch #1001 (1001-vendor-patch-removed-backend-crypto.patch):' Patch #1001 (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/golang.org/x/crypto/openpgp/packet/packet.go patching file vendor/golang.org/x/crypto/openpgp/packet/symmetrically_encrypted.go patching file vendor/golang.org/x/crypto/pkcs12/crypto.go patching file vendor/github.com/prometheus/exporter-toolkit/web/handler.go patching file vendor/github.com/prometheus/exporter-toolkit/web/tls_config.go patching file vendor/github.com/go-git/go-git/v5/options.go patching file vendor/github.com/go-git/go-git/v5/plumbing/object/commit.go patching file vendor/github.com/go-git/go-git/v5/plumbing/object/tag.go patching file vendor/github.com/go-git/go-git/v5/plumbing/transport/ssh/auth_method.go patching file vendor/github.com/go-git/go-git/v5/plumbing/transport/ssh/common.go patching file vendor/github.com/go-git/go-git/v5/repository.go patching file vendor/github.com/go-git/go-git/v5/worktree_commit.go + echo 'Patch #1002 (1002-vendor-use-pbkdf2-from-OpenSSL.patch):' Patch #1002 (1002-vendor-use-pbkdf2-from-OpenSSL.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file vendor/golang.org/x/crypto/internal/boring/boring.go patching file vendor/golang.org/x/crypto/internal/boring/notboring.go patching file vendor/golang.org/x/crypto/internal/boring/openssl_pbkdf2.h patching file vendor/golang.org/x/crypto/pbkdf2/pbkdf2.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cfcwnf + umask 022 + cd /builddir/build/BUILD + cd grafana-9.2.10 + export 'LDFLAGS=-X main.version=9.2.10 -X main.buildstamp=1684108800' + LDFLAGS='-X main.version=9.2.10 -X main.buildstamp=1684108800' + for cmd in grafana-cli grafana-server ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + GO111MODULE=auto + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -ldflags '-X main.version=9.2.10 -X main.buildstamp=1684108800 -B 0xdd5d53287f9c4dfeada73799a3c410d7a9f31b60 -compressdwarf=false -extldflags '\''-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 '\''' -a -v -x -o /builddir/build/BUILD/bin/grafana-cli ./pkg/cmd/grafana-cli WORK=/tmp/go-build2642383235 package github.com/grafana/grafana/pkg/cmd/grafana-cli imports github.com/grafana/grafana/pkg/cmd/grafana-cli/commands imports github.com/grafana/grafana/pkg/bus imports github.com/grafana/grafana/pkg/infra/tracing imports github.com/grafana/grafana/pkg/infra/log imports github.com/grafana/grafana/pkg/util imports golang.org/x/crypto/pbkdf2 imports crypto/boring: build constraints exclude all Go files in /usr/lib/golang/src/crypto/boring error: Bad exit status from /var/tmp/rpm-tmp.cfcwnf (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.cfcwnf (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/grafana.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 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/grafana.spec