* Package: media-gfx/sane-airscan-0.99.27:0 * Repository: gentoo * Maintainer: zx2c4@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking sane-airscan-0.99.27.tar.gz to /var/tmp/portage/media-gfx/sane-airscan-0.99.27/work >>> Source unpacked in /var/tmp/portage/media-gfx/sane-airscan-0.99.27/work >>> Preparing source in /var/tmp/portage/media-gfx/sane-airscan-0.99.27/work/sane-airscan-0.99.27 ... * Applying sane-airscan-0.99.27-makefile-fixes.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/sane-airscan-0.99.27/work/sane-airscan-0.99.27 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/sane-airscan-0.99.27/work/sane-airscan-0.99.27 ... make -j4 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' CC=x86_64-pc-linux-gnu-gcc AR=x86_64-pc-linux-gnu-ar mkdir -p objs/ mkdir -p objs/ mkdir -p objs/ mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan.o airscan.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC x86_64-pc-linux-gnu-gcc -c -o objs/airscan-array.o airscan-array.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC x86_64-pc-linux-gnu-gcc -c -o objs/airscan-bmp.o airscan-bmp.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC x86_64-pc-linux-gnu-gcc -c -o objs/airscan-conf.o airscan-conf.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-devcaps.o airscan-devcaps.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC x86_64-pc-linux-gnu-gcc -c -o objs/airscan-device.o airscan-device.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-devid.o airscan-devid.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-devops.o airscan-devops.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-eloop.o airscan-eloop.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-escl.o airscan-escl.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-filter.o airscan-filter.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-http.o airscan-http.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-id.o airscan-id.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-inifile.o airscan-inifile.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-init.o airscan-init.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-ip.o airscan-ip.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-jpeg.o airscan-jpeg.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-log.o airscan-log.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-math.o airscan-math.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-mdns.o airscan-mdns.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-memstr.o airscan-memstr.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-netif.o airscan-netif.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-os.o airscan-os.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-png.o airscan-png.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-pollable.o airscan-pollable.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-rand.o airscan-rand.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-trace.o airscan-trace.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-uuid.o airscan-uuid.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-wsd.o airscan-wsd.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-wsdd.o airscan-wsdd.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-xml.o airscan-xml.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC mkdir -p objs/ 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; | ^ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-zeroconf.o airscan-zeroconf.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC 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:102: objs/airscan-xml.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: media-gfx/sane-airscan-0.99.27::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/sane-airscan-0.99.27::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/sane-airscan-0.99.27::gentoo'`. * The complete build log is located at '/var/log/portage/media-gfx:sane-airscan-0.99.27:20240218-044225.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/sane-airscan-0.99.27/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sane-airscan-0.99.27/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/sane-airscan-0.99.27/work/sane-airscan-0.99.27' * S: '/var/tmp/portage/media-gfx/sane-airscan-0.99.27/work/sane-airscan-0.99.27'