Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xsane.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1684774889.400956/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g1vfopuu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g1vfopuu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '409e568dc34e4ad6b34ad361b4644d43', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1684774889.400956/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g1vfopuu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xsane.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (18 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674259200 Wrote: /builddir/build/SRPMS/xsane-0.999-45.fc39.src.rpm RPM build warnings: %patchN is deprecated (18 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 --target x86_64 --nodeps /builddir/build/SPECS/xsane.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1684774889.400956/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g1vfopuu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g1vfopuu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a723b1e16fe1483eaf3b20b9ac2b06e6', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1684774889.400956/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g1vfopuu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xsane.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (18 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1O59XW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xsane-0.999 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xsane-0.999.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xsane-0.999 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for doc in xsane.{CHANGES,PROBLEMS,INSTALL} + iconv -f ISO-8859-1 -t utf8 xsane.CHANGES -o xsane.CHANGES.new + touch -r xsane.CHANGES xsane.CHANGES.new + mv xsane.CHANGES.new xsane.CHANGES + for doc in xsane.{CHANGES,PROBLEMS,INSTALL} + iconv -f ISO-8859-1 -t utf8 xsane.PROBLEMS -o xsane.PROBLEMS.new + touch -r xsane.PROBLEMS xsane.PROBLEMS.new + mv xsane.PROBLEMS.new xsane.PROBLEMS + for doc in xsane.{CHANGES,PROBLEMS,INSTALL} + iconv -f ISO-8859-1 -t utf8 xsane.INSTALL -o xsane.INSTALL.new + touch -r xsane.INSTALL xsane.INSTALL.new + mv xsane.INSTALL.new xsane.INSTALL Patch #0 (xsane-0.995-xdg-open.patch): + echo 'Patch #0 (xsane-0.995-xdg-open.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .xdg-open --fuzz=0 patching file src/xsane.h Patch #1 (xsane-0.995-close-fds.patch): + echo 'Patch #1 (xsane-0.995-close-fds.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .close-fds --fuzz=0 patching file src/xsane.c Patch #2 (xsane-0.996-no-eula.patch): + echo 'Patch #2 (xsane-0.996-no-eula.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-eula --fuzz=0 patching file src/xsane-text.h patching file src/xsane.c patching file src/xsane.h Patch #3 (xsane-0.997-off-root-build.patch): + echo 'Patch #3 (xsane-0.997-off-root-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .off-root-build --fuzz=0 patching file configure.in patching file doc/Makefile.in patching file lib/Makefile.in patching file src/Makefile.in Patch #4 (xsane-0.999-no-file-selected.patch): + echo 'Patch #4 (xsane-0.999-no-file-selected.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .no-file-selected --fuzz=0 patching file src/xsane-back-gtk.c patching file src/xsane-front-gtk.c Patch #5 (xsane-0.997-ipv6.patch): + echo 'Patch #5 (xsane-0.997-ipv6.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipv6 --fuzz=0 patching file src/xsane-save.c Patch #6 (xsane-0.998-preview-selection.patch): + echo 'Patch #6 (xsane-0.998-preview-selection.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .preview-selection.patch --fuzz=0 patching file src/xsane-preview.c Patch #7 (xsane-0.998-libpng.patch): + echo 'Patch #7 (xsane-0.998-libpng.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libpng --fuzz=0 patching file src/xsane-save.c Patch #8 (xsane-0.998-wmclass.patch): + echo 'Patch #8 (xsane-0.998-wmclass.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .wmclass --fuzz=0 patching file src/xsane.c Patch #9 (xsane-0.998-desktop-file.patch): + echo 'Patch #9 (xsane-0.998-desktop-file.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .desktop-file --fuzz=0 patching file src/xsane.desktop Patch #10 (xsane-0.999-man-page.patch): + echo 'Patch #10 (xsane-0.999-man-page.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .man-page --fuzz=0 patching file doc/xsane.man Patch #11 (xsane-0.999-pdf-no-high-bpp.patch): + echo 'Patch #11 (xsane-0.999-pdf-no-high-bpp.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pdf-no-high-bpp --fuzz=0 patching file src/xsane-save.c Patch #12 (xsane-0.999-lcms2.patch): + echo 'Patch #12 (xsane-0.999-lcms2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lcms2 --fuzz=0 patching file configure.in patching file include/config.h.in patching file src/xsane-preview.c patching file src/xsane-save.c patching file src/xsane-viewer.c patching file src/xsane.h Patch #13 (xsane-0.999-coverity.patch): + echo 'Patch #13 (xsane-0.999-coverity.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .coverity --fuzz=0 patching file src/xsane-back-gtk.c patching file src/xsane-batch-scan.c patching file src/xsane-email-project.c patching file src/xsane-fax-project.c patching file src/xsane-front-gtk.c patching file src/xsane-multipage-project.c patching file src/xsane-preview.c patching file src/xsane-save.c patching file src/xsane-scan.c patching file src/xsane-setup.c patching file src/xsane-text.h patching file src/xsane-viewer.c patching file src/xsane.c Hunk #1 succeeded at 580 (offset -5 lines). Hunk #2 succeeded at 596 (offset -5 lines). Hunk #3 succeeded at 1160 (offset -5 lines). Hunk #4 succeeded at 1397 (offset -5 lines). Hunk #5 succeeded at 1431 (offset -5 lines). Hunk #6 succeeded at 1579 (offset -5 lines). Hunk #7 succeeded at 2589 (offset -108 lines). Hunk #8 succeeded at 2624 (offset -108 lines). Hunk #9 succeeded at 2663 (offset -108 lines). Hunk #10 succeeded at 2671 (offset -108 lines). Hunk #11 succeeded at 2706 (offset -108 lines). Hunk #12 succeeded at 2787 (offset -108 lines). Hunk #13 succeeded at 2843 (offset -108 lines). Hunk #14 succeeded at 2914 (offset -108 lines). Hunk #15 succeeded at 3097 (offset -108 lines). Hunk #16 succeeded at 3123 (offset -108 lines). Hunk #17 succeeded at 3281 (offset -108 lines). Hunk #18 succeeded at 3699 (offset -108 lines). Hunk #19 succeeded at 4046 (offset -108 lines). Hunk #20 succeeded at 4056 (offset -108 lines). Hunk #21 succeeded at 4066 (offset -108 lines). Hunk #22 succeeded at 5608 (offset -108 lines). Patch #14 (xsane-0.999-snprintf-update.patch): + echo 'Patch #14 (xsane-0.999-snprintf-update.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .snprintf-update --fuzz=0 patching file lib/snprintf.c Patch #15 (xsane-0.999-signal-handling.patch): + echo 'Patch #15 (xsane-0.999-signal-handling.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .signal-handling --fuzz=0 patching file src/xsane.c + echo 'Patch #100 (xsane-0.999-7-autoconf.patch.bz2):' Patch #100 (xsane-0.999-7-autoconf.patch.bz2): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .autoconf --fuzz=0 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xsane-0.999-7-autoconf.patch.bz2 patching file configure Patch #101 (xsane-configure-c99.patch): + echo 'Patch #101 (xsane-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file configure patching file m4/sane.m4 + rm include/config.h + mkdir build-with-gimp + mkdir build-without-gimp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yEkimq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS ~/build/BUILD/xsane-0.999/build-with-gimp ~/build/BUILD/xsane-0.999 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xsane-0.999 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\"' + export CFLAGS + pushd build-with-gimp + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\"' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + '[' 1 = 1 ']' +++ dirname ../configure ++ find .. -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ../configure + ../configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-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 --enable-gimp configure: WARNING: unrecognized options: --disable-dependency-tracking ************************************************************************** checking whether GTK+-2.0 is requested... yes checking whether GIMP plugin is requested... yes checking whether GIMP-2.0 is requested... yes checking whether JPEG support is requested... yes checking whether PNG support is requested... yes checking whether TIFF support is requested... yes checking whether LCMS (color management) support is requested... yes ************************************************************************** checking for x86_64-redhat-linux-gnu-gcc... gcc 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for x86_64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for ANSI C header files... (cached) yes checking for windows.h... (cached) no checking os2.h usability... no checking os2.h presence... no checking for os2.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking return type of signal handlers... void checking for size_t... yes checking for pid_t... yes checking for ssize_t... yes checking for u_char... yes checking for u_int... yes checking for u_long... yes checking for sqrt in -lm... yes checking for deflateInit_ in -lz... yes checking for jpeg_start_decompress in -ljpeg... yes checking for TIFFOpen in -ltiff... yes checking for library containing cmsOpenProfileFromFile... -llcms2 checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for mkdir... yes checking for sigprocmask... yes checking for strdup... yes checking for strndup... yes checking for strftime... yes checking for strstr... yes checking for strsep... yes checking for strtod... yes checking for snprintf... yes checking for usleep... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for lstat... yes checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for off_t... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for sys/param.h... (cached) yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... (cached) yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... ca cs da de es fi fr hu it ja nl pa pl pt pt_BR ro ru sk sl sr sv vi tr zh zh_CN checking for sane-config... /usr/bin/sane-config checking for SANE - version >= 1.0.0... yes checking for pkg-config... /usr/bin/pkg-config checking for GIMP - version >= 1.3.23... yes (version 2.10.34) checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_create_info_struct in -lpng... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: '../Makefile.in' seems to ignore the --datarootdir setting config.status: creating intl/Makefile config.status: WARNING: '../intl/Makefile.in' seems to ignore the --datarootdir setting config.status: creating po/Makefile config.status: creating lib/Makefile config.status: WARNING: '../lib/Makefile.in' seems to ignore the --datarootdir setting config.status: creating src/Makefile config.status: WARNING: '../src/Makefile.in' seems to ignore the --datarootdir setting config.status: creating include/Makefile config.status: creating doc/Makefile config.status: WARNING: '../doc/Makefile.in' seems to ignore the --datarootdir setting config.status: creating xsane.spec config.status: creating include/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking **************************************************************** * * * XSANE configure status: * * ----------------------- * * - NLS activated (external) * * - GIMP plugin activated * * - JPEG support activated * * - TIFF support activated * * - PNG support activated * * - LCMS (color management) support activated (lcms2) * * * **************************************************************** * * * To compile XSANE: * * ----------------- * * make * * make install * * * * ------------------------------------------------------------ * * ... PLEASE READ SANE DOCUMENTATION BEFORE STARTING XSANE ... * * ------------------------------------------------------------ * **************************************************************** NEWS: Due to changes in the configuration file routines you have to enter some data in preferences->setup. In general there is nothing special you have to care about to get xsane to work. Read xsane.CHANGES if you are interested in details of what has changed. If you experience any problems after you upgraded xsane it may help to remove the setup and preferences files of xsane: rm -rf ~/.sane/xsane + /usr/bin/make -O -j2 V=1 VERBOSE=1 for subdir in lib src po doc; do \ target=`echo all-recursive | sed s/-recursive//`; \ echo making $target in $subdir; \ (cd $subdir && /usr/bin/make $target) \ || case "-j2 -Otarget --jobserver-auth=fifo:/tmp/GMfifo2759 --sync-mutex=fnm:/tmp/GmGrkfej" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making all in lib make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/alloca.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/getopt.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/getopt1.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strndup.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strsep.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strdup.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/snprintf.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/usleep.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/md5.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' ar r liblib.a alloca.o getopt.o getopt1.o strndup.o strdup.o strsep.o snprintf.o usleep.o md5.o ranlib liblib.a make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' ar: creating liblib.a making all in src make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-front-gtk.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-front-gtk.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-front-gtk.c: In function 'xsane_set_all_resolutions': ../../src/xsane-front-gtk.c:351:6: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] 351 | int printer_resolution; | ^~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-back-gtk.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-back-gtk.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-back-gtk.c: In function 'xsane_back_gtk_button_update': ../../src/xsane-back-gtk.c:1904:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 1904 | const SANE_Option_Descriptor *opt; | ^~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-gamma.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-gamma.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-gamma.c: In function 'xsane_slider_callback': ../../src/xsane-gamma.c:593:18: warning: variable 'motion_event' set but not used [-Wunused-but-set-variable] 593 | GdkEventMotion *motion_event; | ^~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-viewer.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-viewer.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-viewer.c: In function 'xsane_viewer_scale_set_size_x_value_and_adjustments': ../../src/xsane-viewer.c:532:19: warning: variable 'image_height' set but not used [-Wunused-but-set-variable] 532 | int image_width, image_height; | ^~~~~~~~~~~~ ../../src/xsane-viewer.c: In function 'xsane_viewer_scale_set_size_y_value_and_adjustments': ../../src/xsane-viewer.c:556:6: warning: variable 'image_width' set but not used [-Wunused-but-set-variable] 556 | int image_width, image_height; | ^~~~~~~~~~~ ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image_header': ../../src/xsane-viewer.c:2157:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] 2157 | int pos0; | ^~~~ ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image': ../../src/xsane-viewer.c:2212:6: warning: variable 'nread' set but not used [-Wunused-but-set-variable] 2212 | int nread; | ^~~~~ ../../src/xsane-viewer.c: In function 'xsane_viewer_save_callback': ../../src/xsane-viewer.c:379:7: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 379 | getcwd(pathname, sizeof(pathname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-viewer.c:283:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 283 | strncpy(outputfilename, preferences.filename, sizeof(outputfilename)); | ^ ../../src/xsane-viewer.c:279:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 279 | strncpy(outputfilename, v->output_filename, sizeof(outputfilename)); | ^ ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image.isra.0': ../../src/xsane-viewer.c:2319:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] 2319 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info.icm_profile); | ^~ ~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_viewer_read_image.isra.0' at ../../src/xsane-viewer.c:2319:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-preview.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-preview.c:75: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-preview.c: In function 'preview_create_batch_icon_from_file': ../../src/xsane-preview.c:2102:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 2102 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-preview.c:2096:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] 2096 | int c; | ^ ../../src/xsane-preview.c: In function 'preview_restore_image_from_file': ../../src/xsane-preview.c:2455:9: warning: variable 'nread' set but not used [-Wunused-but-set-variable] 2455 | size_t nread; | ^~~~~ ../../src/xsane-preview.c: In function 'preview_create_batch_icon_from_file': ../../src/xsane-preview.c:2126:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2126 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-preview.c: In function 'preview_restore_image_from_file': ../../src/xsane-preview.c:2482:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2482 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-fax-project.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-fax-project.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_send': ../../src/xsane-fax-project.c:1301:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1301 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_show_callback': ../../src/xsane-fax-project.c:1075:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1075 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': ../../src/xsane-fax-project.c:909:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 909 | fgets(buf, sizeof(buf), sourcefile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c:950:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 950 | fgets(buf, sizeof(buf), sourcefile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_project_update_project_status': ../../src/xsane-fax-project.c:461:56: warning: '__snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 461 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ | ^ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_fax_project_update_project_status' at ../../src/xsane-fax-project.c:461:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 33 or more bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_send': ../../src/xsane-fax-project.c:1113:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 252 [-Wformat-truncation=] 1113 | snprintf(buf, sizeof(buf), "%s - %s", PROGRESS_CONVERTING_DATA, source_filename); | ^~ ...... 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); | ~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_convert_pnm_to_ps' at ../../src/xsane-fax-project.c:1113:3, inlined from 'xsane_fax_send' at ../../src/xsane-fax-project.c:1272:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_send': ../../src/xsane-fax-project.c:1177:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 1177 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); | ^~ ...... 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); | ~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_convert_pnm_to_ps' at ../../src/xsane-fax-project.c:1177:5, inlined from 'xsane_fax_send' at ../../src/xsane-fax-project.c:1272:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_send': ../../src/xsane-fax-project.c:1165:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 1165 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, fax_filename, strerror(errno)); | ^~ ...... 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); | ~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_convert_pnm_to_ps' at ../../src/xsane-fax-project.c:1165:7, inlined from 'xsane_fax_send' at ../../src/xsane-fax-project.c:1272:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_send': ../../src/xsane-fax-project.c:1264:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 1264 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, fax_filename); | ^~ ~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_send' at ../../src/xsane-fax-project.c:1264:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_project_save': ../../src/xsane-fax-project.c:507:58: warning: '__snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 507 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ | ^ In function 'snprintf', inlined from 'xsane_fax_project_save' at ../../src/xsane-fax-project.c:507:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 33 or more bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_project_save': ../../src/xsane-fax-project.c:490:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 490 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_project_save' at ../../src/xsane-fax-project.c:490:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': ../../src/xsane-fax-project.c:937:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1022 [-Wformat-truncation=] 937 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, destpath); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_entry_insert_callback' at ../../src/xsane-fax-project.c:937:11: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-email-project.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-email-project.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_project_display_status': ../../src/xsane-email-project.c:496:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] 496 | int items_done; | ^~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_create_email': ../../src/xsane-email-project.c:1528:9: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 1528 | size_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_send': ../../src/xsane-email-project.c:1940:10: warning: variable 'ipc_file' set but not used [-Wunused-but-set-variable] 1940 | FILE *ipc_file = NULL; | ^~~~~~~~ ../../src/xsane-email-project.c:1950:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1950 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_project_display_status': ../../src/xsane-email-project.c:904:56: warning: '__snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 904 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ | ^ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_email_project_update_project_status' at ../../src/xsane-email-project.c:904:3, inlined from 'xsane_email_project_display_status' at ../../src/xsane-email-project.c:559:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 33 or more bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_project_save': ../../src/xsane-email-project.c:949:58: warning: '__snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 949 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ | ^ In function 'snprintf', inlined from 'xsane_email_project_save' at ../../src/xsane-email-project.c:949:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 33 or more bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_project_save': ../../src/xsane-email-project.c:933:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 933 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_email_project_save' at ../../src/xsane-email-project.c:933:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_send': ../../src/xsane-email-project.c:1701:55: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] 1701 | snprintf(buf, sizeof(buf), "

\r\n", content_id); | ^~ ~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_create_email' at ../../src/xsane-email-project.c:1701:9, inlined from 'xsane_email_send_process' at ../../src/xsane-email-project.c:1846:3, inlined from 'xsane_email_send' at ../../src/xsane-email-project.c:1953:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 276 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_send': ../../src/xsane-email-project.c:1672:59: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] 1672 | snprintf(buf, sizeof(buf), "

\r\n", content_id); | ^~ ~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_create_email' at ../../src/xsane-email-project.c:1672:13, inlined from 'xsane_email_send_process' at ../../src/xsane-email-project.c:1846:3, inlined from 'xsane_email_send' at ../../src/xsane-email-project.c:1953:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 276 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-multipage-project.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-multipage-project.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_project_save': ../../src/xsane-multipage-project.c:530:58: warning: '__snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 530 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.multipage_status); /* fill 32 characters status line */ | ^ In file included from /usr/include/stdio.h:964, from ../../src/xsane-multipage-project.c:26: In function 'snprintf', inlined from 'xsane_multipage_project_save' at ../../src/xsane-multipage-project.c:530:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 33 or more bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_project_save': ../../src/xsane-multipage-project.c:514:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 514 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_multipage_project_save' at ../../src/xsane-multipage-project.c:514:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_save_file': ../../src/xsane-multipage-project.c:989:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 989 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_OPEN_FAILED, multipage_filename); | ^~ ~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_multipage_save_file' at ../../src/xsane-multipage-project.c:989:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_save_file': ../../src/xsane-multipage-project.c:958:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 958 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); | ^~ ~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_multipage_save_file' at ../../src/xsane-multipage-project.c:958:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_save_file': ../../src/xsane-multipage-project.c:1073:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 1073 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); | ^~ ~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_multipage_save_file' at ../../src/xsane-multipage-project.c:1073:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_save_file': ../../src/xsane-multipage-project.c:943:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 943 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); | ^~ ~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_multipage_save_file' at ../../src/xsane-multipage-project.c:943:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-rc-io.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-rc-io.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-device-preferences.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-device-preferences.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-batch-scan.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-batch-scan.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_add': ../../src/xsane-batch-scan.c:719:13: warning: variable 'list_item' set but not used [-Wunused-but-set-variable] 719 | GtkWidget *list_item; | ^~~~~~~~~ ../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_update_label': ../../src/xsane-batch-scan.c:660:30: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 55 and 253 [-Wformat-truncation=] 660 | snprintf(buf, sizeof(buf), "%s\n" /* name */ | ^~~~~~ ...... 668 | geometry_tl_str, | ~~~~~~~~~~~~~~~ ../../src/xsane-batch-scan.c:662:31: note: format string is defined here 662 | "%s\n" /* geometry_tl */ | ^~ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_batch_scan_update_label' at ../../src/xsane-batch-scan.c:660:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 6 and 600 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_save_list': ../../src/xsane-batch-scan.c:434:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 434 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_batch_scan_save_list' at ../../src/xsane-batch-scan.c:434:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_load_list': ../../src/xsane-batch-scan.c:354:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 354 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_batch_scan_load_list' at ../../src/xsane-batch-scan.c:354:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-preferences.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-preferences.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-setup.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-setup.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-setup.c: In function 'xsane_enhance_notebook': ../../src/xsane-setup.c:3364:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] 3364 | SANE_Status status; | ^~~~~~ ../../src/xsane-setup.c: In function 'xsane_setup_browse_tmp_path_callback': ../../src/xsane-setup.c:1531:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1531 | strncpy(tmp_path, old_tmp_path, sizeof(tmp_path)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_printer_icm_profile_callback': ../../src/xsane-setup.c:1064:5: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1064 | strncpy(printer_icm_profile, old_printer_icm_profile, sizeof(printer_icm_profile)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_working_color_space_icm_profile_callback': ../../src/xsane-setup.c:1627:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1627 | strncpy(working_color_space_icm_profile, old_working_color_space_icm_profile, sizeof(working_color_space_icm_profile)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_custom_proofing_icm_profile_callback': ../../src/xsane-setup.c:1608:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1608 | strncpy(custom_proofing_icm_profile, old_custom_proofing_icm_profile, sizeof(custom_proofing_icm_profile)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_display_icm_profile_callback': ../../src/xsane-setup.c:1589:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1589 | strncpy(display_icm_profile, old_display_icm_profile, sizeof(display_icm_profile)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_scanner_default_gray_icm_profile_callback': ../../src/xsane-setup.c:1570:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1570 | strncpy(scanner_default_gray_icm_profile, old_scanner_default_gray_icm_profile, sizeof(scanner_default_gray_icm_profile)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_scanner_default_color_icm_profile_callback': ../../src/xsane-setup.c:1551:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1551 | strncpy(scanner_default_color_icm_profile, old_scanner_default_color_icm_profile, sizeof(scanner_default_color_icm_profile)); | ^ make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-scan.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-scan.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-scan.c: In function 'xsane_read_image_data': ../../src/xsane-scan.c:144:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 144 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-scan.c: In function 'xsane_scan_done': ../../src/xsane-scan.c:1337:12: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] 1337 | int printer_resolution; | ^~~~~~~~~~~~~~~~~~ ../../src/xsane-scan.c:1293:11: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1293 | getcwd(pathname, sizeof(pathname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-scan.c:1117:11: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1117 | strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile)); | ^ ../../src/xsane-scan.c:1110:11: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1110 | strncpy(image_info.icm_profile, xsane.scanner_default_gray_icm_profile, sizeof(image_info.icm_profile)); | ^ ../../src/xsane-scan.c: In function 'xsane_start_scan': ../../src/xsane-scan.c:1814:9: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1814 | strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile)); | ^ ../../src/xsane-scan.c:1807:9: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1807 | strncpy(image_info.icm_profile, xsane.scanner_default_gray_icm_profile, sizeof(image_info.icm_profile)); | ^ make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-icons.c make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-save.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-save.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_read_pnm_header': ../../src/xsane-save.c:435:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] 435 | int items_done; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_scaled_image': ../../src/xsane-save.c:1056:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 1056 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_despeckle_image': ../../src/xsane-save.c:1356:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 1356 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_blur_image': ../../src/xsane-save.c:1557:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 1557 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_write_flatedecode': ../../src/xsane-save.c:2510:14: warning: variable 'count' set but not used [-Wunused-but-set-variable] 2510 | static int count = 0; | ^~~~~ ../../src/xsane-save.c: In function 'xsane_write_compressed_a85': ../../src/xsane-save.c:2786:14: warning: variable 'linelen' set but not used [-Wunused-but-set-variable] 2786 | static int linelen = 0; | ^~~~~~~ ../../src/xsane-save.c:2785:14: warning: variable 'cbuflen' set but not used [-Wunused-but-set-variable] 2785 | static int cbuflen = 0; | ^~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_ps_pdf_gray': ../../src/xsane-save.c:3103:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 3103 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_ps_pdf_color': ../../src/xsane-save.c:3354:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 3354 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_jpeg': ../../src/xsane-save.c:4444:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 4444 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_tiff_page': ../../src/xsane-save.c:4695:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 4695 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_png': ../../src/xsane-save.c:4964:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 4964 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_png_16': ../../src/xsane-save.c:5154:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5154 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_16_ascii_gray': ../../src/xsane-save.c:5335:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5335 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_16_ascii_color': ../../src/xsane-save.c:5443:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5443 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_16_binary_gray': ../../src/xsane-save.c:5552:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5552 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_16_binary_color': ../../src/xsane-save.c:5650:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5650 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_8_gray': ../../src/xsane-save.c:5752:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5752 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_8_color': ../../src/xsane-save.c:5848:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5848 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_transfer_to_gimp': ../../src/xsane-save.c:6941:11: warning: 'gimp_image_parasite_attach' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations] 6941 | gimp_image_parasite_attach(image_ID, parasite); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:47, from ../../src/xsane.h:446: /usr/include/gimp-2.0/libgimp/gimpimage.h:98:16: note: declared here 98 | gboolean gimp_image_parasite_attach (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:6976:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 6976 | gimp_image_add_layer(image_ID, layer_ID, 0); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp_pdb_headers.h:55, from /usr/include/gimp-2.0/libgimp/gimp.h:66: /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:6977:3: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 6977 | drawable = gimp_drawable_get(layer_ID); | ^~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:6978:3: warning: 'gimp_pixel_rgn_init' is deprecated: Use make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 6978 | gimp_pixel_rgn_init(®ion, drawable, 0, 0, drawable->width, drawable->height, TRUE, FALSE); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:7009:17: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 7009 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:7050:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 7050 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:7088:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 7088 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:7136:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 7136 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:7177:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 7177 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:7250:5: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 7250 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - remaining, image_info.image_width, remaining); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:7253:3: warning: 'gimp_drawable_flush' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations] 7253 | gimp_drawable_flush(drawable); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:56:16: note: declared here 56 | void gimp_drawable_flush (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:7255:3: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations] 7255 | gimp_drawable_detach(drawable); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here 54 | void gimp_drawable_detach (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:6822:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 6822 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'write_3chars_as_base64': ../../src/xsane-save.c:7302:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7302 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_string_base64': ../../src/xsane-save.c:7333:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7333 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_base64': ../../src/xsane-save.c:7368:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7368 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_header': ../../src/xsane-save.c:7420:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7420 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_footer': ../../src/xsane-save.c:7457:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7457 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_mime_ascii': ../../src/xsane-save.c:7468:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7468 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_mime_html': ../../src/xsane-save.c:7488:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7488 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_attach_image': ../../src/xsane-save.c:7514:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7514 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_attach_file': ../../src/xsane-save.c:7548:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7548 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'pop3_login': ../../src/xsane-save.c:7664:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7664 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'asmtp_authentication': ../../src/xsane-save.c:7720:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7720 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_smtp_header': ../../src/xsane-save.c:7820:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7820 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_smtp_footer': ../../src/xsane-save.c:7976:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7976 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_read_pnm_header': ../../src/xsane-save.c:437:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 437 | fgets(buf, sizeof(buf)-1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:451:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 451 | fgets(buf, sizeof(buf)-1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_image_as_text': ../../src/xsane-save.c:6118:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 6118 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane-save.c:6164:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 6164 | fgets(buf, sizeof(buf), ocr_progress); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_create_cms_transform': ../../src/xsane-save.c:894:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] 894 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info->icm_profile); | ^~ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_create_cms_transform' at ../../src/xsane-save.c:894:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_image_as': ../../src/xsane-save.c:6271:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 6264 | input_filename = temporary_filename; | ~~~~~~~~~~~~~~~~~~ ...... 6271 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); | ^~ In function 'snprintf', inlined from 'xsane_save_image_as' at ../../src/xsane-save.c:6271:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_smtp_header': ../../src/xsane-save.c:7894:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 7894 | strncpy(to_line, to, sizeof(to_line)); /* it is not allowed to modify the "to" string, so we make a copy */ | ^ ../../src/xsane-save.c:7909:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=] 7909 | snprintf(buf, sizeof(buf), "RCPT TO: <%s>\r\n", to_pos); | ^~ In function 'snprintf', inlined from 'write_smtp_header' at ../../src/xsane-save.c:7909:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gegl-0.4 -I/usr/include/webp -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane.c: In function 'xsane_scanmode_menu_callback': ../../src/xsane.c:1120:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 1120 | const SANE_Option_Descriptor *opt; | ^~~ ../../src/xsane.c: In function 'xsane_update_xsane_callback': ../../src/xsane.c:1500:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1500 | SANE_Status status; | ^~~~~~ ../../src/xsane.c:1540:23: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1540 | SANE_Status status; | ^~~~~~ ../../src/xsane.c: In function 'xsane_info_dialog': ../../src/xsane.c:3265:43: warning: variable 'label' set but not used [-Wunused-but-set-variable] 3265 | GtkWidget *info_dialog, *vbox, *button, *label, *frame, *framebox, *hbox, *table; | ^~~~~ ../../src/xsane.c: In function 'xsane_select_device_by_key_callback': ../../src/xsane.c:5550:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5550 | xsane.selected_dev = (int) data; | ^ ../../src/xsane.c: In function 'xsane_select_device_by_mouse_callback': ../../src/xsane.c:5559:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5559 | xsane.selected_dev = (int) data; | ^ ../../src/xsane.c: In function 'xsane_pref_restore': ../../src/xsane.c:2009:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 2009 | chdir(preferences.working_directory); /* set working directory */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_show_doc': ../../src/xsane.c:4065:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 4065 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_show_doc_via_nsr': ../../src/xsane.c:3898:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 3898 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane.c:3942:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 3942 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_show_doc': ../../src/xsane.c:3875:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 246 [-Wformat-truncation=] 3875 | snprintf(buf, sizeof(buf), "openFile(%s, new-window)", name); | ^~ ...... 4041 | xsane_show_doc_via_nsr(widget, (void *) path); | ~~~~ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_show_doc_via_nsr' at ../../src/xsane.c:3875:5, inlined from 'xsane_show_doc' at ../../src/xsane.c:4041:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 23 and 4118 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_init': ../../src/xsane.c:2024:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] 2024 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, OUT_FILENAME); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_pref_restore' at ../../src/xsane.c:2024:7, inlined from 'xsane_init' at ../../src/xsane.c:5981:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 9 and 4104 bytes into a destination of size 4094 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_init': ../../src/xsane.c:2055:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] 2055 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, FAXPROJECT); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_pref_restore' at ../../src/xsane.c:2055:7, inlined from 'xsane_init' at ../../src/xsane.c:5981:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 12 and 4107 bytes into a destination of size 4094 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_init': ../../src/xsane.c:2137:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] 2137 | snprintf(buf, sizeof(buf)-2, make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' "%s%c%s", filename, SLASH, EMAILPROJECT); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_pref_restore' at ../../src/xsane.c:2137:7, inlined from 'xsane_init' at ../../src/xsane.c:5981:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 14 and 4109 bytes into a destination of size 4094 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_init': ../../src/xsane.c:2164:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] 2164 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, MULTIPAGEPROJECT); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_pref_restore' at ../../src/xsane.c:2164:7, inlined from 'xsane_init' at ../../src/xsane.c:5981:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 18 and 4113 bytes into a destination of size 4094 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o xsane xsane-back-gtk.o xsane-front-gtk.o xsane-gamma.o xsane-preview.o xsane-viewer.o xsane-fax-project.o xsane-email-project.o xsane-multipage-project.o xsane-rc-io.o xsane-device-preferences.o xsane-batch-scan.o xsane-preferences.o xsane-setup.o xsane-save.o xsane-scan.o xsane-icons.o xsane.o \ ../lib/liblib.a -lsane -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgtk-x11-2.0 -Wl,--export-dynamic -ljson-glib-1.0 -lbabl-0.1 -lgmodule-2.0 -pthread -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lharfbuzz -lfontconfig -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lfreetype -lgegl-0.4 -lgegl-npd-0.4 -lpango-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lglib-2.0 -lgobject-2.0 -lpng -llcms2 -ltiff -ljpeg -lz -lm make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' making all in po make[1]: Nothing to be done for 'all'. making all in doc make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/doc' sed -e 's|@DATADIR@|/usr/share|g' \ -e 's|@SANEDATADIR@|/usr/share/sane|g' \ -e 's|@CONFIGDIR@|/etc/sane.d|g' \ -e 's|@LIBDIR@|/usr/lib64|g' \ -e 's|@BINDIR@|/usr/bin|g' \ -e 's|@SBINDIR@|/usr/sbin|g' ../../doc/xsane.man >xsane.1 make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/doc' + popd ~/build/BUILD/xsane-0.999 + pushd build-without-gimp ~/build/BUILD/xsane-0.999/build-without-gimp ~/build/BUILD/xsane-0.999 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\"' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + '[' 1 = 1 ']' +++ dirname ../configure ++ find .. -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ../configure + ../configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-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-gimp configure: WARNING: unrecognized options: --disable-dependency-tracking ************************************************************************** checking whether GTK+-2.0 is requested... yes checking whether GIMP plugin is requested... no checking whether JPEG support is requested... yes checking whether PNG support is requested... yes checking whether TIFF support is requested... yes checking whether LCMS (color management) support is requested... yes ************************************************************************** checking for x86_64-redhat-linux-gnu-gcc... gcc 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for x86_64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for ANSI C header files... (cached) yes checking for windows.h... (cached) no checking os2.h usability... no checking os2.h presence... no checking for os2.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking return type of signal handlers... void checking for size_t... yes checking for pid_t... yes checking for ssize_t... yes checking for u_char... yes checking for u_int... yes checking for u_long... yes checking for sqrt in -lm... yes checking for deflateInit_ in -lz... yes checking for jpeg_start_decompress in -ljpeg... yes checking for TIFFOpen in -ltiff... yes checking for library containing cmsOpenProfileFromFile... -llcms2 checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for mkdir... yes checking for sigprocmask... yes checking for strdup... yes checking for strndup... yes checking for strftime... yes checking for strstr... yes checking for strsep... yes checking for strtod... yes checking for snprintf... yes checking for usleep... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for lstat... yes checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for off_t... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for sys/param.h... (cached) yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... (cached) yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... ca cs da de es fi fr hu it ja nl pa pl pt pt_BR ro ru sk sl sr sv vi tr zh zh_CN checking for sane-config... /usr/bin/sane-config checking for SANE - version >= 1.0.0... yes checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.24.33) checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_create_info_struct in -lpng... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: '../Makefile.in' seems to ignore the --datarootdir setting config.status: creating intl/Makefile config.status: WARNING: '../intl/Makefile.in' seems to ignore the --datarootdir setting config.status: creating po/Makefile config.status: creating lib/Makefile config.status: WARNING: '../lib/Makefile.in' seems to ignore the --datarootdir setting config.status: creating src/Makefile config.status: WARNING: '../src/Makefile.in' seems to ignore the --datarootdir setting config.status: creating include/Makefile config.status: creating doc/Makefile config.status: WARNING: '../doc/Makefile.in' seems to ignore the --datarootdir setting config.status: creating xsane.spec config.status: creating include/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking **************************************************************** * * * XSANE configure status: * * ----------------------- * * - NLS activated (external) * * - GIMP plugin deactivated * * - JPEG support activated * * - TIFF support activated * * - PNG support activated * * - LCMS (color management) support activated (lcms2) * * * **************************************************************** * * * To compile XSANE: * * ----------------- * * make * * make install * * * * ------------------------------------------------------------ * * ... PLEASE READ SANE DOCUMENTATION BEFORE STARTING XSANE ... * * ------------------------------------------------------------ * **************************************************************** NEWS: Due to changes in the configuration file routines you have to enter some data in preferences->setup. In general there is nothing special you have to care about to get xsane to work. Read xsane.CHANGES if you are interested in details of what has changed. If you experience any problems after you upgraded xsane it may help to remove the setup and preferences files of xsane: rm -rf ~/.sane/xsane + make for subdir in lib src po doc; do \ target=`echo all-recursive | sed s/-recursive//`; \ echo making $target in $subdir; \ (cd $subdir && make $target) \ || case "" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making all in lib make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/alloca.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/getopt.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/getopt1.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strndup.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strdup.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strsep.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/snprintf.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/usleep.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/md5.c ar r liblib.a alloca.o getopt.o getopt1.o strndup.o strdup.o strsep.o snprintf.o usleep.o md5.o ar: creating liblib.a ranlib liblib.a make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/lib' making all in src make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-back-gtk.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-back-gtk.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-back-gtk.c: In function 'xsane_back_gtk_button_update': ../../src/xsane-back-gtk.c:1904:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 1904 | const SANE_Option_Descriptor *opt; | ^~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-front-gtk.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-front-gtk.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-front-gtk.c: In function 'xsane_set_all_resolutions': ../../src/xsane-front-gtk.c:351:6: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] 351 | int printer_resolution; | ^~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-gamma.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-gamma.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-gamma.c: In function 'xsane_slider_callback': ../../src/xsane-gamma.c:593:18: warning: variable 'motion_event' set but not used [-Wunused-but-set-variable] 593 | GdkEventMotion *motion_event; | ^~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-preview.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-preview.c:75: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-preview.c: In function 'preview_create_batch_icon_from_file': ../../src/xsane-preview.c:2102:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 2102 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-preview.c:2096:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] 2096 | int c; | ^ ../../src/xsane-preview.c: In function 'preview_restore_image_from_file': ../../src/xsane-preview.c:2455:9: warning: variable 'nread' set but not used [-Wunused-but-set-variable] 2455 | size_t nread; | ^~~~~ ../../src/xsane-preview.c: In function 'preview_create_batch_icon_from_file': ../../src/xsane-preview.c:2126:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2126 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-preview.c: In function 'preview_restore_image_from_file': ../../src/xsane-preview.c:2482:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2482 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-viewer.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-viewer.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-viewer.c: In function 'xsane_viewer_scale_set_size_x_value_and_adjustments': ../../src/xsane-viewer.c:532:19: warning: variable 'image_height' set but not used [-Wunused-but-set-variable] 532 | int image_width, image_height; | ^~~~~~~~~~~~ ../../src/xsane-viewer.c: In function 'xsane_viewer_scale_set_size_y_value_and_adjustments': ../../src/xsane-viewer.c:556:6: warning: variable 'image_width' set but not used [-Wunused-but-set-variable] 556 | int image_width, image_height; | ^~~~~~~~~~~ ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image_header': ../../src/xsane-viewer.c:2157:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] 2157 | int pos0; | ^~~~ ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image': ../../src/xsane-viewer.c:2212:6: warning: variable 'nread' set but not used [-Wunused-but-set-variable] 2212 | int nread; | ^~~~~ ../../src/xsane-viewer.c: In function 'xsane_viewer_save_callback': ../../src/xsane-viewer.c:379:7: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 379 | getcwd(pathname, sizeof(pathname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-viewer.c:283:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 283 | strncpy(outputfilename, preferences.filename, sizeof(outputfilename)); | ^ ../../src/xsane-viewer.c:279:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 279 | strncpy(outputfilename, v->output_filename, sizeof(outputfilename)); | ^ ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image.isra.0': ../../src/xsane-viewer.c:2319:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] 2319 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info.icm_profile); | ^~ ~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_viewer_read_image.isra.0' at ../../src/xsane-viewer.c:2319:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-fax-project.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-fax-project.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_send': ../../src/xsane-fax-project.c:1301:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1301 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_show_callback': ../../src/xsane-fax-project.c:1075:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1075 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': ../../src/xsane-fax-project.c:909:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 909 | fgets(buf, sizeof(buf), sourcefile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c:950:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 950 | fgets(buf, sizeof(buf), sourcefile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_project_update_project_status': ../../src/xsane-fax-project.c:461:56: warning: '__snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 461 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ | ^ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_fax_project_update_project_status' at ../../src/xsane-fax-project.c:461:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 33 or more bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_send': ../../src/xsane-fax-project.c:1113:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 252 [-Wformat-truncation=] 1113 | snprintf(buf, sizeof(buf), "%s - %s", PROGRESS_CONVERTING_DATA, source_filename); | ^~ ...... 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); | ~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_convert_pnm_to_ps' at ../../src/xsane-fax-project.c:1113:3, inlined from 'xsane_fax_send' at ../../src/xsane-fax-project.c:1272:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_send': ../../src/xsane-fax-project.c:1177:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 1177 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); | ^~ ...... 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); | ~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_convert_pnm_to_ps' at ../../src/xsane-fax-project.c:1177:5, inlined from 'xsane_fax_send' at ../../src/xsane-fax-project.c:1272:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_send': ../../src/xsane-fax-project.c:1165:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 1165 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, fax_filename, strerror(errno)); | ^~ ...... 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); | ~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_convert_pnm_to_ps' at ../../src/xsane-fax-project.c:1165:7, inlined from 'xsane_fax_send' at ../../src/xsane-fax-project.c:1272:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_send': ../../src/xsane-fax-project.c:1264:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 1264 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, fax_filename); | ^~ ~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_send' at ../../src/xsane-fax-project.c:1264:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_project_save': ../../src/xsane-fax-project.c:507:58: warning: '__snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 507 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ | ^ In function 'snprintf', inlined from 'xsane_fax_project_save' at ../../src/xsane-fax-project.c:507:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 33 or more bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_project_save': ../../src/xsane-fax-project.c:490:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 490 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_project_save' at ../../src/xsane-fax-project.c:490:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': ../../src/xsane-fax-project.c:937:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1022 [-Wformat-truncation=] 937 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, destpath); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_fax_entry_insert_callback' at ../../src/xsane-fax-project.c:937:11: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-email-project.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-email-project.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_project_display_status': ../../src/xsane-email-project.c:496:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] 496 | int items_done; | ^~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_create_email': ../../src/xsane-email-project.c:1528:9: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 1528 | size_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_send': ../../src/xsane-email-project.c:1940:10: warning: variable 'ipc_file' set but not used [-Wunused-but-set-variable] 1940 | FILE *ipc_file = NULL; | ^~~~~~~~ ../../src/xsane-email-project.c:1950:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1950 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_project_display_status': ../../src/xsane-email-project.c:904:56: warning: '__snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 904 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ | ^ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_email_project_update_project_status' at ../../src/xsane-email-project.c:904:3, inlined from 'xsane_email_project_display_status' at ../../src/xsane-email-project.c:559:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 33 or more bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_project_save': ../../src/xsane-email-project.c:949:58: warning: '__snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 949 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ | ^ In function 'snprintf', inlined from 'xsane_email_project_save' at ../../src/xsane-email-project.c:949:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 33 or more bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_project_save': ../../src/xsane-email-project.c:933:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 933 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_email_project_save' at ../../src/xsane-email-project.c:933:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_send': ../../src/xsane-email-project.c:1701:55: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] 1701 | snprintf(buf, sizeof(buf), "

\r\n", content_id); | ^~ ~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_create_email' at ../../src/xsane-email-project.c:1701:9, inlined from 'xsane_email_send_process' at ../../src/xsane-email-project.c:1846:3, inlined from 'xsane_email_send' at ../../src/xsane-email-project.c:1953:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 276 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-email-project.c: In function 'xsane_email_send': ../../src/xsane-email-project.c:1672:59: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] 1672 | snprintf(buf, sizeof(buf), "

\r\n", content_id); | ^~ ~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_create_email' at ../../src/xsane-email-project.c:1672:13, inlined from 'xsane_email_send_process' at ../../src/xsane-email-project.c:1846:3, inlined from 'xsane_email_send' at ../../src/xsane-email-project.c:1953:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 22 and 276 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-multipage-project.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-multipage-project.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_project_save': ../../src/xsane-multipage-project.c:530:58: warning: '__snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 530 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.multipage_status); /* fill 32 characters status line */ | ^ In file included from /usr/include/stdio.h:964, from ../../src/xsane-multipage-project.c:26: In function 'snprintf', inlined from 'xsane_multipage_project_save' at ../../src/xsane-multipage-project.c:530:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 33 or more bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_project_save': ../../src/xsane-multipage-project.c:514:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 514 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_multipage_project_save' at ../../src/xsane-multipage-project.c:514:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_save_file': ../../src/xsane-multipage-project.c:989:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 989 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_OPEN_FAILED, multipage_filename); | ^~ ~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_multipage_save_file' at ../../src/xsane-multipage-project.c:989:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_save_file': ../../src/xsane-multipage-project.c:958:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 958 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); | ^~ ~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_multipage_save_file' at ../../src/xsane-multipage-project.c:958:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_save_file': ../../src/xsane-multipage-project.c:1073:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 1073 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); | ^~ ~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_multipage_save_file' at ../../src/xsane-multipage-project.c:1073:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-multipage-project.c: In function 'xsane_multipage_save_file': ../../src/xsane-multipage-project.c:943:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 943 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); | ^~ ~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'xsane_multipage_save_file' at ../../src/xsane-multipage-project.c:943:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-rc-io.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-rc-io.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-device-preferences.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-device-preferences.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-batch-scan.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-batch-scan.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_add': ../../src/xsane-batch-scan.c:719:13: warning: variable 'list_item' set but not used [-Wunused-but-set-variable] 719 | GtkWidget *list_item; | ^~~~~~~~~ ../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_update_label': ../../src/xsane-batch-scan.c:660:30: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 55 and 253 [-Wformat-truncation=] 660 | snprintf(buf, sizeof(buf), "%s\n" /* name */ | ^~~~~~ ...... 668 | geometry_tl_str, | ~~~~~~~~~~~~~~~ ../../src/xsane-batch-scan.c:662:31: note: format string is defined here 662 | "%s\n" /* geometry_tl */ | ^~ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_batch_scan_update_label' at ../../src/xsane-batch-scan.c:660:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 6 and 600 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_save_list': ../../src/xsane-batch-scan.c:434:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 434 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_batch_scan_save_list' at ../../src/xsane-batch-scan.c:434:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_load_list': ../../src/xsane-batch-scan.c:354:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 354 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_batch_scan_load_list' at ../../src/xsane-batch-scan.c:354:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-preferences.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-preferences.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-setup.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-setup.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-setup.c: In function 'xsane_enhance_notebook': ../../src/xsane-setup.c:3364:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] 3364 | SANE_Status status; | ^~~~~~ ../../src/xsane-setup.c: In function 'xsane_setup_browse_tmp_path_callback': ../../src/xsane-setup.c:1531:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1531 | strncpy(tmp_path, old_tmp_path, sizeof(tmp_path)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_printer_icm_profile_callback': ../../src/xsane-setup.c:1064:5: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1064 | strncpy(printer_icm_profile, old_printer_icm_profile, sizeof(printer_icm_profile)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_working_color_space_icm_profile_callback': ../../src/xsane-setup.c:1627:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1627 | strncpy(working_color_space_icm_profile, old_working_color_space_icm_profile, sizeof(working_color_space_icm_profile)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_custom_proofing_icm_profile_callback': ../../src/xsane-setup.c:1608:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1608 | strncpy(custom_proofing_icm_profile, old_custom_proofing_icm_profile, sizeof(custom_proofing_icm_profile)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_display_icm_profile_callback': ../../src/xsane-setup.c:1589:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1589 | strncpy(display_icm_profile, old_display_icm_profile, sizeof(display_icm_profile)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_scanner_default_gray_icm_profile_callback': ../../src/xsane-setup.c:1570:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1570 | strncpy(scanner_default_gray_icm_profile, old_scanner_default_gray_icm_profile, sizeof(scanner_default_gray_icm_profile)); | ^ ../../src/xsane-setup.c: In function 'xsane_setup_browse_scanner_default_color_icm_profile_callback': ../../src/xsane-setup.c:1551:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1551 | strncpy(scanner_default_color_icm_profile, old_scanner_default_color_icm_profile, sizeof(scanner_default_color_icm_profile)); | ^ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-save.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-save.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_read_pnm_header': ../../src/xsane-save.c:435:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] 435 | int items_done; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_scaled_image': ../../src/xsane-save.c:1056:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 1056 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_despeckle_image': ../../src/xsane-save.c:1356:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 1356 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_blur_image': ../../src/xsane-save.c:1557:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 1557 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_write_flatedecode': ../../src/xsane-save.c:2510:14: warning: variable 'count' set but not used [-Wunused-but-set-variable] 2510 | static int count = 0; | ^~~~~ ../../src/xsane-save.c: In function 'xsane_write_compressed_a85': ../../src/xsane-save.c:2786:14: warning: variable 'linelen' set but not used [-Wunused-but-set-variable] 2786 | static int linelen = 0; | ^~~~~~~ ../../src/xsane-save.c:2785:14: warning: variable 'cbuflen' set but not used [-Wunused-but-set-variable] 2785 | static int cbuflen = 0; | ^~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_ps_pdf_gray': ../../src/xsane-save.c:3103:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 3103 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_ps_pdf_color': ../../src/xsane-save.c:3354:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 3354 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_jpeg': ../../src/xsane-save.c:4444:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 4444 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_tiff_page': ../../src/xsane-save.c:4695:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 4695 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_png': ../../src/xsane-save.c:4964:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 4964 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_png_16': ../../src/xsane-save.c:5154:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5154 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_16_ascii_gray': ../../src/xsane-save.c:5335:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5335 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_16_ascii_color': ../../src/xsane-save.c:5443:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5443 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_16_binary_gray': ../../src/xsane-save.c:5552:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5552 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_16_binary_color': ../../src/xsane-save.c:5650:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5650 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_8_gray': ../../src/xsane-save.c:5752:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5752 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_pnm_8_color': ../../src/xsane-save.c:5848:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 5848 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-save.c: In function 'write_3chars_as_base64': ../../src/xsane-save.c:7302:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7302 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_string_base64': ../../src/xsane-save.c:7333:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7333 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_base64': ../../src/xsane-save.c:7368:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7368 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_header': ../../src/xsane-save.c:7420:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7420 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_footer': ../../src/xsane-save.c:7457:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7457 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_mime_ascii': ../../src/xsane-save.c:7468:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7468 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_mime_html': ../../src/xsane-save.c:7488:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7488 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_attach_image': ../../src/xsane-save.c:7514:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7514 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_email_attach_file': ../../src/xsane-save.c:7548:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7548 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'pop3_login': ../../src/xsane-save.c:7664:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7664 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'asmtp_authentication': ../../src/xsane-save.c:7720:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7720 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_smtp_header': ../../src/xsane-save.c:7820:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7820 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_smtp_footer': ../../src/xsane-save.c:7976:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] 7976 | ssize_t bytes_written; | ^~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_read_pnm_header': ../../src/xsane-save.c:437:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 437 | fgets(buf, sizeof(buf)-1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c:451:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 451 | fgets(buf, sizeof(buf)-1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_image_as_text': ../../src/xsane-save.c:6118:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 6118 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane-save.c:6164:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 6164 | fgets(buf, sizeof(buf), ocr_progress); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_create_cms_transform': ../../src/xsane-save.c:894:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] 894 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info->icm_profile); | ^~ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_create_cms_transform' at ../../src/xsane-save.c:894:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'xsane_save_image_as': ../../src/xsane-save.c:6271:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] 6264 | input_filename = temporary_filename; | ~~~~~~~~~~~~~~~~~~ ...... 6271 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); | ^~ In function 'snprintf', inlined from 'xsane_save_image_as' at ../../src/xsane-save.c:6271:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane-save.c: In function 'write_smtp_header': ../../src/xsane-save.c:7894:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 7894 | strncpy(to_line, to, sizeof(to_line)); /* it is not allowed to modify the "to" string, so we make a copy */ | ^ ../../src/xsane-save.c:7909:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=] 7909 | snprintf(buf, sizeof(buf), "RCPT TO: <%s>\r\n", to_pos); | ^~ In function 'snprintf', inlined from 'write_smtp_header' at ../../src/xsane-save.c:7909:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-scan.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane-scan.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane-scan.c: In function 'xsane_read_image_data': ../../src/xsane-scan.c:144:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] 144 | size_t bytes_read; | ^~~~~~~~~~ ../../src/xsane-scan.c: In function 'xsane_scan_done': ../../src/xsane-scan.c:1337:12: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] 1337 | int printer_resolution; | ^~~~~~~~~~~~~~~~~~ ../../src/xsane-scan.c:1293:11: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1293 | getcwd(pathname, sizeof(pathname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane-scan.c:1117:11: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1117 | strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile)); | ^ ../../src/xsane-scan.c:1110:11: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1110 | strncpy(image_info.icm_profile, xsane.scanner_default_gray_icm_profile, sizeof(image_info.icm_profile)); | ^ ../../src/xsane-scan.c: In function 'xsane_start_scan': ../../src/xsane-scan.c:1814:9: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1814 | strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile)); | ^ ../../src/xsane-scan.c:1807:9: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 1807 | strncpy(image_info.icm_profile, xsane.scanner_default_gray_icm_profile, sizeof(image_info.icm_profile)); | ^ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane-icons.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/libmount -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/sysprof-4 -pthread ../../src/xsane.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../../src/xsane.h:70, from ../../src/xsane.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from ../../src/xsane.h:69: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ ../../src/xsane.c: In function 'xsane_scanmode_menu_callback': ../../src/xsane.c:1120:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 1120 | const SANE_Option_Descriptor *opt; | ^~~ ../../src/xsane.c: In function 'xsane_update_xsane_callback': ../../src/xsane.c:1500:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1500 | SANE_Status status; | ^~~~~~ ../../src/xsane.c:1540:23: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1540 | SANE_Status status; | ^~~~~~ ../../src/xsane.c: In function 'xsane_info_dialog': ../../src/xsane.c:3265:43: warning: variable 'label' set but not used [-Wunused-but-set-variable] 3265 | GtkWidget *info_dialog, *vbox, *button, *label, *frame, *framebox, *hbox, *table; | ^~~~~ ../../src/xsane.c: In function 'xsane_select_device_by_key_callback': ../../src/xsane.c:5550:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5550 | xsane.selected_dev = (int) data; | ^ ../../src/xsane.c: In function 'xsane_select_device_by_mouse_callback': ../../src/xsane.c:5559:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5559 | xsane.selected_dev = (int) data; | ^ ../../src/xsane.c: In function 'xsane_pref_restore': ../../src/xsane.c:2009:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 2009 | chdir(preferences.working_directory); /* set working directory */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_show_doc': ../../src/xsane.c:4065:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 4065 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_show_doc_via_nsr': ../../src/xsane.c:3898:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 3898 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane.c:3942:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 3942 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_show_doc': ../../src/xsane.c:3875:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 246 [-Wformat-truncation=] 3875 | snprintf(buf, sizeof(buf), "openFile(%s, new-window)", name); | ^~ ...... 4041 | xsane_show_doc_via_nsr(widget, (void *) path); | ~~~~ In file included from /usr/include/stdio.h:964, from ../../src/xsane.h:47: In function 'snprintf', inlined from 'xsane_show_doc_via_nsr' at ../../src/xsane.c:3875:5, inlined from 'xsane_show_doc' at ../../src/xsane.c:4041:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 23 and 4118 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_init': ../../src/xsane.c:2024:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] 2024 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, OUT_FILENAME); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_pref_restore' at ../../src/xsane.c:2024:7, inlined from 'xsane_init' at ../../src/xsane.c:5981:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 9 and 4104 bytes into a destination of size 4094 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_init': ../../src/xsane.c:2055:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] 2055 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, FAXPROJECT); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_pref_restore' at ../../src/xsane.c:2055:7, inlined from 'xsane_init' at ../../src/xsane.c:5981:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 12 and 4107 bytes into a destination of size 4094 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_init': ../../src/xsane.c:2137:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] 2137 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, EMAILPROJECT); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_pref_restore' at ../../src/xsane.c:2137:7, inlined from 'xsane_init' at ../../src/xsane.c:5981:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 14 and 4109 bytes into a destination of size 4094 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ../../src/xsane.c: In function 'xsane_init': ../../src/xsane.c:2164:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] 2164 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, MULTIPAGEPROJECT); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'xsane_pref_restore' at ../../src/xsane.c:2164:7, inlined from 'xsane_init' at ../../src/xsane.c:5981:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 18 and 4113 bytes into a destination of size 4094 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o xsane xsane-back-gtk.o xsane-front-gtk.o xsane-gamma.o xsane-preview.o xsane-viewer.o xsane-fax-project.o xsane-email-project.o xsane-multipage-project.o xsane-rc-io.o xsane-device-preferences.o xsane-batch-scan.o xsane-preferences.o xsane-setup.o xsane-save.o xsane-scan.o xsane-icons.o xsane.o \ ../lib/liblib.a -lsane -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lharfbuzz -lfontconfig -lgdk_pixbuf-2.0 -lcairo -lfreetype -lglib-2.0 -lpango-1.0 -lgobject-2.0 -lpng -llcms2 -ltiff -ljpeg -lz -lm make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/src' making all in po make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/po' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/po' making all in doc make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/doc' sed -e 's|@DATADIR@|/usr/share|g' \ -e 's|@SANEDATADIR@|/usr/share/sane|g' \ -e 's|@CONFIGDIR@|/etc/sane.d|g' \ -e 's|@LIBDIR@|/usr/lib64|g' \ -e 's|@BINDIR@|/usr/bin|g' \ -e 's|@SBINDIR@|/usr/sbin|g' ../../doc/xsane.man >xsane.1 make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/doc' + popd ~/build/BUILD/xsane-0.999 + cp /builddir/build/SOURCES/xsane-256x256.png src/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XvWNX1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xsane-0.999 + pushd build-without-gimp ~/build/BUILD/xsane-0.999/build-without-gimp ~/build/BUILD/xsane-0.999 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64 'INSTALL=/usr/bin/install -p' for subdir in lib src po doc; do \ target=`echo install-recursive | sed s/-recursive//`; \ echo making $target in $subdir; \ (cd $subdir && /usr/bin/make $target) \ || case "" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making install in lib make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/lib' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/lib' making install in src make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/src' ../../mkinstalldirs /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/bin /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/sbin /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/applications /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/pixmaps mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/bin mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/sbin mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/applications mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/pixmaps /usr/bin/install -p -m 644 ../../src/xsane-style.rc /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/xsane-style.rc /usr/bin/install -p -m 644 ../../src/xsane-startimage.pnm /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/xsane-startimage.pnm /usr/bin/install -p -m 644 ../../src/xsane-calibration.pnm /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/xsane-calibration.pnm /usr/bin/install -p -m 644 ../../src/xsane-logo.xpm /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/xsane-logo.xpm /usr/bin/install -p -m 644 ../../src/xsane-gpl.txt /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/xsane-gpl.txt /usr/bin/install -p -m 644 ../../src/xsane-eula.txt /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/xsane-eula.txt /usr/bin/install -p -m 644 ../../src/xsane.desktop /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/applications/xsane.desktop /usr/bin/install -p -m 644 ../../src/xsane.xpm /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/pixmaps/xsane.xpm installing /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/Mustek-logo.xpm installing /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/Plustek-logo.xpm installing /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/UMAX-logo.xpm installing /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/sane-epson-logo.xpm installing /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/sane-hp-logo.xpm installing /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/sane-umax-logo.xpm installing /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/sane-xsane-logo.xpm installing /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/xsane-logo.xpm make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/src' making install in po make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/po' ../../mkinstalldirs /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share; mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ca mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ca/LC_MESSAGES installing ../../po/ca.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ca/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/cs mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/cs/LC_MESSAGES installing ../../po/cs.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/cs/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/da mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/da/LC_MESSAGES installing ../../po/da.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/da/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/de mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/de/LC_MESSAGES installing ../../po/de.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/de/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/es mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/es/LC_MESSAGES installing ../../po/es.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/es/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/fi mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/fi/LC_MESSAGES installing ../../po/fi.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/fi/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/fr mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/fr/LC_MESSAGES installing ../../po/fr.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/fr/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/hu mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/hu/LC_MESSAGES installing ../../po/hu.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/hu/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/it mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/it/LC_MESSAGES installing ../../po/it.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/it/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ja mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ja/LC_MESSAGES installing ../../po/ja.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ja/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/nl mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/nl/LC_MESSAGES installing ../../po/nl.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/nl/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pa mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pa/LC_MESSAGES installing ../../po/pa.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pa/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pl mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pl/LC_MESSAGES installing ../../po/pl.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pl/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pt mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pt/LC_MESSAGES installing ../../po/pt.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pt/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pt_BR mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pt_BR/LC_MESSAGES installing ../../po/pt_BR.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/pt_BR/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ro mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ro/LC_MESSAGES installing ../../po/ro.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ro/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ru mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ru/LC_MESSAGES installing ../../po/ru.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/ru/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sk mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sk/LC_MESSAGES installing ../../po/sk.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sk/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sl mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sl/LC_MESSAGES installing ../../po/sl.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sl/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sr mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sr/LC_MESSAGES installing ../../po/sr.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sr/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sv mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sv/LC_MESSAGES installing ../../po/sv.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/sv/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/vi mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/vi/LC_MESSAGES installing ../../po/vi.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/vi/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/tr mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/tr/LC_MESSAGES installing ../../po/tr.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/tr/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/zh mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/zh/LC_MESSAGES installing ../../po/zh.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/zh/LC_MESSAGES/xsane.mo mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/zh_CN mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/zh_CN/LC_MESSAGES installing ../../po/zh_CN.gmo as /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/locale/zh_CN/LC_MESSAGES/xsane.mo make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/po' making install in doc make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/doc' ../../mkinstalldirs /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/man mkdir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/man/man1 installing xsane.1 in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/man/man1/xsane.1... ../../mkinstalldirs /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share ../../mkinstalldirs /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc installing sane-backends-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-backends-doc.html... installing sane-pnm-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-pnm-doc.html... installing sane-problems-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-problems-doc.html... installing sane-scantips-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-scantips-doc.html... installing sane-xsane-advanced-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-advanced-doc.html... installing sane-xsane-batch-scan-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-batch-scan-doc.html... installing sane-xsane-color-correction-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-color-correction-doc.html... installing sane-xsane-color-management-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-color-management-doc.html... installing sane-xsane-copy-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-copy-doc.html... installing sane-xsane-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-doc.html... installing sane-xsane-email-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-email-doc.html... installing sane-xsane-empty-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-empty-doc.html... installing sane-xsane-fax-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-fax-doc.html... installing sane-xsane-gimp-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-gimp-doc.html... installing sane-xsane-guide-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-guide-doc.html... installing sane-xsane-histogram-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-histogram-doc.html... installing sane-xsane-medium-definition-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-medium-definition-doc.html... installing sane-xsane-multipage-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-multipage-doc.html... installing sane-xsane-preview-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-preview-doc.html... installing sane-xsane-save-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-save-doc.html... installing sane-xsane-scan-options-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-scan-options-doc.html... installing sane-xsane-setup-color-management-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-setup-color-management-doc.html... installing sane-xsane-setup-copy-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-setup-copy-doc.html... installing sane-xsane-setup-display-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-setup-display-doc.html... installing sane-xsane-setup-email-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-setup-email-doc.html... installing sane-xsane-setup-enhancement-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-setup-enhancement-doc.html... installing sane-xsane-setup-fax-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-setup-fax-doc.html... installing sane-xsane-setup-filetype-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-setup-filetype-doc.html... installing sane-xsane-setup-save-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-setup-save-doc.html... installing sane-xsane-standard-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-standard-doc.html... installing sane-xsane-viewer-doc.html in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/sane-xsane-viewer-doc.html... installing xsane-adf-pages.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-adf-pages.jpg... installing xsane-advanced.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-advanced.jpg... installing xsane-aspect-ratio.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-aspect-ratio.jpg... installing xsane-autoenhance.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-autoenhance.jpg... installing xsane-autoraise_scanarea.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-autoraise_scanarea.jpg... installing xsane-autoselect.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-autoselect.jpg... installing xsane-batch-scan-add.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-batch-scan-add.jpg... installing xsane-batch-scan-delete.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-batch-scan-delete.jpg... installing xsane-batch-scan.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-batch-scan.jpg... installing xsane-blur.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-blur.jpg... installing xsane-brightness.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-brightness.jpg... installing xsane-clone.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-clone.jpg... installing xsane-cms-function.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-cms-function.jpg... installing xsane-color-correction-rgb-default.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-color-correction-rgb-default.jpg... installing xsane-color-correction.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-color-correction.jpg... installing xsane-color-management-main-window.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-color-management-main-window.jpg... installing xsane-colormode.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-colormode.jpg... installing xsane-contrast.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-contrast.jpg... installing xsane-copy-number.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-copy-number.jpg... installing xsane-copy.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-copy.jpg... installing xsane-default.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-default.jpg... installing xsane-delete-preview-cache.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-delete-preview-cache.jpg... installing xsane-despeckle.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-despeckle.jpg... installing xsane-disk.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-disk.jpg... installing xsane-edit-medium.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-edit-medium.jpg... installing xsane-email-project.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-email-project.jpg... installing xsane-email.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-email.jpg... installing xsane-enable-color-management.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-enable-color-management.jpg... installing xsane-fax-project.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-fax-project.jpg... installing xsane-fax.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-fax.jpg... installing xsane-gamma.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-gamma.jpg... installing xsane-gimp.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-gimp.jpg... installing xsane-guide-1-decoration.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-1-decoration.jpg... installing xsane-guide-10-scan.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-10-scan.jpg... installing xsane-guide-2-menu.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-2-menu.jpg... installing xsane-guide-3-options.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-3-options.jpg... installing xsane-guide-4.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-4.jpg... installing xsane-guide-4a-adf-pages.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-4a-adf-pages.jpg... installing xsane-guide-4b-xsane-mode.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-4b-xsane-mode.jpg... installing xsane-guide-5-saving-options.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-5-saving-options.jpg... installing xsane-guide-6-scan-options.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-6-scan-options.jpg... installing xsane-guide-7-medium-selection.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-7-medium-selection.jpg... installing xsane-guide-8-resolution.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-8-resolution.jpg... installing xsane-guide-9-color-correction.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-guide-9-color-correction.jpg... installing xsane-histogram.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-histogram.jpg... installing xsane-logo.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-logo.jpg... installing xsane-medium-add.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-medium-add.jpg... installing xsane-medium.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-medium.jpg... installing xsane-mirror-x.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-mirror-x.jpg... installing xsane-mirror-y.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-mirror-y.jpg... installing xsane-multipage-project.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-multipage-project.jpg... installing xsane-multipage.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-multipage.jpg... installing xsane-negative.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-negative.jpg... installing xsane-new.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-new.jpg... installing xsane-ocr.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-ocr.jpg... installing xsane-open.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-open.jpg... installing xsane-paper-landscape-bottom-left.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-paper-landscape-bottom-left.jpg... installing xsane-paper-landscape-bottom-right.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-paper-landscape-bottom-right.jpg... installing xsane-paper-landscape-center.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-paper-landscape-center.jpg... installing xsane-paper-landscape-top-left.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-paper-landscape-top-left.jpg... installing xsane-paper-landscape-top-right.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-paper-landscape-top-right.jpg... installing xsane-paper-portrait-bottom-left.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-paper-portrait-bottom-left.jpg... installing xsane-paper-portrait-bottom-right.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-paper-portrait-bottom-right.jpg... installing xsane-paper-portrait-center.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-paper-portrait-center.jpg... installing xsane-paper-portrait-top-left.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-paper-portrait-top-left.jpg... installing xsane-paper-portrait-top-right.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-paper-portrait-top-right.jpg... installing xsane-pipette-black.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-pipette-black.jpg... installing xsane-pipette-gray.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-pipette-gray.jpg... installing xsane-pipette-white.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-pipette-white.jpg... installing xsane-preferences.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-preferences.jpg... installing xsane-preset-area-context-menu.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-preset-area-context-menu.jpg... installing xsane-preset-area.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-preset-area.jpg... installing xsane-preview.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-preview.jpg... installing xsane-printer.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-printer.jpg... installing xsane-rename.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-rename.jpg... installing xsane-resolution.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-resolution.jpg... installing xsane-restore.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-restore.jpg... installing xsane-rgb-default.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-rgb-default.jpg... installing xsane-rgb-values.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-rgb-values.jpg... installing xsane-rotate-180.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-rotate-180.jpg... installing xsane-rotate-270.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-rotate-270.jpg... installing xsane-rotate-90.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-rotate-90.jpg... installing xsane-rotation.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-rotation.jpg... installing xsane-save.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-save.jpg... installing xsane-save2.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-save2.jpg... installing xsane-scale.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-scale.jpg... installing xsane-scansource.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-scansource.jpg... installing xsane-setup-color-management.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-setup-color-management.jpg... installing xsane-setup-copy.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-setup-copy.jpg... installing xsane-setup-display.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-setup-display.jpg... installing xsane-setup-email.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-setup-email.jpg... installing xsane-setup-enhancement.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-setup-enhancement.jpg... installing xsane-setup-fax.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-setup-fax.jpg... installing xsane-setup-filetype.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-setup-filetype.jpg... installing xsane-setup-ocr.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-setup-ocr.jpg... installing xsane-setup-save.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-setup-save.jpg... installing xsane-standard.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-standard.jpg... installing xsane-step.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-step.jpg... installing xsane-store.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-store.jpg... installing xsane-target.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-target.jpg... installing xsane-threshold.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-threshold.jpg... installing xsane-viewer-window.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-viewer-window.jpg... installing xsane-viewer.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-viewer.jpg... installing xsane-visible-area.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-visible-area.jpg... installing xsane-zoom-in.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-zoom-in.jpg... installing xsane-zoom-not.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-zoom-not.jpg... installing xsane-zoom-out.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-zoom-out.jpg... installing xsane-zoom-undo.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-zoom-undo.jpg... installing xsane-zoom.jpg in /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/sane/xsane/doc/xsane-zoom.jpg... make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/doc' + popd ~/build/BUILD/xsane-0.999 + install -m 0755 -d /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/lib64/gimp/2.0/plug-ins + install -m 0755 build-with-gimp/src/xsane /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/lib64/gimp/2.0/plug-ins + rm /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/applications/xsane.desktop + desktop-file-install --dir /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/applications src/xsane.desktop + for res in 16 32 48 256 + tdir=/builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/16x16/apps + install -m 0755 -d /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/16x16/apps + install -m 0644 src/xsane-16x16.png /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/16x16/apps/xsane.png + for res in 16 32 48 256 + tdir=/builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/32x32/apps + install -m 0755 -d /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/32x32/apps + install -m 0644 src/xsane-32x32.png /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/32x32/apps/xsane.png + for res in 16 32 48 256 + tdir=/builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/48x48/apps + install -m 0755 -d /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/48x48/apps + install -m 0644 src/xsane-48x48.png /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/48x48/apps/xsane.png + for res in 16 32 48 256 + tdir=/builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/256x256/apps + install -m 0755 -d /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/256x256/apps + install -m 0644 src/xsane-256x256.png /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/icons/hicolor/256x256/apps/xsane.png + mkdir -p /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/appdata + cat + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64 xsane XSANE.lang + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.999-45.fc39 --unique-debug-suffix -0.999-45.fc39.x86_64 --unique-debug-src-base xsane-0.999-45.fc39.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/xsane-0.999 extracting debug info from /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/bin/xsane extracting debug info from /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/lib64/gimp/2.0/plug-ins/xsane original debug info size: 4380kB, size after compression: 3700kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 3505 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/xsane-0.999-45.fc39.x86_64/include/md5.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/xsane-0.999-45.fc39.x86_64/include/getopt.h is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: xsane-0.999-45.fc39.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BmQLZB + umask 022 + cd /builddir/build/BUILD + cd xsane-0.999 + DOCDIR=/builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.ACCELKEYS /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.AUTHOR /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.BEGINNERS-INFO /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.BUGS /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.CHANGES /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.FAQ /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.LANGUAGES /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.LOGO /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.NEWS /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.ONLINEHELP /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.PROBLEMS /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.ROOT /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + cp -pr xsane.TODO /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.a7Xfc8 + umask 022 + cd /builddir/build/BUILD + cd xsane-0.999 + LICENSEDIR=/builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/licenses/xsane + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/licenses/xsane + cp -pr xsane.COPYING /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/licenses/xsane + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(xsane.desktop) metainfo() metainfo(xsane.appdata.xml) xsane = 0.999-45.fc39 xsane(x86-64) = 0.999-45.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: glibc >= 2.37.9000-10 libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgdk-x11-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) liblcms2.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libsane.so.1()(64bit) libtiff.so.6()(64bit) libtiff.so.6(LIBTIFF_4.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: xsane-gimp-0.999-45.fc39.x86_64 Provides: xsane-gimp = 0.999-45.fc39 xsane-gimp(x86-64) = 0.999-45.fc39 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires: glibc >= 2.37.9000-10 libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgdk-x11-2.0.so.0()(64bit) libgimp-2.0.so.0()(64bit) libgimpbase-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) liblcms2.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libsane.so.1()(64bit) libtiff.so.6()(64bit) libtiff.so.6(LIBTIFF_4.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: xsane-common-0.999-45.fc39.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eefUpz + umask 022 + cd /builddir/build/BUILD + cd xsane-0.999 + DOCDIR=/builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane-common + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane-common + cp -pr xsane.AUTHOR /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/doc/xsane-common + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.o0M3AN + umask 022 + cd /builddir/build/BUILD + cd xsane-0.999 + LICENSEDIR=/builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/licenses/xsane-common + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/licenses/xsane-common + cp -pr xsane.COPYING /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64/usr/share/licenses/xsane-common + RPM_EC=0 ++ jobs -p + exit 0 Provides: xsane-common = 0.999-45.fc39 xsane-common(x86-64) = 0.999-45.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xsane-debugsource-0.999-45.fc39.x86_64 Provides: xsane-debugsource = 0.999-45.fc39 xsane-debugsource(x86-64) = 0.999-45.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xsane-debuginfo-0.999-45.fc39.x86_64 Provides: debuginfo(build-id) = 55cbcde6bdfe4fae8f34a192a5a0ec6b1533256e xsane-debuginfo = 0.999-45.fc39 xsane-debuginfo(x86-64) = 0.999-45.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xsane-debugsource(x86-64) = 0.999-45.fc39 Processing files: xsane-gimp-debuginfo-0.999-45.fc39.x86_64 Provides: debuginfo(build-id) = 71d968f61e334955e65ae36aa8f93e646f6ac5d2 xsane-gimp-debuginfo = 0.999-45.fc39 xsane-gimp-debuginfo(x86-64) = 0.999-45.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xsane-debugsource(x86-64) = 0.999-45.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64 Wrote: /builddir/build/RPMS/xsane-common-0.999-45.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/xsane-0.999-45.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/xsane-debuginfo-0.999-45.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/xsane-gimp-debuginfo-0.999-45.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/xsane-gimp-0.999-45.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/xsane-debugsource-0.999-45.fc39.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xw8l7L + umask 022 + cd /builddir/build/BUILD + cd xsane-0.999 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xsane-0.999-45.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.yuCOV5 + umask 022 + cd /builddir/build/BUILD + rm -rf xsane-0.999 xsane-0.999.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (18 usages found), use %patch N (or %patch -P N) Child return code was: 0