Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sane-frontends.spec'], chrootPath='/var/lib/mock/dist-circle8-build-35220-6039/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sane-frontends.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/sane-frontends-1.0.14-30.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sane-frontends.spec'], chrootPath='/var/lib/mock/dist-circle8-build-35220-6039/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sane-frontends.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vnMWw3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sane-frontends-1.0.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/sane-frontends-1.0.14.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sane-frontends-1.0.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (sane-frontends-1.0.14-array-out-of-bounds.patch): + echo 'Patch #0 (sane-frontends-1.0.14-array-out-of-bounds.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .array-out-of-bounds --fuzz=0 patching file src/xcam.c patching file src/xscanimage.c Patch #1 (sane-frontends-1.0.14-sane-backends-1.0.20.patch): + echo 'Patch #1 (sane-frontends-1.0.14-sane-backends-1.0.20.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sane-backends-1.0.20 --fuzz=0 patching file src/gtkglue.c Patch #2 (sane-frontends-1.0.14-xcam-man.patch): + echo 'Patch #2 (sane-frontends-1.0.14-xcam-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .xcam-man --fuzz=0 patching file doc/xcam.man Patch #3 (sane-frontends-1.0.14-update-to-current-lprng-plp_snprintf.patch): + echo 'Patch #3 (sane-frontends-1.0.14-update-to-current-lprng-plp_snprintf.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .snprintf --fuzz=0 patching file lib/snprintf.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zofDtR + umask 022 + cd /builddir/build/BUILD + cd sane-frontends-1.0.14 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-gnu-ld --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man checking whether GIMP plugin is requested... yes, GIMP 2.0 checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no 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 for library containing strerror... none required checking for x86_64-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 ANSI C... (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 build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for ANSI C header files... (cached) yes 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 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 u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for sqrt in -lm... yes checking for socket in -lsocket... no checking for syslog in -lsyslog... no checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for 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 getenv... yes checking for isfdtype... yes checking for vsyslog... yes checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib 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 for pkg-config... (cached) /usr/bin/pkg-config checking for GIMP - version >= 1.3.23... *** Could not run GIMP test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GIMP is incorrectly installed. configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating sanei/Makefile config.status: creating doc/Makefile config.status: creating include/Makefile config.status: creating include/sane/config.h **************************************************************** * * * SANE-FRONTENDS configure status: * * -------------------------------- * * - GUIs activated (xcam + xscanimage) * * - GIMP plugin deactivated for xscanimage * * * **************************************************************** * * * To compile SANE-FRONTENDS: * * -------------------------- * * make * * make install * * * * ------------------------------------------------------------ * * ... PLEASE READ SANE DOCUMENTATION BEFORE STARTING SANE ... * * ------------------------------------------------------------ * * * * If you experience any problems with sane-frontends please * * write to the sane mailing list or contact: * * Oliver Rauch * * * **************************************************************** + make -j16 making all in include make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14/include' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14/include' making all in lib make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14/lib' gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall alloca.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall getopt.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall getopt1.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall strndup.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall strdup.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall strsep.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall snprintf.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall usleep.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall isfdtype.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall vsyslog.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall getenv.c ar r liblib.a alloca.o getopt.o getopt1.o strndup.o strdup.o strsep.o snprintf.o usleep.o isfdtype.o vsyslog.o getenv.o ar: creating liblib.a ranlib liblib.a make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14/lib' making all in sanei make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14/sanei' gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall sanei_init_debug.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall sanei_wire.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall sanei_codec_ascii.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall sanei_codec_bin.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall sanei_save_values.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall sanei_load_values.c sanei_wire.c: In function 'sanei_w_array': sanei_wire.c:213:16: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] DBG (0, "sanei_w_array: DECODE: maximum amount of allocated memory " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sanei_wire.c:215:15: MAX_MEM, len * element_size, MAX_MEM + len * element_size); ~~~~~~~~~~~~~~~~~~ sanei_wire.c:214:45: note: format string is defined here "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", ~^ %lu sanei_wire.c:213:16: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] DBG (0, "sanei_w_array: DECODE: maximum amount of allocated memory " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sanei_wire.c:214:56: note: format string is defined here "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", ~^ %lu sanei_wire.c: In function 'sanei_w_ptr': sanei_wire.c:291:16: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] DBG (0, "sanei_w_ptr: DECODE: maximum amount of allocated memory " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sanei_wire.c:293:15: MAX_MEM, value_size, (w->allocated_memory + value_size)); ~~~~~~~~~~ sanei_wire.c:292:45: note: format string is defined here "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", ~^ %lu sanei_wire.c:291:16: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] DBG (0, "sanei_w_ptr: DECODE: maximum amount of allocated memory " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sanei_wire.c:293:27: MAX_MEM, value_size, (w->allocated_memory + value_size)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sanei_wire.c:292:56: note: format string is defined here "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", ~^ %lu sanei_init_debug.c: In function 'sanei_debug_msg': sanei_init_debug.c:103:17: warning: implicit declaration of function 'isfdtype'; did you mean 'isctype'? [-Wimplicit-function-declaration] if ( 1 == isfdtype(fileno(stderr), S_IFSOCK) ) ^~~~~~~~ isctype ar r libsanei.a sanei_init_debug.o sanei_wire.o sanei_codec_ascii.o sanei_codec_bin.o sanei_save_values.o sanei_load_values.o ar: creating libsanei.a ranlib libsanei.a make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14/sanei' making all in src make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14/src' gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread scanadf.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread xscanimage.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread progress.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread preview.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread preferences.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread gtkglue.c gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread xcam.c scanadf.c: In function 'scan_it_raw': scanadf.c:987:6: warning: case value '10' not in enumerated type 'SANE_Frame' {aka 'enum '} [-Wswitch] case SANE_FRAME_TEXT: ^~~~ scanadf.c:988:6: warning: case value '11' not in enumerated type 'SANE_Frame' {aka 'enum '} [-Wswitch] case SANE_FRAME_JPEG: ^~~~ scanadf.c:989:6: warning: case value '12' not in enumerated type 'SANE_Frame' {aka 'enum '} [-Wswitch] case SANE_FRAME_G31D: ^~~~ scanadf.c:990:6: warning: case value '13' not in enumerated type 'SANE_Frame' {aka 'enum '} [-Wswitch] case SANE_FRAME_G32D: ^~~~ scanadf.c:991:6: warning: case value '14' not in enumerated type 'SANE_Frame' {aka 'enum '} [-Wswitch] case SANE_FRAME_G42D: ^~~~ gtkglue.c: In function 'button_update': gtkglue.c:406:33: warning: variable 'opt' set but not used [-Wunused-but-set-variable] const SANE_Option_Descriptor *opt; ^~~ gtkglue.c: In function 'gsg_get_filename': gtkglue.c:338:7: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd (cwd, len + 1); ^~~~~~~~~~~~~~~~~~~~~ preview.c: In function 'input_available': preview.c:603:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf (buf, sizeof (buf), "Error during read: %s.", ^~~ In file included from /usr/include/features.h:428, from /usr/include/assert.h:35, from preview.c:68: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ preview.c:605:19: warning: pointer targets in passing argument 1 of 'gsg_error' differ in signedness [-Wpointer-sign] gsg_error (buf); ^~~ In file included from preview.c:78: gtkglue.h:99:13: note: expected 'gchar *' {aka 'char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void gsg_error (gchar * error_message); ^~~~~~~~~ preview.c:823:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf (buf, sizeof (buf), "Preview cannot handle depth %d.", ^~~ In file included from /usr/include/features.h:428, from /usr/include/assert.h:35, from preview.c:68: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ preview.c:825:14: warning: pointer targets in passing argument 1 of 'gsg_error' differ in signedness [-Wpointer-sign] gsg_error (buf); ^~~ In file included from preview.c:78: gtkglue.h:99:13: note: expected 'gchar *' {aka 'char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} extern void gsg_error (gchar * error_message); ^~~~~~~~~ xcam.c:328: warning: "CHAR_WIDTH" redefined #define CHAR_WIDTH 6 In file included from /usr/lib/gcc/x86_64-redhat-linux/8/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/8/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/8/include/limits.h:34, from xcam.c:32: /usr/include/limits.h:147: note: this is the location of the previous definition # define CHAR_WIDTH 8 xcam.c: In function 'input_available': xcam.c:1112:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] "xcam: input_available fps count=%d, frame_time * 30 = %2.3f, fps=%2.3f, fps_av=%2.3f\n", ~^ %ld win.f_count, frame_time, win.fps, win.fps_av); ~~~~~~~~~~~ xcam.c: In function 'main': xcam.c:1602:51: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] DBG (DBG_debug, "xcam.main: buf_backend_size 0x%x\n", win.buf_backend_size); ~^ ~~~~~~~~~~~~~~~~~~~~ %lx xscanimage.c:448:1: warning: 'get_resolution' defined but not used [-Wunused-function] get_resolution (SANE_Handle dev) ^~~~~~~~~~~~~~ xcam.c: In function 'load_settings': xcam.c:502:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd, buf, sizeof (buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcam.c: In function 'save_settings': xcam.c:319:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, dialog->dev_name, strlen (dialog->dev_name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcam.c:320:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, "\n", 1); ^~~~~~~~~~~~~~~~~~~ xcam.c: In function 'load_defaults': xcam.c:545:6: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] if (fd < 0) ^ gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o scanadf scanadf.o ../lib/liblib.a -lm -lsane gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xscanimage xscanimage.o progress.o preview.o preferences.o gtkglue.o ../sanei/libsanei.a \ ../lib/liblib.a -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 -lfontconfig -lfreetype -lm -lsane gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xcam xcam.o preferences.o gtkglue.o ../sanei/libsanei.a \ ../lib/liblib.a -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 -lfontconfig -lfreetype -lm -lsane make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14/src' making all in doc make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14/doc' Generating manpage xscanimage.1... Generating manpage xcam.1... Generating manpage scanadf.1... make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14/doc' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TsJ9RX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64 + cd sane-frontends-1.0.14 + make DESTDIR=/builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64 install making install in include make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14/include' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14/include' making install in lib make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14/lib' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14/lib' making install in sanei make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14/sanei' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14/sanei' making install in src make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14/src' ../mkinstalldirs /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/bin /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/sane mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/bin mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/sane installing scanadf in /usr/bin/scanadf... installing xscanimage in /usr/bin/xscanimage... installing xcam in /usr/bin/xcam... /usr/bin/install -c -m 644 ./sane-style.rc \ /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/sane/sane-style.rc make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14/src' making install in doc make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14/doc' ../mkinstalldirs /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/man mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/man/man1 installing xscanimage.1 in /usr/share/man/man1/xscanimage.1... installing xcam.1 in /usr/share/man/man1/xcam.1... installing scanadf.1 in /usr/share/man/man1/scanadf.1... make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14/doc' + rm -f /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/bin/xscanimage + rm -f /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/man/man1/xscanimage.1 + rm -f /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/sane/sane-style.rc + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 1.0.14-30.el8 --unique-debug-suffix -1.0.14-30.el8.x86_64 --unique-debug-src-base sane-frontends-1.0.14-30.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/sane-frontends-1.0.14 extracting debug info from /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/bin/scanadf extracting debug info from /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/bin/xcam /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 521 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sane-frontends-1.0.14-30.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dxKaq5 + umask 022 + cd /builddir/build/BUILD + cd sane-frontends-1.0.14 + DOCDIR=/builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/doc/sane-frontends + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/doc/sane-frontends + cp -pr AUTHORS /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/doc/sane-frontends + cp -pr COPYING /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/doc/sane-frontends + cp -pr README /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64/usr/share/doc/sane-frontends + exit 0 Provides: sane-frontends = 1.0.14-30.el8 sane-frontends(x86-64) = 1.0.14-30.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libsane.so.1()(64bit) rtld(GNU_HASH) Processing files: sane-frontends-debugsource-1.0.14-30.el8.x86_64 Provides: sane-frontends-debugsource = 1.0.14-30.el8 sane-frontends-debugsource(x86-64) = 1.0.14-30.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sane-frontends-debuginfo-1.0.14-30.el8.x86_64 Provides: debuginfo(build-id) = c82f94e83a578f655b34ead8cf4535162142f926 debuginfo(build-id) = e2cce067a4f2016b15a4028d012adfb49e7506dd sane-frontends-debuginfo = 1.0.14-30.el8 sane-frontends-debuginfo(x86-64) = 1.0.14-30.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sane-frontends-debugsource(x86-64) = 1.0.14-30.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64 Wrote: /builddir/build/RPMS/sane-frontends-1.0.14-30.el8.x86_64.rpm Wrote: /builddir/build/RPMS/sane-frontends-debugsource-1.0.14-30.el8.x86_64.rpm Wrote: /builddir/build/RPMS/sane-frontends-debuginfo-1.0.14-30.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LEO3Ad + umask 022 + cd /builddir/build/BUILD + cd sane-frontends-1.0.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.el8.x86_64 + exit 0 Child return code was: 0