Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/cups.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-44618-21823/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=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g4whsdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g4whsdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1d0182c91aa643bdb20bce0627a3eb66', '-D', '/var/lib/mock/dist-an8-loongarch64-build-44618-21823/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g4whsdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/cups-2.2.6-38.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/cups.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-44618-21823/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=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g4whsdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g4whsdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '823d6d7f54974fed921759b84160d877', '-D', '/var/lib/mock/dist-an8-loongarch64-build-44618-21823/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g4whsdo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RBwuX3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cups-2.2.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/cups-2.2.6-source.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cups-2.2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (cups-no-gzip-man.patch):' Patch #1 (cups-no-gzip-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no-gzip-man --fuzz=0 patching file config-scripts/cups-manpages.m4 Patch #2 (cups-system-auth.patch): + echo 'Patch #2 (cups-system-auth.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .system-auth --fuzz=0 patching file conf/cups.password-auth patching file conf/cups.system-auth patching file conf/Makefile Hunk #1 succeeded at 88 (offset -2 lines). Patch #3 (cups-multilib.patch): + echo 'Patch #3 (cups-multilib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .multilib --fuzz=0 patching file cups-config.in Hunk #1 succeeded at 20 (offset -2 lines). Patch #5 (cups-banners.patch): + echo 'Patch #5 (cups-banners.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .banners --fuzz=0 patching file scheduler/banners.c Hunk #1 succeeded at 100 (offset -10 lines). Patch #6 (cups-serverbin-compat.patch): + echo 'Patch #6 (cups-serverbin-compat.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .serverbin-compat --fuzz=0 patching file scheduler/conf.c Hunk #1 succeeded at 576 (offset -33 lines). Hunk #2 succeeded at 1534 (offset -73 lines). patching file scheduler/conf.h patching file scheduler/env.c patching file scheduler/ipp.c Hunk #1 succeeded at 2448 (offset 29 lines). patching file scheduler/job.c Hunk #1 succeeded at 1127 (offset 1 line). Hunk #2 succeeded at 1308 (offset 1 line). patching file scheduler/printers.c Hunk #1 succeeded at 988 (offset 21 lines). Hunk #2 succeeded at 3513 (offset 22 lines). + echo 'Patch #7 (cups-no-export-ssllibs.patch):' Patch #7 (cups-no-export-ssllibs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no-export-ssllibs --fuzz=0 patching file config-scripts/cups-ssl.m4 Hunk #1 succeeded at 101 (offset -1 lines). Patch #8 (cups-direct-usb.patch): + echo 'Patch #8 (cups-direct-usb.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .direct-usb --fuzz=0 patching file backend/usb-unix.c Hunk #1 succeeded at 93 (offset -9 lines). Hunk #2 succeeded at 318 (offset -16 lines). Patch #9 (cups-lpr-help.patch): + echo 'Patch #9 (cups-lpr-help.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lpr-help --fuzz=0 patching file berkeley/lpr.c Patch #10 (cups-peercred.patch): + echo 'Patch #10 (cups-peercred.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .peercred --fuzz=0 patching file scheduler/auth.c Hunk #1 succeeded at 18 (offset -34 lines). Patch #11 (cups-pid.patch): + echo 'Patch #11 (cups-pid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pid --fuzz=0 patching file scheduler/main.c Hunk #1 succeeded at 418 (offset 107 lines). Hunk #2 succeeded at 443 (offset 107 lines). Hunk #3 succeeded at 455 (offset 107 lines). Patch #12 (cups-eggcups.patch): + echo 'Patch #12 (cups-eggcups.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .eggcups --fuzz=0 patching file backend/ipp.c patching file backend/Makefile patching file scheduler/subscriptions.c + echo 'Patch #13 (cups-driverd-timeout.patch):' Patch #13 (cups-driverd-timeout.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .driverd-timeout --fuzz=0 patching file scheduler/ipp.c Hunk #1 succeeded at 4533 (offset -23 lines). Hunk #2 succeeded at 4553 (offset -23 lines). + echo 'Patch #14 (cups-strict-ppd-line-length.patch):' Patch #14 (cups-strict-ppd-line-length.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .strict-ppd-line-length --fuzz=0 patching file cups/ppd.c Hunk #1 succeeded at 2996 (offset 124 lines). Hunk #2 succeeded at 3057 (offset 124 lines). Hunk #3 succeeded at 3116 (offset 124 lines). Patch #15 (cups-logrotate.patch): + echo 'Patch #15 (cups-logrotate.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .logrotate --fuzz=0 patching file scheduler/log.c Hunk #1 succeeded at 24 (offset -2 lines). Hunk #2 succeeded at 136 (offset -2 lines). Hunk #3 succeeded at 244 (offset -11 lines). Patch #16 (cups-usb-paperout.patch): + echo 'Patch #16 (cups-usb-paperout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .usb-paperout --fuzz=0 patching file backend/usb-unix.c Hunk #1 succeeded at 21 (offset -9 lines). Hunk #2 succeeded at 323 (offset -16 lines). Hunk #3 succeeded at 401 (offset -16 lines). Patch #17 (cups-res_init.patch): + echo 'Patch #17 (cups-res_init.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .res_init --fuzz=0 patching file cups/http-addr.c Hunk #1 succeeded at 390 (offset 71 lines). patching file cups/http-addrlist.c Hunk #1 succeeded at 650 (offset 69 lines). Patch #18 (cups-filter-debug.patch): + echo 'Patch #18 (cups-filter-debug.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .filter-debug --fuzz=0 patching file scheduler/job.c Hunk #1 succeeded at 614 (offset -11 lines). Patch #19 (cups-uri-compat.patch): + echo 'Patch #19 (cups-uri-compat.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .uri-compat --fuzz=0 patching file backend/usb-unix.c Hunk #1 succeeded at 54 (offset -9 lines). Hunk #2 succeeded at 121 (offset -9 lines). Patch #20 (cups-str3382.patch): + echo 'Patch #20 (cups-str3382.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .str3382 --fuzz=0 patching file cups/tempfile.c Hunk #1 succeeded at 25 (offset -2 lines). Hunk #2 succeeded at 47 (offset -2 lines). Hunk #3 succeeded at 97 (offset -2 lines). Patch #22 (cups-hp-deviceid-oid.patch): + echo 'Patch #22 (cups-hp-deviceid-oid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .hp-deviceid-oid --fuzz=0 patching file backend/snmp.c Hunk #1 succeeded at 159 (offset -28 lines). Hunk #2 succeeded at 978 (offset -29 lines). Patch #23 (cups-dnssd-deviceid.patch): + echo 'Patch #23 (cups-dnssd-deviceid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dnssd-deviceid --fuzz=0 patching file backend/dnssd.c Hunk #1 succeeded at 1182 (offset -6 lines). Hunk #2 succeeded at 1207 (offset -6 lines). Patch #24 (cups-ricoh-deviceid-oid.patch): + echo 'Patch #24 (cups-ricoh-deviceid-oid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ricoh-deviceid-oid --fuzz=0 patching file backend/snmp.c Hunk #1 succeeded at 160 (offset -28 lines). Hunk #2 succeeded at 977 (offset -29 lines). Patch #25 (cups-systemd-socket.patch): + echo 'Patch #25 (cups-systemd-socket.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .systemd-socket --fuzz=0 patching file scheduler/main.c patching file scheduler/org.cups.cupsd.path.in patching file scheduler/org.cups.cupsd.service.in patching file scheduler/org.cups.cupsd.socket.in patching file scheduler/org.cups.cups-lpd.socket Patch #27 (cups-avahi-address.patch): + echo 'Patch #27 (cups-avahi-address.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .avahi-address --fuzz=0 patching file cups/http-support.c Hunk #1 succeeded at 2346 (offset 6 lines). Hunk #2 succeeded at 2499 (offset 6 lines). Patch #29 (cups-dymo-deviceid.patch): + echo 'Patch #29 (cups-dymo-deviceid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dymo-deviceid --fuzz=0 patching file ppdc/sample.drv Hunk #1 succeeded at 136 (offset 11 lines). Patch #30 (cups-freebind.patch): + echo 'Patch #30 (cups-freebind.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .freebind --fuzz=0 patching file cups/http-addr.c Hunk #1 succeeded at 184 (offset -2 lines). Patch #33 (cups-use-ipp1.1.patch): + echo 'Patch #33 (cups-use-ipp1.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .use-ipp1.1 --fuzz=0 patching file cups/usersys.c Hunk #1 succeeded at 392 (offset 26 lines). Patch #34 (cups-avahi-no-threaded.patch): + echo 'Patch #34 (cups-avahi-no-threaded.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .avahi-no-threaded --fuzz=0 patching file scheduler/avahi.c patching file scheduler/avahi.h patching file scheduler/cupsd.h patching file scheduler/dirsvc.c patching file scheduler/dirsvc.h patching file scheduler/main.c patching file scheduler/Makefile patching file scheduler/timeout.c Patch #35 (cups-ipp-multifile.patch): + echo 'Patch #35 (cups-ipp-multifile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ipp-multifile --fuzz=0 patching file backend/ipp.c Hunk #1 succeeded at 1851 (offset 93 lines). Patch #36 (cups-web-devices-timeout.patch): + echo 'Patch #36 (cups-web-devices-timeout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .web-devices-timeout --fuzz=0 patching file cgi-bin/admin.c Hunk #1 succeeded at 994 (offset -25 lines). + echo 'Patch #37 (cups-synconclose.patch):' Patch #37 (cups-synconclose.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .synconclose --fuzz=0 patching file conf/cups-files.conf.in patching file doc/help/man-cups-files.conf.html Hunk #1 succeeded at 148 (offset 12 lines). patching file man/cups-files.conf.man.in Hunk #1 succeeded at 204 (offset 3 lines). patching file scheduler/conf.c Hunk #1 succeeded at 738 (offset 21 lines). Patch #38 (cups-ypbind.patch): + echo 'Patch #38 (cups-ypbind.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ypbind --fuzz=0 patching file scheduler/org.cups.cupsd.service.in + echo 'Patch #100 (cups-lspp.patch):' Patch #100 (cups-lspp.patch): + /usr/bin/patch --no-backup-if-mismatch -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 Makedefs.in patching file scheduler/client.c patching file scheduler/client.h patching file scheduler/conf.c Hunk #5 succeeded at 1306 (offset -9 lines). Hunk #6 succeeded at 3802 (offset -9 lines). patching file scheduler/conf.h patching file scheduler/cupsd.h patching file scheduler/ipp.c Hunk #5 succeeded at 1636 (offset 10 lines). Hunk #6 succeeded at 1744 (offset 10 lines). Hunk #7 succeeded at 1957 (offset 8 lines). Hunk #8 succeeded at 2010 (offset 8 lines). Hunk #9 succeeded at 2031 (offset 8 lines). Hunk #10 succeeded at 2054 (offset 8 lines). Hunk #11 succeeded at 2097 (offset 8 lines). Hunk #12 succeeded at 3925 (offset 8 lines). Hunk #13 succeeded at 4503 (offset 8 lines). Hunk #14 succeeded at 4547 (offset 8 lines). Hunk #15 succeeded at 4720 (offset 8 lines). Hunk #16 succeeded at 6926 (offset 8 lines). Hunk #17 succeeded at 7339 (offset 8 lines). Hunk #18 succeeded at 11975 (offset 8 lines). patching file scheduler/job.c patching file scheduler/job.h patching file scheduler/main.c Hunk #3 succeeded at 514 (offset -8 lines). Hunk #4 succeeded at 1244 (offset -8 lines). patching file scheduler/printers.c + echo 'Patch #39 (cups-substitute-bad-attrs.patch):' Patch #39 (cups-substitute-bad-attrs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .substitute-bad-attrs --fuzz=0 patching file scheduler/ipp.c + echo 'Patch #40 (0001-Fix-local-privilege-escalation-to-root-and-sandbox-b.patch):' Patch #40 (0001-Fix-local-privilege-escalation-to-root-and-sandbox-b.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .privilege-escalation --fuzz=0 patching file man/cups-files.conf.man.in Hunk #1 succeeded at 157 (offset 4 lines). Hunk #2 succeeded at 196 (offset 4 lines). patching file man/cupsd.conf.man.in Hunk #1 succeeded at 342 (offset -7 lines). Hunk #2 succeeded at 422 (offset -7 lines). patching file scheduler/conf.c Hunk #1 succeeded at 2965 (offset 36 lines). Hunk #2 succeeded at 2983 (offset 36 lines). Hunk #3 succeeded at 3361 (offset 18 lines). Hunk #4 succeeded at 3389 (offset 18 lines). Hunk #5 succeeded at 3402 (offset 18 lines). Hunk #6 succeeded at 3412 (offset 18 lines). Hunk #7 succeeded at 3442 (offset 18 lines). Hunk #8 succeeded at 3522 (offset 18 lines). Hunk #9 succeeded at 3608 (offset 18 lines). patching file scheduler/job.c Hunk #1 succeeded at 5039 (offset 260 lines). patching file scheduler/process.c Hunk #1 succeeded at 99 (offset 1 line). Hunk #2 succeeded at 202 (offset 1 line). Hunk #3 succeeded at 245 (offset 1 line). patching file scheduler/server.c Hunk #1 succeeded at 38 (offset 4 lines). patching file test/run-stp-tests.sh Hunk #1 succeeded at 490 (offset 1 line). Hunk #2 succeeded at 525 (offset 1 line). Patch #41 (0001-Add-support-for-MinTLS-and-MaxTLS-options-Issue-5119.patch): + echo 'Patch #41 (0001-Add-support-for-MinTLS-and-MaxTLS-options-Issue-5119.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove-weak-ciphers --fuzz=0 patching file cups/http-private.h patching file cups/tlscheck.c patching file cups/tls-darwin.c patching file cups/tls-gnutls.c patching file cups/tls-sspi.c patching file cups/usersys.c patching file man/client.conf.man.in patching file man/cupsd.conf.man.in patching file scheduler/conf.c Patch #42 (0001-Fix-memory-leaks-found-by-Coverity-Issue-5375.patch): + echo 'Patch #42 (0001-Fix-memory-leaks-found-by-Coverity-Issue-5375.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .covscan --fuzz=0 patching file backend/ipp.c Hunk #1 succeeded at 3635 (offset 23 lines). patching file cgi-bin/search.c Hunk #1 succeeded at 365 (offset 4 lines). patching file cups/http-addrlist.c Hunk #1 succeeded at 618 (offset 6 lines). patching file cups/http.c Hunk #1 succeeded at 3944 (offset 29 lines). patching file ppdc/ppdc-source.cxx Hunk #1 succeeded at 2669 (offset 4 lines). patching file scheduler/cups-driverd.cxx Hunk #1 succeeded at 157 (offset 4 lines). Hunk #2 succeeded at 167 (offset 4 lines). Hunk #3 succeeded at 208 (offset 4 lines). Hunk #4 succeeded at 432 (offset 4 lines). Hunk #5 succeeded at 449 (offset 4 lines). Hunk #6 succeeded at 479 (offset 4 lines). Hunk #7 succeeded at 521 (offset 4 lines). Hunk #8 succeeded at 551 (offset 4 lines). Hunk #9 succeeded at 782 (offset 4 lines). Hunk #10 succeeded at 814 (offset 4 lines). Hunk #11 succeeded at 1008 (offset 4 lines). Hunk #12 succeeded at 1570 (offset 4 lines). Patch #43 (0001-Printing-to-old-CUPS-servers-has-been-fixed-Issue-52.patch): + echo 'Patch #43 (0001-Printing-to-old-CUPS-servers-has-been-fixed-Issue-52.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .oldcupsservers --fuzz=0 patching file cups/cups-private.h patching file cups/dest-options.c patching file cups/dest.c patching file cups/testdest.c patching file test/ippserver.c Patch #44 (0001-Fix-default-TLS-versions.patch): + echo 'Patch #44 (0001-Fix-default-TLS-versions.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .defaulttls --fuzz=0 patching file cups/usersys.c Patch #45 (0001-Fix-stuck-multi-file-jobs-Issue-5359-Issue-5413.patch): + echo 'Patch #45 (0001-Fix-stuck-multi-file-jobs-Issue-5359-Issue-5413.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .multifile-stuck --fuzz=0 patching file backend/socket.c Hunk #1 succeeded at 402 (offset 5 lines). Hunk #2 succeeded at 413 (offset 5 lines). Hunk #3 succeeded at 450 (offset 5 lines). patching file scheduler/main.c Hunk #1 succeeded at 1539 (offset 67 lines). Patch #46 (0001-CVE-2018-4700-Linux-session-cookies-used-a-predictab.patch): + echo 'Patch #46 (0001-CVE-2018-4700-Linux-session-cookies-used-a-predictab.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .predictable-cookie --fuzz=0 patching file cgi-bin/var.c Hunk #1 succeeded at 1209 (offset 23 lines). Hunk #2 succeeded at 1219 (offset 23 lines). Patch #47 (0001-The-scheduler-could-crash-while-adding-an-IPP-Everyw.patch): + echo 'Patch #47 (0001-The-scheduler-could-crash-while-adding-an-IPP-Everyw.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ippeve-crash --fuzz=0 patching file scheduler/ipp.c Hunk #1 succeeded at 5410 (offset 537 lines). Hunk #2 succeeded at 5604 (offset 568 lines). Patch #48 (0001-Remove-web-log-buttons.patch): + echo 'Patch #48 (0001-Remove-web-log-buttons.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rm-webui-buttons --fuzz=0 patching file templates/admin.tmpl patching file templates/de/admin.tmpl patching file templates/es/admin.tmpl patching file templates/fr/admin.tmpl patching file templates/ja/admin.tmpl patching file templates/pt_BR/admin.tmpl patching file templates/ru/admin.tmpl Patch #49 (cups-fips-compliance.patch): + echo 'Patch #49 (cups-fips-compliance.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fips-compliance --fuzz=0 patching file cups/cups.h patching file cups/hash.c patching file cups/md5passwd.c patching file scheduler/auth.c + echo 'Patch #50 (cups-do-not-advertise-http-methods.patch):' Patch #50 (cups-do-not-advertise-http-methods.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .do-not-advertise-http-methods --fuzz=0 patching file scheduler/client.c Patch #51 (0001-Multiple-security-disclosure-issues.patch): + echo 'Patch #51 (0001-Multiple-security-disclosure-issues.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cve-in-scheduler --fuzz=0 patching file cups/http.c Hunk #1 succeeded at 1891 (offset 31 lines). Hunk #2 succeeded at 1903 (offset 31 lines). patching file cups/ipp.c Hunk #1 succeeded at 4628 (offset 78 lines). Hunk #2 succeeded at 4636 (offset 78 lines). patching file cups/snmp.c patching file scheduler/client.c Hunk #1 succeeded at 636 (offset 72 lines). Hunk #2 succeeded at 656 (offset 72 lines). Hunk #3 succeeded at 2330 (offset 380 lines). Patch #52 (cups-memory-consumption.patch): + echo 'Patch #52 (cups-memory-consumption.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .memory-consumption --fuzz=0 patching file cups/ppd-cache.c patching file cups/ppd-mark.c patching file cups/ppd.c patching file cups/ppd.h patching file cups/string.c patching file scheduler/ipp.c patching file scheduler/printers.c Patch #53 (cups-autostart-when-enabled.patch): + echo 'Patch #53 (cups-autostart-when-enabled.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .autostart-when-enabled --fuzz=0 patching file scheduler/org.cups.cupsd.service.in Patch #54 (cups-ppdopen-heap-overflow.patch): + echo 'Patch #54 (cups-ppdopen-heap-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ppdopen-heap-overflow --fuzz=0 (Stripping trailing CRs from patch; use --binary to disable.) patching file cups/ppd.c Hunk #1 succeeded at 1701 (offset -18 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file ppdc/ppdc-source.cxx Hunk #1 succeeded at 1746 (offset 3 lines). Patch #55 (cups-etimedout.patch): + echo 'Patch #55 (cups-etimedout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .etimedout --fuzz=0 patching file cups/http-addrlist.c Patch #56 (cups-failover-backend.patch): + echo 'Patch #56 (cups-failover-backend.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .failover --fuzz=0 patching file backend/Makefile patching file backend/failover.c Patch #57 (cups-dirtyclean.patch): + echo 'Patch #57 (cups-dirtyclean.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dirtyclean --fuzz=0 patching file scheduler/main.c Patch #58 (cups-rastertoepson-crash.patch): + echo 'Patch #58 (cups-rastertoepson-crash.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rastertoepson-crash --fuzz=0 patching file filter/rastertoepson.c + sed -i -e '1iMaxLogSize 0' conf/cupsd.conf.in + sed -i -e 's,^ErrorLog .*$,ErrorLog syslog,' conf/cups-files.conf.in + sed -i -e 's,^AccessLog .*$,AccessLog syslog,' conf/cups-files.conf.in + sed -i -e 's,^PageLog .*$,PageLog syslog,' conf/cups-files.conf.in + sed -i -e 's,\"syslog\",\"syslog\" \(syslog means systemd journal by default\),' conf/cups-files.conf.in + sed -i -e 's,^SystemGroup .*$, SystemGroup sys root wheel,' conf/cups-files.conf.in + perl -pi -e 's,^.SILENT:,,' Makedefs.in + f=CREDITS.md + mv CREDITS.md CREDITS.md~ + iconv -f MACINTOSH -t UTF-8 CREDITS.md~ + rm -f CREDITS.md~ + aclocal -I config-scripts threads.c: loadable library and perl binaries are mismatched (got handshake key 0xe300080, needed 0xe280080) error: Bad exit status from /var/tmp/rpm-tmp.RBwuX3 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RBwuX3 (%prep) Child return code was: 1 EXCEPTION: [Error()] 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 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 823d6d7f54974fed921759b84160d877 -D /var/lib/mock/dist-an8-loongarch64-build-44618-21823/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9g4whsdo:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/cups.spec