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/civetweb.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-231671-81631/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=991gid=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/civetweb.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/civetweb-1.16-3.oc9.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/civetweb.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-231671-81631/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=991gid=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/civetweb.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.cGMrY0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf civetweb-1.16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/civetweb-1.16.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd civetweb-1.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (CVE-2025-9648-oc.patch): + echo 'Patch #0 (CVE-2025-9648-oc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/civetweb.c Hunk #2 succeeded at 7052 (offset -220 lines). Hunk #3 succeeded at 7065 (offset -220 lines). patching file src/handle_form.inl Hunk #8 FAILED at 202. Hunk #9 succeeded at 289 (offset -3 lines). Hunk #10 succeeded at 332 (offset -3 lines). Hunk #11 succeeded at 371 (offset -3 lines). Hunk #12 succeeded at 400 (offset -3 lines). Hunk #13 succeeded at 454 (offset -3 lines). Hunk #14 succeeded at 483 (offset -3 lines). Hunk #15 succeeded at 513 (offset -3 lines). Hunk #16 succeeded at 582 (offset -3 lines). Hunk #17 succeeded at 592 (offset -3 lines). Hunk #18 succeeded at 606 (offset -3 lines). Hunk #19 succeeded at 962 (offset -35 lines). Hunk #20 succeeded at 1037 (offset -35 lines). Hunk #21 succeeded at 1066 (offset -35 lines). Hunk #22 succeeded at 1085 (offset -35 lines). 1 out of 22 hunks FAILED -- saving rejects to file src/handle_form.inl.rej error: Bad exit status from /var/tmp/rpm-tmp.cGMrY0 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.cGMrY0 (%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/civetweb.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 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/civetweb.spec