Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sane-frontends.spec'], chrootPath='/var/lib/mock/f29-build-21666-11317/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/sane-frontends-1.0.14-30.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sane-frontends.spec'], chrootPath='/var/lib/mock/f29-build-21666-11317/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yc1Rt5 + 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 . + echo 'Patch #0 (sane-frontends-1.0.14-array-out-of-bounds.patch):' 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 + echo 'Patch #1 (sane-frontends-1.0.14-sane-backends-1.0.20.patch):' 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 + echo 'Patch #2 (sane-frontends-1.0.14-xcam-man.patch):' 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 + echo 'Patch #3 (sane-frontends-1.0.14-update-to-current-lprng-plp_snprintf.patch):' 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.sEoW2B + 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 -fasynchronous-unwind-tables -fstack-clash-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 -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,-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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 riscv64-koji-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 riscv64-koji-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... riscv64-koji-linux-gnu checking host system type... riscv64-koji-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 riscv64-koji-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 -j4 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 BUILDSTDERR: 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall sanei_codec_bin.c BUILDSTDERR: sanei_wire.c: In function 'sanei_w_array': BUILDSTDERR: 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=] BUILDSTDERR: DBG (0, "sanei_w_array: DECODE: maximum amount of allocated memory " BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sanei_wire.c:215:15: BUILDSTDERR: MAX_MEM, len * element_size, MAX_MEM + len * element_size); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sanei_wire.c:214:45: note: format string is defined here BUILDSTDERR: "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", BUILDSTDERR: ~^ BUILDSTDERR: %lu BUILDSTDERR: 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=] BUILDSTDERR: DBG (0, "sanei_w_array: DECODE: maximum amount of allocated memory " BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sanei_wire.c:214:56: note: format string is defined here BUILDSTDERR: "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", BUILDSTDERR: ~^ BUILDSTDERR: %lu BUILDSTDERR: sanei_wire.c: In function 'sanei_w_ptr': BUILDSTDERR: 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=] BUILDSTDERR: DBG (0, "sanei_w_ptr: DECODE: maximum amount of allocated memory " BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sanei_wire.c:293:15: BUILDSTDERR: MAX_MEM, value_size, (w->allocated_memory + value_size)); BUILDSTDERR: ~~~~~~~~~~ BUILDSTDERR: sanei_wire.c:292:45: note: format string is defined here BUILDSTDERR: "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", BUILDSTDERR: ~^ BUILDSTDERR: %lu BUILDSTDERR: 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=] BUILDSTDERR: DBG (0, "sanei_w_ptr: DECODE: maximum amount of allocated memory " BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sanei_wire.c:293:27: BUILDSTDERR: MAX_MEM, value_size, (w->allocated_memory + value_size)); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sanei_wire.c:292:56: note: format string is defined here BUILDSTDERR: "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", BUILDSTDERR: ~^ BUILDSTDERR: %lu BUILDSTDERR: sanei_init_debug.c: In function 'sanei_debug_msg': BUILDSTDERR: sanei_init_debug.c:103:17: warning: implicit declaration of function 'isfdtype'; did you mean 'isctype'? [-Wimplicit-function-declaration] BUILDSTDERR: if ( 1 == isfdtype(fileno(stderr), S_IFSOCK) ) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: isctype 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -Wall sanei_load_values.c 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 BUILDSTDERR: 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 BUILDSTDERR: scanadf.c: In function 'scan_it_raw': BUILDSTDERR: scanadf.c:987:6: warning: case value '10' not in enumerated type 'SANE_Frame' {aka 'enum '} [-Wswitch] BUILDSTDERR: case SANE_FRAME_TEXT: BUILDSTDERR: ^~~~ BUILDSTDERR: scanadf.c:988:6: warning: case value '11' not in enumerated type 'SANE_Frame' {aka 'enum '} [-Wswitch] BUILDSTDERR: case SANE_FRAME_JPEG: BUILDSTDERR: ^~~~ BUILDSTDERR: scanadf.c:989:6: warning: case value '12' not in enumerated type 'SANE_Frame' {aka 'enum '} [-Wswitch] BUILDSTDERR: case SANE_FRAME_G31D: BUILDSTDERR: ^~~~ BUILDSTDERR: scanadf.c:990:6: warning: case value '13' not in enumerated type 'SANE_Frame' {aka 'enum '} [-Wswitch] BUILDSTDERR: case SANE_FRAME_G32D: BUILDSTDERR: ^~~~ BUILDSTDERR: scanadf.c:991:6: warning: case value '14' not in enumerated type 'SANE_Frame' {aka 'enum '} [-Wswitch] BUILDSTDERR: case SANE_FRAME_G42D: BUILDSTDERR: ^~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 BUILDSTDERR: preview.c: In function 'input_available': BUILDSTDERR: preview.c:603:18: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf (buf, sizeof (buf), "Error during read: %s.", BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/assert.h:35, BUILDSTDERR: from preview.c:68: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: preview.c:605:19: warning: pointer targets in passing argument 1 of 'gsg_error' differ in signedness [-Wpointer-sign] BUILDSTDERR: gsg_error (buf); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from preview.c:78: BUILDSTDERR: gtkglue.h:99:13: note: expected 'gchar *' {aka 'char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void gsg_error (gchar * error_message); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: preview.c:823:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: snprintf (buf, sizeof (buf), "Preview cannot handle depth %d.", BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/assert.h:35, BUILDSTDERR: from preview.c:68: BUILDSTDERR: /usr/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: __NTH (snprintf (char *__restrict __s, size_t __n, BUILDSTDERR: ^~~~~ BUILDSTDERR: preview.c:825:14: warning: pointer targets in passing argument 1 of 'gsg_error' differ in signedness [-Wpointer-sign] BUILDSTDERR: gsg_error (buf); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from preview.c:78: BUILDSTDERR: gtkglue.h:99:13: note: expected 'gchar *' {aka 'char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: extern void gsg_error (gchar * error_message); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: xscanimage.c:448:1: warning: 'get_resolution' defined but not used [-Wunused-function] BUILDSTDERR: get_resolution (SANE_Handle dev) BUILDSTDERR: ^~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o scanadf scanadf.o ../lib/liblib.a -lm -lsane BUILDSTDERR: gtkglue.c: In function 'button_update': BUILDSTDERR: gtkglue.c:406:33: warning: variable 'opt' set but not used [-Wunused-but-set-variable] BUILDSTDERR: const SANE_Option_Descriptor *opt; BUILDSTDERR: ^~~ BUILDSTDERR: gtkglue.c: In function 'gsg_get_filename': BUILDSTDERR: gtkglue.c:338:7: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: getcwd (cwd, len + 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xcam.c:328: warning: "CHAR_WIDTH" redefined BUILDSTDERR: #define CHAR_WIDTH 6 BUILDSTDERR: BUILDSTDERR: In file included from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from xcam.c:32: BUILDSTDERR: /usr/include/limits.h:147: note: this is the location of the previous definition BUILDSTDERR: # define CHAR_WIDTH 8 BUILDSTDERR: BUILDSTDERR: xcam.c: In function 'input_available': BUILDSTDERR: xcam.c:1112:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] BUILDSTDERR: "xcam: input_available fps count=%d, frame_time * 30 = %2.3f, fps=%2.3f, fps_av=%2.3f\n", BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: win.f_count, frame_time, win.fps, win.fps_av); BUILDSTDERR: ~~~~~~~~~~~ BUILDSTDERR: xcam.c: In function 'main': BUILDSTDERR: 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=] BUILDSTDERR: DBG (DBG_debug, "xcam.main: buf_backend_size 0x%x\n", win.buf_backend_size); BUILDSTDERR: ~^ ~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: %lx BUILDSTDERR: xcam.c: In function 'load_settings': BUILDSTDERR: xcam.c:502:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd, buf, sizeof (buf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xcam.c: In function 'save_settings': BUILDSTDERR: xcam.c:319:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write (fd, dialog->dev_name, strlen (dialog->dev_name)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xcam.c:320:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write (fd, "\n", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xcam.c: In function 'load_defaults': BUILDSTDERR: xcam.c:545:6: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (fd < 0) BUILDSTDERR: ^ 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 -lfribidi -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 -lfribidi -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 xcam.1... Generating manpage xscanimage.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.gLWrjM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64 + cd sane-frontends-1.0.14 + make DESTDIR=/builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64 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.fc29.riscv64/usr/bin /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/share /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/share/sane BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/bin BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/share BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/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.fc29.riscv64/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.fc29.riscv64/usr/share/man/man1 BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/share/man BUILDSTDERR: mkdir /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/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.fc29.riscv64/usr/bin/xscanimage + rm -f /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/share/man/man1/xscanimage.1 + rm -f /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/share/sane/sane-style.rc + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.14-30.fc29 --unique-debug-suffix -1.0.14-30.fc29.riscv64 --unique-debug-src-base sane-frontends-1.0.14-30.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sane-frontends-1.0.14 extracting debug info from /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/bin/scanadf extracting debug info from /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/bin/xcam /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 521 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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 /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sane-frontends-1.0.14-30.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sJvxHt + umask 022 + cd /builddir/build/BUILD + cd sane-frontends-1.0.14 + DOCDIR=/builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/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.fc29.riscv64/usr/share/doc/sane-frontends + cp -pr AUTHORS /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/share/doc/sane-frontends + cp -pr COPYING /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/share/doc/sane-frontends + cp -pr README /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64/usr/share/doc/sane-frontends + exit 0 Provides: sane-frontends = 1.0.14-30.fc29 sane-frontends(riscv-64) = 1.0.14-30.fc29 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) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libfribidi.so.0()(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.fc29.riscv64 Provides: sane-frontends-debugsource = 1.0.14-30.fc29 sane-frontends-debugsource(riscv-64) = 1.0.14-30.fc29 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.fc29.riscv64 Provides: debuginfo(build-id) = cb1bfc1b400c7c2e3453ee232f326dbfbf067d88 debuginfo(build-id) = e0ec7cecf55271571265fbe021742f7b2177bf25 sane-frontends-debuginfo = 1.0.14-30.fc29 sane-frontends-debuginfo(riscv-64) = 1.0.14-30.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sane-frontends-debugsource(riscv-64) = 1.0.14-30.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sane-frontends-1.0.14-30.fc29.riscv64 Wrote: /builddir/build/RPMS/sane-frontends-1.0.14-30.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/sane-frontends-debugsource-1.0.14-30.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/sane-frontends-debuginfo-1.0.14-30.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xXT7we + 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.fc29.riscv64 + exit 0 Child return code was: 0