D: [iurt_root_command] chroot RTNETLINK answers: Invalid argument warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. warning: Macro expanded in comment on line 90: %{_datadir}/sane/sane-style.rc Installing /home/iurt/rpmbuild/SRPMS/sane-frontends-1.0.14-27.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ZMkrCh + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf sane-frontends-1.0.14 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/sane-frontends-1.0.14.tar.bz2 + /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 . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/sane-frontends-1.0.14-segfault.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.KF1wqa + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sane-frontends-1.0.14 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking whether GIMP plugin is requested... yes, GIMP 2.0 checking for aarch64-mageia-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 aarch64-mageia-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept 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... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-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 aarch64-mageia-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.33) checking for pkg-config... (cached) /usr/bin/pkg-config checking for GIMP - version >= 1.3.23... yes (version 2.10.24) 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 activated 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 * * * **************************************************************** + perl -p -i -e 's|\/\* #undef HAVE_STPCPY \*\/|#define HAVE_STPCPY 1|' include/sane/config.h + /usr/bin/make -O -j8 V=1 VERBOSE=1 making all in include make[1]: Nothing to be done for 'all'. making all in lib make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall alloca.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall strndup.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall snprintf.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall strsep.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall usleep.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall strdup.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall isfdtype.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall getopt.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall getopt1.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall getenv.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall vsyslog.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' 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 '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' making all in sanei make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall sanei_codec_bin.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/sanei' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall sanei_init_debug.c 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] 103 | if ( 1 == isfdtype(fileno(stderr), S_IFSOCK) ) | ^~~~~~~~ | isctype make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/sanei' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall sanei_save_values.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/sanei' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall sanei_load_values.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/sanei' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall sanei_codec_ascii.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/sanei' make[1]: Entering directory '/home/iurt/rpmbuild/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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall sanei_wire.c sanei_wire.c: In function 'sanei_w_array': sanei_wire.c:213:23: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 213 | DBG (0, "sanei_w_array: DECODE: maximum amount of allocated memory " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", 215 | MAX_MEM, len * element_size, MAX_MEM + len * element_size); | ~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} sanei_wire.c:214:59: note: format string is defined here 214 | "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", | ~^ | | | unsigned int | %lu sanei_wire.c:213:23: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 213 | DBG (0, "sanei_w_array: DECODE: maximum amount of allocated memory " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sanei_wire.c:214:70: note: format string is defined here 214 | "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", | ~^ | | | unsigned int | %lu sanei_wire.c: In function 'sanei_w_ptr': sanei_wire.c:291:23: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 291 | DBG (0, "sanei_w_ptr: DECODE: maximum amount of allocated memory " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", 293 | MAX_MEM, value_size, (w->allocated_memory + value_size)); | ~~~~~~~~~~ | | | size_t {aka long unsigned int} sanei_wire.c:292:59: note: format string is defined here 292 | "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", | ~^ | | | unsigned int | %lu sanei_wire.c:291:23: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 291 | DBG (0, "sanei_w_ptr: DECODE: maximum amount of allocated memory " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", 293 | MAX_MEM, value_size, (w->allocated_memory + value_size)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} sanei_wire.c:292:70: note: format string is defined here 292 | "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", | ~^ | | | unsigned int | %lu make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/sanei' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/sanei' 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 '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/sanei' making all in src make[1]: Entering directory '/home/iurt/rpmbuild/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/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread preferences.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' make[1]: Entering directory '/home/iurt/rpmbuild/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/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread progress.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from progress.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from progress.c:23: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from progress.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from progress.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' make[1]: Entering directory '/home/iurt/rpmbuild/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/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread scanadf.c scanadf.c: In function 'scan_it_raw': scanadf.c:987:13: warning: case value '10' not in enumerated type 'SANE_Frame' [-Wswitch] 987 | case SANE_FRAME_TEXT: | ^~~~ scanadf.c:988:13: warning: case value '11' not in enumerated type 'SANE_Frame' [-Wswitch] 988 | case SANE_FRAME_JPEG: | ^~~~ scanadf.c:989:13: warning: case value '12' not in enumerated type 'SANE_Frame' [-Wswitch] 989 | case SANE_FRAME_G31D: | ^~~~ scanadf.c:990:13: warning: case value '13' not in enumerated type 'SANE_Frame' [-Wswitch] 990 | case SANE_FRAME_G32D: | ^~~~ scanadf.c:991:13: warning: case value '14' not in enumerated type 'SANE_Frame' [-Wswitch] 991 | case SANE_FRAME_G42D: | ^~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o scanadf scanadf.o ../lib/liblib.a -lm -lsane make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' make[1]: Entering directory '/home/iurt/rpmbuild/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/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread preview.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gtkglue.h:6, from preview.c:78: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtkglue.h:6, from preview.c:78: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from gtkglue.h:6, from preview.c:78: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtkglue.h:6, from preview.c:78: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ preview.c: In function 'input_available': preview.c:603:25: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 603 | snprintf (buf, sizeof (buf), "Error during read: %s.", | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:488, from /usr/include/assert.h:35, from preview.c:68: /usr/include/bits/stdio2.h:68:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 68 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ preview.c:605:26: warning: pointer targets in passing argument 1 of 'gsg_error' differ in signedness [-Wpointer-sign] 605 | gsg_error (buf); | ^~~ | | | u_char * {aka unsigned char *} In file included from preview.c:78: gtkglue.h:99:32: note: expected 'gchar *' {aka 'char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} 99 | 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] 823 | snprintf (buf, sizeof (buf), "Preview cannot handle depth %d.", | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:488, from /usr/include/assert.h:35, from preview.c:68: /usr/include/bits/stdio2.h:68:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 68 | __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] 825 | gsg_error (buf); | ^~~ | | | u_char * {aka unsigned char *} In file included from preview.c:78: gtkglue.h:99:32: note: expected 'gchar *' {aka 'char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} 99 | extern void gsg_error (gchar * error_message); | ~~~~~~~~^~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' make[1]: Entering directory '/home/iurt/rpmbuild/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/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread xcam.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gtkglue.h:6, from xcam.c:48: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtkglue.h:6, from xcam.c:48: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from gtkglue.h:6, from xcam.c:48: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtkglue.h:6, from xcam.c:48: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ xcam.c:328: warning: "CHAR_WIDTH" redefined 328 | #define CHAR_WIDTH 6 | In file included from /usr/lib/gcc/aarch64-mageia-linux/11/include/limits.h:203, from /usr/lib/gcc/aarch64-mageia-linux/11/include/syslimits.h:7, from /usr/lib/gcc/aarch64-mageia-linux/11/include/limits.h:34, from xcam.c:32: /usr/include/limits.h:147: note: this is the location of the previous definition 147 | # define CHAR_WIDTH 8 | xcam.c: In function 'input_available': xcam.c:1112:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1112 | "xcam: input_available fps count=%d, frame_time * 30 = %2.3f, fps=%2.3f, fps_av=%2.3f\n", | ~^ | | | int | %ld 1113 | win.f_count, frame_time, win.fps, win.fps_av); | ~~~~~~~~~~~ | | | long int 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=] 1602 | DBG (DBG_debug, "xcam.main: buf_backend_size 0x%x\n", win.buf_backend_size); | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | | size_t {aka long unsigned int} | unsigned int | %lx xcam.c: In function 'load_settings': xcam.c:502:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 502 | 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] 319 | 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] 320 | write (fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~~ xcam.c: In function 'load_defaults': xcam.c:539:7: warning: 'fd' is used uninitialized [-Wuninitialized] 539 | int fd; | ^~ xcam.c: In function 'save_frame_button': xcam.c:1292:19: warning: array subscript 256 is above array bounds of 'char[256]' [-Warray-bounds] 1292 | testfilename[sizeof (testfilename)] = 0; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ xcam.c:1276:8: note: while referencing 'testfilename' 1276 | char testfilename[256]; | ^~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' make[1]: Entering directory '/home/iurt/rpmbuild/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/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread gtkglue.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from gtkglue.h:6, from gtkglue.c:38: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtkglue.h:6, from gtkglue.c:38: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from gtkglue.h:6, from gtkglue.c:38: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtkglue.h:6, from gtkglue.c:38: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ gtkglue.c: In function 'button_update': gtkglue.c:406:33: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 406 | 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] 338 | getcwd (cwd, len + 1); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/memory.h:29, from gtkglue.c:28: In function 'strncpy', inlined from 'panel_build' at gtkglue.c:1010:2: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' make[1]: Entering directory '/home/iurt/rpmbuild/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/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread -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 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread xscanimage.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ./gtkglue.h:6, from xscanimage.c:35: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ./gtkglue.h:6, from xscanimage.c:35: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ./gtkglue.h:6, from xscanimage.c:35: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ./gtkglue.h:6, from xscanimage.c:35: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ xscanimage.c: In function 'advance': xscanimage.c:680:11: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 680 | gimp_pixel_rgn_set_rect (&scan_win.region, scan_win.tile, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, from xscanimage.c:63: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ xscanimage.c:696:19: warning: 'gimp_pixel_rgn_get_rect' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations] 696 | gimp_pixel_rgn_get_rect (&scan_win.region, scan_win.tile, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, from xscanimage.c:63: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:80:11: note: declared here 80 | void gimp_pixel_rgn_get_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ xscanimage.c: In function 'scan_done': xscanimage.c:1014:9: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 1014 | gimp_pixel_rgn_set_rect (&scan_win.region, scan_win.tile, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, from xscanimage.c:63: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ xscanimage.c:1017:7: warning: 'gimp_drawable_flush' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations] 1017 | gimp_drawable_flush (scan_win.drawable); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, from xscanimage.c:63: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:56:16: note: declared here 56 | void gimp_drawable_flush (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~ xscanimage.c:1019:7: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations] 1019 | gimp_drawable_detach (scan_win.drawable); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, from xscanimage.c:63: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here 54 | void gimp_drawable_detach (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~~ xscanimage.c: In function 'scan_start': xscanimage.c:1069:9: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 1069 | gimp_pixel_rgn_set_rect (&scan_win.region, scan_win.tile, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, from xscanimage.c:63: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ xscanimage.c:1078:7: warning: 'gimp_pixel_rgn_get_rect' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations] 1078 | gimp_pixel_rgn_get_rect (&scan_win.region, scan_win.tile, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, from xscanimage.c:63: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:80:11: note: declared here 80 | void gimp_pixel_rgn_get_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ xscanimage.c:1239:11: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 1239 | gimp_image_add_layer (scan_win.image_ID, layer_ID, 0); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp_pdb_headers.h:55, from /usr/include/gimp-2.0/libgimp/gimp.h:66, from xscanimage.c:63: /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ xscanimage.c:1241:11: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 1241 | scan_win.drawable = gimp_drawable_get (layer_ID); | ^~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, from xscanimage.c:63: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ xscanimage.c:1242:11: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 1242 | gimp_pixel_rgn_init (&scan_win.region, scan_win.drawable, 0, 0, | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, from xscanimage.c:63: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ xscanimage.c: In function 'scan_dialog': xscanimage.c:1287:19: warning: array subscript 256 is above array bounds of 'char[256]' [-Warray-bounds] 1287 | testfilename[sizeof (testfilename)] = 0; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ xscanimage.c:1280:8: note: while referencing 'testfilename' 1280 | char testfilename[256]; | ^~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -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 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lm -lsane make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o xscanimage xscanimage.o progress.o preview.o preferences.o gtkglue.o ../sanei/libsanei.a \ ../lib/liblib.a -lglib-2.0 -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgegl-0.4 -lgegl-npd-0.4 -lm -lglib-2.0 -ljson-glib-1.0 -lbabl-0.1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lm -lsane make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' making all in doc make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/doc' Generating manpage xscanimage.1... make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/doc' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/doc' Generating manpage xcam.1... make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/doc' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/doc' Generating manpage scanadf.1... make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/doc' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ypCFaL + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64 + cd sane-frontends-1.0.14 + '[' 1 -eq 1 ']' + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr exec_prefix=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr bindir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/bin sbindir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/sbin sysconfdir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/etc datadir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share includedir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/include libdir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/lib64 libexecdir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/libexec localstatedir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/var sharedstatedir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/var/lib mandir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/man infodir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/info install making install in include make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/include' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/include' making install in lib make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/lib' making install in sanei make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/sanei' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/sanei' making install in src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' ../mkinstalldirs /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/bin /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/sane mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/bin mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/sane installing scanadf in /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/bin/scanadf... installing xscanimage in /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/bin/xscanimage... installing xcam in /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/bin/xcam... /usr/bin/install -c -m 644 ./sane-style.rc \ /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/sane/sane-style.rc make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/src' making install in doc make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/doc' ../mkinstalldirs /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/man/man1 mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/man mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/man/man1 installing xscanimage.1 in /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/man/man1/xscanimage.1... installing xcam.1 in /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/man/man1/xcam.1... installing scanadf.1 in /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/man/man1/scanadf.1... make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14/doc' + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/lib64/gimp/2.0/plug-ins + ln -s /usr/bin/xscanimage /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/lib64/gimp/2.0/plug-ins + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/icons/hicolor/16x16/apps /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/icons/hicolor/32x32/apps /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/icons/hicolor/48x48/apps + install -m 0644 /home/iurt/rpmbuild/SOURCES/sane-frontends16.png /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64//usr/share/icons/hicolor/16x16/apps/sane-frontends.png + install -m 0644 /home/iurt/rpmbuild/SOURCES/sane-frontends32.png /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64//usr/share/icons/hicolor/32x32/apps/sane-frontends.png + install -m 0644 /home/iurt/rpmbuild/SOURCES/sane-frontends48.png /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64//usr/share/icons/hicolor/48x48/apps/sane-frontends.png + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/applications + cat + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/applications + cat + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.14-27.mga9 --unique-debug-suffix -1.0.14-27.mga9.aarch64 --unique-debug-src-base sane-frontends-1.0.14-27.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/sane-frontends-1.0.14 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/bin/xcam extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/bin/scanadf extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/bin/xscanimage dwz: ./usr/bin/scanadf-1.0.14-27.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/xcam-1.0.14-27.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/bin/xscanimage-1.0.14-27.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: Too few files for multifile optimization original debug info size: 664kB, size after compression: 664kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 3 CRC32s did match. 728 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/applications/mageia-xcam.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/applications/mageia-xscanimage.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sane-frontends-1.0.14-27.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.nZsAkf + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sane-frontends-1.0.14 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/doc/sane-frontends + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/doc/sane-frontends + cp -pr INSTALL /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/doc/sane-frontends + cp -pr NEWS /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/doc/sane-frontends + cp -pr README /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/doc/sane-frontends + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64/usr/share/doc/sane-frontends + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(mageia-xcam.desktop) application(mageia-xscanimage.desktop) sane-frontends = 1.0.14-27.mga9 sane-frontends(aarch-64) = 1.0.14-27.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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) libsane.so.1()(64bit) Processing files: sane-frontends-debugsource-1.0.14-27.mga9.aarch64 Provides: sane-frontends-debugsource = 1.0.14-27.mga9 sane-frontends-debugsource(aarch-64) = 1.0.14-27.mga9 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-27.mga9.aarch64 Provides: debuginfo(build-id) = 81ac313088b4ea65d2c6379d5152cebcb2282063 debuginfo(build-id) = a8b66f86a59bb6205ff71fa9bf2aac17d67c543d debuginfo(build-id) = afc346cec8f26cb4e4f30795b933678843d08968 sane-frontends-debuginfo = 1.0.14-27.mga9 sane-frontends-debuginfo(aarch-64) = 1.0.14-27.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sane-frontends-debugsource(aarch-64) = 1.0.14-27.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sane-frontends-1.0.14-27.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sane-frontends-debuginfo-1.0.14-27.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sane-frontends-debugsource-1.0.14-27.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.mZogl7 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sane-frontends-1.0.14 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-27.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.69SP3K + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf sane-frontends-1.0.14 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!