D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/xsane-0.999-20.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.H6ZcJf
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.W5VPfM
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xsane-0.999-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/xsane-0.999-build
+ rm -rf xsane-0.999
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/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 .
+ echo 'Patch #0 (xsane-0.995-xdg-open.patch):'
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
+ echo 'Patch #1 (xsane-0.995-close-fds.patch):'
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
+ echo 'Patch #3 (xsane-0.997-off-root-build.patch):'
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
+ echo 'Patch #4 (xsane-0.999-no-file-selected.patch):'
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
+ echo 'Patch #5 (xsane-0.997-ipv6.patch):'
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
+ echo 'Patch #6 (xsane-0.998-preview-selection.patch):'
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
+ echo 'Patch #7 (xsane-0.998-libpng.patch):'
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
+ echo 'Patch #8 (xsane-0.998-wmclass.patch):'
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
Hunk #1 succeeded at 6212 (offset 4 lines).
+ echo 'Patch #9 (xsane-desktop.patch):'
Patch #9 (xsane-desktop.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .desktop-file --fuzz=0
patching file src/xsane.desktop
+ echo 'Patch #10 (xsane-0.999-man-page.patch):'
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
+ echo 'Patch #11 (xsane-0.999-pdf-no-high-bpp.patch):'
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
+ echo 'Patch #12 (xsane-0.999-lcms2.patch):'
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
+ echo 'Patch #13 (xsane-0.999-coverity.patch):'
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
Hunk #1 succeeded at 801 (offset -2 lines).
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 3696 (offset -111 lines).
Hunk #19 succeeded at 4043 (offset -111 lines).
Hunk #20 succeeded at 4053 (offset -111 lines).
Hunk #21 succeeded at 4063 (offset -111 lines).
Hunk #22 succeeded at 5605 (offset -111 lines).
+ echo 'Patch #14 (xsane-0.999-snprintf-update.patch):'
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
+ echo 'Patch #15 (xsane-0.999-signal-handling.patch):'
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
Hunk #5 succeeded at 6138 (offset 4 lines).
Hunk #6 succeeded at 6183 (offset 4 lines).
+ echo 'Patch #16 (xsane-configure-implicit-function-declaration.patch):'
Patch #16 (xsane-configure-implicit-function-declaration.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .implicit-function-declaration --fuzz=0
patching file configure
patching file m4/sane.m4
+ echo 'Patch #17 (xsane-gamma-GCC15.patch):'
Patch #17 (xsane-gamma-GCC15.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file src/xsane-gamma.c
+ echo 'Patch #18 (xsane-save-GCC15.patch):'
Patch #18 (xsane-save-GCC15.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file src/xsane-save.h
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UblXEE
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xsane-0.999-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ 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
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
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-mageia-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-mageia-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 cmsOpenProfileFromFile in -llcms... no
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-mageia-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... 
*** Could not run GIMP test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GIMP is incorrectly installed.
*** When gimp-2.0 is not installed but gimp-1.x is installed then you can
*** ignore this error message.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.24.33)
checking for gimp-config... no
checking for gimptool... no
checking libgimp/gimp.h usability... no
checking libgimp/gimp.h presence... no
checking for libgimp/gimp.h... no
checking libgimp/gimpfeatures.h usability... no
checking libgimp/gimpfeatures.h presence... no
checking for libgimp/gimpfeatures.h... no
no

*** Could not run GIMP test program, checking why...
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 deactivated                *
*                                                              *
****************************************************************
*                                                              *
* 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


+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-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-mageia-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-mageia-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 cmsOpenProfileFromFile in -llcms... no
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-mageia-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
config.status: include/config.h is unchanged
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 deactivated                *
*                                                              *
****************************************************************
*                                                              *
* 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 -j16 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 "-j16 -Otarget --jobserver-auth=fifo:/tmp/GMfifo392126 --sync-mutex=fnm:/tmp/GmiYVoxr" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$fail"
making all in lib
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -I../include -D_GNU_SOURCE 	  -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall alloca.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -I../include -D_GNU_SOURCE 	  -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall strndup.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -I../include -D_GNU_SOURCE 	  -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall snprintf.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -I../include -D_GNU_SOURCE 	  -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall usleep.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -I../include -D_GNU_SOURCE 	  -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall strsep.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -I../include -D_GNU_SOURCE 	  -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall getopt1.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -I../include -D_GNU_SOURCE 	  -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall getopt.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -I../include -D_GNU_SOURCE 	  -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall strdup.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -I../include -D_GNU_SOURCE 	  -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall md5.c
md5.c: In function 'md5_init_ctx':
md5.c:63:1: warning: old-style function definition [-Wold-style-definition]
   63 | md5_init_ctx (ctx)
      | ^~~~~~~~~~~~
