Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rsync.spec'], chrootPath='/var/lib/mock/dist-an8.10-build-583948-96588/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rsync.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/rsync-3.1.3-28.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rsync.spec'], chrootPath='/var/lib/mock/dist-an8.10-build-583948-96588/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rsync.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.azbcIn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rsync-3.1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/rsync-3.1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rsync-3.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf rsync-3.1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/rsync-patches-3.1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gzip -dc /builddir/build/SOURCES/rsync-3.1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rsync-3.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + patch -p1 -i patches/acls.diff patching file acls.c patching file compat.c patching file proto.h + patch -p1 -i patches/xattrs.diff patching file compat.c patching file xattrs.c + patch -p1 -i patches/copy-devices.diff patching file generator.c patching file options.c patching file rsync.c patching file sender.c + echo 'Patch #0 (rsync-man.patch):' Patch #0 (rsync-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man --fuzz=0 patching file rsync.1 Patch #1 (rsync-3.0.6-iconv-logging.patch): + echo 'Patch #1 (rsync-3.0.6-iconv-logging.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .iconv --fuzz=0 patching file log.c Hunk #1 succeeded at 378 (offset 1 line). Patch #2 (rsync-3.1.3-covscan.patch): + echo 'Patch #2 (rsync-3.1.3-covscan.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .covscan --fuzz=0 patching file util.c Hunk #1 succeeded at 346 (offset 4 lines). patching file lib/pool_alloc.c patching file batch.c Patch #3 (rsync-3.1.2-remove-symlinks.patch): + echo 'Patch #3 (rsync-3.1.2-remove-symlinks.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .symlinks --fuzz=0 patching file sender.c Patch #4 (rsync-3.1.2-vvv-hang.patch): + echo 'Patch #4 (rsync-3.1.2-vvv-hang.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .vvv --fuzz=0 patching file io.c Patch #5 (rsync-3.1.3-ignore-missing.patch): + echo 'Patch #5 (rsync-3.1.3-ignore-missing.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .missing --fuzz=0 patching file generator.c Hunk #1 succeeded at 1272 (offset -5 lines). Hunk #2 succeeded at 1384 (offset -5 lines). Hunk #3 succeeded at 1526 (offset -5 lines). Patch #6 (rsync-3.1.3-append-check.patch): + echo 'Patch #6 (rsync-3.1.3-append-check.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .append --fuzz=0 patching file rsync.1 patching file sender.c Patch #7 (rsync-3.1.3-skip-compress.patch): + echo 'Patch #7 (rsync-3.1.3-skip-compress.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .skip-compress --fuzz=0 patching file loadparm.c Hunk #1 succeeded at 379 (offset -70 lines). Hunk #2 succeeded at 808 (offset -64 lines). patching file main.c Hunk #1 succeeded at 1557 (offset -124 lines). Patch #8 (rsync-3.1.3-xattr.patch): + echo 'Patch #8 (rsync-3.1.3-xattr.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .xattr --fuzz=0 patching file xattrs.c Hunk #1 succeeded at 1110 (offset 55 lines). Hunk #2 succeeded at 1139 (offset 55 lines). Patch #9 (rsync-3.1.3-cve-2018-25032.patch): + echo 'Patch #9 (rsync-3.1.3-cve-2018-25032.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2018-25032 --fuzz=0 patching file zlib/deflate.c Hunk #1 succeeded at 227 (offset -28 lines). Hunk #2 succeeded at 295 (offset -29 lines). Hunk #3 succeeded at 344 (offset -29 lines). Hunk #4 succeeded at 510 (offset -79 lines). Hunk #5 succeeded at 1059 (offset -91 lines). Hunk #6 succeeded at 1078 (offset -91 lines). Hunk #7 succeeded at 1092 (offset -91 lines). Hunk #8 succeeded at 1771 (offset -34 lines). Hunk #9 succeeded at 1912 (offset -34 lines). Hunk #10 succeeded at 1987 (offset -34 lines). Hunk #11 succeeded at 2026 (offset -34 lines). patching file zlib/deflate.h Hunk #1 succeeded at 214 (offset -3 lines). Hunk #2 succeeded at 236 (offset -3 lines). Hunk #3 succeeded at 317 (offset 5 lines). patching file zlib/trees.c Hunk #1 succeeded at 418 (offset 2 lines). Hunk #2 succeeded at 943 (offset -5 lines). Hunk #3 succeeded at 1012 (offset -5 lines). Hunk #4 succeeded at 1029 (offset -5 lines). Hunk #5 succeeded at 1042 (offset -5 lines). Hunk #6 succeeded at 1074 (offset -5 lines). Patch #10 (rsync-3.1.3-sparse-block.patch): + echo 'Patch #10 (rsync-3.1.3-sparse-block.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .spars-block --fuzz=0 patching file fileio.c patching file options.c patching file options.c patching file rsync.yo patching file rsync.1 Hunk #2 succeeded at 1493 (offset -1 lines). Patch #11 (rsync-3.1.3-cve-2022-29154.patch): + echo 'Patch #11 (rsync-3.1.3-cve-2022-29154.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2022-29154 --fuzz=0 patching file exclude.c patching file flist.c patching file io.c patching file main.c patching file receiver.c patching file options.c patching file clientserver.c patching file rsync.1 Patch #12 (rsync-3.1.3-cve-2022-37434.patch): + echo 'Patch #12 (rsync-3.1.3-cve-2022-37434.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2022-37434 --fuzz=0 patching file zlib/inflate.c Patch #13 (rsync-3.1.3-filtering-rules.patch): + echo 'Patch #13 (rsync-3.1.3-filtering-rules.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .filtering-rules --fuzz=0 patching file exclude.c patching file options.c Hunk #1 succeeded at 2429 (offset 3 lines). patching file flist.c patching file rsync.h + echo 'Patch #14 (rsync-3.1.3-missing-xattr-filter.patch):' Patch #14 (rsync-3.1.3-missing-xattr-filter.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .xattr-filter --fuzz=0 patching file exclude.c Patch #15 (rsync-3.1.3-cve-2024-12085.patch): + echo 'Patch #15 (rsync-3.1.3-cve-2024-12085.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2024-12085 --fuzz=0 patching file match.c Hunk #1 succeeded at 148 (offset 1 line). Patch #16 (rsync-3.1.3-cve-2024-12087.patch): + echo 'Patch #16 (rsync-3.1.3-cve-2024-12087.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2024-12087 --fuzz=0 patching file flist.c Hunk #1 succeeded at 2456 (offset -128 lines). patching file rsync.h Patch #17 (rsync-3.1.3-cve-2024-12088.patch): + echo 'Patch #17 (rsync-3.1.3-cve-2024-12088.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2024-12088 --fuzz=0 patching file testsuite/unsafe-byname.test Hunk #1 succeeded at 41 (offset 1 line). patching file util.c Hunk #1 succeeded at 1292 (offset -26 lines). Hunk #2 succeeded at 1309 (offset -26 lines). Patch #18 (rsync-3.1.3-cve-2024-12747.patch): + echo 'Patch #18 (rsync-3.1.3-cve-2024-12747.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2024-12747 --fuzz=0 patching file checksum.c Hunk #1 succeeded at 200 (offset -206 lines). patching file generator.c Hunk #1 succeeded at 1828 (offset -39 lines). patching file receiver.c Hunk #1 succeeded at 749 (offset -26 lines). patching file sender.c Hunk #1 succeeded at 335 (offset -15 lines). patching file syscall.c Hunk #1 succeeded at 42 (offset -3 lines). Hunk #2 succeeded at 575 (offset -2 lines). patching file t_unsafe.c Hunk #1 succeeded at 31 (offset 3 lines). patching file tls.c Hunk #1 succeeded at 53 (offset 4 lines). patching file trimslash.c Hunk #1 succeeded at 30 (offset 4 lines). patching file util.c Hunk #1 succeeded at 335 (offset -30 lines). Patch #19 (rsync-3.1.3-cve-2025-4638.patch): + echo 'Patch #19 (rsync-3.1.3-cve-2025-4638.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2025-4638 --fuzz=0 patching file zlib/inftrees.c Patch #20 (rsync-3.1.3-trust-sender.patch): + echo 'Patch #20 (rsync-3.1.3-trust-sender.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .trust-sender --fuzz=0 patching file exclude.c Hunk #1 succeeded at 32 (offset -1 lines). Hunk #2 succeeded at 51 (offset -1 lines). Hunk #3 succeeded at 383 (offset 8 lines). patching file main.c Hunk #1 succeeded at 79 (offset -10 lines). Hunk #2 succeeded at 531 (offset -104 lines). patching file options.c Hunk #1 succeeded at 28 (offset 1 line). Hunk #2 succeeded at 302 (offset 236 lines). Hunk #3 succeeded at 1020 (offset 229 lines). Hunk #4 succeeded at 2399 (offset -70 lines). Hunk #5 succeeded at 2438 (offset -9 lines). patching file rsync.1 Patch #21 (rsync-3.1.3-cve-2025-10158.patch): + echo 'Patch #21 (rsync-3.1.3-cve-2025-10158.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2025-10158 --fuzz=0 patching file sender.c Hunk #1 succeeded at 245 (offset -17 lines). Patch #22 (rsync-3.1.3-cve-2026-41035.patch): + echo 'Patch #22 (rsync-3.1.3-cve-2026-41035.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2026-41035 --fuzz=0 patching file xattrs.c Patch #25 (rsync-3.1.3-fix-cve-2026-43618.patch): + echo 'Patch #25 (rsync-3.1.3-fix-cve-2026-43618.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2026-43618 --fuzz=0 patching file receiver.c patching file token.c Patch #1000 (1000-rsync-lchmod.patch): + echo 'Patch #1000 (1000-rsync-lchmod.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file syscall.c Hunk #1 succeeded at 210 (offset -17 lines). + tar xf /builddir/build/SOURCES/rsync-3.1.3-security-patches.tar.gz + for patchfile in security-patches/*.patch + patch -p1 -i security-patches/001-9585830e1e08-Fix-warning-about-conflicting-lseek-lseek64-prototyp.patch patching file syscall.c Hunk #1 succeeded at 359 (offset -749 lines). + for patchfile in security-patches/*.patch + patch -p1 -i security-patches/002-f1cf29cefa91-hlink-Fix-function-pointer-cast-in-qsort.patch patching file hlink.c + for patchfile in security-patches/*.patch + patch -p1 -i security-patches/003-292d9de105e6-bool-is-a-keyword-in-C23.patch patching file wildtest.c + for patchfile in security-patches/*.patch + patch -p1 -i security-patches/004-77b7f5e0aa54-Fix-warning-about-missing-bomb-..-prototype.patch patching file lib/pool_alloc.c + for patchfile in security-patches/*.patch + patch -p1 -i security-patches/005-147c7a0d977b-Some-checksum-buffer-fixes.patch patching file io.c Hunk #1 succeeded at 1918 (offset -3 lines). + for patchfile in security-patches/*.patch + patch -p1 -i security-patches/008-769e5f0bcf58-refuse-fuzzy-options-when-fuzzy-not-selected.patch patching file receiver.c Hunk #1 FAILED at 64. Hunk #2 succeeded at 709 with fuzz 2 (offset -100 lines). 1 out of 2 hunks FAILED -- saving rejects to file receiver.c.rej error: Bad exit status from /var/tmp/rpm-tmp.azbcIn (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.azbcIn (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rsync.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 598, 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 loongarch64 --nodeps /builddir/build/SPECS/rsync.spec