D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/xsane-0.999-14.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.U8CzLY
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf xsane-0.999
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/xsane-0.999.tar.gz
+ /usr/bin/tar -xof -
+ 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).
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HPiywv
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd xsane-0.999
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FCFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ 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=aarch64-mageia-linux-gnu --build=aarch64-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 aarch64-mageia-linux-gnu-gcc... no
checking for 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 aarch64-mageia-linux-gnu-gcc... 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 aarch64-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... yes (version 2.10.24)
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_create_info_struct in -lpng... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating intl/Makefile
config.status: WARNING:  'intl/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating po/Makefile
config.status: creating lib/Makefile
config.status: WARNING:  'lib/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: WARNING:  'src/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating include/Makefile
config.status: creating doc/Makefile
config.status: WARNING:  'doc/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating xsane.spec
config.status: creating include/config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking
****************************************************************
*                                                              *
* XSANE configure status:                                      *
* -----------------------                                      *
* - NLS activated (external)                                   *
* - GIMP plugin  activated                                     *
* - JPEG support activated                                     *
* - TIFF support activated                                     *
* - PNG  support activated                                     *
* - LCMS (color management) support 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 -j8 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 "-j8 -Otarget --jobserver-auth=3,23" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$fail"
making all in lib
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall alloca.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall strndup.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall snprintf.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall usleep.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall strsep.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall getopt1.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall getopt.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall strdup.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall md5.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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/iurt/rpmbuild/BUILD/xsane-0.999/lib'
making all in src
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-multipage-project.c:27:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-multipage-project.c:27:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-multipage-project.c:27:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-email-project.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-email-project.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-email-project.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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:866,
                 from xsane.h:47,
                 from xsane-email-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-email-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-email-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-email-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-email-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-gamma.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-gamma.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-gamma.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-fax-project.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-fax-project.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-fax-project.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 1024
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-front-gtk.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-front-gtk.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-front-gtk.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-back-gtk.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-back-gtk.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-back-gtk.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-viewer.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-viewer.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-viewer.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:519,
                 from /usr/include/memory.h:29,
                 from xsane.h:42,
                 from xsane-viewer.c:25:
In function 'strncpy',
    inlined from 'xsane_viewer_save_callback' at xsane-viewer.c:283:5:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'xsane_viewer_save_callback' at xsane-viewer.c:279:5:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-rc-io.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-rc-io.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-rc-io.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread   xsane-icons.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-device-preferences.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-device-preferences.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-device-preferences.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-preferences.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-preferences.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-preferences.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-batch-scan.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-batch-scan.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-batch-scan.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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:866,
                 from xsane.h:47,
                 from xsane-batch-scan.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 6 and 600 bytes into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-batch-scan.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-batch-scan.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-scan.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-scan.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-scan.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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));
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:519,
                 from /usr/include/memory.h:29,
                 from xsane.h:42,
                 from xsane-scan.c:25:
In function 'strncpy',
    inlined from 'xsane_scan_done' at xsane-scan.c:1117:11:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'xsane_scan_done' at xsane-scan.c:1110:11:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'xsane_start_scan' at xsane-scan.c:1814:9:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'xsane_start_scan' at xsane-scan.c:1807:9:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-preview.c:75:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-preview.c:75:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-preview.c:75:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-setup.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-setup.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-setup.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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;
      |                      ^~~~~~
In file included from /usr/include/string.h:519,
                 from /usr/include/memory.h:29,
                 from xsane.h:42,
                 from xsane-setup.c:25:
In function 'strncpy',
    inlined from 'xsane_setup_browse_tmp_path_callback' at xsane-setup.c:1531:3:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-save.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-save.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-save.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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 'xsane_transfer_to_gimp':
xsane-save.c:6976:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations]
 6976 |   gimp_image_add_layer(image_ID, layer_ID, 0);
      |   ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp_pdb_headers.h:55,
                 from /usr/include/gimp-2.0/libgimp/gimp.h:66,
                 from xsane.h:443,
                 from xsane-save.c:25:
/usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here
   75 | gboolean                 gimp_image_add_layer                  (gint32               image_ID,
      |                          ^~~~~~~~~~~~~~~~~~~~
xsane-save.c:6977:3: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
 6977 |   drawable = gimp_drawable_get(layer_ID);
      |   ^~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41,
                 from xsane.h:443,
                 from xsane-save.c:25:
/usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here
   52 | GimpDrawable * gimp_drawable_get                    (gint32         drawable_ID);
      |                ^~~~~~~~~~~~~~~~~
xsane-save.c:6978:3: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
 6978 |   gimp_pixel_rgn_init(&region, drawable, 0, 0, drawable->width, drawable->height, TRUE, FALSE);
      |   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57,
                 from xsane.h:443,
                 from xsane-save.c:25:
/usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here
   48 | void      gimp_pixel_rgn_init       (GimpPixelRgn  *pr,
      |           ^~~~~~~~~~~~~~~~~~~
xsane-save.c:7009:17: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations]
 7009 |                 gimp_pixel_rgn_set_rect(&region, tile, 0, y - tile_height, image_info.image_width, tile_height);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57,
                 from xsane.h:443,
                 from xsane-save.c:25:
/usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here
  104 | void      gimp_pixel_rgn_set_rect   (GimpPixelRgn  *pr,
      |           ^~~~~~~~~~~~~~~~~~~~~~~
xsane-save.c:7050:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations]
 7050 |             gimp_pixel_rgn_set_rect(&region, tile, 0, y - tile_height, image_info.image_width, tile_height);
      |             ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57,
                 from xsane.h:443,
                 from xsane-save.c:25:
/usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here
  104 | void      gimp_pixel_rgn_set_rect   (GimpPixelRgn  *pr,
      |           ^~~~~~~~~~~~~~~~~~~~~~~
xsane-save.c:7088:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations]
 7088 |             gimp_pixel_rgn_set_rect(&region, tile, 0, y - tile_height, image_info.image_width, tile_height);
      |             ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57,
                 from xsane.h:443,
                 from xsane-save.c:25:
/usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here
  104 | void      gimp_pixel_rgn_set_rect   (GimpPixelRgn  *pr,
      |           ^~~~~~~~~~~~~~~~~~~~~~~
xsane-save.c:7136:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations]
 7136 |             gimp_pixel_rgn_set_rect(&region, tile, 0, y - tile_height, image_info.image_width, tile_height);
      |             ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57,
                 from xsane.h:443,
                 from xsane-save.c:25:
/usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here
  104 | void      gimp_pixel_rgn_set_rect   (GimpPixelRgn  *pr,
      |           ^~~~~~~~~~~~~~~~~~~~~~~
xsane-save.c:7177:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations]
 7177 |             gimp_pixel_rgn_set_rect(&region, tile, 0, y - tile_height, image_info.image_width, tile_height);
      |             ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57,
                 from xsane.h:443,
                 from xsane-save.c:25:
/usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here
  104 | void      gimp_pixel_rgn_set_rect   (GimpPixelRgn  *pr,
      |           ^~~~~~~~~~~~~~~~~~~~~~~
xsane-save.c:7250:5: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations]
 7250 |     gimp_pixel_rgn_set_rect(&region, tile, 0, y - remaining, image_info.image_width, remaining);
      |     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57,
                 from xsane.h:443,
                 from xsane-save.c:25:
/usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here
  104 | void      gimp_pixel_rgn_set_rect   (GimpPixelRgn  *pr,
      |           ^~~~~~~~~~~~~~~~~~~~~~~
xsane-save.c:7253:3: warning: 'gimp_drawable_flush' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations]
 7253 |   gimp_drawable_flush(drawable);
      |   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41,
                 from xsane.h:443,
                 from xsane-save.c:25:
/usr/include/gimp-2.0/libgimp/gimpdrawable.h:56:16: note: declared here
   56 | void           gimp_drawable_flush                  (GimpDrawable  *drawable);
      |                ^~~~~~~~~~~~~~~~~~~
xsane-save.c:7255:3: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations]
 7255 |   gimp_drawable_detach(drawable);
      |   ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41,
                 from xsane.h:443,
                 from xsane-save.c:25:
/usr/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here
   54 | void           gimp_drawable_detach                 (GimpDrawable  *drawable);
      |                ^~~~~~~~~~~~~~~~~~~~
xsane-save.c:6822:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
 6822 |  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:866,
                 from xsane.h:47,
                 from xsane-save.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:519,
                 from /usr/include/memory.h:29,
                 from xsane.h:42,
                 from xsane-save.c:25:
In function 'strncpy',
    inlined from 'write_smtp_header' at xsane-save.c:7894:3:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
xsane-save.c: In function 'write_smtp_header':
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-save.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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());
      |       ^~~~~~~~~~~~~~~~
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:866,
                 from xsane.h:47,
                 from xsane.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 23 and 4118 bytes into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4094
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 12 and 4107 bytes into a destination of size 4094
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 14 and 4109 bytes into a destination of size 4094
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4094
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags  -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  -lglib-2.0 -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgegl-0.4 -lgegl-npd-0.4 -lm -lglib-2.0 -ljson-glib-1.0 -lbabl-0.1 -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 -lglib-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype    -lpng -ltiff -ljpeg -lz -lm  
make[1]: Leaving directory '/home/iurt/rpmbuild/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/iurt/rpmbuild/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/iurt/rpmbuild/BUILD/xsane-0.999/doc'
+ mv src/xsane src/xsane-gimp
+ make clean
for subdir in lib  src po doc; do		\
  target=`echo clean-recursive | sed s/-recursive//`; \
  echo making $target in $subdir;	\
  (cd $subdir && make $target)	\
   || case "" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$fail"
making clean in lib
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
rm -f *.out *.o *.lo *~ *.a *.bak 
rm -rf .libs
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
making clean in src
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
rm -f *.o *~ .*~ *.bak
rm -rf .libs
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
making clean in po
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/po'
rm -f core core.* *.pox xsane.po *.old.po
rm -fr *.o
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/po'
making clean in doc
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/doc'
rm -f *.toc *.aux *.log *.cp *.fn *.tp *.vr *.pg *.ky *.blg *.idx *.cb
rm -f *.ilg
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/doc'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FCFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ 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=aarch64-mageia-linux-gnu --build=aarch64-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 aarch64-mageia-linux-gnu-gcc... no
checking for 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 aarch64-mageia-linux-gnu-gcc... 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 aarch64-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
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 -j8 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 "-j8 -Otarget --jobserver-auth=3,23" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$fail"
making all in lib
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall strndup.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall alloca.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall usleep.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall snprintf.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall strsep.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall getopt1.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall getopt.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall strdup.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall md5.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Entering directory '/home/iurt/rpmbuild/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/iurt/rpmbuild/BUILD/xsane-0.999/lib'
making all in src
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-multipage-project.c:27:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-multipage-project.c:27:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-multipage-project.c:27:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane-multipage-project.c:26:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-fax-project.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-fax-project.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-fax-project.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-fax-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 1024
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-email-project.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-email-project.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-email-project.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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:866,
                 from xsane.h:47,
                 from xsane-email-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-email-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-email-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-email-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-email-project.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-back-gtk.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-back-gtk.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-back-gtk.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-front-gtk.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-front-gtk.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-front-gtk.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-gamma.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-gamma.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-gamma.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-viewer.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-viewer.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-viewer.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:519,
                 from /usr/include/memory.h:29,
                 from xsane.h:42,
                 from xsane-viewer.c:25:
In function 'strncpy',
    inlined from 'xsane_viewer_save_callback' at xsane-viewer.c:283:5:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'xsane_viewer_save_callback' at xsane-viewer.c:279:5:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-device-preferences.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-device-preferences.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-device-preferences.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-preferences.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-preferences.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-preferences.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread  xsane-icons.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-rc-io.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-rc-io.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-rc-io.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-batch-scan.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-batch-scan.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-batch-scan.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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:866,
                 from xsane.h:47,
                 from xsane-batch-scan.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 6 and 600 bytes into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-batch-scan.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-batch-scan.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-scan.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-scan.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-scan.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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));
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:519,
                 from /usr/include/memory.h:29,
                 from xsane.h:42,
                 from xsane-scan.c:25:
In function 'strncpy',
    inlined from 'xsane_scan_done' at xsane-scan.c:1117:11:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'xsane_scan_done' at xsane-scan.c:1110:11:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'xsane_start_scan' at xsane-scan.c:1814:9:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'xsane_start_scan' at xsane-scan.c:1807:9:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-preview.c:75:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-preview.c:75:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-preview.c:75:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-setup.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-setup.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-setup.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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;
      |                      ^~~~~~
In file included from /usr/include/string.h:519,
                 from /usr/include/memory.h:29,
                 from xsane.h:42,
                 from xsane-setup.c:25:
In function 'strncpy',
    inlined from 'xsane_setup_browse_tmp_path_callback' at xsane-setup.c:1531:3:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-save.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane-save.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane-save.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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:866,
                 from xsane.h:47,
                 from xsane-save.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:519,
                 from /usr/include/memory.h:29,
                 from xsane.h:42,
                 from xsane-save.c:25:
In function 'strncpy',
    inlined from 'write_smtp_header' at xsane-save.c:7894:3:
/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
xsane-save.c: In function 'write_smtp_header':
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane-save.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -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:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane.c:25:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
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,
                 from xsane.h:70,
                 from xsane.c:25:
/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:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from xsane.h:69,
                 from xsane.c:25:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | 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());
      |       ^~~~~~~~~~~~~~~~
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:866,
                 from xsane.h:47,
                 from xsane.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 23 and 4118 bytes into a destination of size 255
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4094
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 12 and 4107 bytes into a destination of size 4094
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 14 and 4109 bytes into a destination of size 4094
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
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 file included from /usr/include/stdio.h:866,
                 from xsane.h:47,
                 from xsane.c:25:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4094
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags  -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 -lglib-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype   -lpng -ltiff -ljpeg -lz -lm  
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
making all in po
make[1]: Nothing to be done for 'all'.
making all in doc
make[1]: Nothing to be done for 'all'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.oBGbRI
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64 '!=' / ']'
+ rm -rf /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64
++ dirname /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT
+ mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64
+ cd xsane-0.999
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64 '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/iurt/rpmbuild/BUILD/xsane-0.999/lib'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/lib'
making install in src
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
../mkinstalldirs /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/bin /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/sbin /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/applications /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/pixmaps
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/bin
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/sbin
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/applications
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/pixmaps
/usr/bin/install -p -m 644 ./xsane-style.rc /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/xsane-style.rc
/usr/bin/install -p -m 644 ./xsane-startimage.pnm /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/xsane-startimage.pnm
/usr/bin/install -p -m 644 ./xsane-calibration.pnm /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/xsane-calibration.pnm
/usr/bin/install -p -m 644 ./xsane-logo.xpm /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/xsane-logo.xpm
/usr/bin/install -p -m 644 ./xsane-gpl.txt /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/xsane-gpl.txt
/usr/bin/install -p -m 644 ./xsane-eula.txt /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/xsane-eula.txt
/usr/bin/install -p -m 644 ./xsane.desktop /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/applications/xsane.desktop
/usr/bin/install -p -m 644 ./xsane.xpm /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/pixmaps/xsane.xpm
installing /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/Mustek-logo.xpm
installing /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/Plustek-logo.xpm
installing /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/UMAX-logo.xpm
installing /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/sane-epson-logo.xpm
installing /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/sane-hp-logo.xpm
installing /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/sane-umax-logo.xpm
installing /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/sane-xsane-logo.xpm
installing /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/xsane-logo.xpm
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/src'
making install in po
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/po'
../mkinstalldirs /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share;
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ca
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ca/LC_MESSAGES
installing ca.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ca/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/cs
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/cs/LC_MESSAGES
installing cs.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/cs/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/da
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/da/LC_MESSAGES
installing da.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/da/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/de
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/de/LC_MESSAGES
installing de.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/de/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/es
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/es/LC_MESSAGES
installing es.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/es/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/fi
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/fi/LC_MESSAGES
installing fi.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/fi/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/fr
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/fr/LC_MESSAGES
installing fr.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/fr/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/hu
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/hu/LC_MESSAGES
installing hu.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/hu/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/it
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/it/LC_MESSAGES
installing it.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/it/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ja
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ja/LC_MESSAGES
installing ja.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ja/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/nl
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/nl/LC_MESSAGES
installing nl.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/nl/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pa
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pa/LC_MESSAGES
installing pa.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pa/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pl
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pl/LC_MESSAGES
installing pl.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pl/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pt
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pt/LC_MESSAGES
installing pt.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pt/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pt_BR
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pt_BR/LC_MESSAGES
installing pt_BR.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/pt_BR/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ro
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ro/LC_MESSAGES
installing ro.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ro/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ru
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ru/LC_MESSAGES
installing ru.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/ru/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sk
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sk/LC_MESSAGES
installing sk.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sk/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sl
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sl/LC_MESSAGES
installing sl.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sl/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sr
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sr/LC_MESSAGES
installing sr.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sr/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sv
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sv/LC_MESSAGES
installing sv.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/sv/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/vi
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/vi/LC_MESSAGES
installing vi.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/vi/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/tr
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/tr/LC_MESSAGES
installing tr.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/tr/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/zh
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/zh/LC_MESSAGES
installing zh.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/zh/LC_MESSAGES/xsane.mo
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/zh_CN
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/zh_CN/LC_MESSAGES
installing zh_CN.gmo as /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/locale/zh_CN/LC_MESSAGES/xsane.mo
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/po'
making install in doc
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/doc'
../mkinstalldirs /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/man/man1 
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/man
mkdir /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/man/man1
installing xsane.1 in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/man/man1/xsane.1...
../mkinstalldirs /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share
../mkinstalldirs /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc
installing sane-backends-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-backends-doc.html...
installing sane-pnm-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-pnm-doc.html...
installing sane-problems-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-problems-doc.html...
installing sane-scantips-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-scantips-doc.html...
installing sane-xsane-advanced-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-advanced-doc.html...
installing sane-xsane-batch-scan-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-batch-scan-doc.html...
installing sane-xsane-color-correction-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-color-correction-doc.html...
installing sane-xsane-color-management-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-color-management-doc.html...
installing sane-xsane-copy-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-copy-doc.html...
installing sane-xsane-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-doc.html...
installing sane-xsane-email-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-email-doc.html...
installing sane-xsane-empty-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-empty-doc.html...
installing sane-xsane-fax-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-fax-doc.html...
installing sane-xsane-gimp-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-gimp-doc.html...
installing sane-xsane-guide-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-guide-doc.html...
installing sane-xsane-histogram-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-histogram-doc.html...
installing sane-xsane-medium-definition-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-medium-definition-doc.html...
installing sane-xsane-multipage-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-multipage-doc.html...
installing sane-xsane-preview-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-preview-doc.html...
installing sane-xsane-save-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-save-doc.html...
installing sane-xsane-scan-options-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-scan-options-doc.html...
installing sane-xsane-setup-color-management-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-setup-color-management-doc.html...
installing sane-xsane-setup-copy-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-setup-copy-doc.html...
installing sane-xsane-setup-display-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-setup-display-doc.html...
installing sane-xsane-setup-email-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-setup-email-doc.html...
installing sane-xsane-setup-enhancement-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-setup-enhancement-doc.html...
installing sane-xsane-setup-fax-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-setup-fax-doc.html...
installing sane-xsane-setup-filetype-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-setup-filetype-doc.html...
installing sane-xsane-setup-save-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-setup-save-doc.html...
installing sane-xsane-standard-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-standard-doc.html...
installing sane-xsane-viewer-doc.html in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/sane-xsane-viewer-doc.html...
installing xsane-adf-pages.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-adf-pages.jpg...
installing xsane-advanced.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-advanced.jpg...
installing xsane-aspect-ratio.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-aspect-ratio.jpg...
installing xsane-autoenhance.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-autoenhance.jpg...
installing xsane-autoraise_scanarea.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-autoraise_scanarea.jpg...
installing xsane-autoselect.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-autoselect.jpg...
installing xsane-batch-scan-add.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-batch-scan-add.jpg...
installing xsane-batch-scan-delete.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-batch-scan-delete.jpg...
installing xsane-batch-scan.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-batch-scan.jpg...
installing xsane-blur.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-blur.jpg...
installing xsane-brightness.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-brightness.jpg...
installing xsane-clone.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-clone.jpg...
installing xsane-cms-function.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-cms-function.jpg...
installing xsane-color-correction-rgb-default.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-color-correction-rgb-default.jpg...
installing xsane-color-correction.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-color-correction.jpg...
installing xsane-color-management-main-window.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-color-management-main-window.jpg...
installing xsane-colormode.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-colormode.jpg...
installing xsane-contrast.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-contrast.jpg...
installing xsane-copy-number.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-copy-number.jpg...
installing xsane-copy.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-copy.jpg...
installing xsane-default.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-default.jpg...
installing xsane-delete-preview-cache.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-delete-preview-cache.jpg...
installing xsane-despeckle.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-despeckle.jpg...
installing xsane-disk.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-disk.jpg...
installing xsane-edit-medium.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-edit-medium.jpg...
installing xsane-email-project.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-email-project.jpg...
installing xsane-email.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-email.jpg...
installing xsane-enable-color-management.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-enable-color-management.jpg...
installing xsane-fax-project.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-fax-project.jpg...
installing xsane-fax.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-fax.jpg...
installing xsane-gamma.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-gamma.jpg...
installing xsane-gimp.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-gimp.jpg...
installing xsane-guide-1-decoration.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-1-decoration.jpg...
installing xsane-guide-10-scan.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-10-scan.jpg...
installing xsane-guide-2-menu.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-2-menu.jpg...
installing xsane-guide-3-options.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-3-options.jpg...
installing xsane-guide-4.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-4.jpg...
installing xsane-guide-4a-adf-pages.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-4a-adf-pages.jpg...
installing xsane-guide-4b-xsane-mode.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-4b-xsane-mode.jpg...
installing xsane-guide-5-saving-options.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-5-saving-options.jpg...
installing xsane-guide-6-scan-options.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-6-scan-options.jpg...
installing xsane-guide-7-medium-selection.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-7-medium-selection.jpg...
installing xsane-guide-8-resolution.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-8-resolution.jpg...
installing xsane-guide-9-color-correction.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-guide-9-color-correction.jpg...
installing xsane-histogram.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-histogram.jpg...
installing xsane-logo.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-logo.jpg...
installing xsane-medium-add.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-medium-add.jpg...
installing xsane-medium.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-medium.jpg...
installing xsane-mirror-x.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-mirror-x.jpg...
installing xsane-mirror-y.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-mirror-y.jpg...
installing xsane-multipage-project.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-multipage-project.jpg...
installing xsane-multipage.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-multipage.jpg...
installing xsane-negative.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-negative.jpg...
installing xsane-new.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-new.jpg...
installing xsane-ocr.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-ocr.jpg...
installing xsane-open.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-open.jpg...
installing xsane-paper-landscape-bottom-left.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-paper-landscape-bottom-left.jpg...
installing xsane-paper-landscape-bottom-right.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-paper-landscape-bottom-right.jpg...
installing xsane-paper-landscape-center.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-paper-landscape-center.jpg...
installing xsane-paper-landscape-top-left.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-paper-landscape-top-left.jpg...
installing xsane-paper-landscape-top-right.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-paper-landscape-top-right.jpg...
installing xsane-paper-portrait-bottom-left.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-paper-portrait-bottom-left.jpg...
installing xsane-paper-portrait-bottom-right.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-paper-portrait-bottom-right.jpg...
installing xsane-paper-portrait-center.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-paper-portrait-center.jpg...
installing xsane-paper-portrait-top-left.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-paper-portrait-top-left.jpg...
installing xsane-paper-portrait-top-right.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-paper-portrait-top-right.jpg...
installing xsane-pipette-black.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-pipette-black.jpg...
installing xsane-pipette-gray.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-pipette-gray.jpg...
installing xsane-pipette-white.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-pipette-white.jpg...
installing xsane-preferences.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-preferences.jpg...
installing xsane-preset-area-context-menu.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-preset-area-context-menu.jpg...
installing xsane-preset-area.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-preset-area.jpg...
installing xsane-preview.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-preview.jpg...
installing xsane-printer.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-printer.jpg...
installing xsane-rename.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-rename.jpg...
installing xsane-resolution.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-resolution.jpg...
installing xsane-restore.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-restore.jpg...
installing xsane-rgb-default.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-rgb-default.jpg...
installing xsane-rgb-values.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-rgb-values.jpg...
installing xsane-rotate-180.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-rotate-180.jpg...
installing xsane-rotate-270.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-rotate-270.jpg...
installing xsane-rotate-90.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-rotate-90.jpg...
installing xsane-rotation.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-rotation.jpg...
installing xsane-save.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-save.jpg...
installing xsane-save2.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-save2.jpg...
installing xsane-scale.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-scale.jpg...
installing xsane-scansource.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-scansource.jpg...
installing xsane-setup-color-management.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-setup-color-management.jpg...
installing xsane-setup-copy.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-setup-copy.jpg...
installing xsane-setup-display.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-setup-display.jpg...
installing xsane-setup-email.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-setup-email.jpg...
installing xsane-setup-enhancement.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-setup-enhancement.jpg...
installing xsane-setup-fax.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-setup-fax.jpg...
installing xsane-setup-filetype.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-setup-filetype.jpg...
installing xsane-setup-ocr.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-setup-ocr.jpg...
installing xsane-setup-save.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-setup-save.jpg...
installing xsane-standard.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-standard.jpg...
installing xsane-step.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-step.jpg...
installing xsane-store.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-store.jpg...
installing xsane-target.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-target.jpg...
installing xsane-threshold.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-threshold.jpg...
installing xsane-viewer-window.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-viewer-window.jpg...
installing xsane-viewer.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-viewer.jpg...
installing xsane-visible-area.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-visible-area.jpg...
installing xsane-zoom-in.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-zoom-in.jpg...
installing xsane-zoom-not.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-zoom-not.jpg...
installing xsane-zoom-out.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-zoom-out.jpg...
installing xsane-zoom-undo.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-zoom-undo.jpg...
installing xsane-zoom.jpg in /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/sane/xsane/doc/xsane-zoom.jpg...
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsane-0.999/doc'
+ install src/xsane-gimp /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/bin
+ /usr/lib/rpm/find-lang.sh /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64 xsane
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/icons/hicolor/48x48/apps /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/icons/hicolor/32x32/apps /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/icons/hicolor/16x16/apps
+ mv src/xsane-48x48.png /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/icons/hicolor/48x48/apps/xsane.png
+ convert -scale 32 /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/pixmaps/xsane.xpm /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/icons/hicolor/32x32/apps/xsane.png
+ convert -scale 16 /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/pixmaps/xsane.xpm /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/icons/hicolor/16x16/apps/xsane.png
+ mkdir -p /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/etc/dynamic/launchers/scanner
+ cat
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.999-14.mga9 --unique-debug-suffix -0.999-14.mga9.aarch64 --unique-debug-src-base xsane-0.999-14.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/xsane-0.999