md5.c: In function 'md5_read_ctx':
md5.c:81:1: warning: old-style function definition [-Wold-style-definition]
   81 | md5_read_ctx (ctx, resbuf)
      | ^~~~~~~~~~~~
md5.c: In function 'md5_finish_ctx':
md5.c:99:1: warning: old-style function definition [-Wold-style-definition]
   99 | md5_finish_ctx (ctx, resbuf)
      | ^~~~~~~~~~~~~~
md5.c: In function 'md5_stream':
md5.c:130:1: warning: old-style function definition [-Wold-style-definition]
  130 | md5_stream (stream, resblock)
      | ^~~~~~~~~~
md5.c: In function 'md5_buffer':
md5.c:187:1: warning: old-style function definition [-Wold-style-definition]
  187 | md5_buffer (buffer, len, resblock)
      | ^~~~~~~~~~
md5.c: In function 'md5_process_bytes':
md5.c:206:1: warning: old-style function definition [-Wold-style-definition]
  206 | md5_process_bytes (buffer, len, ctx)
      | ^~~~~~~~~~~~~~~~~
md5.c: In function 'md5_process_block':
md5.c:264:1: warning: old-style function definition [-Wold-style-definition]
  264 | md5_process_block (buffer, len, ctx)
      | ^~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
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 '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
making all in src
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread xsane-icons.c
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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 '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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 '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-batch-scan.c: In function 'xsane_batch_scan_add':
xsane-batch-scan.c:719:13: warning: variable 'list_item' set but not used [-Wunused-but-set-variable]
  719 |  GtkWidget *list_item;
      |             ^~~~~~~~~
xsane-batch-scan.c: In function 'xsane_batch_scan_update_label':
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,
      |        ~~~~~~~~~~~~~~~        
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:970,
                 from xsane.h:47:
In function 'snprintf',
    inlined from 'xsane_batch_scan_update_label' at xsane-batch-scan.c:660:3:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 600 bytes into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-batch-scan.c: In function 'xsane_batch_scan_save_list':
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 xsane-batch-scan.c:434:7:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-batch-scan.c: In function 'xsane_batch_scan_load_list':
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 xsane-batch-scan.c:354:7:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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 '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-multipage-project.c: In function 'xsane_multipage_project_save':
xsane-multipage-project.c:530:58: warning: '__builtin___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:970,
                 from xsane-multipage-project.c:26:
In function 'snprintf',
    inlined from 'xsane_multipage_project_save' at xsane-multipage-project.c:530:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-multipage-project.c: In function 'xsane_multipage_project_save':
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 xsane-multipage-project.c:514:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-multipage-project.c: In function 'xsane_multipage_save_file':
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 xsane-multipage-project.c:989:7:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-multipage-project.c: In function 'xsane_multipage_save_file':
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 xsane-multipage-project.c:958:7:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-multipage-project.c: In function 'xsane_multipage_save_file':
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 xsane-multipage-project.c:1073:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-multipage-project.c: In function 'xsane_multipage_save_file':
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 xsane-multipage-project.c:943:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-fax-project.c: In function 'xsane_fax_send':
xsane-fax-project.c:1301:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
 1301 |       setuid(getuid());
      |       ^~~~~~~~~~~~~~~~
xsane-fax-project.c: In function 'xsane_fax_show_callback':
xsane-fax-project.c:1075:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
 1075 |         setuid(getuid());
      |         ^~~~~~~~~~~~~~~~
xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback':
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);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xsane-fax-project.c: In function 'xsane_fax_project_update_project_status':
xsane-fax-project.c:461:56: warning: '__builtin___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:970,
                 from xsane.h:47:
In function 'snprintf',
    inlined from 'xsane_fax_project_update_project_status' at xsane-fax-project.c:461:3:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-fax-project.c: In function 'xsane_fax_send':
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 xsane-fax-project.c:1113:3,
    inlined from 'xsane_fax_send' at xsane-fax-project.c:1272:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-fax-project.c: In function 'xsane_fax_send':
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 xsane-fax-project.c:1177:5,
    inlined from 'xsane_fax_send' at xsane-fax-project.c:1272:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-fax-project.c: In function 'xsane_fax_send':
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 xsane-fax-project.c:1165:7,
    inlined from 'xsane_fax_send' at xsane-fax-project.c:1272:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-fax-project.c: In function 'xsane_fax_send':
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 xsane-fax-project.c:1264:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-fax-project.c: In function 'xsane_fax_project_save':
xsane-fax-project.c:507:58: warning: '__builtin___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 xsane-fax-project.c:507:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-fax-project.c: In function 'xsane_fax_project_save':
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 xsane-fax-project.c:490:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback':
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 xsane-fax-project.c:937:11:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 1024
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-email-project.c: In function 'xsane_email_project_display_status':
xsane-email-project.c:496:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable]
  496 |  int items_done;
      |      ^~~~~~~~~~
