D: [iurt_root_command] chroot warning: Macro expanded in comment on line 90: %{_datadir}/sane/sane-style.rc Installing /home/iurt/rpmbuild/SRPMS/sane-frontends-1.0.14-26.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.zrBf1D + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BDCWAH + 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 + 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... aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... aarch64-mageia-linux-gnu-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... (cached) aarch64-mageia-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... (cached) yes checking for aarch64-mageia-linux-gnu-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... aarch64-mageia-linux-gnu-gcc -E checking whether aarch64-mageia-linux-gnu-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... aarch64-mageia-linux-gnu-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... no *** Could not run GTK+ 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 GTK+ is incorrectly installed. configure: WARNING: *** GIMP 2.0 plugin requested, but GTK+ 2.0 not found, falling back to GIMP/GTK+ < 2.0 if possible *** checking for gtk-config... no checking for GTK - version >= 0.99.13... no *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GTK_CONFIG environment variable to the *** full path to gtk-config. checking for gimp-config... no checking for gimptool... no checking libgimp/gimp.h usability... no checking libgimp/gimp.h presence... no checking for libgimp/gimp.h... no checking libgimp/gimpfeatures.h usability... no checking libgimp/gimpfeatures.h presence... no checking for libgimp/gimpfeatures.h... no no *** Could not run GIMP test program, checking why... **************************************************************** WARNING: GTK-0.99.13 or newer is needed for compiling the GUI frontends. If you installed gtk as rpm make sure you also installed gtk-devel. ===> GUIs will be deactivated **************************************************************** You may need to remove /dev/null before you run configure again. 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: * * -------------------------------- * * * GTK not found: GUIs deactivated * * * **************************************************************** * * * 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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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 aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-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:16: 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:45: note: format string is defined here 214 | "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", | ~^ | | | unsigned int | %lu sanei_wire.c:213:16: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 213 | DBG (0, "sanei_w_array: DECODE: maximum amount of allocated memory " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sanei_wire.c:214:56: 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:16: 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:45: note: format string is defined here 292 | "exceeded (limit: %u, new allocation: %u, total: %u bytes)\n", | ~^ | | | unsigned int | %lu sanei_wire.c:291:16: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 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:56: 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 aarch64-mageia-linux-gnu-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' aarch64-mageia-linux-gnu-gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/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 scanadf.c scanadf.c: In function 'scan_it_raw': scanadf.c:987:6: warning: case value '10' not in enumerated type 'SANE_Frame' [-Wswitch] 987 | case SANE_FRAME_TEXT: | ^~~~ scanadf.c:988:6: warning: case value '11' not in enumerated type 'SANE_Frame' [-Wswitch] 988 | case SANE_FRAME_JPEG: | ^~~~ scanadf.c:989:6: warning: case value '12' not in enumerated type 'SANE_Frame' [-Wswitch] 989 | case SANE_FRAME_G31D: | ^~~~ scanadf.c:990:6: warning: case value '13' not in enumerated type 'SANE_Frame' [-Wswitch] 990 | case SANE_FRAME_G32D: | ^~~~ scanadf.c:991:6: 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' aarch64-mageia-linux-gnu-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' making all in 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 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 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.0p2XfG + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.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-26.mga8.aarch64/usr exec_prefix=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr bindir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/bin sbindir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/sbin sysconfdir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/etc datadir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share includedir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/include libdir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/lib64 libexecdir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/libexec localstatedir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/var sharedstatedir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/var/lib mandir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/man infodir=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.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-26.mga8.aarch64/usr/bin /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/sane mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/bin mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/sane installing scanadf in /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/bin/scanadf... /usr/bin/install -c -m 644 ./sane-style.rc \ /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.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-26.mga8.aarch64/usr/share/man/man1 mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/man mkdir /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/man/man1 installing xscanimage.1 in /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/man/man1/xscanimage.1... installing xcam.1 in /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/man/man1/xcam.1... installing scanadf.1 in /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.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-26.mga8.aarch64/usr/lib64/gimp/2.99/plug-ins + ln -s /usr/bin/xscanimage /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/lib64/gimp/2.99/plug-ins + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/icons/hicolor/16x16/apps /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/icons/hicolor/32x32/apps /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.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-26.mga8.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-26.mga8.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-26.mga8.aarch64//usr/share/icons/hicolor/48x48/apps/sane-frontends.png + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/applications + cat + mkdir -p /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/applications + cat + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.0.14-26.mga8 --unique-debug-suffix -1.0.14-26.mga8.aarch64 --unique-debug-src-base sane-frontends-1.0.14-26.mga8.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 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/bin/scanadf extracting debug info from /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/bin/scanadf original debug info size: 96kB, size after compression: 100kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 88 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-26.mga8.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-26.mga8.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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sane-frontends-1.0.14-26.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Fn7XRH + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sane-frontends-1.0.14 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.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-26.mga8.aarch64/usr/share/doc/sane-frontends + cp -pr INSTALL /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/doc/sane-frontends + cp -pr NEWS /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/doc/sane-frontends + cp -pr README /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64/usr/share/doc/sane-frontends + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.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-26.mga8 sane-frontends(aarch-64) = 1.0.14-26.mga8 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) libsane.so.1()(64bit) Processing files: sane-frontends-debugsource-1.0.14-26.mga8.aarch64 Provides: sane-frontends-debugsource = 1.0.14-26.mga8 sane-frontends-debugsource(aarch-64) = 1.0.14-26.mga8 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-26.mga8.aarch64 Provides: debuginfo(build-id) = 253c71beb0b67ee9c63e1b6f68a25fe5ceaef9ba sane-frontends-debuginfo = 1.0.14-26.mga8 sane-frontends-debuginfo(aarch-64) = 1.0.14-26.mga8 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-26.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/sane-frontends-1.0.14-26.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sane-frontends-1.0.14-26.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sane-frontends-debugsource-1.0.14-26.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/sane-frontends-debuginfo-1.0.14-26.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.5j8W2G + 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-26.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.rKEgbH + 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!