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/cups.spec'], chrootPath='/var/lib/mock/dist-an23-build-525505-78383/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/cups.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 setting SOURCE_DATE_EPOCH=1776038400 Wrote: /builddir/build/SRPMS/cups-2.4.10-5.an23.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/cups.spec'], chrootPath='/var/lib/mock/dist-an23-build-525505-78383/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/cups.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 setting SOURCE_DATE_EPOCH=1776038400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BmwnoY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cups-2.4.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cups-2.4.10-source.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cups-2.4.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (cups-multilib.patch):' Patch #1 (cups-multilib.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .multilib --fuzz=0 patching file cups-config.in Hunk #1 succeeded at 18 (offset 1 line). Patch #2 (cups-banners.patch): + echo 'Patch #2 (cups-banners.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .banners --fuzz=0 patching file scheduler/banners.c Hunk #1 succeeded at 97 (offset -13 lines). Patch #3 (cups-no-export-ssllibs.patch): + echo 'Patch #3 (cups-no-export-ssllibs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-export-ssllibs --fuzz=0 patching file config-scripts/cups-tls.m4 Hunk #1 succeeded at 150 (offset 48 lines). Patch #4 (cups-direct-usb.patch): + echo 'Patch #4 (cups-direct-usb.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .direct-usb --fuzz=0 patching file backend/usb-unix.c Hunk #1 succeeded at 89 (offset -13 lines). Hunk #2 succeeded at 314 (offset -20 lines). Patch #5 (cups-driverd-timeout.patch): + echo 'Patch #5 (cups-driverd-timeout.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .driverd-timeout --fuzz=0 patching file scheduler/ipp.c Hunk #1 succeeded at 4492 (offset -64 lines). Hunk #2 succeeded at 4512 (offset -64 lines). + echo 'Patch #6 (cups-usb-paperout.patch):' Patch #6 (cups-usb-paperout.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .usb-paperout --fuzz=0 patching file backend/usb-unix.c Hunk #1 succeeded at 17 (offset -13 lines). Hunk #2 succeeded at 319 (offset -20 lines). Hunk #3 succeeded at 397 (offset -20 lines). Patch #7 (cups-uri-compat.patch): + echo 'Patch #7 (cups-uri-compat.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .uri-compat --fuzz=0 patching file backend/usb-unix.c Hunk #1 succeeded at 50 (offset -13 lines). Hunk #2 succeeded at 117 (offset -13 lines). Patch #8 (cups-freebind.patch): + echo 'Patch #8 (cups-freebind.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .freebind --fuzz=0 patching file cups/http-addr.c Hunk #1 succeeded at 188 (offset 2 lines). Patch #9 (cups-ipp-multifile.patch): + echo 'Patch #9 (cups-ipp-multifile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipp-multifile --fuzz=0 patching file backend/ipp.c Hunk #1 succeeded at 1843 (offset 85 lines). + echo 'Patch #10 (cups-web-devices-timeout.patch):' Patch #10 (cups-web-devices-timeout.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .web-devices-timeout --fuzz=0 patching file cgi-bin/admin.c Hunk #1 succeeded at 784 (offset -235 lines). Patch #11 (cups-failover-backend.patch): + echo 'Patch #11 (cups-failover-backend.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .failover --fuzz=0 patching file backend/failover.c patching file backend/Makefile Patch #12 (cups-dymo-deviceid.patch): + echo 'Patch #12 (cups-dymo-deviceid.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .dymo-deviceid --fuzz=0 patching file ppdc/sample.drv Hunk #1 succeeded at 138 (offset 9 lines). Patch #100 (cups-lspp.patch): + echo 'Patch #100 (cups-lspp.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lspp --fuzz=0 patching file config.h.in patching file config-scripts/cups-lspp.m4 patching file configure.ac patching file filter/common.c patching file filter/pstops.c patching file scheduler/client.c Hunk #3 succeeded at 627 (offset 1 line). Hunk #4 succeeded at 1807 (offset 27 lines). Hunk #5 succeeded at 3370 (offset 27 lines). patching file scheduler/client.h patching file scheduler/conf.c Hunk #4 succeeded at 876 (offset 12 lines). Hunk #5 succeeded at 1301 (offset -10 lines). Hunk #6 succeeded at 3921 (offset -1 lines). patching file scheduler/conf.h patching file scheduler/cupsd.h patching file scheduler/ipp.c patching file scheduler/job.c patching file scheduler/job.h patching file scheduler/main.c patching file scheduler/printers.c + echo 'Patch #13 (0001-cgi-Fix-checkbox-support-fixes-1008.patch):' Patch #13 (0001-cgi-Fix-checkbox-support-fixes-1008.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cgi-checkbox --fuzz=0 patching file cgi-bin/admin.c patching file cgi-bin/var.c patching file templates/add-printer.tmpl patching file templates/admin.tmpl patching file templates/da/add-printer.tmpl patching file templates/da/admin.tmpl patching file templates/da/modify-printer.tmpl patching file templates/de/add-printer.tmpl patching file templates/de/admin.tmpl patching file templates/de/modify-printer.tmpl patching file templates/es/add-printer.tmpl patching file templates/es/admin.tmpl patching file templates/es/modify-printer.tmpl patching file templates/fr/add-printer.tmpl patching file templates/fr/admin.tmpl patching file templates/fr/modify-printer.tmpl patching file templates/ja/add-printer.tmpl patching file templates/ja/admin.tmpl patching file templates/ja/modify-printer.tmpl patching file templates/modify-printer.tmpl patching file templates/pt_BR/add-printer.tmpl patching file templates/pt_BR/admin.tmpl patching file templates/pt_BR/modify-printer.tmpl patching file templates/ru/add-printer.tmpl patching file templates/ru/admin.tmpl patching file templates/ru/modify-printer.tmpl + echo 'Patch #14 (cups-fix-device-uri-in-webui.patch):' Patch #14 (cups-fix-device-uri-in-webui.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .device-uri-webui --fuzz=0 patching file cgi-bin/admin.c patching file cgi-bin/var.c Patch #15 (0002-Fix-IPP-everywhere-printer-setup-Issue-1033.patch): + echo 'Patch #15 (0002-Fix-IPP-everywhere-printer-setup-Issue-1033.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-ippeve-thread-uri --fuzz=0 patching file scheduler/ipp.c Hunk #1 succeeded at 5805 (offset 459 lines). Hunk #2 succeeded at 5826 (offset 459 lines). Hunk #3 succeeded at 5849 (offset 459 lines). + echo 'Patch #16 (0003-dest.c-Don-t-look-for-user-config-in-cupsGetNamedDes.patch):' Patch #16 (0003-dest.c-Don-t-look-for-user-config-in-cupsGetNamedDes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .root-cupsgetnameddest --fuzz=0 patching file cups/dest.c Hunk #3 succeeded at 3473 (offset -28 lines). Patch #17 (0004-Fix-Coverity-discovered-issues.patch): + echo 'Patch #17 (0004-Fix-Coverity-discovered-issues.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sast-fix --fuzz=0 patching file scheduler/job.c Hunk #1 succeeded at 790 (offset 23 lines). + echo 'Patch #18 (Fix-CVE-2024-47175-mirror-ipp-everywhere-printer-changes-from-master.patch):' Patch #18 (Fix-CVE-2024-47175-mirror-ipp-everywhere-printer-changes-from-master.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipp-everywhere --fuzz=0 patching file cups/ppd-cache.c Hunk #1 succeeded at 3317 (offset 1 line). Hunk #2 succeeded at 3389 (offset 1 line). Hunk #3 succeeded at 3410 (offset 1 line). patching file scheduler/ipp.c Hunk #2 succeeded at 5876 (offset 459 lines). + echo 'Patch #19 (Fix-CVE-2024-47175-refactor-make-and-model-code.patch):' Patch #19 (Fix-CVE-2024-47175-refactor-make-and-model-code.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .refactor-make-model --fuzz=0 patching file cups/ppd-cache.c Hunk #1 succeeded at 3197 (offset 1 line). Hunk #2 succeeded at 3261 (offset 1 line). Patch #20 (Fix-CVE-2024-47175-ppdize-preset-and-template-names.patch): + echo 'Patch #20 (Fix-CVE-2024-47175-ppdize-preset-and-template-names.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ppdize-preset --fuzz=0 patching file cups/ppd-cache.c Hunk #1 succeeded at 4976 (offset 1 line). Hunk #2 succeeded at 4996 (offset 1 line). Hunk #3 succeeded at 5042 (offset 1 line). Hunk #4 succeeded at 5084 (offset 1 line). Hunk #5 succeeded at 5114 (offset 1 line). Hunk #6 succeeded at 5166 (offset 1 line). Hunk #7 succeeded at 5553 (offset 1 line). Hunk #8 succeeded at 5568 (offset 1 line). Patch #21 (Fix-CVE-2024-47175-quote-ppd-localized-string.patch): + echo 'Patch #21 (Fix-CVE-2024-47175-quote-ppd-localized-string.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .quote-ppd-strings --fuzz=0 patching file cups/ppd-cache.c Hunk #2 succeeded at 3395 (offset 1 line). Hunk #3 succeeded at 3439 (offset 1 line). Hunk #4 succeeded at 4045 (offset 1 line). Hunk #5 succeeded at 4080 (offset 1 line). Hunk #6 succeeded at 4543 (offset 1 line). Hunk #7 succeeded at 4664 (offset 1 line). Hunk #8 succeeded at 4678 (offset 1 line). Hunk #9 succeeded at 4741 (offset 1 line). Hunk #10 succeeded at 4755 (offset 1 line). Hunk #11 succeeded at 4826 (offset 1 line). Hunk #12 succeeded at 4840 (offset 1 line). Hunk #13 succeeded at 4911 (offset 1 line). Hunk #14 succeeded at 4918 (offset 1 line). Hunk #15 succeeded at 4960 (offset 1 line). Hunk #16 succeeded at 4974 (offset 1 line). Hunk #17 succeeded at 5143 (offset 1 line). Hunk #18 succeeded at 5416 (offset 1 line). Patch #22 (Fix-CVE-2024-47175-fix-warnings-for-unused-vars.patch): + echo 'Patch #22 (Fix-CVE-2024-47175-fix-warnings-for-unused-vars.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .unused-vars --fuzz=0 patching file cups/ppd-cache.c Hunk #1 succeeded at 3223 (offset 1 line). Hunk #2 succeeded at 5009 (offset 1 line). + echo 'Patch #23 (Fix-CVE-2024-47175-fix-make-and-model-whitespace-trimming.patch):' Patch #23 (Fix-CVE-2024-47175-fix-make-and-model-whitespace-trimming.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .trim-make-model --fuzz=0 patching file cups/ppd-cache.c Hunk #1 succeeded at 3294 (offset 1 line). Patch #24 (0005-scheduler-Clean-up-failed-IPP-Everywhere-permanent-q.patch): + echo 'Patch #24 (0005-scheduler-Clean-up-failed-IPP-Everywhere-permanent-q.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .clean-failed-eve --fuzz=0 patching file scheduler/ipp.c Hunk #1 succeeded at 5753 (offset 459 lines). Hunk #2 succeeded at 5774 (offset 459 lines). Hunk #3 succeeded at 5793 (offset 459 lines). Hunk #4 succeeded at 5882 (offset 459 lines). Hunk #5 succeeded at 5921 (offset 459 lines). Hunk #6 succeeded at 5937 (offset 459 lines). Hunk #7 succeeded at 5971 (offset 459 lines). + echo 'Patch #25 (Fix-CVE-2025-58060.patch):' Patch #25 (Fix-CVE-2025-58060.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cve-2025-58060 --fuzz=0 patching file scheduler/auth.c Patch #26 (Fix-CVE-2025-58364.patch): + echo 'Patch #26 (Fix-CVE-2025-58364.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cve-2025-58364 --fuzz=0 patching file cups/ipp.c + echo 'Patch #27 (Fix-CVE-2025-58436.patch):' Patch #27 (Fix-CVE-2025-58436.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cve-2025-58436 --fuzz=0 patching file cups/http-private.h Hunk #2 succeeded at 233 (offset -1 lines). Hunk #3 succeeded at 308 (offset -1 lines). patching file cups/http.c Hunk #2 succeeded at 1200 (offset -6 lines). Hunk #3 succeeded at 1720 (offset -6 lines). Hunk #4 succeeded at 1747 (offset -6 lines). Hunk #5 succeeded at 2007 (offset -6 lines). Hunk #6 succeeded at 2757 (offset -6 lines). Hunk #7 succeeded at 2765 (offset -6 lines). Hunk #8 succeeded at 4157 (offset -6 lines). Hunk #9 succeeded at 4167 (offset -6 lines). Hunk #10 succeeded at 4270 (offset -6 lines). Hunk #11 succeeded at 4280 (offset -6 lines). Hunk #12 succeeded at 4621 (offset -6 lines). patching file cups/tls-openssl.c patching file scheduler/client.c Hunk #1 succeeded at 42 (offset 8 lines). Hunk #2 succeeded at 421 (offset 54 lines). Hunk #3 succeeded at 680 (offset 61 lines). Hunk #4 succeeded at 883 (offset 61 lines). Hunk #5 succeeded at 1045 (offset 61 lines). Hunk #6 succeeded at 1087 (offset 61 lines). Hunk #7 succeeded at 2831 (offset 131 lines). Hunk #8 succeeded at 2914 (offset 131 lines). patching file scheduler/client.h Hunk #1 succeeded at 60 (offset 7 lines). patching file scheduler/select.c + echo 'Patch #28 (Fix-CVE-2025-61915.patch):' Patch #28 (Fix-CVE-2025-61915.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cve-2025-61915 --fuzz=0 patching file conf/cups-files.conf.in Hunk #1 succeeded at 19 (offset -3 lines). patching file config-scripts/cups-defaults.m4 Hunk #1 succeeded at 129 (offset 34 lines). patching file config.h.in patching file configure Hunk #1 succeeded at 672 (offset 2 lines). Hunk #2 succeeded at 926 (offset 6 lines). Hunk #3 succeeded at 1663 (offset 9 lines). Hunk #4 succeeded at 11722 (offset 67 lines). patching file doc/help/man-cups-files.conf.html Hunk #2 FAILED at 214. 1 out of 2 hunks FAILED -- saving rejects to file doc/help/man-cups-files.conf.html.rej patching file man/cups-files.conf.5 Hunk #1 FAILED at 1. Hunk #3 succeeded at 289 (offset -11 lines). 1 out of 3 hunks FAILED -- saving rejects to file man/cups-files.conf.5.rej patching file scheduler/auth.c patching file scheduler/auth.h patching file scheduler/client.c Hunk #1 succeeded at 2339 (offset 131 lines). patching file scheduler/conf.c /usr/bin/patch: **** unexpected end of file in patch error: Bad exit status from /var/tmp/rpm-tmp.BmwnoY (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.BmwnoY (%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/cups.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/cups.spec'