xsane-email-project.c: In function 'xsane_create_email':
xsane-email-project.c:1528:9: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 1528 |  size_t bytes_written;
      |         ^~~~~~~~~~~~~
xsane-email-project.c: In function 'xsane_email_send':
xsane-email-project.c:1940:10: warning: variable 'ipc_file' set but not used [-Wunused-but-set-variable]
 1940 |    FILE *ipc_file = NULL;
      |          ^~~~~~~~
xsane-email-project.c:1950:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
 1950 |     setuid(getuid());
      |     ^~~~~~~~~~~~~~~~
xsane-email-project.c: In function 'xsane_email_project_display_status':
xsane-email-project.c:904:56: warning: '__builtin___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:970,
                 from xsane.h:47:
In function 'snprintf',
    inlined from 'xsane_email_project_update_project_status' at xsane-email-project.c:904:3,
    inlined from 'xsane_email_project_display_status' at xsane-email-project.c:559:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-email-project.c: In function 'xsane_email_project_save':
xsane-email-project.c:949:58: warning: '__builtin___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 xsane-email-project.c:949:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-email-project.c: In function 'xsane_email_project_save':
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 xsane-email-project.c:933:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-email-project.c: In function 'xsane_email_send':
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), "<p><img SRC=\"cid:%s\">\r\n", content_id);
      |                                                       ^~          ~~~~~~~~~~
In function 'snprintf',
    inlined from 'xsane_create_email' at xsane-email-project.c:1701:9,
    inlined from 'xsane_email_send_process' at xsane-email-project.c:1846:3,
    inlined from 'xsane_email_send' at xsane-email-project.c:1953:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-email-project.c: In function 'xsane_email_send':
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), "<p><img SRC=\"cid:%s\">\r\n", content_id);
      |                                                           ^~          ~~~~~~~~~~
In function 'snprintf',
    inlined from 'xsane_create_email' at xsane-email-project.c:1672:13,
    inlined from 'xsane_email_send_process' at xsane-email-project.c:1846:3,
    inlined from 'xsane_email_send' at xsane-email-project.c:1953:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-scan.c: In function 'xsane_read_image_data':
xsane-scan.c:144:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
  144 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-scan.c: In function 'xsane_scan_done':
xsane-scan.c:1337:12: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable]
 1337 |        int printer_resolution;
      |            ^~~~~~~~~~~~~~~~~~
xsane-scan.c:1293:11: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
 1293 |           getcwd(pathname, sizeof(pathname));
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xsane-scan.c:1117:11: warning: '__builtin_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));
      |           ^
xsane-scan.c:1110:11: warning: '__builtin_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));
      |           ^
xsane-scan.c: In function 'xsane_start_scan':
xsane-scan.c:1814:9: warning: '__builtin_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));
      |         ^
xsane-scan.c:1807:9: warning: '__builtin_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 '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-viewer.c: In function 'xsane_viewer_scale_set_size_x_value_and_adjustments':
xsane-viewer.c:532:19: warning: variable 'image_height' set but not used [-Wunused-but-set-variable]
  532 |  int image_width, image_height;
      |                   ^~~~~~~~~~~~
xsane-viewer.c: In function 'xsane_viewer_scale_set_size_y_value_and_adjustments':
xsane-viewer.c:556:6: warning: variable 'image_width' set but not used [-Wunused-but-set-variable]
  556 |  int image_width, image_height;
      |      ^~~~~~~~~~~
xsane-viewer.c: In function 'xsane_viewer_read_image_header':
xsane-viewer.c:2157:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable]
 2157 |  int pos0;
      |      ^~~~
xsane-viewer.c: In function 'xsane_viewer_read_image':
xsane-viewer.c:2212:6: warning: variable 'nread' set but not used [-Wunused-but-set-variable]
 2212 |  int nread;
      |      ^~~~~
xsane-viewer.c:2209:17: warning: unused variable 'cms_row' [-Wunused-variable]
 2209 |  unsigned char *cms_row, *row = NULL, *src_row = NULL;
      |                 ^~~~~~~
xsane-viewer.c: In function 'xsane_viewer_save_callback':
xsane-viewer.c:379:7: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
  379 |       getcwd(pathname, sizeof(pathname));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xsane-viewer.c:283:5: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  283 |     strncpy(outputfilename, preferences.filename, sizeof(outputfilename));
      |     ^
xsane-viewer.c:279:5: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  279 |     strncpy(outputfilename, v->output_filename, sizeof(outputfilename));
      |     ^
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-front-gtk.c: In function 'xsane_set_all_resolutions':
xsane-front-gtk.c:351:6: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable]
  351 |  int printer_resolution;
      |      ^~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-back-gtk.c: In function 'xsane_back_gtk_button_update':
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]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-gamma.c: In function 'xsane_slider_callback':
xsane-gamma.c:593:18: warning: variable 'motion_event' set but not used [-Wunused-but-set-variable]
  593 |  GdkEventMotion *motion_event;
      |                  ^~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-setup.c: In function 'xsane_enhance_notebook':
