D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/sane-airscan-0.99.27-2.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PqE6O0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf sane-airscan-0.99.27 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/sane-airscan-0.99.27.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sane-airscan-0.99.27 + rm -rf /home/pterjan/rpmbuild/BUILD/sane-airscan-0.99.27-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/sane-airscan-0.99.27-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wER8A0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd sane-airscan-0.99.27 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 ctags -R . mkdir -p objs/ gcc -c -o objs/airscan-array.o airscan-array.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-bmp.o airscan-bmp.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan.o airscan.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-devid.o airscan-devid.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-filter.o airscan-filter.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-conf.o airscan-conf.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-id.o airscan-id.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-devcaps.o airscan-devcaps.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-devops.o airscan-devops.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-eloop.o airscan-eloop.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-init.o airscan-init.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-jpeg.o airscan-jpeg.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-math.o airscan-math.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-log.o airscan-log.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-escl.o airscan-escl.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-inifile.o airscan-inifile.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-ip.o airscan-ip.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-mdns.o airscan-mdns.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-rand.o airscan-rand.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-device.o airscan-device.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-os.o airscan-os.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-memstr.o airscan-memstr.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-pollable.o airscan-pollable.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-uuid.o airscan-uuid.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-xml.o airscan-xml.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC airscan-xml.c: In function 'xml_rd_parse': airscan-xml.c:126:23: error: 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'? [-Wimplicit-function-declaration] 406 | v = strtoul(s, &end, 10); | ^~~~~~~ | strtok make: *** [Makefile:99: objs/airscan-xml.o] Error 1 make: *** Waiting for unfinished jobs.... mkdir -p objs/ gcc -c -o objs/airscan-netif.o airscan-netif.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-png.o airscan-png.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/sane_strstatus.o sane_strstatus.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-trace.o airscan-trace.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-wsd.o airscan-wsd.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-zeroconf.o airscan-zeroconf.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-wsdd.o airscan-wsdd.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/airscan-http.o airscan-http.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ gcc -c -o objs/http_parser.o http_parser.c -O2 -g -W -Wall -Werror -pthread -D CONFIG_SANE_CONFIG_DIR=\"/etc/sane.d\" -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wER8A0 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wER8A0 (%build) I: [iurt_root_command] ERROR: chroot