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-363545-44304/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=FalseprintOutput=False) Executing command: ['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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/grafana-12.4.3-1.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-363545-44304/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=FalseprintOutput=False) Executing command: ['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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fF80SE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grafana-12.4.3-security-02 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grafana-12.4.3-security-02.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grafana-12.4.3-security-02.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-12.4.3-security-02 + /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-12.4.3-1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-12.4.3-security-02 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf plugins-bundled + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grafana-webpack-12.4.3-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-12.4.3-security-02 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3002 (0002-add-manpages.patch):' 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 pkg/extensions/enterprise_imports.go 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 #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/wrappers/grafana patching file packaging/wrappers/grafana-cli patching file packaging/wrappers/grafana-server patching file packaging/rpm/systemd/grafana-server.service Patch #3013 (0013-fix-CVE-2025-4123.patch): + echo 'Patch #3013 (0013-fix-CVE-2025-4123.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file conf/defaults.ini Patch #3501 (CVE-2026-27136-and-CVE-2026-39831-upgrade-x-net-and-x-crypto.patch): + echo 'Patch #3501 (CVE-2026-27136-and-CVE-2026-39831-upgrade-x-net-and-x-crypto.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file go.mod Hunk #1 succeeded at 207 (offset -2 lines). patching file go.sum Patch #3502 (CVE-2026-41238-and-others-upgrade-frontend-deps.patch): + echo 'Patch #3502 (CVE-2026-41238-and-others-upgrade-frontend-deps.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file package.json patching file packages/grafana-data/package.json patching file yarn.lock 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 Hunk #1 succeeded at 470 (offset 6 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NkYNRm + umask 022 + cd /builddir/build/BUILD + cd grafana-12.4.3-security-02 + export GOWORK=off + GOWORK=off + export GOEXPERIMENT=boringcrypto + GOEXPERIMENT=boringcrypto + export 'LDFLAGS=-X main.version=12.4.3 -X main.buildstamp=' + LDFLAGS='-X main.version=12.4.3 -X main.buildstamp=' + for cmd in grafana 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 ' -B 0xe41b57abfab7bdc2a63ca3c95db68e21acf7d3b1 -compressdwarf=false -linkmode=external -extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 '\''' -a -v -x -o /builddir/build/BUILD/bin/grafana ./pkg/cmd/grafana WORK=/tmp/go-build3261348712 go: go.mod requires go >= 1.25.9 (running go 1.25.8; GOTOOLCHAIN=local) error: Bad exit status from /var/tmp/rpm-tmp.NkYNRm (%build) Bad exit status from /var/tmp/rpm-tmp.NkYNRm (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # 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: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/grafana.spec