xsane-setup.c:3364:22: warning: variable 'status' set but not used [-Wunused-but-set-variable]
 3364 |          SANE_Status status;
      |                      ^~~~~~
xsane-setup.c: In function 'xsane_setup_browse_tmp_path_callback':
xsane-setup.c:1531:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
 1531 |   strncpy(tmp_path, old_tmp_path, sizeof(tmp_path));
      |   ^
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane.c: In function 'xsane_scanmode_menu_callback':
xsane.c:1120:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable]
 1120 |  const SANE_Option_Descriptor *opt;
      |                                ^~~
xsane.c: In function 'xsane_update_xsane_callback':
xsane.c:1500:22: warning: variable 'status' set but not used [-Wunused-but-set-variable]
 1500 |          SANE_Status status;
      |                      ^~~~~~
xsane.c:1540:23: warning: variable 'status' set but not used [-Wunused-but-set-variable]
 1540 |           SANE_Status status;
      |                       ^~~~~~
xsane.c: In function 'xsane_info_dialog':
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;
      |                                           ^~~~~
xsane.c: In function 'xsane_select_device_by_key_callback':
xsane.c:5547:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 5547 |   xsane.selected_dev = (int) data;
      |                        ^
xsane.c: In function 'xsane_select_device_by_mouse_callback':
xsane.c:5556:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 5556 |   xsane.selected_dev = (int) data;
      |                        ^
xsane.c: In function 'xsane_pref_restore':
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 */
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xsane.c: In function 'xsane_show_doc':
xsane.c:4062:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
 4062 |       setuid(getuid());
      |       ^~~~~~~~~~~~~~~~
xsane.c: In function 'xsane_show_doc_via_nsr':
xsane.c:3895:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
 3895 |       setuid(getuid());
      |       ^~~~~~~~~~~~~~~~
xsane.c:3939:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
 3939 |       setuid(getuid());
      |       ^~~~~~~~~~~~~~~~
xsane.c: At top level:
xsane.c:1166:13: warning: 'xsane_cms_function_menu_callback' defined but not used [-Wunused-function]
 1166 | static void xsane_cms_function_menu_callback(GtkWidget *widget, gpointer data)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xsane.c: In function 'xsane_show_doc':
xsane.c:3872:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 246 [-Wformat-truncation=]
 3872 |     snprintf(buf, sizeof(buf), "openFile(%s, new-window)", name);
      |                                          ^~
......
 4038 |     xsane_show_doc_via_nsr(widget, (void *) path);
      |                                             ~~~~
In file included from /usr/include/stdio.h:970,
                 from xsane.h:47:
In function 'snprintf',
    inlined from 'xsane_show_doc_via_nsr' at xsane.c:3872:5,
    inlined from 'xsane_show_doc' at xsane.c:4038:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 23 and 4118 bytes into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane.c: In function 'xsane_init':
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 xsane.c:2024:7,
    inlined from 'xsane_init' at xsane.c:5977:7:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4094
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane.c: In function 'xsane_init':
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 xsane.c:2055:7,
    inlined from 'xsane_init' at xsane.c:5977:7:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 12 and 4107 bytes into a destination of size 4094
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane.c: In function 'xsane_init':
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 xsane.c:2137:7,
    inlined from 'xsane_init' at xsane.c:5977:7:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 14 and 4109 bytes into a destination of size 4094
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane.c: In function 'xsane_init':
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 xsane.c:2164:7,
    inlined from 'xsane_init' at xsane.c:5977:7:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4094
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-save.c: In function 'xsane_read_pnm_header':
xsane-save.c:435:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable]
  435 |  int items_done;
      |      ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_scaled_image':
xsane-save.c:1056:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 1056 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_despeckle_image':
xsane-save.c:1356:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 1356 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_blur_image':
xsane-save.c:1557:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 1557 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_write_flatedecode':
xsane-save.c:2510:14: warning: variable 'count' set but not used [-Wunused-but-set-variable]
 2510 |   static int count = 0;
      |              ^~~~~
xsane-save.c: In function 'xsane_write_compressed_a85':
xsane-save.c:2786:14: warning: variable 'linelen' set but not used [-Wunused-but-set-variable]
 2786 |   static int linelen = 0;
      |              ^~~~~~~
xsane-save.c:2785:14: warning: variable 'cbuflen' set but not used [-Wunused-but-set-variable]
 2785 |   static int cbuflen = 0;
      |              ^~~~~~~
