Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xsane.spec'], chrootPath='/var/lib/mock/f31-build-101855-33428/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xsane.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/xsane-0.999-34.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xsane.spec'], chrootPath='/var/lib/mock/f31-build-101855-33428/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xsane.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bGwf3r + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xsane-0.999 + /usr/bin/gzip -dc /builddir/build/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 . + for doc in xsane.{CHANGES,PROBLEMS,INSTALL} + iconv -f ISO-8859-1 -t utf8 xsane.CHANGES -o xsane.CHANGES.new + touch -r xsane.CHANGES xsane.CHANGES.new + mv xsane.CHANGES.new xsane.CHANGES + for doc in xsane.{CHANGES,PROBLEMS,INSTALL} + iconv -f ISO-8859-1 -t utf8 xsane.PROBLEMS -o xsane.PROBLEMS.new + touch -r xsane.PROBLEMS xsane.PROBLEMS.new + mv xsane.PROBLEMS.new xsane.PROBLEMS + for doc in xsane.{CHANGES,PROBLEMS,INSTALL} + iconv -f ISO-8859-1 -t utf8 xsane.INSTALL -o xsane.INSTALL.new + touch -r xsane.INSTALL xsane.INSTALL.new + mv xsane.INSTALL.new xsane.INSTALL + echo 'Patch #0 (xsane-0.995-xdg-open.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .xdg-open --fuzz=0 + echo 'Patch #1 (xsane-0.995-close-fds.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .close-fds --fuzz=0 + echo 'Patch #2 (xsane-0.996-no-eula.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no-eula --fuzz=0 + echo 'Patch #3 (xsane-0.997-off-root-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .off-root-build --fuzz=0 + echo 'Patch #4 (xsane-0.999-no-file-selected.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no-file-selected --fuzz=0 + echo 'Patch #5 (xsane-0.997-ipv6.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ipv6 --fuzz=0 + echo 'Patch #6 (xsane-0.998-preview-selection.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .preview-selection.patch --fuzz=0 + echo 'Patch #7 (xsane-0.998-libpng.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libpng --fuzz=0 + echo 'Patch #8 (xsane-0.998-wmclass.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .wmclass --fuzz=0 + echo 'Patch #9 (xsane-0.998-desktop-file.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .desktop-file --fuzz=0 + echo 'Patch #10 (xsane-0.999-man-page.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man-page --fuzz=0 + echo 'Patch #11 (xsane-0.999-pdf-no-high-bpp.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pdf-no-high-bpp --fuzz=0 + echo 'Patch #12 (xsane-0.999-lcms2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lcms2 --fuzz=0 + echo 'Patch #13 (xsane-0.999-coverity.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .coverity --fuzz=0 + echo 'Patch #14 (xsane-0.999-snprintf-update.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .snprintf-update --fuzz=0 + echo 'Patch #15 (xsane-0.999-signal-handling.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .signal-handling --fuzz=0 + echo 'Patch #100 (xsane-0.999-7-autoconf.patch.bz2):' + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xsane-0.999-7-autoconf.patch.bz2 + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .autoconf --fuzz=0 + rm include/config.h + mkdir build-with-gimp + mkdir build-without-gimp + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (xsane-0.995-xdg-open.patch): patching file src/xsane.h Patch #1 (xsane-0.995-close-fds.patch): patching file src/xsane.c Patch #2 (xsane-0.996-no-eula.patch): patching file src/xsane-text.h patching file src/xsane.c patching file src/xsane.h Patch #3 (xsane-0.997-off-root-build.patch): patching file configure.in patching file doc/Makefile.in patching file lib/Makefile.in patching file src/Makefile.in Patch #4 (xsane-0.999-no-file-selected.patch): patching file src/xsane-back-gtk.c patching file src/xsane-front-gtk.c Patch #5 (xsane-0.997-ipv6.patch): patching file src/xsane-save.c Patch #6 (xsane-0.998-preview-selection.patch): patching file src/xsane-preview.c Patch #7 (xsane-0.998-libpng.patch): patching file src/xsane-save.c Patch #8 (xsane-0.998-wmclass.patch): patching file src/xsane.c Patch #9 (xsane-0.998-desktop-file.patch): patching file src/xsane.desktop Patch #10 (xsane-0.999-man-page.patch): patching file doc/xsane.man Patch #11 (xsane-0.999-pdf-no-high-bpp.patch): patching file src/xsane-save.c Patch #12 (xsane-0.999-lcms2.patch): patching file configure.in patching file include/config.h.in patching file src/xsane-preview.c patching file src/xsane-save.c patching file src/xsane-viewer.c patching file src/xsane.h Patch #13 (xsane-0.999-coverity.patch): patching file src/xsane-back-gtk.c patching file src/xsane-batch-scan.c patching file src/xsane-email-project.c patching file src/xsane-fax-project.c patching file src/xsane-front-gtk.c patching file src/xsane-multipage-project.c patching file src/xsane-preview.c patching file src/xsane-save.c patching file src/xsane-scan.c patching file src/xsane-setup.c patching file src/xsane-text.h patching file src/xsane-viewer.c patching file src/xsane.c Hunk #1 succeeded at 580 (offset -5 lines). Hunk #2 succeeded at 596 (offset -5 lines). Hunk #3 succeeded at 1160 (offset -5 lines). Hunk #4 succeeded at 1397 (offset -5 lines). Hunk #5 succeeded at 1431 (offset -5 lines). Hunk #6 succeeded at 1579 (offset -5 lines). Hunk #7 succeeded at 2589 (offset -108 lines). Hunk #8 succeeded at 2624 (offset -108 lines). Hunk #9 succeeded at 2663 (offset -108 lines). Hunk #10 succeeded at 2671 (offset -108 lines). Hunk #11 succeeded at 2706 (offset -108 lines). Hunk #12 succeeded at 2787 (offset -108 lines). Hunk #13 succeeded at 2843 (offset -108 lines). Hunk #14 succeeded at 2914 (offset -108 lines). Hunk #15 succeeded at 3097 (offset -108 lines). Hunk #16 succeeded at 3123 (offset -108 lines). Hunk #17 succeeded at 3281 (offset -108 lines). Hunk #18 succeeded at 3699 (offset -108 lines). Hunk #19 succeeded at 4046 (offset -108 lines). Hunk #20 succeeded at 4056 (offset -108 lines). Hunk #21 succeeded at 4066 (offset -108 lines). Hunk #22 succeeded at 5608 (offset -108 lines). Patch #14 (xsane-0.999-snprintf-update.patch): patching file lib/snprintf.c Patch #15 (xsane-0.999-signal-handling.patch): patching file src/xsane.c Patch #100 (xsane-0.999-7-autoconf.patch.bz2): patching file configure Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HUfRDr + umask 022 + cd /builddir/build/BUILD + cd xsane-0.999 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\"' + export CFLAGS + pushd build-with-gimp + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\"' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ../configure BUILDSTDERR: ++ find .. -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ../configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-gimp BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking ~/build/BUILD/xsane-0.999/build-with-gimp ~/build/BUILD/xsane-0.999 ************************************************************************** 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 riscv64-redhat-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 riscv64-redhat-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 library containing cmsOpenProfileFromFile... -llcms2 checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for mkdir... yes checking for sigprocmask... yes checking for strdup... yes checking for strndup... yes checking for strftime... yes checking for strstr... yes checking for strsep... yes checking for strtod... yes checking for snprintf... yes checking for usleep... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for lstat... yes checking for riscv64-redhat-linux-gnu-ranlib... no BUILDSTDERR: checking for rconfig.status: WARNING: '../Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: config.status: WARNING: '../intl/Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: config.status: WARNING: '../lib/Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: config.status: WARNING: '../src/Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: config.status: WARNING: '../doc/Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking anlib... 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.8) 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: creating intl/Makefile config.status: creating po/Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating doc/Makefile config.status: creating xsane.spec config.status: creating include/config.h **************************************************************** * * * XSANE configure status: * * ----------------------- * * - NLS activated (external) * * - GIMP plugin activated * * - JPEG support activated * * - TIFF support activated * * - PNG support activated * * - LCMS (color management) support activated (lcms2) * * * **************************************************************** * * * To compile XSANE: * * ----------------- * * make * * make install * * * * ------------------------------------------------------------ * * ... PLEASE READ SANE DOCUMENTATION BEFORE STARTING XSANE ... * * ------------------------------------------------------------ * **************************************************************** NEWS: Due to changes in the configuration file routines you have to enter some data in preferences->setup. In general there is nothing special you have to care about to get xsane to work. Read xsane.CHANGES if you are interested in details of what has changed. BUILDSTDERR: If you experience any problems after you upgraded xsa+ make -j4 ne it may help to remove the setup and preferences files of xsane: rm -rf ~/.sane/xsane for subdir in lib src po doc; do \ target=`echo all-recursive | sed s/-recursive//`; \ echo making $target in $subdir; \ (cd $subdir && make $target) \ || case "-j4 --jobserver-auth=3,4" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making all in lib make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/alloca.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/getopt.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/getopt1.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strndup.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strdup.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strsep.c BUILDSTDERR: gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usrar: creating liblib.a /lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/snprintf.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/usleep.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/md5.c ar r liblib.a alloca.o getopt.o getopt1.o strndup.o strdup.o strsep.o snprintf.o usleep.o md5.o ranlib liblib.a make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/lib' making all in src make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-back-gtk.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-front-gtk.c BUILDSTDERR: gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/loca../../src/xsane-back-gtk.c: In function 'xsane_back_gtk_button_update': BUILDSTDERR: ../../src/xsane-back-gtk.c:1904:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1904 | const SANE_Option_Descriptor *opt; BUILDSTDERR: | ^~~ BUILDSTDERR: ../../src/xsane-preview.c: In function 'preview_create_batch_icon_from_file': BUILDSTDERR: ../../src/xsane-preview.c:2102:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2102 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-preview.c:2096:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2096 | int c; BUILDSTDERR: | ^ BUILDSTDERR: ../../src/xsane-preview.c: In function 'preview_restore_image_from_file': BUILDSTDERR: ../../src/xsane-preview.c:2455:9: warning: variable 'nread' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2455 | size_t nread; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../../src/xsane-gamma.c: In function 'xsane_slider_callback': BUILDSTDERR: ../../src/xsane-gamma.c:593:18: warning: variable 'motion_event' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 593 | GdkEventMotion *motion_event; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-front-gtk.c: In function 'xsane_set_all_resolutions': BUILDSTDERR: ../../src/xsane-front-gtk.c:351:6: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 351 | int printer_resolution; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-preview.c: In function 'preview_create_batch_icon_from_file': BUILDSTDERR: ../../src/xsane-preview.c:2126:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2126 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-preview.c: In function 'preview_restore_image_from_file': BUILDSTDERR: ../../src/xsane-preview.c:2482:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2482 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ le -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-gamma.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-preview.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-viewer.c BUILDSTDERR: gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-ann../../src/xsane-fax-project.c: In function 'xsane_fax_send': BUILDSTDERR: ../../src/xsane-fax-project.c:1301:7: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1301 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_show_callback': BUILDSTDERR: ../../src/xsane-fax-project.c:1075:9: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1075 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': BUILDSTDERR: ../../src/xsane-fax-project.c:909:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 909 | fgets(buf, sizeof(buf), sourcefile); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:950:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 950 | fgets(buf, sizeof(buf), sourcefile); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_scale_set_size_x_value_and_adjustments': BUILDSTDERR: ../../src/xsane-viewer.c:532:19: warning: variable 'image_height' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 532 | int image_width, image_height; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_scale_set_size_y_value_and_adjustments': BUILDSTDERR: ../../src/xsane-viewer.c:556:6: warning: variable 'image_width' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 556 | int image_width, image_height; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_project_update_project_status': BUILDSTDERR: ../../src/xsane-fax-project.c:461:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 461 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image_header': BUILDSTDERR: ../../src/xsane-viewer.c:2157:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2157 | int pos0; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image': BUILDSTDERR: ../../src/xsane-viewer.c:2212:6: warning: variable 'nread' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2212 | int nread; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_send': BUILDSTDERR: ../../src/xsane-fax-project.c:1113:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 252 [-Wformat-truncation=] BUILDSTDERR: 1113 | snprintf(buf, sizeof(buf), "%s - %s", PROGRESS_CONVERTING_DATA, source_filename); BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); BUILDSTDERR: | ~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:1177:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 1177 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); BUILDSTDERR: | ~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:1165:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 1165 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, fax_filename, strerror(errno)); BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); BUILDSTDERR: | ~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:1264:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 1264 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, fax_filename); BUILDSTDERR: | ^~ ~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_save_callback': BUILDSTDERR: ../../src/xsane-viewer.c:379:7: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 379 | getcwd(pathname, sizeof(pathname)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c: In function 'xsane_email_project_display_status': BUILDSTDERR: ../../src/xsane-email-project.c:496:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 496 | int items_done; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c: In function 'xsane_create_email': BUILDSTDERR: ../../src/xsane-email-project.c:1528:9: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1528 | size_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c: In function 'xsane_email_send': BUILDSTDERR: ../../src/xsane-email-project.c:1940:10: warning: variable 'ipc_file' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1940 | FILE *ipc_file = NULL; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c:1950:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1950 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_project_save': BUILDSTDERR: ../../src/xsane-fax-project.c:507:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 507 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:490:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 490 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': BUILDSTDERR: ../../src/xsane-fax-project.c:970:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1023 [-Wformat-truncation=] BUILDSTDERR: 970 | snprintf(buf, sizeof(buf), "%s %s", ERR_OPEN_FAILED, filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:937:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1022 [-Wformat-truncation=] BUILDSTDERR: 937 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, destpath); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image': BUILDSTDERR: ../../src/xsane-viewer.c:2319:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] BUILDSTDERR: 2319 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info.icm_profile); BUILDSTDERR: | ^~ ~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-viewer.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c: In function 'xsane_email_project_display_status': BUILDSTDERR: ../../src/xsane-email-project.c:904:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 904 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-email-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c: In function 'xsane_email_project_save': BUILDSTDERR: ../../src/xsane-email-project.c:949:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 949 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-email-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c:933:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 933 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-email-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c: In function 'xsane_email_send': BUILDSTDERR: ../../src/xsane-email-project.c:1701:55: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] BUILDSTDERR: 1701 | snprintf(buf, sizeof(buf), "

