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/firefox.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-109177-6609/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 x86_64 --nodeps /builddir/build/SPECS/firefox.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 warning: %patchN is deprecated (16 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/firefox-115.4.0-1.ocs23.src.rpm RPM build warnings: %patchN is deprecated (16 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/firefox.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-109177-6609/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 x86_64 --nodeps /builddir/build/SPECS/firefox.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 warning: %patchN is deprecated (16 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fW9ylK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf firefox-115.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/firefox-115.4.0esr.processed-source.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-115.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (build-disable-elfhack.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 Patch #1 (build-disable-elfhack.patch): patching file toolkit/moz.configure Patch #2 (firefox-gcc-build.patch): + echo 'Patch #2 (firefox-gcc-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h Patch #3 (build-big-endian-errors.patch): + echo 'Patch #3 (build-big-endian-errors.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file third_party/libwebrtc/common_audio/wav_file.cc patching file third_party/libwebrtc/common_audio/wav_header.cc Patch #101 (mozilla-bmo1636168-fscreen.patch): + echo 'Patch #101 (mozilla-bmo1636168-fscreen.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file widget/gtk/nsWindow.cpp Hunk #4 succeeded at 5270 (offset 4 lines). Hunk #5 succeeded at 7437 (offset 12 lines). patching file widget/gtk/nsWindow.h Hunk #1 succeeded at 754 (offset 2 lines). Patch #102 (mozilla-bmo1670333.patch): + echo 'Patch #102 (mozilla-bmo1670333.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dom/media/mp4/MP4Demuxer.cpp patching file dom/media/platforms/PDMFactory.cpp patching file dom/media/platforms/PDMFactory.h Patch #103 (mozilla-bmo1504834-part1.patch): + echo 'Patch #103 (mozilla-bmo1504834-part1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gfx/2d/DrawTargetSkia.cpp patching file gfx/2d/Types.h patching file gfx/skia/skia/modules/skcms/skcms.cc Patch #104 (mozilla-bmo1504834-part3.patch): + echo 'Patch #104 (mozilla-bmo1504834-part3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gfx/skia/skia/src/opts/SkBlitMask_opts.h Patch #105 (mozilla-bmo849632.patch): + echo 'Patch #105 (mozilla-bmo849632.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gfx/gl/GLContext.h Patch #106 (mozilla-bmo998749.patch): + echo 'Patch #106 (mozilla-bmo998749.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gfx/2d/FilterProcessing.h Patch #107 (mozilla-bmo1716707-swizzle.patch): + echo 'Patch #107 (mozilla-bmo1716707-swizzle.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gfx/webrender_bindings/RenderCompositorSWGL.cpp Hunk #2 succeeded at 243 (offset 7 lines). Patch #108 (mozilla-bmo1716707-svg.patch): + echo 'Patch #108 (mozilla-bmo1716707-svg.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file image/imgFrame.cpp Patch #109 (mozilla-bmo1789216-disable-av1.patch): + echo 'Patch #109 (mozilla-bmo1789216-disable-av1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file media/ffvpx/libavcodec/allcodecs.c Hunk #1 succeeded at 761 (offset 6 lines). Hunk #2 succeeded at 792 (offset 6 lines). patching file media/ffvpx/libavcodec/codec_list.c patching file media/ffvpx/libavcodec/moz.build Patch #201 (firefox-tests-xpcshell-freeze.patch): + echo 'Patch #201 (firefox-tests-xpcshell-freeze.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file testing/xpcshell/runxpcshelltests.py Hunk #1 succeeded at 1405 (offset 23 lines). + cd media/libvpx/libvpx Patch #301 (CVE-2023-44488-libvpx.patch): + echo 'Patch #301 (CVE-2023-44488-libvpx.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file test/resize_test.cc patching file vp9/common/vp9_alloccommon.c Hunk #1 succeeded at 133 (offset -2 lines). Hunk #2 succeeded at 147 (offset -2 lines). patching file vp9/encoder/vp9_encoder.c Hunk #1 succeeded at 2045 (offset -2 lines). Hunk #2 succeeded at 2135 (offset -2 lines). Hunk #3 succeeded at 2155 (offset -2 lines). + cd - /builddir/build/BUILD/firefox-115.4.0 Patch #500 (0001-Fix-CVE-2023-23604-Use-the-owner-principal-in-ParseF.patch): + echo 'Patch #500 (0001-Fix-CVE-2023-23604-Use-the-owner-principal-in-ParseF.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dom/base/DOMParser.cpp Hunk #1 FAILED at 103. 1 out of 1 hunk FAILED -- saving rejects to file dom/base/DOMParser.cpp.rej error: Bad exit status from /var/tmp/rpm-tmp.fW9ylK (%prep) %patchN is deprecated (16 usages found), use %patch N (or %patch -P N) RPM build warnings: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.fW9ylK (%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/firefox.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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/firefox.spec