xsane-save.c: In function 'xsane_save_ps_pdf_gray':
xsane-save.c:3103:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 3103 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_ps_pdf_color':
xsane-save.c:3354:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 3354 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_jpeg':
xsane-save.c:4444:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 4444 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_tiff_page':
xsane-save.c:4695:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 4695 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_png':
xsane-save.c:4964:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 4964 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_png_16':
xsane-save.c:5154:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 5154 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_pnm_16_ascii_gray':
xsane-save.c:5335:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 5335 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_pnm_16_ascii_color':
xsane-save.c:5443:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 5443 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_pnm_16_binary_gray':
xsane-save.c:5552:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 5552 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_pnm_16_binary_color':
xsane-save.c:5650:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 5650 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_pnm_8_gray':
xsane-save.c:5752:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 5752 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_pnm_8_color':
xsane-save.c:5848:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 5848 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-save.c: In function 'write_3chars_as_base64':
xsane-save.c:7302:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7302 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'write_string_base64':
xsane-save.c:7333:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7333 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'write_base64':
xsane-save.c:7368:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7368 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'write_email_header':
xsane-save.c:7420:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7420 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'write_email_footer':
xsane-save.c:7457:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7457 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'write_email_mime_ascii':
xsane-save.c:7468:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7468 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'write_email_mime_html':
xsane-save.c:7488:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7488 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'write_email_attach_image':
xsane-save.c:7514:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7514 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'write_email_attach_file':
xsane-save.c:7548:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7548 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'pop3_login':
xsane-save.c:7664:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7664 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'asmtp_authentication':
xsane-save.c:7720:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7720 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'write_smtp_header':
xsane-save.c:7820:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7820 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'write_smtp_footer':
xsane-save.c:7976:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
 7976 |  ssize_t bytes_written;
      |          ^~~~~~~~~~~~~
xsane-save.c: In function 'xsane_read_pnm_header':
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);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xsane-save.c: In function 'xsane_save_image_as_text':
xsane-save.c:6118:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
 6118 |     setuid(getuid());
      |     ^~~~~~~~~~~~~~~~
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);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xsane-save.c: In function 'xsane_save_image_as':
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 file included from /usr/include/stdio.h:970,
                 from xsane.h:47:
In function 'snprintf',
    inlined from 'xsane_save_image_as' at xsane-save.c:6271:7:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
xsane-save.c: In function 'write_smtp_header':
xsane-save.c:7894:3: warning: '__builtin_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 */
      |   ^
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 xsane-save.c:7909:5:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -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 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread 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 xsane.h:70,
                 from 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 xsane.h:69:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
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
      |        ^~~~~~~~~
xsane-preview.c: In function 'preview_create_batch_icon_from_file':
xsane-preview.c:2102:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 2102 |  size_t bytes_read;
      |         ^~~~~~~~~~
xsane-preview.c:2096:6: warning: variable 'c' set but not used [-Wunused-but-set-variable]
 2096 |  int c;
      |      ^
xsane-preview.c: In function 'preview_restore_image_from_file':
xsane-preview.c:2455:9: warning: variable 'nread' set but not used [-Wunused-but-set-variable]
 2455 |  size_t nread;
      |         ^~~~~
