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 aarch64 --nodeps /builddir/build/SPECS/firefox.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-296764-28839/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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 (22 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/firefox-128.3.1-1.ocs23.src.rpm RPM build warnings: %patchN is deprecated (22 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 aarch64 --nodeps /builddir/build/SPECS/firefox.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-296764-28839/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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 (22 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wQJwfg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf firefox-128.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/firefox-128.3.1esr.processed-source.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-128.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (build-disable-elfhack.patch): + echo 'Patch #1 (build-disable-elfhack.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 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 #4 (build-ffvpx.patch): + echo 'Patch #4 (build-ffvpx.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file media/ffvpx/libavcodec/av1dec.c patching file media/ffvpx/libavcodec/libdav1d.c Patch #5 (build-disable-gamepad.patch): + echo 'Patch #5 (build-disable-gamepad.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dom/gamepad/moz.build 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 #3 succeeded at 5392 (offset 16 lines). Hunk #4 succeeded at 7561 (offset 20 lines). patching file widget/gtk/nsWindow.h Hunk #1 succeeded at 761 (offset 3 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 Hunk #1 succeeded at 386 (offset 176 lines). 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 Hunk #1 succeeded at 1588 (offset 28 lines). 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 patching file media/ffvpx/libavcodec/codec_list.c patching file media/ffvpx/libavcodec/moz.build Patch #110 (build-libaom.patch): + echo 'Patch #110 (build-libaom.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config/external/moz.build Patch #155 (rhbz-1354671.patch): + echo 'Patch #155 (rhbz-1354671.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file layout/base/PresShell.h Hunk #1 succeeded at 260 (offset 3 lines). Patch #302 (add-loongarch64-support-for-nix.patch): + echo 'Patch #302 (add-loongarch64-support-for-nix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file third_party/rust/nix/.cargo-checksum.json Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file third_party/rust/nix/.cargo-checksum.json.rej patching file third_party/rust/nix/src/sys/ioctl/linux.rs Hunk #1 FAILED at 41. 1 out of 1 hunk FAILED -- saving rejects to file third_party/rust/nix/src/sys/ioctl/linux.rs.rej error: Bad exit status from /var/tmp/rpm-tmp.wQJwfg (%prep) RPM build warnings: RPM build errors: %patchN is deprecated (22 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.wQJwfg (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/firefox.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 aarch64 --nodeps /builddir/build/SPECS/firefox.spec