Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/cups.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-470965-74072/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1758153600 Wrote: /builddir/build/SRPMS/cups-2.4.10-2.an23_rva23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cups.spec'], chrootPath='/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-470965-74072/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=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1758153600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hWmz5d + 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). Patch #6 (cups-usb-paperout.patch): + echo '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 Patch #14 (cups-fix-device-uri-in-webui.patch): + echo '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). Patch #16 (0003-dest.c-Don-t-look-for-user-config-in-cupsGetNamedDes.patch): + echo '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). Patch #18 (Fix-CVE-2024-47175-mirror-ipp-everywhere-printer-changes-from-master.patch): + echo '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). Patch #19 (Fix-CVE-2024-47175-refactor-make-and-model-code.patch): + echo '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). Patch #25 (Fix-CVE-2025-58060.patch): + echo '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 + 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 + perl -pi -e 's,^.SILENT:,,' Makedefs.in + aclocal -I config-scripts + autoconf -f -I config-scripts + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gj2aEH + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cups-2.4.10 + export CC=gcc + CC=gcc + export CXX=g++ + CXX=g++ + export 'DSOFLAGS= -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + DSOFLAGS=' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -DLDAP_DEPRECATED=1' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -DLDAP_DEPRECATED=1' + export 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -DLDAP_DEPRECATED=1' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -DLDAP_DEPRECATED=1' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -DLDAP_DEPRECATED=1' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -DLDAP_DEPRECATED=1' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -march=rv64imafdcbv_zicsr_zicntr_zihpm_ziccif_ziccrse_ziccamoa_zicclsm_zic64b_za64rs_zihintpause_zba_zbb_zbs_zicbom_zicbop_zicboz_zfhmin_zkt_zvfhmin_zvbb_zvkt_zihintntl_zicond_zimop_zcmop_zcb_zfa_zawrs -mabi=lp64d -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-09-23 05:21:08.641785163 -0400 +++ ./configure 2025-09-23 05:21:09.181784278 -0400 @@ -2002,7 +2002,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./config.guess '/usr/lib/rpm/anolis/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./config.sub '/usr/lib/rpm/anolis/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh ++ dirname ./configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool . Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/anolis/fix-libtool-ltmain-from-overlinking ++ dirname ./configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=riscv64-Anolis-linux --host=riscv64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-docdir=/usr/share/cups/www --enable-debug --enable-gssapi --enable-lspp --enable-page-logging --enable-relro --enable-sync-on-close --enable-webif --with-access-log-level=actions --with-cupsd-file-perm=0755 --with-dbusdir=/etc/dbus-1 --with-dnssd=avahi --with-log-file-perm=0600 --with-ondemand=systemd --with-pkgconfpath=/usr/lib64/pkgconfig --with-rundir=/run/cups --with-tls=gnutls --with-xinetd=no --localedir=/usr/share/locale configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-Anolis-linux-gnu checking host system type... riscv64-Anolis-linux-gnu checking for codesign... no checking for true... /usr/bin/true checking for gawk... gawk checking for riscv64-Anolis-linux-gcc... gcc checking whether the C compiler works... no configure: error: in `/builddir/build/BUILD/cups-2.4.10': configure: error: C compiler cannot create executables See `config.log' for more details error: Bad exit status from /var/tmp/rpm-tmp.gj2aEH (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.gj2aEH (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cups.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 riscv64 --nodeps /builddir/build/SPECS/cups.spec