Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/gnutls.spec'], chrootPath='/var/lib/mock/dist-an7-els-build-591573-98942/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/gnutls.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/gnutls-3.3.29-9.0.1.an7.1.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/gnutls.spec'], chrootPath='/var/lib/mock/dist-an7-els-build-591573-98942/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/gnutls.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.x5zWsF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnutls-3.3.29 + /usr/bin/tar -xf /builddir/build/SOURCES/gnutls-3.3.29-hobbled.tar.xz + cd gnutls-3.3.29 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (gnutls-3.2.7-rpath.patch):' Patch #1 (gnutls-3.2.7-rpath.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.2.7-rpath.patch + /usr/bin/patch -p1 -b --suffix .rpath --fuzz=0 patching file configure Hunk #1 succeeded at 41664 (offset 2012 lines). + echo 'Patch #2 (gnutls-3.1.11-nosrp.patch):' Patch #2 (gnutls-3.1.11-nosrp.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.1.11-nosrp.patch + /usr/bin/patch -p1 -b --suffix .nosrp --fuzz=0 patching file tests/srp/mini-srp.c + echo 'Patch #4 (gnutls-3.3.8-fips-key.patch):' Patch #4 (gnutls-3.3.8-fips-key.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.8-fips-key.patch + /usr/bin/patch -p1 -b --suffix .fips-key --fuzz=0 patching file lib/fips.c Hunk #1 succeeded at 107 (offset 10 lines). + echo 'Patch #5 (gnutls-3.3.8-padlock-disable.patch):' Patch #5 (gnutls-3.3.8-padlock-disable.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.8-padlock-disable.patch + /usr/bin/patch -p1 -b --suffix .padlock-disable --fuzz=0 patching file lib/accelerated/x86/x86-common.c Hunk #2 succeeded at 629 (offset 47 lines). + echo 'Patch #6 (gnutls-3.3.22-eapp-data.patch):' Patch #6 (gnutls-3.3.22-eapp-data.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.22-eapp-data.patch + /usr/bin/patch -p1 -b --suffix .eapp-data --fuzz=0 patching file lib/gnutls_handshake.c Hunk #1 succeeded at 2522 (offset 12 lines). patching file lib/gnutls_record.c Hunk #1 succeeded at 842 (offset 5 lines). + echo 'Patch #7 (gnutls-3.3.26-dh-params-1024.patch):' Patch #7 (gnutls-3.3.26-dh-params-1024.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.26-dh-params-1024.patch + /usr/bin/patch -p1 -b --suffix .dh-1024 --fuzz=0 patching file lib/gnutls_priority.c + echo 'Patch #8 (gnutls-3.3.29-serv-sni-hostname.patch):' Patch #8 (gnutls-3.3.29-serv-sni-hostname.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-serv-sni-hostname.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/serv-args.def patching file src/serv.c + echo 'Patch #9 (gnutls-3.3.29-serv-unrec-name.patch):' Patch #9 (gnutls-3.3.29-serv-unrec-name.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-serv-unrec-name.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/serv.c + echo 'Patch #10 (gnutls-3.3.29-cli-sni-hostname.patch):' Patch #10 (gnutls-3.3.29-cli-sni-hostname.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-cli-sni-hostname.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/cli-args.def patching file src/cli.c + echo 'Patch #11 (gnutls-3.3.29-tests-sni-hostname.patch):' Patch #11 (gnutls-3.3.29-tests-sni-hostname.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-tests-sni-hostname.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/Makefile.am patching file tests/sni-hostname.sh + echo 'Patch #12 (gnutls-3.3.29-pkcs11-retrieve-pin-from-uri-once.patch):' Patch #12 (gnutls-3.3.29-pkcs11-retrieve-pin-from-uri-once.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-pkcs11-retrieve-pin-from-uri-once.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/pkcs11.c patching file tests/pkcs11/pkcs11-import-with-pin.c + echo 'Patch #13 (gnutls-3.3.29-dummy-wait-account-len-field.patch):' Patch #13 (gnutls-3.3.29-dummy-wait-account-len-field.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-dummy-wait-account-len-field.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/algorithms/mac.c patching file lib/gnutls_cipher.c + echo 'Patch #14 (gnutls-3.3.29-dummy-wait-hash-same-amount-of-blocks.patch):' Patch #14 (gnutls-3.3.29-dummy-wait-hash-same-amount-of-blocks.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-dummy-wait-hash-same-amount-of-blocks.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/gnutls_cipher.c + echo 'Patch #15 (gnutls-3.3.29-cbc-mac-verify-ssl3-min-pad.patch):' Patch #15 (gnutls-3.3.29-cbc-mac-verify-ssl3-min-pad.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-cbc-mac-verify-ssl3-min-pad.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/gnutls_cipher.c + echo 'Patch #16 (gnutls-3.3.29-remove-hmac-sha384-sha256-from-default.patch):' Patch #16 (gnutls-3.3.29-remove-hmac-sha384-sha256-from-default.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-remove-hmac-sha384-sha256-from-default.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/gnutls_priority.c patching file tests/priorities.c + echo 'Patch #17 (gnutls-3.3.29-do-not-run-sni-hostname-windows.patch):' Patch #17 (gnutls-3.3.29-do-not-run-sni-hostname-windows.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-do-not-run-sni-hostname-windows.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/Makefile.am + echo 'Patch #18 (gnutls-3.3.29-testpkcs11.patch):' Patch #18 (gnutls-3.3.29-testpkcs11.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-testpkcs11.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/Makefile.am patching file tests/scripts/common.sh patching file tests/suite/Makefile.am patching file tests/testpkcs11-certs/ca-tmpl patching file tests/testpkcs11-certs/ca.crt patching file tests/testpkcs11-certs/ca.key patching file tests/testpkcs11-certs/client-tmpl patching file tests/testpkcs11-certs/client.crt patching file tests/testpkcs11-certs/client.key patching file tests/testpkcs11-certs/server-tmpl patching file tests/testpkcs11-certs/server.crt patching file tests/testpkcs11-certs/server.key patching file tests/testpkcs11.pkcs15 patching file tests/testpkcs11.sc-hsm patching file tests/testpkcs11.sh patching file tests/testpkcs11.softhsm + echo 'Patch #19 (gnutls-3.3.29-disable-failing-tests.patch):' Patch #19 (gnutls-3.3.29-disable-failing-tests.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-disable-failing-tests.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/testpkcs11.sh + echo 'Patch #20 (gnutls-3.3.29-do-not-mark-object-as-private.patch):' Patch #20 (gnutls-3.3.29-do-not-mark-object-as-private.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-do-not-mark-object-as-private.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/p11tool.c + echo 'Patch #21 (gnutls-3.3.29-re-enable-check-cert-write.patch):' Patch #21 (gnutls-3.3.29-re-enable-check-cert-write.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-re-enable-check-cert-write.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/testpkcs11.sh + echo 'Patch #22 (gnutls-3.3.29-tests-pkcs11-increase-RSA-gen-size.patch):' Patch #22 (gnutls-3.3.29-tests-pkcs11-increase-RSA-gen-size.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-tests-pkcs11-increase-RSA-gen-size.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/testpkcs11.sh + echo 'Patch #23 (gnutls-3.3.29-serv-large-key-resumption.patch):' Patch #23 (gnutls-3.3.29-serv-large-key-resumption.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-serv-large-key-resumption.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/serv.c + echo 'Patch #24 (gnutls-3.3.29-bring-back-hmac-sha256.patch):' Patch #24 (gnutls-3.3.29-bring-back-hmac-sha256.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-bring-back-hmac-sha256.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/gnutls_priority.c patching file tests/priorities.c + echo 'Patch #25 (gnutls-3.3.29-fips140-fix-ecdsa-kat-selftest.patch):' Patch #25 (gnutls-3.3.29-fips140-fix-ecdsa-kat-selftest.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-fips140-fix-ecdsa-kat-selftest.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/crypto-selftests-pk.c + echo 'Patch #26 (gnutls-testpkcs11-timebomb.patch):' Patch #26 (gnutls-testpkcs11-timebomb.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-testpkcs11-timebomb.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/testpkcs11.sh + echo 'Patch #30 (gnutls-3.6.3-avoid-confusion-fragment-length.patch):' Patch #30 (gnutls-3.6.3-avoid-confusion-fragment-length.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.6.3-avoid-confusion-fragment-length.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/gnutls_buffers.c Hunk #5 succeeded at 914 (offset 1 line). Hunk #6 succeeded at 935 (offset 1 line). + echo 'Patch #31 (gnutls-3.6.16-CVE-2026-33846-dtls-len.patch):' Patch #31 (gnutls-3.6.16-CVE-2026-33846-dtls-len.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.6.16-CVE-2026-33846-dtls-len.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/Makefile.am patching file tests/mini-dtls-fragments.c patching file lib/gnutls_buffers.c Hunk #1 succeeded at 1006 (offset -3 lines). patching file lib/gnutls_buffers.c patching file lib/gnutls_buffers.c Hunk #1 succeeded at 1011 (offset -25 lines). patching file tests/mini-dtls-fragments.c patching file tests/mini-dtls-fragments.c patching file lib/gnutls_buffers.c patching file tests/mini-dtls-fragments.c + echo 'Patch #32 (gnutls-3.6.16-CVE-2026-42009-dtls-qsort.patch):' Patch #32 (gnutls-3.6.16-CVE-2026-42009-dtls-qsort.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.6.16-CVE-2026-42009-dtls-qsort.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/gnutls_buffers.c patching file lib/gnutls_buffers.c + echo 'Patch #33 (gnutls-3.4.3-name-constraints-compute-strictly.patch):' Patch #33 (gnutls-3.4.3-name-constraints-compute-strictly.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.4.3-name-constraints-compute-strictly.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/libgnutls.map patching file lib/x509/name_constraints.c Hunk #7 succeeded at 598 (offset 11 lines). patching file lib/x509/x509_ext.c Hunk #3 succeeded at 377 (offset 10 lines). Hunk #4 succeeded at 393 (offset 10 lines). Hunk #5 succeeded at 433 (offset 10 lines). patching file lib/x509/x509_int.h Hunk #1 succeeded at 427 (offset -47 lines). patching file tests/Makefile.am patching file tests/name-constraints-merge.c patching file tests/test-chains.h Hunk #1 succeeded at 358 (offset -181 lines). + echo 'Patch #34 (gnutls-3.5.2-fix-dns-name-constraints.patch):' Patch #34 (gnutls-3.5.2-fix-dns-name-constraints.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.5.2-fix-dns-name-constraints.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/includes/gnutls/gnutls.h.in Hunk #1 succeeded at 1806 (offset -334 lines). patching file lib/x509/name_constraints.c + echo 'Patch #35 (gnutls-3.6.16-CVE-2026-33845-dtls-uflow.patch):' Patch #35 (gnutls-3.6.16-CVE-2026-33845-dtls-uflow.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.6.16-CVE-2026-33845-dtls-uflow.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/gnutls_buffers.c patching file lib/gnutls_buffers.c Hunk #2 succeeded at 923 (offset 3 lines). Hunk #3 succeeded at 983 (offset 3 lines). Hunk #4 succeeded at 1029 (offset 3 lines). Hunk #5 succeeded at 1104 (offset -31 lines). Hunk #6 succeeded at 1117 (offset -31 lines). Hunk #7 succeeded at 1285 (offset -53 lines). Hunk #8 succeeded at 1303 (offset -53 lines). patching file lib/gnutls_int.h Hunk #1 succeeded at 322 (offset -74 lines). patching file tests/mini-dtls-fragments.c patching file tests/mini-dtls-fragments.c Hunk #1 succeeded at 499 (offset -1 lines). Hunk #2 succeeded at 568 (offset -1 lines). + echo 'Patch #36 (gnutls-3.3.29-documentation-fix.patch):' Patch #36 (gnutls-3.3.29-documentation-fix.patch): + /usr/bin/cat /builddir/build/SOURCES/gnutls-3.3.29-documentation-fix.patch + /usr/bin/patch -p1 --fuzz=0 patching file doc/cha-gtls-app.texi patching file doc/cha-shared-key.texi patching file lib/includes/gnutls/gnutls.h.in + echo 'Patch #1000 (1000-gnutls-anolis-update-launch_pkcs11_server.patch):' Patch #1000 (1000-gnutls-anolis-update-launch_pkcs11_server.patch): + /usr/bin/cat /builddir/build/SOURCES/1000-gnutls-anolis-update-launch_pkcs11_server.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/scripts/common.sh Hunk #1 succeeded at 153 (offset 74 lines). + echo 'Patch #1001 (1001-gnutls-anolis-use-datefudge-to-trick-certificate.patch):' Patch #1001 (1001-gnutls-anolis-use-datefudge-to-trick-certificate.patch): + /usr/bin/cat /builddir/build/SOURCES/1001-gnutls-anolis-use-datefudge-to-trick-certificate.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/testpkcs11.sh Hunk #1 FAILED at 67. Hunk #2 succeeded at 88 (offset 9 lines). Hunk #3 FAILED at 525. Hunk #4 FAILED at 902. Hunk #5 FAILED at 910. 4 out of 5 hunks FAILED -- saving rejects to file tests/testpkcs11.sh.rej error: Bad exit status from /var/tmp/rpm-tmp.x5zWsF (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.x5zWsF (%prep) 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/gnutls.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 610, 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: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/gnutls.spec'