Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/hplip.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-70159-4011/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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/hplip.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/hplip-3.22.10-3.ocs23.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/hplip.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-70159-4011/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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/hplip.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PbQ7OA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hplip-3.22.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hplip-3.22.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hplip-3.22.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm prnt/hpcups/ErnieFilter.cpp prnt/hpcups/ErnieFilter.h prnt/hpijs/ernieplatform.h + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-pstotiff-is-rubbish.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-strstr-const.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-ui-optional.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-no-asm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-deviceIDs-drv.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + chmod +x /builddir/build/SOURCES/copy-deviceids.py + mv prnt/drv/hpijs.drv.in prnt/drv/hpijs.drv.in.deviceIDs-drv-hpijs + /builddir/build/SOURCES/copy-deviceids.py prnt/drv/hpcups.drv.in prnt/drv/hpijs.drv.in.deviceIDs-drv-hpijs 837 IEEE 1284 Device IDs loaded from hpcups.drv.in 832 IEEE 1284 Device IDs loaded in hpijs.drv.in.deviceIDs-drv-hpijs + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-udev-rules.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-retry-open.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-snmp-quirks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-hpijs-marker-supply.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-clear-old-state-reasons.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-hpcups-sigpipe.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-logdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-bad-low-ink-warning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f ++ grep '^diff' /builddir/build/SOURCES/hplip-deviceIDs-ppd.patch ++ cut -d ' ' -f 4 + for ppd_file in $(grep '^diff' /builddir/build/SOURCES/hplip-deviceIDs-ppd.patch | cut -d " " -f 4) + gunzip prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd.gz + echo 'Patch #3013 (hplip-deviceIDs-ppd.patch):' Patch #3013 (hplip-deviceIDs-ppd.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .deviceIDs-ppd --fuzz=0 patching file prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd Hunk #1 succeeded at 83 (offset 1 line). ++ grep '^diff' /builddir/build/SOURCES/hplip-deviceIDs-ppd.patch ++ cut -d ' ' -f 4 + for ppd_file in $(grep '^diff' /builddir/build/SOURCES/hplip-deviceIDs-ppd.patch | cut -d " " -f 4) + gzip -n prnt/ps/hp-lj_300_400_color_m351_m451-ps.ppd ++ grep '^diff' /builddir/build/SOURCES/hplip-ppd-ImageableArea.patch ++ cut -d ' ' -f 4 + for ppd_file in $(grep '^diff' /builddir/build/SOURCES/hplip-ppd-ImageableArea.patch | cut -d " " -f 4) + gunzip prnt/ps/hp-laserjet_8150_mfp-ps.ppd.gz + for ppd_file in $(grep '^diff' /builddir/build/SOURCES/hplip-ppd-ImageableArea.patch | cut -d " " -f 4) + gunzip prnt/ps/hp-laserjet_9000_mfp-ps.ppd.gz + for ppd_file in $(grep '^diff' /builddir/build/SOURCES/hplip-ppd-ImageableArea.patch | cut -d " " -f 4) + gunzip prnt/ps/hp-laserjet_9000_series-ps.ppd.gz Patch #3014 (hplip-ppd-ImageableArea.patch): + echo 'Patch #3014 (hplip-ppd-ImageableArea.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ImageableArea --fuzz=0 patching file prnt/ps/hp-laserjet_8150_mfp-ps.ppd Hunk #1 succeeded at 3431 (offset 1 line). Hunk #2 succeeded at 3463 (offset 1 line). Hunk #3 succeeded at 3479 (offset 1 line). Hunk #4 succeeded at 3495 (offset 1 line). Hunk #5 succeeded at 3511 (offset 1 line). Hunk #6 succeeded at 3527 (offset 1 line). Hunk #7 succeeded at 3543 (offset 1 line). Hunk #8 succeeded at 3559 (offset 1 line). Hunk #9 succeeded at 3591 (offset 1 line). Hunk #10 succeeded at 3607 (offset 1 line). Hunk #11 succeeded at 3623 (offset 1 line). Hunk #12 succeeded at 3639 (offset 1 line). Hunk #13 succeeded at 3655 (offset 1 line). Hunk #14 succeeded at 3671 (offset 1 line). Hunk #15 succeeded at 3687 (offset 1 line). Hunk #16 succeeded at 3703 (offset 1 line). Hunk #17 succeeded at 3719 (offset 1 line). Hunk #18 succeeded at 3735 (offset 1 line). Hunk #19 succeeded at 3751 (offset 1 line). Hunk #20 succeeded at 3767 (offset 1 line). patching file prnt/ps/hp-laserjet_9000_mfp-ps.ppd Hunk #1 succeeded at 2594 (offset 1 line). Hunk #2 succeeded at 2626 (offset 1 line). Hunk #3 succeeded at 2642 (offset 1 line). Hunk #4 succeeded at 2674 (offset 1 line). Hunk #5 succeeded at 2690 (offset 1 line). Hunk #6 succeeded at 2706 (offset 1 line). Hunk #7 succeeded at 2722 (offset 1 line). Hunk #8 succeeded at 2754 (offset 1 line). Hunk #9 succeeded at 2770 (offset 1 line). Hunk #10 succeeded at 2786 (offset 1 line). Hunk #11 succeeded at 2802 (offset 1 line). Hunk #12 succeeded at 2818 (offset 1 line). Hunk #13 succeeded at 2834 (offset 1 line). Hunk #14 succeeded at 2850 (offset 1 line). Hunk #15 succeeded at 2866 (offset 1 line). patching file prnt/ps/hp-laserjet_9000_series-ps.ppd Hunk #1 succeeded at 2661 (offset 1 line). Hunk #2 succeeded at 2693 (offset 1 line). Hunk #3 succeeded at 2709 (offset 1 line). Hunk #4 succeeded at 2741 (offset 1 line). Hunk #5 succeeded at 2757 (offset 1 line). Hunk #6 succeeded at 2773 (offset 1 line). Hunk #7 succeeded at 2789 (offset 1 line). Hunk #8 succeeded at 2821 (offset 1 line). Hunk #9 succeeded at 2837 (offset 1 line). Hunk #10 succeeded at 2853 (offset 1 line). Hunk #11 succeeded at 2869 (offset 1 line). Hunk #12 succeeded at 2885 (offset 1 line). Hunk #13 succeeded at 2901 (offset 1 line). Hunk #14 succeeded at 2917 (offset 1 line). Hunk #15 succeeded at 2933 (offset 1 line). ++ grep '^diff' /builddir/build/SOURCES/hplip-ppd-ImageableArea.patch ++ cut -d ' ' -f 4 + for ppd_file in $(grep '^diff' /builddir/build/SOURCES/hplip-ppd-ImageableArea.patch | cut -d " " -f 4) + gzip -n prnt/ps/hp-laserjet_8150_mfp-ps.ppd + for ppd_file in $(grep '^diff' /builddir/build/SOURCES/hplip-ppd-ImageableArea.patch | cut -d " " -f 4) + gzip -n prnt/ps/hp-laserjet_9000_mfp-ps.ppd + for ppd_file in $(grep '^diff' /builddir/build/SOURCES/hplip-ppd-ImageableArea.patch | cut -d " " -f 4) + gzip -n prnt/ps/hp-laserjet_9000_series-ps.ppd + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-scan-tmp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-log-stderr.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-avahi-parsing.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-dj990c-margin.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-strncpy.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-no-write-bytecode.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-silence-ioerror.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-sourceoption.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-noernie.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-appdata.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-check-cups.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-typo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-use-binary-str.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-error-print.patch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-hpfax-importerror-print.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-wifisetup.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-keyserver.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0026-Call-QMessageBox-constructors-of-PyQT5-with-the-corr.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm prnt/hpcups/libImageProcessor-x86_32.so prnt/hpcups/libImageProcessor-x86_64.so + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0027-Fixed-incomplete-removal-of-hp-toolbox-features-whic.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-missing-links.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-hplj-3052.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-hpmud-string-parse.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-m278-m281-needs-plugin.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-hpcups-crash.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-covscan.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-logging-segfault.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-systray-blockerror.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-missing-drivers.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-model-mismatch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-unicodeerror.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-fix-Wreturn-type-warning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-configure-python.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-dialog-infinite-loop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-find-driver.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-clean-ldl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-revert-plugins.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-check-userperms.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-hpsetup-noscanjets.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-hpfirmware-timeout.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-gpgdir-perms.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-plugin-udevissues.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-no-libhpmud-libm-warnings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-snprintf-format.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-plugin-script.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-pserror-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-scan-orblite-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-pcardext-disable.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hplip-sclpml-strcasestr.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i.duplex-constraints -e 's,\(UIConstraints.* \*Duplex\),//\1,' prnt/drv/hpcups.drv.in + find -name '*.py' -print0 + xargs -0 sed -i.env-python -e 's,^#!/usr/bin/env python,#!/usr/bin/python3,' + sed -i.env-python -e 's,^#!/usr/bin/env python,#!/usr/bin/python3,' prnt/filters/hpps fax/filters/pstotiff + rm locatedriver + cp -p /builddir/build/SOURCES/hp-laserjet_cp_1025nw.ppd.gz /builddir/build/SOURCES/hp-laserjet_professional_p_1102w.ppd.gz ppd/hpcups + cp -p /builddir/build/SOURCES/hp-plugin.in . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jH5e5L + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 hplip-3.22.10 + sed -i 's|^AM_INIT_AUTOMAKE|AM_INIT_AUTOMAKE([foreign])|g' configure.in + autoreconf -fiv Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/bin/autoreconf line 48. BEGIN failed--compilation aborted at /usr/bin/autoreconf line 48. error: Bad exit status from /var/tmp/rpm-tmp.jH5e5L (%build) %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) RPM build warnings: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.jH5e5L (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/hplip.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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 x86_64 --nodeps /builddir/build/SPECS/hplip.spec