extracting debug info from /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/bin/xsane
extracting debug info from /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/bin/xsane-gimp
dwz: ./usr/bin/xsane-0.999-14.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: ./usr/bin/xsane-gimp-0.999-14.mga9.aarch64.debug: Unknown debugging section .debug_line_str
dwz: Too few files for multifile optimization
original debug info size: 3748kB, size after compression: 3748kB
/usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 2 CRC32s did match.
3505 blocks
+ /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/brp-python-bytecompile /usr/bin/python3 1 0
+ /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-14.mga9.aarch64/include/md5.h is executable but has no shebang, removing executable bit
*** WARNING: ./usr/src/debug/xsane-0.999-14.mga9.aarch64/include/getopt.h is executable but has no shebang, removing executable bit
Processing files: xsane-0.999-14.mga9.aarch64
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.STJ6dh
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd xsane-0.999
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/doc/xsane
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/doc/xsane
+ cp -pr xsane-WIN32-README.txt xsane-WIN32-compilation.txt xsane-WIN32-compilation.txt.old xsane.ACCELKEYS xsane.AUTHOR xsane.BEGINNERS-INFO xsane.BUGS xsane.CHANGES xsane.COPYING xsane.FAQ xsane.INSTALL xsane.LANGUAGES xsane.LOGO xsane.NEWS xsane.ONLINEHELP xsane.PROBLEMS xsane.REMOVE xsane.ROOT xsane.RPM xsane.TODO xsane.VENDOR-STRINGS xsane.lang xsane.spec xsane.spec.in xsane.spec.in.old /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/doc/xsane
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: application() application(xsane.desktop) config(xsane) = 0.999-14.mga9 scanner-gui xsane = 0.999-14.mga9 xsane(aarch-64) = 0.999-14.mga9
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: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(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.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libsane.so.1()(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) libz.so.1()(64bit)
Recommends: gocr
Processing files: xsane-gimp-0.999-14.mga9.aarch64
Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.4VVTaU
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd xsane-0.999
+ DOCDIR=/home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/doc/xsane-gimp
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/doc/xsane-gimp
+ cp -pr xsane-WIN32-README.txt xsane-WIN32-compilation.txt xsane-WIN32-compilation.txt.old xsane.ACCELKEYS xsane.AUTHOR xsane.BEGINNERS-INFO xsane.BUGS xsane.CHANGES xsane.COPYING xsane.FAQ xsane.INSTALL xsane.LANGUAGES xsane.LOGO xsane.NEWS xsane.ONLINEHELP xsane.PROBLEMS xsane.REMOVE xsane.ROOT xsane.RPM xsane.TODO xsane.VENDOR-STRINGS xsane.lang xsane.spec xsane.spec.in xsane.spec.in.old /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64/usr/share/doc/xsane-gimp
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: xsane-gimp = 0.999-14.mga9 xsane-gimp(aarch-64) = 0.999-14.mga9
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: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libgdk-x11-2.0.so.0()(64bit) libgimp-2.0.so.0()(64bit) libgimpbase-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libjpeg.so.8()(64bit) libjpeg.so.8(LIBJPEG_8.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libsane.so.1()(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) libz.so.1()(64bit)
Processing files: xsane-debugsource-0.999-14.mga9.aarch64
Provides: xsane-debugsource = 0.999-14.mga9 xsane-debugsource(aarch-64) = 0.999-14.mga9
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-14.mga9.aarch64
Provides: debuginfo(build-id) = 7a3597333aaf4247db58fbf7888fcc4e68141a4c xsane-debuginfo = 0.999-14.mga9 xsane-debuginfo(aarch-64) = 0.999-14.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: xsane-debugsource(aarch-64) = 0.999-14.mga9
Processing files: xsane-gimp-debuginfo-0.999-14.mga9.aarch64
Provides: debuginfo(build-id) = 0d9e0eac66aeb056d6e1b6b02d75058b807d3418 xsane-gimp-debuginfo = 0.999-14.mga9 xsane-gimp-debuginfo(aarch-64) = 0.999-14.mga9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: xsane-debugsource(aarch-64) = 0.999-14.mga9
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/xsane-gimp-0.999-14.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/xsane-debuginfo-0.999-14.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/xsane-gimp-debuginfo-0.999-14.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/xsane-debugsource-0.999-14.mga9.aarch64.rpm
Wrote: /home/iurt/rpmbuild/RPMS/aarch64/xsane-0.999-14.mga9.aarch64.rpm
Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HvOiSZ
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd xsane-0.999
+ /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/xsane-0.999-14.mga9.aarch64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.eUr69d
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf xsane-0.999
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!