\r\n", content_id); BUILDSTDERR: | ^~ ~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-email-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c:1672:59: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] BUILDSTDERR: 1672 | snprintf(buf, sizeof(buf), "

\r\n", content_id); BUILDSTDERR: | ^~ ~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-email-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/memory.h:29, BUILDSTDERR: from ../../src/xsane.h:42, BUILDSTDERR: from ../../src/xsane-viewer.c:25: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_viewer_save_callback' at ../../src/xsane-viewer.c:283:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_viewer_save_callback' at ../../src/xsane-viewer.c:279:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ obin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-fax-project.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-email-project.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-multipage-project.c BUILDSTDERR: gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/inclu../../src/xsane-multipage-project.c: In function 'xsane_multipage_project_save': BUILDSTDERR: ../../src/xsane-multipage-project.c:530:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 530 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.multipage_status); /* fill 32 characters status line */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane-multipage-project.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-multipage-project.c:514:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 514 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane-multipage-project.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-multipage-project.c: In function 'xsane_multipage_save_file': BUILDSTDERR: ../../src/xsane-multipage-project.c:989:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 989 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_OPEN_FAILED, multipage_filename); BUILDSTDERR: | ^~ ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane-multipage-project.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-multipage-project.c:1073:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 1073 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); BUILDSTDERR: | ^~ ~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane-multipage-project.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-multipage-project.c:958:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 958 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); BUILDSTDERR: | ^~ ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane-multipage-project.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-multipage-project.c:943:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 943 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); BUILDSTDERR: | ^~ ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane-multipage-project.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_add': BUILDSTDERR: ../../src/xsane-batch-scan.c:719:13: warning: variable 'list_item' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 719 | GtkWidget *list_item; BUILDSTDERR: | ^~~~~~~~~ de/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-rc-io.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-device-preferences.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-batch-scan.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-preferences.c BUILDSTDERR: gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJO../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_update_label': BUILDSTDERR: ../../src/xsane-batch-scan.c:660:30: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 55 and 253 [-Wformat-truncation=] BUILDSTDERR: 660 | snprintf(buf, sizeof(buf), "%s\n" /* name */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 668 | geometry_tl_str, BUILDSTDERR: | ~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-batch-scan.c:662:31: note: format string is defined here BUILDSTDERR: 662 | "%s\n" /* geometry_tl */ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-batch-scan.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 600 bytes into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_save_list': BUILDSTDERR: ../../src/xsane-batch-scan.c:434:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 434 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-batch-scan.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-batch-scan.c: In function 'xsane_batch_scan_load_list': BUILDSTDERR: ../../src/xsane-batch-scan.c:354:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 354 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-batch-scan.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ R=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 -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-setup.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-save.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-scan.c BUILDSTDERR: gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACK../../src/xsane-setup.c: In function 'xsane_enhance_notebook': BUILDSTDERR: ../../src/xsane-setup.c:3364:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3364 | SANE_Status status; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_read_pnm_header': BUILDSTDERR: ../../src/xsane-save.c:435:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 435 | int items_done; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_scaled_image': BUILDSTDERR: ../../src/xsane-save.c:1056:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1056 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_despeckle_image': BUILDSTDERR: ../../src/xsane-save.c:1356:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1356 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_blur_image': BUILDSTDERR: ../../src/xsane-save.c:1557:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1557 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_write_flatedecode': BUILDSTDERR: ../../src/xsane-save.c:2510:14: warning: variable 'count' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2510 | static int count = 0; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_write_compressed_a85': BUILDSTDERR: ../../src/xsane-save.c:2786:14: warning: variable 'linelen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2786 | static int linelen = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:2785:14: warning: variable 'cbuflen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2785 | static int cbuflen = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_ps_pdf_gray': BUILDSTDERR: ../../src/xsane-save.c:3103:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3103 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_ps_pdf_color': BUILDSTDERR: ../../src/xsane-save.c:3354:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3354 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_jpeg': BUILDSTDERR: ../../src/xsane-save.c:4444:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4444 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_tiff_page': BUILDSTDERR: ../../src/xsane-save.c:4695:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4695 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_png': BUILDSTDERR: ../../src/xsane-save.c:4964:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4964 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_png_16': BUILDSTDERR: ../../src/xsane-save.c:5154:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 5154 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_pnm_16_ascii_gray': BUILDSTDERR: ../../src/xsane-save.c:5335:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 5335 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_pnm_16_ascii_color': BUILDSTDERR: ../../src/xsane-save.c:5443:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 5443 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_pnm_16_binary_gray': BUILDSTDERR: ../../src/xsane-save.c:5552:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 5552 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_pnm_16_binary_color': BUILDSTDERR: ../../src/xsane-save.c:5650:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 5650 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_pnm_8_gray': BUILDSTDERR: ../../src/xsane-save.c:5752:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 5752 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_pnm_8_color': BUILDSTDERR: ../../src/xsane-save.c:5848:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 5848 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_transfer_to_gimp': BUILDSTDERR: ../../src/xsane-save.c:6941:11: warning: 'gimp_image_parasite_attach' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations] BUILDSTDERR: 6941 | gimp_image_parasite_attach(image_ID, parasite); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:47, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpimage.h:98:16: note: declared here BUILDSTDERR: 98 | gboolean gimp_image_parasite_attach (gint32 image_ID, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:6976:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] BUILDSTDERR: 6976 | gimp_image_add_layer(image_ID, layer_ID, 0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp_pdb_headers.h:55, BUILDSTDERR: from /usr/include/gimp-2.0/libgimp/gimp.h:66, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here BUILDSTDERR: 75 | gboolean gimp_image_add_layer (gint32 image_ID, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:6977:3: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] BUILDSTDERR: 6977 | drawable = gimp_drawable_get(layer_ID); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:51:16: note: declared here BUILDSTDERR: 51 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:6978:3: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] BUILDSTDERR: 6978 | gimp_pixel_rgn_init(®ion, drawable, 0, 0, drawable->width, drawable->height, TRUE, FALSE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here BUILDSTDERR: 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:7009:17: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] BUILDSTDERR: 7009 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here BUILDSTDERR: 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:7050:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] BUILDSTDERR: 7050 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here BUILDSTDERR: 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:7088:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] BUILDSTDERR: 7088 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here BUILDSTDERR: 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:7136:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] BUILDSTDERR: 7136 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here BUILDSTDERR: 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:7177:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] BUILDSTDERR: 7177 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here BUILDSTDERR: 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:7250:5: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] BUILDSTDERR: 7250 | gimp_pixel_rgn_set_rect(®ion, tile, 0, y - remaining, image_info.image_width, remaining); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here BUILDSTDERR: 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:7253:3: warning: 'gimp_drawable_flush' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations] BUILDSTDERR: 7253 | gimp_drawable_flush(drawable); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:55:16: note: declared here BUILDSTDERR: 55 | void gimp_drawable_flush (GimpDrawable *drawable); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:7255:3: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 7255 | gimp_drawable_detach(drawable); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, BUILDSTDERR: from ../../src/xsane.h:446, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:53:16: note: declared here BUILDSTDERR: 53 | void gimp_drawable_detach (GimpDrawable *drawable); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:6822:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 6822 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_3chars_as_base64': BUILDSTDERR: ../../src/xsane-save.c:7302:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7302 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_string_base64': BUILDSTDERR: ../../src/xsane-save.c:7333:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7333 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_base64': BUILDSTDERR: ../../src/xsane-save.c:7368:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7368 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_email_header': BUILDSTDERR: ../../src/xsane-save.c:7420:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7420 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_email_footer': BUILDSTDERR: ../../src/xsane-save.c:7457:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7457 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_email_mime_ascii': BUILDSTDERR: ../../src/xsane-save.c:7468:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7468 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_email_mime_html': BUILDSTDERR: ../../src/xsane-save.c:7488:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7488 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_email_attach_image': BUILDSTDERR: ../../src/xsane-save.c:7514:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7514 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_email_attach_file': BUILDSTDERR: ../../src/xsane-save.c:7548:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7548 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'pop3_login': BUILDSTDERR: ../../src/xsane-save.c:7664:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7664 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'asmtp_authentication': BUILDSTDERR: ../../src/xsane-save.c:7720:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7720 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_smtp_header': BUILDSTDERR: ../../src/xsane-save.c:7820:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7820 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_smtp_footer': BUILDSTDERR: ../../src/xsane-save.c:7976:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 7976 | ssize_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_read_pnm_header': BUILDSTDERR: ../../src/xsane-save.c:437:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 437 | fgets(buf, sizeof(buf)-1, file); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:451:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 451 | fgets(buf, sizeof(buf)-1, file); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_image_as_text': BUILDSTDERR: ../../src/xsane-save.c:6118:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 6118 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c:6164:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 6164 | fgets(buf, sizeof(buf), ocr_progress); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-scan.c: In function 'xsane_read_image_data': BUILDSTDERR: ../../src/xsane-scan.c:144:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 144 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-scan.c: In function 'xsane_scan_done': BUILDSTDERR: ../../src/xsane-scan.c:1337:12: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1337 | int printer_resolution; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-scan.c:1293:11: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1293 | getcwd(pathname, sizeof(pathname)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/memory.h:29, BUILDSTDERR: from ../../src/xsane.h:42, BUILDSTDERR: from ../../src/xsane-scan.c:25: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_scan_done' at ../../src/xsane-scan.c:1117:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_scan_done' at ../../src/xsane-scan.c:1110:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane.c: In function 'xsane_scanmode_menu_callback': BUILDSTDERR: ../../src/xsane.c:1120:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1120 | const SANE_Option_Descriptor *opt; BUILDSTDERR: | ^~~ BUILDSTDERR: ../../src/xsane.c: In function 'xsane_update_xsane_callback': BUILDSTDERR: ../../src/xsane.c:1500:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1500 | SANE_Status status; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ../../src/xsane.c:1540:23: warning: variable 'status' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1540 | SANE_Status status; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_start_scan' at ../../src/xsane-scan.c:1814:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_start_scan' at ../../src/xsane-scan.c:1807:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane.c: In function 'xsane_info_dialog': BUILDSTDERR: ../../src/xsane.c:3265:43: warning: variable 'label' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3265 | GtkWidget *info_dialog, *vbox, *button, *label, *frame, *framebox, *hbox, *table; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../../src/xsane.c: In function 'xsane_select_device_by_key_callback': BUILDSTDERR: ../../src/xsane.c:5550:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 5550 | xsane.selected_dev = (int) data; BUILDSTDERR: | ^ BUILDSTDERR: ../../src/xsane.c: In function 'xsane_select_device_by_mouse_callback': BUILDSTDERR: ../../src/xsane.c:5559:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 5559 | xsane.selected_dev = (int) data; BUILDSTDERR: | ^ BUILDSTDERR: ../../src/xsane.c: In function 'xsane_pref_restore': BUILDSTDERR: ../../src/xsane.c:2009:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2009 | chdir(preferences.working_directory); /* set working directory */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane.c: In function 'xsane_show_doc': BUILDSTDERR: ../../src/xsane.c:4065:7: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 4065 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane.c: In function 'xsane_show_doc_via_nsr': BUILDSTDERR: ../../src/xsane.c:3898:7: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 3898 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane.c:3942:7: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 3942 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/memory.h:29, BUILDSTDERR: from ../../src/xsane.h:42, BUILDSTDERR: from ../../src/xsane-setup.c:25: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_setup_browse_tmp_path_callback' at ../../src/xsane-setup.c:1531:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_setup_browse_printer_icm_profile_callback' at ../../src/xsane-setup.c:1064:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_setup_browse_working_color_space_icm_profile_callback' at ../../src/xsane-setup.c:1627:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_setup_browse_custom_proofing_icm_profile_callback' at ../../src/xsane-setup.c:1608:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_setup_browse_display_icm_profile_callback' at ../../src/xsane-setup.c:1589:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_setup_browse_scanner_default_gray_icm_profile_callback' at ../../src/xsane-setup.c:1570:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_setup_browse_scanner_default_color_icm_profile_callback' at ../../src/xsane-setup.c:1551:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_create_cms_transform': BUILDSTDERR: ../../src/xsane-save.c:894:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] BUILDSTDERR: 894 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info->icm_profile); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane.c: In function 'xsane_show_doc': BUILDSTDERR: ../../src/xsane.c:3875:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 246 [-Wformat-truncation=] BUILDSTDERR: 3875 | snprintf(buf, sizeof(buf), "openFile(%s, new-window)", name); BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 4041 | xsane_show_doc_via_nsr(widget, (void *) path); BUILDSTDERR: | ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 23 and 4118 bytes into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane.c: In function 'xsane_init': BUILDSTDERR: ../../src/xsane.c:2024:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] BUILDSTDERR: 2024 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, OUT_FILENAME); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4094 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane.c:2055:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] BUILDSTDERR: 2055 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, FAXPROJECT); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 4107 bytes into a destination of size 4094 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane.c:2137:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] BUILDSTDERR: 2137 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, EMAILPROJECT); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 4109 bytes into a destination of size 4094 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane.c:2164:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] BUILDSTDERR: 2164 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, MULTIPAGEPROJECT); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4094 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'xsane_save_image_as': BUILDSTDERR: ../../src/xsane-save.c:6271:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 6264 | input_filename = temporary_filename; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 6271 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-save.c: In function 'write_smtp_header': BUILDSTDERR: ../../src/xsane-save.c:7909:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=] BUILDSTDERR: 7909 | snprintf(buf, sizeof(buf), "RCPT TO: <%s>\r\n", to_pos); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/memory.h:29, BUILDSTDERR: from ../../src/xsane.h:42, BUILDSTDERR: from ../../src/xsane-save.c:25: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'write_smtp_header' at ../../src/xsane-save.c:7894:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + popd + pushd build-without-gimp + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\"' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ../configure BUILDSTDERR: ++ find .. -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ../configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-gimp BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking ER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane-icons.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -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/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.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 ../../src/xsane.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xsane xsane-back-gtk.o xsane-front-gtk.o xsane-gamma.o xsane-preview.o xsane-viewer.o xsane-fax-project.o xsane-email-project.o xsane-multipage-project.o xsane-rc-io.o xsane-device-preferences.o xsane-batch-scan.o xsane-preferences.o xsane-setup.o xsane-save.o xsane-scan.o xsane-icons.o xsane.o \ ../lib/liblib.a -lsane -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 -Wl,--export-dynamic -lgmodule-2.0 -pthread -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 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lpng -llcms2 -ltiff -ljpeg -lz -lm make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/src' making all in po make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/po' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/po' making all in doc make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/doc' sed -e 's|@DATADIR@|/usr/share|g' \ -e 's|@SANEDATADIR@|/usr/share/sane|g' \ -e 's|@CONFIGDIR@|/etc/sane.d|g' \ -e 's|@LIBDIR@|/usr/lib64|g' \ -e 's|@BINDIR@|/usr/bin|g' \ -e 's|@SBINDIR@|/usr/sbin|g' ../../doc/xsane.man >xsane.1 make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-with-gimp/doc' ~/build/BUILD/xsane-0.999 ~/build/BUILD/xsane-0.999/build-without-gimp ~/build/BUILD/xsane-0.999 ************************************************************************** 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 riscv64-redhat-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 riscv64-redhat-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 library containing cmsOpenProfileFromFile... -llcms2 checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for mkdir... yes checking for sigprocmask... yes checking for strdup... yes checking for strndup... yes checking for strftime... yes checking for strstr... yes checking for strsep... yes checking for strtod... yes checking for snprintf... yes checking for usleep... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for lstat... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for off_t... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes BUILDSTDERR: checking for values.h.config.status: WARNING: '../Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: config.status: WARNING: '../intl/Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: config.status: WARNING: '../lib/Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: config.status: WARNING: '../src/Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: config.status: WARNING: '../doc/Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make .. 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.32) 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: creating intl/Makefile config.status: creating po/Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating doc/Makefile config.status: creating xsane.spec config.status: creating include/config.h **************************************************************** * * * XSANE configure status: * * ----------------------- * * - NLS activated (external) * * - GIMP plugin deactivated * * - JPEG support activated * * - TIFF support activated * * - PNG support activated * * - LCMS (color management) support activated (lcms2) * * * **************************************************************** * * * To compile XSANE: * * ----------------- * * make * * make install * * * * ------------------------------------------------------------ * * ... PLEASE READ SANE DOCUMENTATION BEFORE STARTING XSANE ... * * ------------------------------------------------------------ * **************************************************************** NEWS: Due to changes in the configuration file routines you have to enter some data in preferences->setup. In general there is nothing special you have to care about to get xsane to work. Read xsane.CHANGES if you are interested in details of what has changed. If you experience any problems after you upgraded xsane it may help to remove the setup and preferences files of xsane: rm -rf ~/.sane/xsane for subdir in lib src po doc; do \ target=`echo all-recursive | sed s/-recursive//`; \ echo making $target in $subdir; \ (cd $subdir && make $target) \ || case "" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making all in lib make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/lib' gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/alloca.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/getopt.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/getopt1.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strndup.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strdup.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/strsep.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/snprintf.c BUILDSTDERR: gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ..ar: creating liblib.a BUILDSTDERR: ../../src/xsane-back-gtk.c: In function 'xsane_back_gtk_button_update': BUILDSTDERR: ../../src/xsane-back-gtk.c:1904:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1904 | const SANE_Option_Descriptor *opt; BUILDSTDERR: | ^~~ BUILDSTDERR: ../../src/xsane-front-gtk.c: In function 'xsane_set_all_resolutions': BUILDSTDERR: ../../src/xsane-front-gtk.c:351:6: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 351 | int printer_resolution; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ /../lib/usleep.c gcc -c -DHAVE_CONFIG_H -I. -I../../lib -I../include/sane -I../include -I../../include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall ../../lib/md5.c ar r liblib.a alloca.o getopt.o getopt1.o strndup.o strdup.o strsep.o snprintf.o usleep.o md5.o ranlib liblib.a make[1]: Leaving directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/lib' making all in src make[1]: Entering directory '/builddir/build/BUILD/xsane-0.999/build-without-gimp/src' gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread ../../src/xsane-back-gtk.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread ../../src/xsane-front-gtk.c BUILDSTDERR: gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthr../../src/xsane-gamma.c: In function 'xsane_slider_callback': BUILDSTDERR: ../../src/xsane-gamma.c:593:18: warning: variable 'motion_event' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 593 | GdkEventMotion *motion_event; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-preview.c: In function 'preview_create_batch_icon_from_file': BUILDSTDERR: ../../src/xsane-preview.c:2102:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2102 | size_t bytes_read; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-preview.c:2096:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2096 | int c; BUILDSTDERR: | ^ BUILDSTDERR: ../../src/xsane-preview.c: In function 'preview_restore_image_from_file': BUILDSTDERR: ../../src/xsane-preview.c:2455:9: warning: variable 'nread' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2455 | size_t nread; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../../src/xsane-preview.c: In function 'preview_create_batch_icon_from_file': BUILDSTDERR: ../../src/xsane-preview.c:2126:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2126 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-preview.c: In function 'preview_restore_image_from_file': BUILDSTDERR: ../../src/xsane-preview.c:2482:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2482 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_scale_set_size_x_value_and_adjustments': BUILDSTDERR: ../../src/xsane-viewer.c:532:19: warning: variable 'image_height' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 532 | int image_width, image_height; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_scale_set_size_y_value_and_adjustments': BUILDSTDERR: ../../src/xsane-viewer.c:556:6: warning: variable 'image_width' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 556 | int image_width, image_height; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image_header': BUILDSTDERR: ../../src/xsane-viewer.c:2157:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2157 | int pos0; BUILDSTDERR: | ^~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image': BUILDSTDERR: ../../src/xsane-viewer.c:2212:6: warning: variable 'nread' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2212 | int nread; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_save_callback': BUILDSTDERR: ../../src/xsane-viewer.c:379:7: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 379 | getcwd(pathname, sizeof(pathname)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-viewer.c: In function 'xsane_viewer_read_image': BUILDSTDERR: ../../src/xsane-viewer.c:2319:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] BUILDSTDERR: 2319 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info.icm_profile); BUILDSTDERR: | ^~ ~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-viewer.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/memory.h:29, BUILDSTDERR: from ../../src/xsane.h:42, BUILDSTDERR: from ../../src/xsane-viewer.c:25: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_viewer_save_callback' at ../../src/xsane-viewer.c:283:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'xsane_viewer_save_callback' at ../../src/xsane-viewer.c:279:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_send': BUILDSTDERR: ../../src/xsane-fax-project.c:1301:7: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1301 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_show_callback': BUILDSTDERR: ../../src/xsane-fax-project.c:1075:9: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1075 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': BUILDSTDERR: ../../src/xsane-fax-project.c:909:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 909 | fgets(buf, sizeof(buf), sourcefile); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:950:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 950 | fgets(buf, sizeof(buf), sourcefile); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_project_update_project_status': BUILDSTDERR: ../../src/xsane-fax-project.c:461:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 461 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_send': BUILDSTDERR: ../../src/xsane-fax-project.c:1113:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 252 [-Wformat-truncation=] BUILDSTDERR: 1113 | snprintf(buf, sizeof(buf), "%s - %s", PROGRESS_CONVERTING_DATA, source_filename); BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); BUILDSTDERR: | ~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:1177:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 1177 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); BUILDSTDERR: | ~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:1165:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 1165 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, fax_filename, strerror(errno)); BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 1272 | xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); BUILDSTDERR: | ~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:1264:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 1264 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, fax_filename); BUILDSTDERR: | ^~ ~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_project_save': BUILDSTDERR: ../../src/xsane-fax-project.c:507:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 507 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:490:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 490 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': BUILDSTDERR: ../../src/xsane-fax-project.c:970:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1023 [-Wformat-truncation=] BUILDSTDERR: 970 | snprintf(buf, sizeof(buf), "%s %s", ERR_OPEN_FAILED, filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-fax-project.c:937:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1022 [-Wformat-truncation=] BUILDSTDERR: 937 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, destpath); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-fax-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ead ../../src/xsane-gamma.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread ../../src/xsane-preview.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread ../../src/xsane-viewer.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread ../../src/xsane-fax-project.c BUILDSTDERR: gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I../../src -I../include -I../../include -I/usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"http://bugzilla.redhat.com\" -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0../../src/xsane-email-project.c: In function 'xsane_email_project_display_status': BUILDSTDERR: ../../src/xsane-email-project.c:496:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 496 | int items_done; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c: In function 'xsane_create_email': BUILDSTDERR: ../../src/xsane-email-project.c:1528:9: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1528 | size_t bytes_written; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c: In function 'xsane_email_send': BUILDSTDERR: ../../src/xsane-email-project.c:1940:10: warning: variable 'ipc_file' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1940 | FILE *ipc_file = NULL; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c:1950:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1950 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c: In function 'xsane_email_project_display_status': BUILDSTDERR: ../../src/xsane-email-project.c:904:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 904 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-email-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c: In function 'xsane_email_project_save': BUILDSTDERR: ../../src/xsane-email-project.c:949:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 949 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-email-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c:933:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] BUILDSTDERR: 933 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-email-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c: In function 'xsane_email_send': BUILDSTDERR: ../../src/xsane-email-project.c:1701:55: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] BUILDSTDERR: 1701 | snprintf(buf, sizeof(buf), "

\r\n", content_id); BUILDSTDERR: | ^~ ~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ../../src/xsane.h:47, BUILDSTDERR: from ../../src/xsane-email-project.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../../src/xsane-email-project.c:1672:59: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] BUILDSTDERR: 1672 | snprintf(buf, sizeof(buf), "

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