xsane-preview.c: In function 'preview_create_batch_icon_from_file':
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 */
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
xsane-preview.c: In function 'preview_restore_image_from_file':
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]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -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 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfreetype -lfontconfig  -lpng -ltiff -ljpeg -lz -lm  
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
making all in po
make[1]: Nothing to be done for 'all'.
making all in doc
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/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' xsane.man >xsane.1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/doc'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Mxq3eX
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xsane-0.999-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/xsane-0.999-build
+ mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ 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
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT '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 '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/lib'
making install in src
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
../mkinstalldirs /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/bin /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/sbin /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/applications /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/pixmaps
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/bin
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/sbin
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/applications
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/pixmaps
/usr/bin/install -p -m 644 ./xsane-style.rc /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/xsane-style.rc
/usr/bin/install -p -m 644 ./xsane-startimage.pnm /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/xsane-startimage.pnm
/usr/bin/install -p -m 644 ./xsane-calibration.pnm /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/xsane-calibration.pnm
/usr/bin/install -p -m 644 ./xsane-logo.xpm /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/xsane-logo.xpm
/usr/bin/install -p -m 644 ./xsane-gpl.txt /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/xsane-gpl.txt
/usr/bin/install -p -m 644 ./xsane-eula.txt /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/xsane-eula.txt
/usr/bin/install -p -m 644 ./xsane.desktop /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/applications/xsane.desktop
/usr/bin/install -p -m 644 ./xsane.xpm /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/pixmaps/xsane.xpm
installing /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/Mustek-logo.xpm
installing /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/Plustek-logo.xpm
installing /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/UMAX-logo.xpm
installing /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/sane-epson-logo.xpm
installing /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/sane-hp-logo.xpm
installing /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/sane-umax-logo.xpm
installing /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/sane-xsane-logo.xpm
installing /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/xsane-logo.xpm
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/src'
making install in po
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/po'
../mkinstalldirs /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share;
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ca
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ca/LC_MESSAGES
installing ca.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ca/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/cs
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/cs/LC_MESSAGES
installing cs.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/cs/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/da
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/da/LC_MESSAGES
installing da.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/da/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/de
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/de/LC_MESSAGES
installing de.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/de/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/es
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/es/LC_MESSAGES
installing es.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/es/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/fi
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/fi/LC_MESSAGES
installing fi.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/fi/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/fr
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/fr/LC_MESSAGES
installing fr.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/fr/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/hu
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/hu/LC_MESSAGES
installing hu.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/hu/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/it
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/it/LC_MESSAGES
installing it.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/it/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ja
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ja/LC_MESSAGES
installing ja.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ja/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/nl
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/nl/LC_MESSAGES
installing nl.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/nl/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pa
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pa/LC_MESSAGES
installing pa.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pa/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pl
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pl/LC_MESSAGES
installing pl.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pl/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pt
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pt/LC_MESSAGES
installing pt.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pt/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pt_BR
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pt_BR/LC_MESSAGES
installing pt_BR.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/pt_BR/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ro
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ro/LC_MESSAGES
installing ro.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ro/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ru
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ru/LC_MESSAGES
installing ru.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/ru/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sk
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sk/LC_MESSAGES
installing sk.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sk/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sl
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sl/LC_MESSAGES
installing sl.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sl/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sr
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sr/LC_MESSAGES
installing sr.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sr/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sv
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sv/LC_MESSAGES
installing sv.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/sv/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/vi
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/vi/LC_MESSAGES
installing vi.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/vi/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/tr
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/tr/LC_MESSAGES
installing tr.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/tr/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/zh
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/zh/LC_MESSAGES
installing zh.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/zh/LC_MESSAGES/xsane.mo
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/zh_CN
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/zh_CN/LC_MESSAGES
installing zh_CN.gmo as /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/locale/zh_CN/LC_MESSAGES/xsane.mo
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/po'
making install in doc
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/doc'
../mkinstalldirs /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/man/man1 
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/man
mkdir /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/man/man1
installing xsane.1 in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/man/man1/xsane.1...
../mkinstalldirs /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share
../mkinstalldirs /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc
installing sane-backends-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-backends-doc.html...
installing sane-pnm-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-pnm-doc.html...
installing sane-problems-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-problems-doc.html...
installing sane-scantips-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-scantips-doc.html...
installing sane-xsane-advanced-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-advanced-doc.html...
installing sane-xsane-batch-scan-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-batch-scan-doc.html...
installing sane-xsane-color-correction-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-color-correction-doc.html...
installing sane-xsane-color-management-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-color-management-doc.html...
installing sane-xsane-copy-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-copy-doc.html...
installing sane-xsane-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-doc.html...
installing sane-xsane-email-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-email-doc.html...
installing sane-xsane-empty-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-empty-doc.html...
installing sane-xsane-fax-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-fax-doc.html...
installing sane-xsane-gimp-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-gimp-doc.html...
installing sane-xsane-guide-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-guide-doc.html...
installing sane-xsane-histogram-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-histogram-doc.html...
installing sane-xsane-medium-definition-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-medium-definition-doc.html...
installing sane-xsane-multipage-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-multipage-doc.html...
installing sane-xsane-preview-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-preview-doc.html...
installing sane-xsane-save-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-save-doc.html...
installing sane-xsane-scan-options-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-scan-options-doc.html...
installing sane-xsane-setup-color-management-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-setup-color-management-doc.html...
installing sane-xsane-setup-copy-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-setup-copy-doc.html...
installing sane-xsane-setup-display-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-setup-display-doc.html...
installing sane-xsane-setup-email-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-setup-email-doc.html...
installing sane-xsane-setup-enhancement-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-setup-enhancement-doc.html...
installing sane-xsane-setup-fax-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-setup-fax-doc.html...
installing sane-xsane-setup-filetype-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-setup-filetype-doc.html...
installing sane-xsane-setup-save-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-setup-save-doc.html...
installing sane-xsane-standard-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-standard-doc.html...
installing sane-xsane-viewer-doc.html in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/sane-xsane-viewer-doc.html...
installing xsane-adf-pages.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-adf-pages.jpg...
installing xsane-advanced.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-advanced.jpg...
installing xsane-aspect-ratio.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-aspect-ratio.jpg...
installing xsane-autoenhance.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-autoenhance.jpg...
installing xsane-autoraise_scanarea.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-autoraise_scanarea.jpg...
installing xsane-autoselect.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-autoselect.jpg...
installing xsane-batch-scan-add.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-batch-scan-add.jpg...
installing xsane-batch-scan-delete.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-batch-scan-delete.jpg...
installing xsane-batch-scan.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-batch-scan.jpg...
installing xsane-blur.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-blur.jpg...
installing xsane-brightness.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-brightness.jpg...
installing xsane-clone.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-clone.jpg...
installing xsane-cms-function.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-cms-function.jpg...
installing xsane-color-correction-rgb-default.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-color-correction-rgb-default.jpg...
installing xsane-color-correction.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-color-correction.jpg...
installing xsane-color-management-main-window.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-color-management-main-window.jpg...
installing xsane-colormode.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-colormode.jpg...
installing xsane-contrast.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-contrast.jpg...
installing xsane-copy-number.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-copy-number.jpg...
installing xsane-copy.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-copy.jpg...
installing xsane-default.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-default.jpg...
installing xsane-delete-preview-cache.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-delete-preview-cache.jpg...
installing xsane-despeckle.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-despeckle.jpg...
installing xsane-disk.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-disk.jpg...
installing xsane-edit-medium.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-edit-medium.jpg...
installing xsane-email-project.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-email-project.jpg...
installing xsane-email.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-email.jpg...
installing xsane-enable-color-management.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-enable-color-management.jpg...
installing xsane-fax-project.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-fax-project.jpg...
installing xsane-fax.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-fax.jpg...
installing xsane-gamma.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-gamma.jpg...
installing xsane-gimp.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-gimp.jpg...
installing xsane-guide-1-decoration.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-1-decoration.jpg...
installing xsane-guide-10-scan.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-10-scan.jpg...
installing xsane-guide-2-menu.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-2-menu.jpg...
installing xsane-guide-3-options.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-3-options.jpg...
installing xsane-guide-4.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-4.jpg...
installing xsane-guide-4a-adf-pages.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-4a-adf-pages.jpg...
installing xsane-guide-4b-xsane-mode.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-4b-xsane-mode.jpg...
installing xsane-guide-5-saving-options.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-5-saving-options.jpg...
installing xsane-guide-6-scan-options.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-6-scan-options.jpg...
installing xsane-guide-7-medium-selection.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-7-medium-selection.jpg...
installing xsane-guide-8-resolution.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-8-resolution.jpg...
installing xsane-guide-9-color-correction.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-guide-9-color-correction.jpg...
installing xsane-histogram.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-histogram.jpg...
installing xsane-logo.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-logo.jpg...
installing xsane-medium-add.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-medium-add.jpg...
installing xsane-medium.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-medium.jpg...
installing xsane-mirror-x.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-mirror-x.jpg...
installing xsane-mirror-y.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-mirror-y.jpg...
installing xsane-multipage-project.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-multipage-project.jpg...
installing xsane-multipage.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-multipage.jpg...
installing xsane-negative.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-negative.jpg...
installing xsane-new.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-new.jpg...
installing xsane-ocr.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-ocr.jpg...
installing xsane-open.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-open.jpg...
installing xsane-paper-landscape-bottom-left.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-paper-landscape-bottom-left.jpg...
installing xsane-paper-landscape-bottom-right.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-paper-landscape-bottom-right.jpg...
installing xsane-paper-landscape-center.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-paper-landscape-center.jpg...
installing xsane-paper-landscape-top-left.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-paper-landscape-top-left.jpg...
installing xsane-paper-landscape-top-right.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-paper-landscape-top-right.jpg...
installing xsane-paper-portrait-bottom-left.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-paper-portrait-bottom-left.jpg...
installing xsane-paper-portrait-bottom-right.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-paper-portrait-bottom-right.jpg...
installing xsane-paper-portrait-center.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-paper-portrait-center.jpg...
installing xsane-paper-portrait-top-left.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-paper-portrait-top-left.jpg...
installing xsane-paper-portrait-top-right.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-paper-portrait-top-right.jpg...
installing xsane-pipette-black.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-pipette-black.jpg...
installing xsane-pipette-gray.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-pipette-gray.jpg...
installing xsane-pipette-white.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-pipette-white.jpg...
installing xsane-preferences.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-preferences.jpg...
installing xsane-preset-area-context-menu.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-preset-area-context-menu.jpg...
installing xsane-preset-area.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-preset-area.jpg...
installing xsane-preview.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-preview.jpg...
installing xsane-printer.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-printer.jpg...
installing xsane-rename.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-rename.jpg...
installing xsane-resolution.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-resolution.jpg...
installing xsane-restore.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-restore.jpg...
installing xsane-rgb-default.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-rgb-default.jpg...
installing xsane-rgb-values.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-rgb-values.jpg...
installing xsane-rotate-180.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-rotate-180.jpg...
installing xsane-rotate-270.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-rotate-270.jpg...
installing xsane-rotate-90.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-rotate-90.jpg...
installing xsane-rotation.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-rotation.jpg...
installing xsane-save.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-save.jpg...
installing xsane-save2.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-save2.jpg...
installing xsane-scale.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-scale.jpg...
installing xsane-scansource.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-scansource.jpg...
installing xsane-setup-color-management.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-setup-color-management.jpg...
installing xsane-setup-copy.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-setup-copy.jpg...
installing xsane-setup-display.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-setup-display.jpg...
installing xsane-setup-email.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-setup-email.jpg...
installing xsane-setup-enhancement.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-setup-enhancement.jpg...
installing xsane-setup-fax.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-setup-fax.jpg...
installing xsane-setup-filetype.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-setup-filetype.jpg...
installing xsane-setup-ocr.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-setup-ocr.jpg...
installing xsane-setup-save.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-setup-save.jpg...
installing xsane-standard.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-standard.jpg...
installing xsane-step.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-step.jpg...
installing xsane-store.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-store.jpg...
installing xsane-target.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-target.jpg...
installing xsane-threshold.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-threshold.jpg...
installing xsane-viewer-window.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-viewer-window.jpg...
installing xsane-viewer.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-viewer.jpg...
installing xsane-visible-area.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-visible-area.jpg...
installing xsane-zoom-in.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-zoom-in.jpg...
installing xsane-zoom-not.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-zoom-not.jpg...
installing xsane-zoom-out.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-zoom-out.jpg...
installing xsane-zoom-undo.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-zoom-undo.jpg...
installing xsane-zoom.jpg in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/sane/xsane/doc/xsane-zoom.jpg...
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/doc'
+ /usr/lib/rpm/find-lang.sh /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT xsane
+ mkdir -p /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/icons/hicolor/48x48/apps /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/icons/hicolor/32x32/apps /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/icons/hicolor/16x16/apps
+ mv src/xsane-48x48.png /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/icons/hicolor/48x48/apps/xsane.png
+ convert -scale 32 /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/pixmaps/xsane.xpm /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/icons/hicolor/32x32/apps/xsane.png
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"

