D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/hplip-3.23.12-3.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QHK7bB + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + rm -rf /home/pterjan/rpmbuild/BUILD/hplip-3.23.12 + cd /home/pterjan/rpmbuild/BUILD + rm -rf hplip-3.23.12 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/hplip-3.23.12.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hplip-3.23.12 + rm -rf /home/pterjan/rpmbuild/BUILD/hplip-3.23.12-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/hplip-3.23.12-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (hplip-3.15.11-mga-automake-fix-subdir-objects.patch):' Patch #1 (hplip-3.15.11-mga-automake-fix-subdir-objects.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .automake-subdir-objects --fuzz=0 patching file Makefile.am + echo 'Patch #2 (hplip-apply-udev-rules-on-action-change.patch):' Patch #2 (hplip-apply-udev-rules-on-action-change.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .udev-rules-on-action-change --fuzz=0 patching file data/rules/56-hpmud.rules + echo 'Patch #4 (hplip-3.18.3-hp_ipp.patch):' Patch #4 (hplip-3.18.3-hp_ipp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hp_ipp --fuzz=0 patching file Makefile.am Hunk #1 succeeded at 325 (offset 7 lines). + echo 'Patch #101 (hplip-pstotiff-is-rubbish.patch):' Patch #101 (hplip-pstotiff-is-rubbish.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pstotiff-is-rubbish --fuzz=0 patching file fax/filters/pstotiff + echo 'Patch #102 (hplip-strstr-const.patch):' Patch #102 (hplip-strstr-const.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .strstr-const --fuzz=0 patching file prnt/hpijs/dj3320.cpp patching file prnt/hpijs/registry.cpp + echo 'Patch #104 (hplip-no-asm.patch):' Patch #104 (hplip-no-asm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-asm --fuzz=0 patching file ip/xfax.c patching file scan/sane/common.h + echo 'Patch #107 (hplip-udev-rules.patch):' Patch #107 (hplip-udev-rules.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .udev-rules --fuzz=0 patching file data/rules/56-hpmud.rules patching file Makefile.am Hunk #1 succeeded at 138 (offset 6 lines). patching file Makefile.in Hunk #1 succeeded at 4911 (offset 649 lines). + echo 'Patch #108 (hplip-retry-open.patch):' Patch #108 (hplip-retry-open.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .retry-open --fuzz=0 patching file prnt/backend/hp.c Hunk #1 succeeded at 819 (offset 78 lines). + echo 'Patch #109 (hplip-snmp-quirks.patch):' Patch #109 (hplip-snmp-quirks.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .snmp-quirks --fuzz=0 patching file prnt/drv/hpcups.drv.in Hunk #1 succeeded at 10446 (offset -650 lines). Hunk #2 succeeded at 10456 (offset -650 lines). + echo 'Patch #111 (hplip-hpijs-marker-supply.patch):' Patch #111 (hplip-hpijs-marker-supply.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hpijs-marker-supply --fuzz=0 patching file prnt/hpijs/hpijs.cpp + echo 'Patch #112 (hplip-clear-old-state-reasons.patch):' Patch #112 (hplip-clear-old-state-reasons.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .clear-old-state-reasons --fuzz=0 patching file prnt/hpcups/HPCupsFilter.cpp Hunk #1 succeeded at 586 (offset 76 lines). + echo 'Patch #114 (hplip-hpcups-sigpipe.patch):' Patch #114 (hplip-hpcups-sigpipe.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hpcups-sigpipe --fuzz=0 patching file prnt/hpijs/services.cpp Hunk #2 succeeded at 386 (offset 3 lines). + echo 'Patch #115 (hplip-logdir.patch):' Patch #115 (hplip-logdir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .logdir --fuzz=0 patching file prnt/hpcups/LJZjStream.cpp patching file prnt/hpcups/SystemServices.cpp patch unexpectedly ends in middle of line patch unexpectedly ends in middle of line + echo 'Patch #116 (hplip-bad-low-ink-warning.patch):' Patch #116 (hplip-bad-low-ink-warning.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bad-low-ink-warning --fuzz=0 patching file prnt/hpijs/dj9xxvip.cpp + echo 'Patch #117 (hplip-ui-optional.patch):' Patch #117 (hplip-ui-optional.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ui-optional --fuzz=0 patching file base/utils.py Hunk #2 succeeded at 735 (offset 1 line). Hunk #3 succeeded at 792 (offset 1 line). Hunk #4 succeeded at 2465 (offset 1 line). Hunk #5 succeeded at 2487 (offset 1 line). Hunk #6 succeeded at 2496 (offset 1 line). patching file plugin.py ++ grep '^diff' /home/pterjan/rpmbuild/SOURCES/hplip-ppd-ImageableArea.patch ++ cut -d ' ' -f 4 + for ppd_file in $(grep '^diff' /home/pterjan/rpmbuild/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' /home/pterjan/rpmbuild/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' /home/pterjan/rpmbuild/SOURCES/hplip-ppd-ImageableArea.patch | cut -d " " -f 4) + gunzip prnt/ps/hp-laserjet_9000_series-ps.ppd.gz + echo 'Patch #121 (hplip-ppd-ImageableArea.patch):' Patch #121 (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 -1546 lines). Hunk #2 succeeded at 3463 (offset -1546 lines). Hunk #3 succeeded at 3479 (offset -1546 lines). Hunk #4 succeeded at 3495 (offset -1546 lines). Hunk #5 succeeded at 3511 (offset -1546 lines). Hunk #6 succeeded at 3527 (offset -1546 lines). Hunk #7 succeeded at 3543 (offset -1546 lines). Hunk #8 succeeded at 3559 (offset -1546 lines). Hunk #9 succeeded at 3591 (offset -1546 lines). Hunk #10 succeeded at 3607 (offset -1546 lines). Hunk #11 succeeded at 3623 (offset -1546 lines). Hunk #12 succeeded at 3639 (offset -1546 lines). Hunk #13 succeeded at 3655 (offset -1546 lines). Hunk #14 succeeded at 3671 (offset -1546 lines). Hunk #15 succeeded at 3687 (offset -1546 lines). Hunk #16 succeeded at 3703 (offset -1546 lines). Hunk #17 succeeded at 3719 (offset -1546 lines). Hunk #18 succeeded at 3735 (offset -1546 lines). Hunk #19 succeeded at 3751 (offset -1546 lines). Hunk #20 succeeded at 3767 (offset -1546 lines). patching file prnt/ps/hp-laserjet_9000_mfp-ps.ppd Hunk #1 succeeded at 2594 (offset -1750 lines). Hunk #2 succeeded at 2626 (offset -1750 lines). Hunk #3 succeeded at 2642 (offset -1750 lines). Hunk #4 succeeded at 2674 (offset -1750 lines). Hunk #5 succeeded at 2690 (offset -1750 lines). Hunk #6 succeeded at 2706 (offset -1750 lines). Hunk #7 succeeded at 2722 (offset -1750 lines). Hunk #8 succeeded at 2754 (offset -1750 lines). Hunk #9 succeeded at 2770 (offset -1750 lines). Hunk #10 succeeded at 2786 (offset -1750 lines). Hunk #11 succeeded at 2802 (offset -1750 lines). Hunk #12 succeeded at 2818 (offset -1750 lines). Hunk #13 succeeded at 2834 (offset -1750 lines). Hunk #14 succeeded at 2850 (offset -1750 lines). Hunk #15 succeeded at 2866 (offset -1750 lines). patching file prnt/ps/hp-laserjet_9000_series-ps.ppd Hunk #1 succeeded at 2661 (offset -2479 lines). Hunk #2 succeeded at 2693 (offset -2479 lines). Hunk #3 succeeded at 2709 (offset -2479 lines). Hunk #4 succeeded at 2741 (offset -2479 lines). Hunk #5 succeeded at 2757 (offset -2479 lines). Hunk #6 succeeded at 2773 (offset -2479 lines). Hunk #7 succeeded at 2789 (offset -2479 lines). Hunk #8 succeeded at 2821 (offset -2479 lines). Hunk #9 succeeded at 2837 (offset -2479 lines). Hunk #10 succeeded at 2853 (offset -2479 lines). Hunk #11 succeeded at 2869 (offset -2479 lines). Hunk #12 succeeded at 2885 (offset -2479 lines). Hunk #13 succeeded at 2901 (offset -2479 lines). Hunk #14 succeeded at 2917 (offset -2479 lines). Hunk #15 succeeded at 2933 (offset -2479 lines). ++ cut -d ' ' -f 4 ++ grep '^diff' /home/pterjan/rpmbuild/SOURCES/hplip-ppd-ImageableArea.patch + for ppd_file in $(grep '^diff' /home/pterjan/rpmbuild/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' /home/pterjan/rpmbuild/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' /home/pterjan/rpmbuild/SOURCES/hplip-ppd-ImageableArea.patch | cut -d " " -f 4) + gzip -n prnt/ps/hp-laserjet_9000_series-ps.ppd + sed -i /chgrp/d Makefile.am + sed -i.duplex-constraints -e 's,\(UIConstraints.* \*Duplex\),//\1,' prnt/drv/hpcups.drv.in + echo 'Patch #122 (hplip-fix-Wreturn-type-warning.patch):' Patch #122 (hplip-fix-Wreturn-type-warning.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .Wreturn-fix --fuzz=0 patching file scan/sane/hpaio.c Hunk #1 succeeded at 414 (offset 2 lines). Hunk #2 succeeded at 561 (offset 2 lines). + echo 'Patch #123 (hplip-configure-python.patch):' Patch #123 (hplip-configure-python.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .configure-python --fuzz=0 patching file configure.in Hunk #1 succeeded at 628 (offset 24 lines). Hunk #2 succeeded at 675 (offset 33 lines). + echo 'Patch #126 (hplip-hpsetup-noscanjets.patch):' Patch #126 (hplip-hpsetup-noscanjets.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hpsetup-noscanjets --fuzz=0 patching file setup.py patching file ui5/setupdialog.py Hunk #1 succeeded at 1392 (offset 1 line). + echo 'Patch #127 (hplip-no-readfp.patch):' Patch #127 (hplip-no-readfp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file base/g.py patching file ui5/devmgr5.py Hunk #1 succeeded at 1074 (offset 2 lines). + echo 'Patch #128 (hplip-use-raw-strings.patch):' Patch #128 (hplip-use-raw-strings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file base/LedmWifi.py patching file base/device.py patching file base/g.py patching file base/logger.py Hunk #1 succeeded at 435 (offset -2 lines). patching file base/models.py patching file base/password.py patching file base/queues.py patching file base/status.py patching file base/tui.py patching file base/utils.py Hunk #2 succeeded at 1590 (offset -7 lines). Hunk #3 succeeded at 1598 (offset -7 lines). Hunk #4 succeeded at 1832 (offset -7 lines). Hunk #5 succeeded at 1931 (offset -7 lines). Hunk #6 succeeded at 1984 (offset -7 lines). patching file check.py patching file fax/soapfax.py patching file installer/dcheck.py patching file makeuri.py patching file prnt/cups.py patching file probe.py patching file scan.py Hunk #1 succeeded at 252 (offset 3 lines). Hunk #2 succeeded at 271 (offset 3 lines). patching file setup.py + echo 'Patch #201 (01_rss.dpatch):' Patch #201 (01_rss.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .01_rss --fuzz=0 patching file prnt/hpijs/breaks_open.cpp patching file prnt/hpijs/dj660_maps.cpp patching file prnt/hpijs/dj690_maps.cpp patching file prnt/hpijs/dj895_maps.cpp patching file prnt/hpijs/dj895_maps2.cpp patching file prnt/hpijs/dj970_maps.cpp patching file prnt/hpijs/dj970_maps3.cpp + echo 'Patch #203 (14_charsign_fixes.dpatch):' Patch #203 (14_charsign_fixes.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .14_charsign --fuzz=0 patching file scan/sane/scl.c + echo 'Patch #204 (hplip-3.15.11-mga-85_rebuild_python_ui.dpatch):' Patch #204 (hplip-3.15.11-mga-85_rebuild_python_ui.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .85_rebuild_python_ui --fuzz=0 patching file Makefile.am + echo 'Patch #205 (0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch):' Patch #205 (0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .0025_ImageProcessor --fuzz=0 patching file Makefile.am Hunk #1 succeeded at 173 (offset 6 lines). Hunk #2 succeeded at 603 (offset 6 lines). Hunk #3 succeeded at 701 (offset 14 lines). + echo 'Patch #206 (0026-Call-QMessageBox-constructors-of-PyQT5-with-the-corr.patch):' Patch #206 (0026-Call-QMessageBox-constructors-of-PyQT5-with-the-corr.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .qmsgbox-typos-fix --fuzz=0 patching file ui5/devmgr5.py patching file ui5/fabwindow.py patching file ui5/nodevicesdialog.py patching file ui5/plugindialog.py patching file ui5/queuesconf.py patching file ui5/setupdialog.py patching file ui/devmgr4.py patching file ui/faxaddrbookform.py patching file ui/faxsendjobform.py patching file ui/firmwaredialog.py patching file ui/makecopiesform.py patching file ui/nodevicesform.py patching file ui/pluginform2.py patching file ui/printerform.py patching file ui/settingsdialog.py patching file ui/setupform.py patching file ui/unloadform.py patching file ui/upgradeform.py + echo 'Patch #207 (hplip-pjl-duplex-binding.patch):' Patch #207 (hplip-pjl-duplex-binding.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hplip-pjl-duplex-binding --fuzz=0 patching file prnt/hpijs/ljcolor.cpp patching file prnt/hpijs/ljjetready.cpp patching file prnt/hpijs/ljmono.cpp + echo 'Patch #219 (try_libhpmud.so.0.dpatch):' Patch #219 (try_libhpmud.so.0.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .try_libhpmud.so.0 --fuzz=0 patching file scan/sane/marvell.c patching file scan/sane/soap.c patching file scan/sane/soapht.c + echo 'Patch #220 (add-lidil-two-cartridge-modes.dpatch):' Patch #220 (add-lidil-two-cartridge-modes.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .add-lidil-two-cartridge-modes --fuzz=0 patching file prnt/drv/hpijs.drv.in Hunk #1 succeeded at 4266 (offset -90 lines). Hunk #2 succeeded at 4732 (offset -92 lines). Hunk #3 succeeded at 5191 (offset -101 lines). patching file prnt/drv/hpijs.drv.in.template + echo 'Patch #222 (hp-plugin-download-fix.dpatch):' Patch #222 (hp-plugin-download-fix.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .plugin-download --fuzz=0 patching file base/pkit.py + echo 'Patch #223 (install-check-plugin.diff):' Patch #223 (install-check-plugin.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .install-check-plugin --fuzz=0 patching file Makefile.am Hunk #1 succeeded at 187 (offset 9 lines). + echo 'Patch #224 (pcardext-python3-workaround-upstream.dpatch):' Patch #224 (pcardext-python3-workaround-upstream.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pcardext-python3-workaround --fuzz=0 patching file pcard/pcardext/pcardext.c Hunk #2 succeeded at 41 (offset 3 lines). Hunk #3 succeeded at 87 (offset 3 lines). Hunk #4 succeeded at 240 (offset 3 lines). Hunk #5 succeeded at 270 (offset 3 lines). patching file unload.py + echo 'Patch #225 (hpfax-bug-function-used-before-importing-log.dpatch):' Patch #225 (hpfax-bug-function-used-before-importing-log.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hpfax-bug-function-used-before-importing-log --fuzz=0 patching file fax/backend/hpfax.py + echo 'Patch #226 (hp-systray-make-menu-title-visible-in-sni-qt-indicator.dpatch):' Patch #226 (hp-systray-make-menu-title-visible-in-sni-qt-indicator.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hp-systray-make-menu-title-visible-in-sni-qt-indicator --fuzz=0 patching file ui5/systemtray.py + echo 'Patch #227 (hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.dpatch):' Patch #227 (hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hp-systray-make-menu-appear-in-sni-qt-indicator-with-kde --fuzz=0 patching file ui5/systemtray.py + echo 'Patch #228 (hpaio-option-duplex.diff):' Patch #228 (hpaio-option-duplex.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hpaio-option-duplex --fuzz=0 patching file scan/sane/sclpml.c + echo 'Patch #229 (ui-patch-upstream-like.dpatch):' Patch #229 (ui-patch-upstream-like.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ui-patch-upstream-like --fuzz=0 patching file ui5/devmgr5_base.ui patching file ui5/wifisetupdialog_base.ui + echo 'Patch #300 (add-mga-support.patch):' Patch #300 (add-mga-support.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .add-mga-support --fuzz=0 patching file base/password.py patching file installer/distros.dat Hunk #2 succeeded at 12769 (offset 27 lines). + echo 'Patch #301 (hplip-mga21945-disable-hp-upgrade-log-msg.patch):' Patch #301 (hplip-mga21945-disable-hp-upgrade-log-msg.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove-hp-upgrade-calls --fuzz=0 patching file ui/systemtray.py patching file ui4/systemtray.py patching file ui5/systemtray.py + echo 'Patch #302 (hplip-3.17.10-mga-set-qt5-in-HelpAboutDialog.patch):' Patch #302 (hplip-3.17.10-mga-set-qt5-in-HelpAboutDialog.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .set_qt5 --fuzz=0 patching file ui5/devmgr5.py Hunk #1 succeeded at 2244 (offset 11 lines). + echo 'Patch #303 (hplip-3.18.7-mga-fix-hp-systray-desktop-file.patch):' Patch #303 (hplip-3.18.7-mga-fix-hp-systray-desktop-file.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .systray --fuzz=0 patching file hplip-systray.desktop.in + echo 'Patch #304 (hplip-3.18.12-mga-fix-hp-uiscan-desktop-file.patch):' Patch #304 (hplip-3.18.12-mga-fix-hp-uiscan-desktop-file.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .uiscan --fuzz=0 patching file hp-uiscan.desktop.in + echo 'Patch #306 (hplip-dont-install-out-of-buildroot.patch):' Patch #306 (hplip-dont-install-out-of-buildroot.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .buildroot --fuzz=0 patching file Makefile.am + chmod -R u+w . + find -name '*.py' -print0 + xargs -0 sed -i -e 's,^#!/usr/bin/env python[2-3]\?,#!/usr/bin/python3,' -e 's,^#!/usr/bin/python[2-3]\?,#!/usr/bin/python3,' + sed -i -e 's,^#!/usr/bin/env python[2-3]\?,#!/usr/bin/python3,' prnt/filters/hpps fax/filters/pstotiff + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.phAH9v + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd hplip-3.23.12 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + touch NEWS README AUTHORS ChangeLog + autoreconf -ifv autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: /usr/bin/autoconf --force configure.in:38: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.in:38: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.in:38: the top level configure.in:384: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:384: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:384: the top level configure.in:387: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:387: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:387: the top level configure.in:390: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:390: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:390: the top level configure.in:393: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:393: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:393: the top level configure.in:396: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:396: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:396: the top level configure.in:399: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:399: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:399: the top level configure.in:403: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:403: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:403: the top level configure.in:411: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:411: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:411: the top level configure.in:414: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:414: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:414: the top level configure.in:417: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:417: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:417: the top level configure.in:433: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:433: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.in:433: the top level configure.in:649: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:649: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... configure.in:649: the top level configure.in:664: warning: AC_CHECK_HEADERS(python${PYTHON_VERSION}/Python.h): you should use literals ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.in:664: the top level configure.in:664: warning: AC_CHECK_HEADERS(python${PYTHON_VERSION}mu/Python.h): you should use literals ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.in:664: the top level configure.in:664: warning: AC_CHECK_HEADERS(python${PYTHON_VERSION}m/Python.h): you should use literals ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.in:664: the top level configure.in:671: warning: AC_CHECK_HEADERS(python${PYTHONVERSION}/Python.h): you should use literals ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.in:671: the top level configure.in:671: warning: AC_CHECK_HEADERS(python${PYTHONVERSION}mu/Python.h): you should use literals ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.in:671: the top level configure.in:671: warning: AC_CHECK_HEADERS(python${PYTHONVERSION}m/Python.h): you should use literals ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.in:671: the top level configure.in:802: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS autoreconf: configure.in: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:36: installing './compile' configure.in:31: installing './missing' Makefile.am:8: warning: '%'-style pattern rules are a GNU make extension Makefile.am:22: warning: shell uname -m: non-POSIX variable name Makefile.am:22: (probably a GNU make extension) Makefile.am:23: warning: shell export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/prnt/hpcups/: non-POSIX variable name Makefile.am:23: (probably a GNU make extension) Makefile.am:24: warning: shell export LIBRARY_PATH=$LIBRARY_PATH:$PWD/prnt/hpcups/: non-POSIX variable name Makefile.am:24: (probably a GNU make extension) Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Makefile.am: installing './INSTALL' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' Makefile.am: installing './depcomp' Makefile.am:13: warning: 'CFLAGS' is a user variable, you should not override it; Makefile.am:13: use 'AM_CFLAGS' instead Makefile.am:14: warning: 'CXXFLAGS' is a user variable, you should not override it; Makefile.am:14: use 'AM_CXXFLAGS' instead autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' ++ echo -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ++ /usr/bin/sed -e s/-Werror=format-security// + CFLAGS='-O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CFLAGS='-O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/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/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --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 --disable-foomatic-rip-hplip-install --disable-imageProcessor-build --enable-scan-build --enable-gui-build --enable-fax-build --enable-pp-build --enable-qt5 --disable-qt4 --enable-hpcups-install --enable-cups-ppd-install --enable-hpijs-install --enable-policykit --with-mimedir=/usr/share/cups/mime PYTHON=/usr/bin/python3 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for pthread_create in -lpthread... yes checking for pow in -lm... yes checking for jpeg_set_defaults in -ljpeg... yes checking for dlopen in -ldl... yes checking for pthread.h... yes checking for jpeglib.h... yes checking whether byte ordering is bigendian... no checking for uint32_t... yes checking "for platform-dependencies"... "using Default platform.h" checking for documentation build... yes checking for hpijs only build... no checking for lite build... no checking for hpcups only build... no checking for hpijs install... yes configure: WARNING: HPIJS is deprecated. Feature can be used as is. Fixes or updates will not be provided checking for hpcups install... yes checking for new hpcups install... no checking for hpps install... yes checking for network build... yes checking for parallel port build... yes configure: WARNING: Parallel Port support deprecated. Feature can be used as is. Fixes or updates will not be provided checking for class driver... no egrep: warning: egrep is obsolescent; using grep -E ppdc: Warning - overlapping filename "ppd/hpcups/hp-officejet_pro_8020_series.ppd". ppdc: Warning - overlapping filename "ppd/hpcups/hp-officejet_pro_9010_series.ppd". ppdc: Warning - overlapping filename "ppd/hpijs/hp-color_laserjet_3500-hpijs.ppd". ppdc: Warning - overlapping filename "ppd/hpijs/hp-color_laserjet_3500n-hpijs.ppd". ppdc: Warning - overlapping filename "ppd/hpijs/hp-color_laserjet_3550-hpijs.ppd". ppdc: Warning - overlapping filename "ppd/hpijs/hp-color_laserjet_3550n-hpijs.ppd". ppdc: Warning - overlapping filename "ppd/hpijs/hp-color_laserjet_3600-hpijs.ppd". ./configure: line 18219: test: syntax error: `-O2' unexpected checking for scanner build... yes checking for gui build... yes checking for fax build... yes checking for apparmor profile... no checking for dbus build... yes checking for cups 1.1.x build... no checking for HPCUPS ImageProcessor build... configure: ImageProcessor build disabled no checking for udev sysfs enable rules... no checking for shadow build... no checking for libusb-0.1 build... no checking for foomatic ppd install... no checking for foomatic drv install... no checking for cups drv install... yes checking for cups ppd install... yes checking for foomatic-rip-hplip install... no checking for qt5... yes checking for qt4... no checking for qt3... no checking for policykit... yes checking for host machine platform... x86_64 checking for CRYPTO_free in -lcrypto... yes checking for snmp_timeout in -lnetsnmp... yes checking for net-snmp/net-snmp-config.h... yes checking for avahi_client_new in -lavahi-client... yes checking for avahi_strerror in -lavahi-common... yes checking for avahi-client/client.h... yes checking for avahi-common/malloc.h... yes checking for linux/ppdev.h... yes checking for cupsDoFileRequest in -lcups... yes checking for cups/cups.h... yes checking for libusb_init in -lusb-1.0... yes checking for libusb-1.0/libusb.h... yes checking for python3-config... /usr/bin/python3-config yes checking for python... /usr/bin/python3 checking whether /usr/bin/python3 version is >= 2.2... yes checking for /usr/bin/python3 version... 3.12 checking for /usr/bin/python3 platform... linux checking for GNU default /usr/bin/python3 prefix... ${prefix} checking for GNU default /usr/bin/python3 exec_prefix... ${exec_prefix} checking for /usr/bin/python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.12/site-packages checking for /usr/bin/python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.12/site-packages checking for path to Python.h... "using /usr/include/python3.12 .... python3.12/Python.h" checking for python3.12/Python.h... yes checking for sane_open in -lsane... yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for DBUS... yes checking for dbus_connection_open in -ldbus-1... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating hplip.conf config.status: creating hplip.desktop config.status: creating hp-uiscan.desktop config.status: creating hplip-systray.desktop config.status: creating prnt/drv/hpijs.drv config.status: creating prnt/drv/hpcups.drv config.status: creating hplip.list config.status: creating data/policykit/com.hp.hplip.service config.status: executing depfiles commands config.status: executing libtool commands + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + /usr/bin/make -O -j8 V=1 VERBOSE=1 cd . && /bin/sh /home/pterjan/rpmbuild/BUILD/hplip-3.23.12/missing automake-1.16 --gnu Makefile automake-1.16: warning: autoconf input should be named 'configure.ac', not 'configure.in' Makefile.am:8: warning: '%'-style pattern rules are a GNU make extension Makefile.am:22: warning: shell uname -m: non-POSIX variable name Makefile.am:22: (probably a GNU make extension) Makefile.am:23: warning: shell export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/prnt/hpcups/: non-POSIX variable name Makefile.am:23: (probably a GNU make extension) Makefile.am:24: warning: shell export LIBRARY_PATH=$LIBRARY_PATH:$PWD/prnt/hpcups/: non-POSIX variable name Makefile.am:24: (probably a GNU make extension) Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake-1.16: warning: autoconf input should be named 'configure.ac', not 'configure.in' Makefile.am:13: warning: 'CFLAGS' is a user variable, you should not override it; Makefile.am:13: use 'AM_CFLAGS' instead Makefile.am:14: warning: 'CXXFLAGS' is a user variable, you should not override it; Makefile.am:14: use 'AM_CXXFLAGS' instead cd . && /bin/sh ./config.status Makefile depfiles config.status: creating Makefile config.status: executing depfiles commands gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.12\" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/python3.12 -I/usr/include/python3.12 -DCONFDIR=\"/etc/hp\" -c -o common/utils.o common/utils.c common/utils.c: In function 'IsChromeOs': common/utils.c:27:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fread(buf,file_size,1,fptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:218:61: warning: '/filter/' directive output may be truncated writing 8 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 218 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/filter/%s", szHome, szPluginName); | ^~~~~~~~ In file included from /usr/include/stdio.h:980, from common/utils.h:4, from common/utils.c:1: In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:218:11: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 264) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:216:61: warning: '/prnt/plugins/' directive output may be truncated writing 14 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 216 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/prnt/plugins/%s", szHome, szPluginName); | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:216:11: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 270) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:223:59: warning: '/fax/plugins/' directive output may be truncated writing 13 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 223 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/fax/plugins/%s", szHome, szPluginName); | ^~~~~~~~~~~~~ In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:223:9: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 14 or more bytes (assuming 269) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:221:59: warning: '/scan/plugins/' directive output may be truncated writing 14 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 221 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/scan/plugins/%s", szHome, szPluginName); | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:221:9: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 270) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.12\" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -DMUDNAME=\"hpmud\" -DCONFDIR=\"/etc/hp\" -Iprotocol -I/usr/include/libusb-1.0 -Iprotocol/discovery -O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/python3.12 -I/usr/include/python3.12 -DCONFDIR=\"/etc/hp\" -c -o common/libhpmud_la-utils.lo `test -f 'common/utils.c' || echo './'`common/utils.c libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.23.12\"" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -DMUDNAME=\"hpmud\" -DCONFDIR=\"/etc/hp\" -Iprotocol -I/usr/include/libusb-1.0 -Iprotocol/discovery -O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/python3.12 -I/usr/include/python3.12 -DCONFDIR=\"/etc/hp\" -c common/utils.c -fPIC -DPIC -o common/.libs/libhpmud_la-utils.o common/utils.c: In function 'IsChromeOs': common/utils.c:27:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fread(buf,file_size,1,fptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:218:61: warning: '/filter/' directive output may be truncated writing 8 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 218 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/filter/%s", szHome, szPluginName); | ^~~~~~~~ In file included from /usr/include/stdio.h:980, from common/utils.h:4, from common/utils.c:1: In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:218:11: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 264) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:216:61: warning: '/prnt/plugins/' directive output may be truncated writing 14 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 216 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/prnt/plugins/%s", szHome, szPluginName); | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:216:11: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 270) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:223:59: warning: '/fax/plugins/' directive output may be truncated writing 13 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 223 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/fax/plugins/%s", szHome, szPluginName); | ^~~~~~~~~~~~~ In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:223:9: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 14 or more bytes (assuming 269) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:221:59: warning: '/scan/plugins/' directive output may be truncated writing 14 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 221 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/scan/plugins/%s", szHome, szPluginName); | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:221:9: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 270) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.12\" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Iprotocol -Iprotocol/discovery -O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/python3.12 -I/usr/include/python3.12 -DCONFDIR=\"/etc/hp\" -c -o common/libsane_hpaio_la-utils.lo `test -f 'common/utils.c' || echo './'`common/utils.c libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.23.12\"" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Iprotocol -Iprotocol/discovery -O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/python3.12 -I/usr/include/python3.12 -DCONFDIR=\"/etc/hp\" -c common/utils.c -fPIC -DPIC -o common/.libs/libsane_hpaio_la-utils.o common/utils.c: In function 'IsChromeOs': common/utils.c:27:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fread(buf,file_size,1,fptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:218:61: warning: '/filter/' directive output may be truncated writing 8 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 218 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/filter/%s", szHome, szPluginName); | ^~~~~~~~ In file included from /usr/include/stdio.h:980, from common/utils.h:4, from common/utils.c:1: In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:218:11: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 264) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:216:61: warning: '/prnt/plugins/' directive output may be truncated writing 14 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 216 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/prnt/plugins/%s", szHome, szPluginName); | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:216:11: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 270) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:223:59: warning: '/fax/plugins/' directive output may be truncated writing 13 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 223 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/fax/plugins/%s", szHome, szPluginName); | ^~~~~~~~~~~~~ In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:223:9: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 14 or more bytes (assuming 269) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ common/utils.c: In function 'load_plugin_library': common/utils.c:221:59: warning: '/scan/plugins/' directive output may be truncated writing 14 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 221 | snprintf(szLibraryFile, sizeof(szLibraryFile), "%s/scan/plugins/%s", szHome, szPluginName); | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'load_plugin_library' at common/utils.c:221:9: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 270) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.12\" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx -DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630 -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX -DAPDK_APOLLO2560 -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100 -DAPDK_AUTODUPLEX -DAPDK_HIGH_RES_MODES -DAPDK_LJMONO -DAPDK_DJ540 -DAPDK_DJ850 -DAPDK_DJ890 -DAPDK_DJ3320 -DAPDK_LJCOLOR -DAPDK_DJGENERICVIP -DAPDK_LJJETREADY -DAPDK_LJFASTRASTER -DAPDK_BUFFER_SEND -DAPDK_LDL_COMPRESS -DAPDK_EXTENDED_MEDIASIZE -DAPDK_MLC_PRINTER -DAPDK_DJ3600 -DAPDK_LJZJS_MONO -DAPDK_LJZJS_COLOR -DAPDK_LJM1005 -DAPDK_QUICKCONNECT -DAPDK_LITTLE_ENDIAN -DAPDK_AUTO_INCLUDE -DAPDK_LINUX -DNDEBUG -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCONFDIR=\"/etc/hp\" -c -o prnt/hpijs/hppgsz-PrinterProperties.o `test -f 'prnt/hpijs/PrinterProperties.cpp' || echo './'`prnt/hpijs/PrinterProperties.cpp /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.12\" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Iprotocol -Iprotocol/discovery -O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/python3.12 -I/usr/include/python3.12 -DCONFDIR=\"/etc/hp\" -c -o scan/sane/libsane_hpaio_la-orblite.lo `test -f 'scan/sane/orblite.c' || echo './'`scan/sane/orblite.c libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.23.12\"" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Iprotocol -Iprotocol/discovery -O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/python3.12 -I/usr/include/python3.12 -DCONFDIR=\"/etc/hp\" -c scan/sane/orblite.c -fPIC -DPIC -o scan/sane/.libs/libsane_hpaio_la-orblite.o scan/sane/orblite.c:66:40: error: initialization of 'const SANE_Char * const*' {aka 'const char * const*'} from incompatible pointer type 'SANE_Char **' {aka 'char **'} [-Wincompatible-pointer-types] 66 | SANE_CONSTRAINT_RANGE, (SANE_Char**)&SANE_rangeLeft // constraint_type, constraint | ^ scan/sane/orblite.c:66:40: note: (near initialization for 'DefaultOrbOptions[1].constraint.string_list') scan/sane/orblite.c:73:40: error: initialization of 'const SANE_Char * const*' {aka 'const char * const*'} from incompatible pointer type 'SANE_Char **' {aka 'char **'} [-Wincompatible-pointer-types] 73 | SANE_CONSTRAINT_RANGE, (SANE_Char**)&SANE_rangeTop // constraint_type, constraint | ^ scan/sane/orblite.c:73:40: note: (near initialization for 'DefaultOrbOptions[2].constraint.string_list') scan/sane/orblite.c:80:40: error: initialization of 'const SANE_Char * const*' {aka 'const char * const*'} from incompatible pointer type 'SANE_Char **' {aka 'char **'} [-Wincompatible-pointer-types] 80 | SANE_CONSTRAINT_RANGE, (SANE_Char**)&SANE_rangeRight // constraint_type, constraint | ^ scan/sane/orblite.c:80:40: note: (near initialization for 'DefaultOrbOptions[3].constraint.string_list') scan/sane/orblite.c:87:40: error: initialization of 'const SANE_Char * const*' {aka 'const char * const*'} from incompatible pointer type 'SANE_Char **' {aka 'char **'} [-Wincompatible-pointer-types] 87 | SANE_CONSTRAINT_RANGE, (SANE_Char**)&SANE_rangeBottom // constraint_type, constraint | ^ scan/sane/orblite.c:87:40: note: (near initialization for 'DefaultOrbOptions[4].constraint.string_list') scan/sane/orblite.c:95:44: error: initialization of 'const SANE_Char * const*' {aka 'const char * const*'} from incompatible pointer type 'SANE_Char **' {aka 'char **'} [-Wincompatible-pointer-types] 95 | SANE_CONSTRAINT_WORD_LIST, (SANE_Char**)SANE_resolutions // constraint type, constraint | ^ scan/sane/orblite.c:95:44: note: (near initialization for 'DefaultOrbOptions[5].constraint.string_list') scan/sane/orblite.c:103:46: error: initialization of 'const SANE_Char * const*' {aka 'const char * const*'} from incompatible pointer type 'SANE_Char **' {aka 'char **'} [-Wincompatible-pointer-types] 103 | SANE_CONSTRAINT_STRING_LIST, (SANE_Char**)SANE_modes // constraint type, constraint | ^ scan/sane/orblite.c:103:46: note: (near initialization for 'DefaultOrbOptions[6].constraint.string_list') scan/sane/orblite.c:111:46: error: initialization of 'const SANE_Char * const*' {aka 'const char * const*'} from incompatible pointer type 'SANE_Char **' {aka 'char **'} [-Wincompatible-pointer-types] 111 | SANE_CONSTRAINT_STRING_LIST, (SANE_Char**)SANE_sources // constraint type, constraint | ^ scan/sane/orblite.c:111:46: note: (near initialization for 'DefaultOrbOptions[7].constraint.string_list') scan/sane/orblite.c:119:46: error: initialization of 'const SANE_Char * const*' {aka 'const char * const*'} from incompatible pointer type 'SANE_Char **' {aka 'char **'} [-Wincompatible-pointer-types] 119 | SANE_CONSTRAINT_STRING_LIST, (SANE_Char**)SANE_paper_sizes // constraint type, constraint | ^ scan/sane/orblite.c:119:46: note: (near initialization for 'DefaultOrbOptions[8].constraint.string_list') scan/sane/orblite.c:127:44: error: initialization of 'const SANE_Char * const*' {aka 'const char * const*'} from incompatible pointer type 'SANE_Char **' {aka 'char **'} [-Wincompatible-pointer-types] 127 | SANE_CONSTRAINT_WORD_LIST, (SANE_Char**)SANE_resolutions // constraint type, constraint | ^ scan/sane/orblite.c:127:44: note: (near initialization for 'DefaultOrbOptions[9].constraint.string_list') scan/sane/orblite.c: In function 'bb_unload': scan/sane/orblite.c:198:4: error: implicit declaration of function '_DBG'; did you mean 'DBG'? [-Wimplicit-function-declaration] 198 | _DBG("Calling orblite bb_unload: \n"); | ^~~~ | DBG scan/sane/orblite.c:201:7: error: implicit declaration of function 'dlclose'; did you mean 'pclose'? [-Wimplicit-function-declaration] 201 | dlclose(ps->bb_handle); | ^~~~~~~ | pclose scan/sane/orblite.c: In function 'orblite_open': scan/sane/orblite.c:307:54: error: passing argument 2 of 'g_handle->bb_orblite_open' from incompatible pointer type [-Wincompatible-pointer-types] 307 | stat = g_handle->bb_orblite_open(devicename, &g_handle); | ^~~~~~~~~ | | | struct t_SANE ** scan/sane/orblite.c:307:54: note: expected 'void **' but argument is of type 'struct t_SANE **' make: *** [Makefile:7674: scan/sane/libsane_hpaio_la-orblite.lo] Error 1 make: *** Waiting for unfinished jobs.... /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.12\" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Iprotocol -Iprotocol/discovery -O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/python3.12 -I/usr/include/python3.12 -DCONFDIR=\"/etc/hp\" -c -o scan/sane/libsane_hpaio_la-escl.lo `test -f 'scan/sane/escl.c' || echo './'`scan/sane/escl.c libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.23.12\"" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Iprotocol -Iprotocol/discovery -O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/python3.12 -I/usr/include/python3.12 -DCONFDIR=\"/etc/hp\" -c scan/sane/escl.c -fPIC -DPIC -o scan/sane/.libs/libsane_hpaio_la-escl.o In file included from scan/sane/escl.c:21: scan/sane/common.h:189:1: warning: 'visibility' attribute ignored on non-class types [-Wattributes] 189 | char* __attribute__ ((visibility ("hidden"))) itoa(int value, char* str, int radix); | ^~~~ In file included from scan/sane/escl.c:27: common/utils.h:12:9: warning: "BUG" redefined 12 | #define BUG(args...) syslog(LOG_ERR, __FILE__ " " STRINGIZE(__LINE__) ": " args) | ^~~ scan/sane/common.h:39:9: note: this is the location of the previous definition 39 | #define BUG(args...) {syslog(LOG_ERR, __FILE__ " " STRINGIZE(__LINE__) ": " args); DBG(2, __FILE__ " " STRINGIZE(__LINE__) ": " args);} | ^~~ In file included from scan/sane/escl.c:30: scan/sane/sanei_debug.h:167:10: warning: "DBG" redefined 167 | # define DBG DBG_LOCAL | ^~~ common/utils.h:13:9: note: this is the location of the previous definition 13 | #define DBG(args...) syslog(LOG_INFO, __FILE__ " " STRINGIZE(__LINE__) ": " args) | ^~~ /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.12\" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/include/python3.12 -O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/python3.12 -I/usr/include/python3.12 -DCONFDIR=\"/etc/hp\" -c -o pcard/pcardext_la-fat.lo `test -f 'pcard/fat.c' || echo './'`pcard/fat.c libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.23.12\"" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -I/usr/include/python3.12 -O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/python3.12 -I/usr/include/python3.12 -DCONFDIR=\"/etc/hp\" -c pcard/fat.c -fPIC -DPIC -o pcard/.libs/pcardext_la-fat.o pcard/fat.c: In function 'FatReadFile': pcard/fat.c:630:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 630 | write(fd, buf, n); | ^~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.12\" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCONFDIR=\"/etc/hp\" -c -o prnt/hpijs/hpcupsfax.o prnt/hpijs/hpcupsfax.cpp In file included from prnt/hpijs/hpcupsfax.cpp:57: common/utils.h:12:9: warning: "BUG" redefined 12 | #define BUG(args...) syslog(LOG_ERR, __FILE__ " " STRINGIZE(__LINE__) ": " args) | ^~~ In file included from prnt/hpijs/hpcupsfax.cpp:56: prnt/hpijs/bug.h:51:9: note: this is the location of the previous definition 51 | #define BUG(args...) {syslog(LOG_ERR, __FILE__ " " STRINGIZE(__LINE__) ": " args); \ | ^~~ prnt/hpijs/hpcupsfax.cpp: In function 'int main(int, char**)': prnt/hpijs/hpcupsfax.cpp:694:23: warning: 'ppd_file_t* ppdOpenFile(const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 694 | ppd = ppdOpenFile (getenv ("PPD")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from prnt/hpijs/hpcupsfax.h:34, from prnt/hpijs/hpcupsfax.cpp:55: /usr/include/cups/ppd.h:389:26: note: declared here 389 | extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~ prnt/hpijs/hpcupsfax.cpp:700:29: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 700 | if ((attr = ppdFindAttr (ppd, "cupsModelName", NULL)) == NULL || | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ prnt/hpijs/hpcupsfax.cpp:703:18: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 703 | ppdClose (ppd); | ~~~~~~~~~^~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ prnt/hpijs/hpcupsfax.cpp:711:29: warning: 'ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 711 | if ((attr = ppdFindAttr (ppd, "DefaultEncoding", NULL)) == NULL || | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:399:26: note: declared here 399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, | ^~~~~~~~~~~ prnt/hpijs/hpcupsfax.cpp:714:18: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 714 | ppdClose (ppd); | ~~~~~~~~~^~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ prnt/hpijs/hpcupsfax.cpp:753:14: warning: 'void ppdClose(ppd_file_t*)' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 753 | ppdClose (ppd); | ~~~~~~~~~^~~~~ /usr/include/cups/ppd.h:364:25: note: declared here 364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~ prnt/hpijs/hpcupsfax.cpp: In function 'int ProcessRasterData(cups_raster_t*, int)': prnt/hpijs/hpcupsfax.cpp:234:19: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 234 | write (fdFax, szFileHeader, (p - szFileHeader)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prnt/hpijs/hpcupsfax.cpp:385:15: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 385 | write (fdFax, szPageHeader, (p - szPageHeader)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prnt/hpijs/hpcupsfax.cpp:386:15: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 386 | write (fdFax, pbOutputBuf, dwOutputUsed); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prnt/hpijs/hpcupsfax.cpp:404:11: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 404 | write (fdFax, szFileHeader + 9, 4); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ prnt/hpijs/hpcupsfax.cpp: In function 'int ProcessTiffData(int, int, char*)': prnt/hpijs/hpcupsfax.cpp:470:11: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 470 | write (toFD, szFileHeader, (p - szFileHeader)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prnt/hpijs/hpcupsfax.cpp:482:14: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 482 | write (fdTiff, pTmp, len); | ~~~~~~^~~~~~~~~~~~~~~~~~~ prnt/hpijs/hpcupsfax.cpp:507:21: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 507 | write (fdTiff, pTmp, len); | ~~~~~~^~~~~~~~~~~~~~~~~~~ prnt/hpijs/hpcupsfax.cpp:600:11: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 600 | write (toFD, szFileHeader + 9, 4); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ prnt/hpijs/hpcupsfax.cpp: In function 'int send_data_to_stdout(int)': prnt/hpijs/hpcupsfax.cpp:636:15: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 636 | write (STDOUT_FILENO, pTmp, len); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.12\" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCONFDIR=\"/etc/hp\" -c -o locatedriver-FindPPD.o `test -f 'FindPPD.cpp' || echo './'`FindPPD.cpp g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.12\" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCONFDIR=\"/etc/hp\" -c -o dat2drv-Normalize.o `test -f 'Normalize.cpp' || echo './'`Normalize.cpp g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.12\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.12\" -DPACKAGE_BUGREPORT=\"3.23.12\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.12\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DDISABLE_IMAGEPROCESSOR=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_12_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DCONFDIR=\"/etc/hp\" -c -o dat2drv-Dat2drv.o `test -f 'Dat2drv.cpp' || echo './'`Dat2drv.cpp error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.phAH9v (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.phAH9v (%build) I: [iurt_root_command] ERROR: chroot