Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sane-airscan.spec'], chrootPath='/var/lib/mock/f40-build-747212-112900/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sane-airscan.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/sane-airscan-0.99.27-9.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sane-airscan.spec'], chrootPath='/var/lib/mock/f40-build-747212-112900/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sane-airscan.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G27niF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sane-airscan-0.99.27 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sane-airscan-0.99.27.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sane-airscan-0.99.27 + rm -rf /builddir/build/BUILD/sane-airscan-0.99.27-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sane-airscan-0.99.27-SPECPARTS + /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 . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'sane-airscan-0.99.27 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yauj9B + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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-airscan-0.99.27 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build The Meson build system Version: 1.2.3 Source dir: /builddir/build/BUILD/sane-airscan-0.99.27 Build dir: /builddir/build/BUILD/sane-airscan-0.99.27/redhat-linux-build Build type: native build Project name: sane-airscan Project version: undefined C compiler for the host machine: gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)") C linker for the host machine: gcc ld.bfd 2.41-5 C++ compiler for the host machine: g++ (gcc 13.2.1 "g++ (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)") C++ linker for the host machine: g++ ld.bfd 2.41-5 Host machine cpu family: riscv64 Host machine cpu: riscv64 Library m found: YES Found pkg-config: /usr/bin/pkg-config (1.9.5) Run-time dependency avahi-client found: YES 0.8 Run-time dependency gnutls found: YES 3.8.0 Run-time dependency libjpeg found: YES 2.1.4 Run-time dependency libpng found: YES 1.6.40 Run-time dependency libxml-2.0 found: YES 2.12.0 Run-time dependency threads found: YES Build targets in project: 5 sane-airscan undefined User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.11.1 at /usr/bin/ninja + /usr/bin/meson compile -C redhat-linux-build -j 4 --verbose ninja: Entering directory `/builddir/build/BUILD/sane-airscan-0.99.27/redhat-linux-build' [1/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-array.c.o -MF libsane-airscan.so.1.p/airscan-array.c.o.d -o libsane-airscan.so.1.p/airscan-array.c.o -c ../airscan-array.c [2/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-bmp.c.o -MF libsane-airscan.so.1.p/airscan-bmp.c.o.d -o libsane-airscan.so.1.p/airscan-bmp.c.o -c ../airscan-bmp.c [3/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-devcaps.c.o -MF libsane-airscan.so.1.p/airscan-devcaps.c.o.d -o libsane-airscan.so.1.p/airscan-devcaps.c.o -c ../airscan-devcaps.c [4/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-devid.c.o -MF libsane-airscan.so.1.p/airscan-devid.c.o.d -o libsane-airscan.so.1.p/airscan-devid.c.o -c ../airscan-devid.c [5/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-conf.c.o -MF libsane-airscan.so.1.p/airscan-conf.c.o.d -o libsane-airscan.so.1.p/airscan-conf.c.o -c ../airscan-conf.c [6/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-eloop.c.o -MF libsane-airscan.so.1.p/airscan-eloop.c.o.d -o libsane-airscan.so.1.p/airscan-eloop.c.o -c ../airscan-eloop.c [7/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-devops.c.o -MF libsane-airscan.so.1.p/airscan-devops.c.o.d -o libsane-airscan.so.1.p/airscan-devops.c.o -c ../airscan-devops.c [8/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-filter.c.o -MF libsane-airscan.so.1.p/airscan-filter.c.o.d -o libsane-airscan.so.1.p/airscan-filter.c.o -c ../airscan-filter.c [9/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-id.c.o -MF libsane-airscan.so.1.p/airscan-id.c.o.d -o libsane-airscan.so.1.p/airscan-id.c.o -c ../airscan-id.c [10/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-device.c.o -MF libsane-airscan.so.1.p/airscan-device.c.o.d -o libsane-airscan.so.1.p/airscan-device.c.o -c ../airscan-device.c [11/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-init.c.o -MF libsane-airscan.so.1.p/airscan-init.c.o.d -o libsane-airscan.so.1.p/airscan-init.c.o -c ../airscan-init.c [12/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-escl.c.o -MF libsane-airscan.so.1.p/airscan-escl.c.o.d -o libsane-airscan.so.1.p/airscan-escl.c.o -c ../airscan-escl.c [13/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-jpeg.c.o -MF libsane-airscan.so.1.p/airscan-jpeg.c.o.d -o libsane-airscan.so.1.p/airscan-jpeg.c.o -c ../airscan-jpeg.c [14/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-inifile.c.o -MF libsane-airscan.so.1.p/airscan-inifile.c.o.d -o libsane-airscan.so.1.p/airscan-inifile.c.o -c ../airscan-inifile.c [15/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-ip.c.o -MF libsane-airscan.so.1.p/airscan-ip.c.o.d -o libsane-airscan.so.1.p/airscan-ip.c.o -c ../airscan-ip.c [16/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-log.c.o -MF libsane-airscan.so.1.p/airscan-log.c.o.d -o libsane-airscan.so.1.p/airscan-log.c.o -c ../airscan-log.c [17/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-math.c.o -MF libsane-airscan.so.1.p/airscan-math.c.o.d -o libsane-airscan.so.1.p/airscan-math.c.o -c ../airscan-math.c [18/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-memstr.c.o -MF libsane-airscan.so.1.p/airscan-memstr.c.o.d -o libsane-airscan.so.1.p/airscan-memstr.c.o -c ../airscan-memstr.c [19/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-os.c.o -MF libsane-airscan.so.1.p/airscan-os.c.o.d -o libsane-airscan.so.1.p/airscan-os.c.o -c ../airscan-os.c [20/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-netif.c.o -MF libsane-airscan.so.1.p/airscan-netif.c.o.d -o libsane-airscan.so.1.p/airscan-netif.c.o -c ../airscan-netif.c [21/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-mdns.c.o -MF libsane-airscan.so.1.p/airscan-mdns.c.o.d -o libsane-airscan.so.1.p/airscan-mdns.c.o -c ../airscan-mdns.c [22/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-pollable.c.o -MF libsane-airscan.so.1.p/airscan-pollable.c.o.d -o libsane-airscan.so.1.p/airscan-pollable.c.o -c ../airscan-pollable.c [23/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-rand.c.o -MF libsane-airscan.so.1.p/airscan-rand.c.o.d -o libsane-airscan.so.1.p/airscan-rand.c.o -c ../airscan-rand.c [24/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-png.c.o -MF libsane-airscan.so.1.p/airscan-png.c.o.d -o libsane-airscan.so.1.p/airscan-png.c.o -c ../airscan-png.c [25/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-uuid.c.o -MF libsane-airscan.so.1.p/airscan-uuid.c.o.d -o libsane-airscan.so.1.p/airscan-uuid.c.o -c ../airscan-uuid.c [26/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-trace.c.o -MF libsane-airscan.so.1.p/airscan-trace.c.o.d -o libsane-airscan.so.1.p/airscan-trace.c.o -c ../airscan-trace.c [27/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-http.c.o -MF libsane-airscan.so.1.p/airscan-http.c.o.d -o libsane-airscan.so.1.p/airscan-http.c.o -c ../airscan-http.c [28/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-wsd.c.o -MF libsane-airscan.so.1.p/airscan-wsd.c.o.d -o libsane-airscan.so.1.p/airscan-wsd.c.o -c ../airscan-wsd.c [29/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan.c.o -MF libsane-airscan.so.1.p/airscan.c.o.d -o libsane-airscan.so.1.p/airscan.c.o -c ../airscan.c [30/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-xml.c.o -MF libsane-airscan.so.1.p/airscan-xml.c.o.d -o libsane-airscan.so.1.p/airscan-xml.c.o -c ../airscan-xml.c FAILED: libsane-airscan.so.1.p/airscan-xml.c.o gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-xml.c.o -MF libsane-airscan.so.1.p/airscan-xml.c.o.d -o libsane-airscan.so.1.p/airscan-xml.c.o -c ../airscan-xml.c ../airscan-xml.c: In function ‘xml_rd_parse’: ../airscan-xml.c:126:23: warning: assignment to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} from incompatible pointer type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} [-Wincompatible-pointer-types] 126 | ctxt->sax->serror = xml_rd_error_callback; | ^ ../airscan-xml.c: In function ‘xml_rd_node_value_uint’: ../airscan-xml.c:406:9: error: implicit declaration of function ‘strtoul’; did you mean ‘strtok’? [-Werror=implicit-function-declaration] 406 | v = strtoul(s, &end, 10); | ^~~~~~~ | strtok cc1: some warnings being treated as errors [31/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-wsdd.c.o -MF libsane-airscan.so.1.p/airscan-wsdd.c.o.d -o libsane-airscan.so.1.p/airscan-wsdd.c.o -c ../airscan-wsdd.c [32/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/airscan-zeroconf.c.o -MF libsane-airscan.so.1.p/airscan-zeroconf.c.o.d -o libsane-airscan.so.1.p/airscan-zeroconf.c.o -c ../airscan-zeroconf.c [33/71] gcc -Ilibsane-airscan.so.1.p -I. -I.. -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fPIC -pthread -D_REENTRANT -MD -MQ libsane-airscan.so.1.p/http_parser.c.o -MF libsane-airscan.so.1.p/http_parser.c.o.d -o libsane-airscan.so.1.p/http_parser.c.o -c ../http_parser.c ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/sane-airscan-0.99.27/redhat-linux-build -j 4 -v error: Bad exit status from /var/tmp/rpm-tmp.yauj9B (%build) Bad exit status from /var/tmp/rpm-tmp.yauj9B (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sane-airscan.spec