+ convert -scale 16 /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/pixmaps/xsane.xpm /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/icons/hicolor/16x16/apps/xsane.png
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"

+ mkdir -p /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/etc/dynamic/launchers/scanner
+ cat
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.999-20.mga10 --unique-debug-suffix -0.999-20.mga10.x86_64 --unique-debug-src-base xsane-0.999-20.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999
find-debuginfo: starting

Extracting debug info from 1 files
DWARF-compressing 1 files
sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/xsane-0.999-20.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
*** WARNING: ./usr/src/debug/xsane-0.999-20.mga10.x86_64/include/getopt.h is executable but has no shebang, removing executable bit
*** WARNING: ./usr/src/debug/xsane-0.999-20.mga10.x86_64/include/md5.h is executable but has no shebang, removing executable bit
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: xsane-0.999-20.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YZfaCd
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xsane-0.999-build
+ cd xsane-0.999
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane-WIN32-README.txt /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane-WIN32-compilation.txt /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane-WIN32-compilation.txt.old /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.ACCELKEYS /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.AUTHOR /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.BEGINNERS-INFO /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.BUGS /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.CHANGES /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.COPYING /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.FAQ /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.INSTALL /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.LANGUAGES /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.LOGO /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.NEWS /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.ONLINEHELP /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.PROBLEMS /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.REMOVE /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.ROOT /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.RPM /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.TODO /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.VENDOR-STRINGS /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.lang /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.spec /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.spec.in /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ cp -pr /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/xsane-0.999/xsane.spec.in.old /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT/usr/share/doc/xsane
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: application() application(xsane.desktop) config(xsane) = 0.999-20.mga10 scanner-gui xsane = 0.999-20.mga10 xsane(x86-64) = 0.999-20.mga10
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(postun): /bin/sh
Requires: 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.8()(64bit) libjpeg.so.8(LIBJPEG_8.0)(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)
Obsoletes: xsane-gimp < 0.999-20.mga10
Recommends: gocr
Processing files: xsane-debugsource-0.999-20.mga10.x86_64
Provides: xsane-debugsource = 0.999-20.mga10 xsane-debugsource(x86-64) = 0.999-20.mga10
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-20.mga10.x86_64
Provides: debuginfo(build-id) = a7f264c04a1f41b49c11bb0a2ba3c1f23ed78bf8 xsane-debuginfo = 0.999-20.mga10 xsane-debuginfo(x86-64) = 0.999-20.mga10
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-20.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/xsane-0.999-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xsane-debuginfo-0.999-20.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xsane-debugsource-0.999-20.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xsane-0.999-20.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dbCVid
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xsane-0.999-build
+ test -d /home/pterjan/rpmbuild/BUILD/xsane-0.999-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/xsane-0.999-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/xsane-0.999-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!
