Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rsync.spec'], chrootPath='/var/lib/mock/dist-an8.10-build-542918-85670/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rsync-3.1.3-27.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rsync.spec'], chrootPath='/var/lib/mock/dist-an8.10-build-542918-85670/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LZKZOJ + 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 + echo 'Patch #1 (rsync-3.0.6-iconv-logging.patch):' 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). + echo 'Patch #2 (rsync-3.1.3-covscan.patch):' 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 + echo 'Patch #3 (rsync-3.1.2-remove-symlinks.patch):' 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 + echo 'Patch #4 (rsync-3.1.2-vvv-hang.patch):' 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 + echo 'Patch #5 (rsync-3.1.3-ignore-missing.patch):' 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). + echo 'Patch #6 (rsync-3.1.3-append-check.patch):' 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 + echo 'Patch #7 (rsync-3.1.3-skip-compress.patch):' 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). + echo 'Patch #8 (rsync-3.1.3-xattr.patch):' 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). + echo 'Patch #9 (rsync-3.1.3-cve-2018-25032.patch):' 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). + echo 'Patch #11 (rsync-3.1.3-cve-2022-29154.patch):' 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 + echo 'Patch #12 (rsync-3.1.3-cve-2022-37434.patch):' 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 + echo 'Patch #13 (rsync-3.1.3-filtering-rules.patch):' 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 + echo 'Patch #15 (rsync-3.1.3-cve-2024-12085.patch):' 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). + echo 'Patch #16 (rsync-3.1.3-cve-2024-12087.patch):' 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 + echo 'Patch #17 (rsync-3.1.3-cve-2024-12088.patch):' 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). + echo 'Patch #19 (rsync-3.1.3-cve-2025-4638.patch):' 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 + echo 'Patch #20 (rsync-3.1.3-trust-sender.patch):' 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 + echo 'Patch #21 (rsync-3.1.3-cve-2025-10158.patch):' 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). + echo 'Patch #22 (rsync-3.1.3-cve-2026-41035.patch):' 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 + echo 'Patch #23 (rsync-3.1.3-fix-cve-2026-29518.patch):' Patch #23 (rsync-3.1.3-fix-cve-2026-29518.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2026-29518 --fuzz=0 patching file receiver.c Hunk #2 succeeded at 703 (offset -21 lines). Hunk #3 succeeded at 748 (offset -21 lines). Hunk #4 succeeded at 758 (offset -2 lines). patching file clientserver.c Hunk #5 succeeded at 1096 (offset -12 lines). patching file options.c patching file receiver.c Hunk #3 succeeded at 831 (offset 10 lines). patching file syscall.c patching file tls.c patching file trimslash.c patching file sender.c patching file testsuite/symlink-dirlink-basis.test patching file syscall.c patching file Makefile.in patching file delete.c patching file generator.c patching file rsync.c patching file syscall.c patching file t_chmod_secure.c patching file t_stub.c patching file testsuite/chmod-symlink-race.test patching file xattrs.c patching file testsuite/sender-flist-symlink-leak.test patching file util.c patching file Makefile.in patching file backup.c patching file cleanup.c patching file delete.c patching file generator.c patching file hlink.c patching file receiver.c Hunk #2 succeeded at 886 (offset 10 lines). Hunk #3 succeeded at 895 (offset 10 lines). Hunk #4 succeeded at 906 (offset 10 lines). patching file rsync.c patching file syscall.c patching file t_secure_relpath.c patching file testsuite/alt-dest-symlink-race.test patching file testsuite/secure-relpath-validation.test patching file util.c patching file xattrs.c patching file generator.c patching file syscall.c patching file testsuite/bare-do-open-symlink-race.test patching file testsuite/copy-dest-source-symlink.test patching file util.c patching file Makefile.in patching file tls.c patching file trimslash.c + echo 'Patch #24 (rsync-3.1.3-fix-cve-2026-29518-regressions.patch):' Patch #24 (rsync-3.1.3-fix-cve-2026-29518-regressions.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-2026-29518-regressions --fuzz=0 patching file receiver.c Hunk #1 succeeded at 76 (offset -7 lines). Hunk #2 succeeded at 381 (offset -21 lines). Hunk #3 succeeded at 803 (offset -40 lines). Hunk #4 succeeded at 887 (offset -48 lines). patching file sender.c Hunk #1 succeeded at 345 (offset -17 lines). Hunk #2 succeeded at 355 (offset -17 lines). patching file receiver.c Hunk #1 succeeded at 92 (offset -7 lines). Hunk #2 succeeded at 838 (offset -42 lines). patching file syscall.c Hunk #1 succeeded at 1539 (offset -222 lines). Hunk #2 succeeded at 1609 (offset -222 lines). Hunk #3 succeeded at 1638 (offset -222 lines). patching file util.c Hunk #1 succeeded at 40 (offset -1 lines). patching file receiver.c Hunk #1 succeeded at 402 (offset -21 lines). patching file generator.c Hunk #1 succeeded at 2106 (offset -40 lines). Hunk #2 succeeded at 2136 (offset -40 lines). patching file io.c Hunk #1 succeeded at 1042 (offset -48 lines). patching file receiver.c Hunk #1 succeeded at 534 (offset 67 lines). Hunk #2 succeeded at 668 (offset 61 lines). patching file sender.c Hunk #1 succeeded at 136 (offset -4 lines). + echo 'Patch #25 (rsync-3.1.3-fix-cve-2026-43618.patch):' 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 Hunk #1 succeeded at 370 (offset 65 lines). Hunk #2 succeeded at 383 (offset 65 lines). patching file token.c + echo 'Patch #1000 (1000-rsync-lchmod.patch):' Patch #1000 (1000-rsync-lchmod.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file syscall.c Hunk #1 succeeded at 698 (offset 471 lines). Patch #1001 (1001-skip-test.patch): + echo 'Patch #1001 (1001-skip-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in Hunk #1 FAILED at 52. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej error: Bad exit status from /var/tmp/rpm-tmp.LZKZOJ (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.LZKZOJ (%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/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 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 aarch64 --nodeps /builddir/build/SPECS/rsync.spec'