Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/sane-frontends.spec'], chrootPath='/var/lib/mock/f41-build-832027-157196/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=985gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ocr7bchg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ocr7bchg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '185cb19c041c40ad9a01e7b832cda228', '-D', '/var/lib/mock/f41-build-832027-157196/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ocr7bchg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/sane-frontends.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/sane-frontends-1.0.14-51.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/sane-frontends.spec'], chrootPath='/var/lib/mock/f41-build-832027-157196/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=985gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ocr7bchg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ocr7bchg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4939a3b06c704d1fb6aad0ab42cd9e41', '-D', '/var/lib/mock/f41-build-832027-157196/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ocr7bchg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/sane-frontends.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.K4GbEd + umask 022 + cd /builddir/build/BUILD/sane-frontends-1.0.14-build + test -d /builddir/build/BUILD/sane-frontends-1.0.14-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/sane-frontends-1.0.14-build + /usr/bin/rm -rf /builddir/build/BUILD/sane-frontends-1.0.14-build + /usr/bin/mkdir -p /builddir/build/BUILD/sane-frontends-1.0.14-build + /usr/bin/mkdir -p /builddir/build/BUILD/sane-frontends-1.0.14-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z3JSum + umask 022 + cd /builddir/build/BUILD/sane-frontends-1.0.14-build + cd /builddir/build/BUILD/sane-frontends-1.0.14-build + rm -rf sane-frontends-1.0.14 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sane-frontends-1.0.14-repacked.tar.gz + 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/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + GIT_COMMITTER_DATE=@1721433600 + GIT_AUTHOR_DATE=@1721433600 + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'sane-frontends-1.0.14 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/sane-frontends-1.0.14-array-out-of-bounds.patch + /usr/bin/git apply --index --reject - Checking patch src/xcam.c... Checking patch src/xscanimage.c... Applied patch src/xcam.c cleanly. Applied patch src/xscanimage.c cleanly. + GIT_COMMITTER_DATE=@1721433600 + GIT_AUTHOR_DATE=@1721433600 + /usr/bin/git commit -q -m sane-frontends-1.0.14-array-out-of-bounds.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/sane-frontends-1.0.14-sane-backends-1.0.20.patch + /usr/bin/git apply --index --reject - Checking patch src/gtkglue.c... Applied patch src/gtkglue.c cleanly. + GIT_COMMITTER_DATE=@1721433600 + GIT_AUTHOR_DATE=@1721433600 + /usr/bin/git commit -q -m sane-frontends-1.0.14-sane-backends-1.0.20.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/sane-frontends-1.0.14-xcam-man.patch + /usr/bin/git apply --index --reject - Checking patch doc/xcam.man... Applied patch doc/xcam.man cleanly. + GIT_COMMITTER_DATE=@1721433600 + GIT_AUTHOR_DATE=@1721433600 + /usr/bin/git commit -q -m sane-frontends-1.0.14-xcam-man.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/frontends-scanadf-segv.patch + /usr/bin/git apply --index --reject - Checking patch src/scanadf.c... Applied patch src/scanadf.c cleanly. + GIT_COMMITTER_DATE=@1721433600 + GIT_AUTHOR_DATE=@1721433600 + /usr/bin/git commit -q -m frontends-scanadf-segv.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/sane-frontends-configure-c99.patch + /usr/bin/git apply --index --reject - Checking patch acinclude.m4... Checking patch aclocal.m4... Checking patch configure... Applied patch acinclude.m4 cleanly. Applied patch aclocal.m4 cleanly. Applied patch configure cleanly. + GIT_COMMITTER_DATE=@1721433600 + GIT_AUTHOR_DATE=@1721433600 + /usr/bin/git commit -q -m sane-frontends-configure-c99.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/sane-frontends-c99.patch + /usr/bin/git apply --index --reject - Checking patch configure... Checking patch configure.in... Checking patch include/sane/config.h.in... Applied patch configure cleanly. Applied patch configure.in cleanly. Applied patch include/sane/config.h.in cleanly. + GIT_COMMITTER_DATE=@1721433600 + GIT_AUTHOR_DATE=@1721433600 + /usr/bin/git commit -q -m sane-frontends-c99.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-src-scanadf.c-Fix-segfault-when-scanadf-h-d-device.patch + /usr/bin/git apply --index --reject - Checking patch src/scanadf.c... Hunk #1 succeeded at 1569 (offset -103 lines). Applied patch src/scanadf.c cleanly. + GIT_COMMITTER_DATE=@1721433600 + GIT_AUTHOR_DATE=@1721433600 + /usr/bin/git commit -q -m 0001-src-scanadf.c-Fix-segfault-when-scanadf-h-d-device.patch --author 'rpm-build ' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tUk2YN + umask 022 + cd /builddir/build/BUILD/sane-frontends-1.0.14-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sane-frontends-1.0.14 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-gnu-ld --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man checking whether GIMP plugin is requested... yes, GIMP 2.0 checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for library containing strerror... none required checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for ANSI C header files... (cached) yes checking os2.h usability... no checking os2.h presence... no checking for os2.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking return type of signal handlers... void checking for size_t... yes checking for pid_t... yes checking for ssize_t... yes checking for u_char... yes checking for u_int... yes checking for u_long... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for sqrt in -lm... yes checking for socket in -lsocket... no checking for syslog in -lsyslog... no checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for mkdir... yes checking for sigprocmask... yes checking for strdup... yes checking for strndup... yes checking for strftime... yes checking for strstr... yes checking for strsep... yes checking for strtod... yes checking for snprintf... yes checking for usleep... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for getenv... yes checking for isfdtype... yes checking for vsyslog... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for sane-config... /usr/bin/sane-config checking for SANE - version >= 1.0.0... yes checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.24.33) checking for pkg-config... (cached) /usr/bin/pkg-config checking for GIMP - version >= 1.3.23... *** Could not run GIMP test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GIMP is incorrectly installed. configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating sanei/Makefile config.status: creating doc/Makefile config.status: creating include/Makefile config.status: creating include/sane/config.h **************************************************************** * * * SANE-FRONTENDS configure status: * * -------------------------------- * * - GUIs activated (xcam + xscanimage) * * - GIMP plugin deactivated for xscanimage * * * **************************************************************** * * * To compile SANE-FRONTENDS: * * -------------------------- * * make * * make install * * * * ------------------------------------------------------------ * * ... PLEASE READ SANE DOCUMENTATION BEFORE STARTING SANE ... * * ------------------------------------------------------------ * * * * If you experience any problems with sane-frontends please * * write to the sane mailing list or contact: * * Oliver Rauch * * * **************************************************************** + /usr/bin/make -O -j4 V=1 VERBOSE=1 making all in include make[1]: Nothing to be done for 'all'. making all in sanei make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall sanei_codec_bin.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/sanei' make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall sanei_init_debug.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/sanei' make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall sanei_codec_ascii.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/sanei' make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall sanei_save_values.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/sanei' make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall sanei_load_values.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/sanei' make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall sanei_wire.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/sanei' 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]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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 ranlib libsanei.a make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/sanei' ar: creating libsanei.a making all in src make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -DSANE_V_MAJOR=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi progress.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -DSANE_V_MAJOR=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi preferences.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -DSANE_V_MAJOR=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi scanadf.c scanadf.c: In function ‘scan_it_raw’: scanadf.c:1011:13: warning: case value ‘10’ not in enumerated type ‘SANE_Frame’ [-Wswitch] 1011 | case SANE_FRAME_TEXT: | ^~~~ scanadf.c:1012:13: warning: case value ‘11’ not in enumerated type ‘SANE_Frame’ [-Wswitch] 1012 | case SANE_FRAME_JPEG: | ^~~~ scanadf.c:1013:13: warning: case value ‘12’ not in enumerated type ‘SANE_Frame’ [-Wswitch] 1013 | case SANE_FRAME_G31D: | ^~~~ scanadf.c:1014:13: warning: case value ‘13’ not in enumerated type ‘SANE_Frame’ [-Wswitch] 1014 | case SANE_FRAME_G32D: | ^~~~ scanadf.c:1015:13: warning: case value ‘14’ not in enumerated type ‘SANE_Frame’ [-Wswitch] 1015 | case SANE_FRAME_G42D: | ^~~~ make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -DSANE_V_MAJOR=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi xscanimage.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ xscanimage.c:448:1: warning: ‘get_resolution’ defined but not used [-Wunused-function] 448 | get_resolution (SANE_Handle dev) | ^~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o scanadf scanadf.o -lm -lsane make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -DSANE_V_MAJOR=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi preview.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | 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:511, from /usr/include/assert.h:35, from preview.c:68: /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 65 | __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 *} 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 *} /usr/include/bits/stdio2.h:65:1: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 65 | __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 *} 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]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -DSANE_V_MAJOR=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi gtkglue.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | 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); | ^~~~~~~~~~~~~~~~~~~~~ gtkglue.c: In function ‘panel_build’: gtkglue.c:1010:9: warning: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 1010 | strncpy (title, opt->title, sizeof (title)); | ^ make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o xscanimage xscanimage.o progress.o preview.o preferences.o gtkglue.o ../sanei/libsanei.a \ -lgtk-x11-2.0 -lgdk-x11-2.0 -lharfbuzz -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lm -lsane make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-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/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi -D_GNU_SOURCE -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 -DSANE_V_MAJOR=1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/webp -DWITH_GZFILEOP -pthread -I/usr/include/fribidi xcam.c make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ xcam.c:328:9: warning: "CHAR_WIDTH" redefined 328 | #define CHAR_WIDTH 6 | ^~~~~~~~~~ In file included from /usr/lib/gcc/riscv64-redhat-linux/14/include/limits.h:210, from /usr/lib/gcc/riscv64-redhat-linux/14/include/syslimits.h:7, from /usr/lib/gcc/riscv64-redhat-linux/14/include/limits.h:34, from xcam.c:32: /usr/include/limits.h:147:11: 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:545:6: warning: ‘fd’ may be used uninitialized [-Wmaybe-uninitialized] 545 | if (fd < 0) | ^ xcam.c:539:7: note: ‘fd’ was declared here 539 | int fd; | ^~ make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o xcam xcam.o preferences.o gtkglue.o ../sanei/libsanei.a \ -lgtk-x11-2.0 -lgdk-x11-2.0 -lharfbuzz -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -lgobject-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lm -lsane make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' making all in doc make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/doc' Generating manpage xscanimage.1... make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/doc' make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/doc' Generating manpage xcam.1... make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/doc' make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/doc' Generating manpage scanadf.1... make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/doc' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2Vxwj2 + umask 022 + cd /builddir/build/BUILD/sane-frontends-1.0.14-build + '[' /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT ++ dirname /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT + mkdir -p /builddir/build/BUILD/sane-frontends-1.0.14-build + mkdir /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sane-frontends-1.0.14 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT 'INSTALL=/usr/bin/install -p' making install in include make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/include' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/include' making install in sanei make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/sanei' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/sanei' making install in src make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' ../mkinstalldirs /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/bin /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/sane mkdir /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr mkdir /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/bin mkdir /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share mkdir /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/sane installing scanadf in /usr/bin/scanadf... installing xscanimage in /usr/bin/xscanimage... installing xcam in /usr/bin/xcam... /usr/bin/install -p -m 644 ./sane-style.rc \ /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/sane/sane-style.rc make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/src' making install in doc make[1]: Entering directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/doc' ../mkinstalldirs /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/man/man1 mkdir /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/man mkdir /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/man/man1 installing xscanimage.1 in /usr/share/man/man1/xscanimage.1... installing xcam.1 in /usr/share/man/man1/xcam.1... installing scanadf.1 in /usr/share/man/man1/scanadf.1... make[1]: Leaving directory '/builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/doc' + rm -f /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/bin/xscanimage + rm -f /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/man/man1/xscanimage.1 + rm -f /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/sane/sane-style.rc + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.0.14-51.fc41 --unique-debug-suffix -1.0.14-51.fc41.riscv64 --unique-debug-src-base sane-frontends-1.0.14-51.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/sane-frontends-1.0.14-51.fc41.riscv64 527 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT Scanned 19 directories and 24 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/sane-frontends-1.0.14-build/SPECPARTS/rpm-debuginfo.specpart Processing files: sane-frontends-1.0.14-51.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Nc1A8L + umask 022 + cd /builddir/build/BUILD/sane-frontends-1.0.14-build + cd sane-frontends-1.0.14 + DOCDIR=/builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/doc/sane-frontends + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/doc/sane-frontends + cp -pr /builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/AUTHORS /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/doc/sane-frontends + cp -pr /builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/README /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/doc/sane-frontends + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ogQXD0 + umask 022 + cd /builddir/build/BUILD/sane-frontends-1.0.14-build + cd sane-frontends-1.0.14 + LICENSEDIR=/builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/licenses/sane-frontends + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/licenses/sane-frontends + cp -pr /builddir/build/BUILD/sane-frontends-1.0.14-build/sane-frontends-1.0.14/COPYING /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT/usr/share/licenses/sane-frontends + RPM_EC=0 ++ jobs -p + exit 0 Provides: sane-frontends = 1.0.14-51.fc41 sane-frontends(riscv-64) = 1.0.14-51.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgdk-x11-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libsane.so.1()(64bit) rtld(GNU_HASH) Processing files: sane-frontends-debugsource-1.0.14-51.fc41.riscv64 Provides: sane-frontends-debugsource = 1.0.14-51.fc41 sane-frontends-debugsource(riscv-64) = 1.0.14-51.fc41 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-51.fc41.riscv64 Provides: debuginfo(build-id) = 139d7e16a1a84ebadce5d608a14240d007fbe4e9 debuginfo(build-id) = a6b113e74d4c49296a7df804567ca26c3ab788f2 sane-frontends-debuginfo = 1.0.14-51.fc41 sane-frontends-debuginfo(riscv-64) = 1.0.14-51.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sane-frontends-debugsource(riscv-64) = 1.0.14-51.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/sane-frontends-1.0.14-build/BUILDROOT Wrote: /builddir/build/RPMS/sane-frontends-1.0.14-51.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/sane-frontends-debuginfo-1.0.14-51.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/sane-frontends-debugsource-1.0.14-51.fc41.riscv64.rpm Child return code was: 0