* Package: media-gfx/sane-backends-1.0.31  * Repository: gentoo  * USE: abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux sane_backends_abaton sane_backends_agfafocus sane_backends_apple sane_backends_artec sane_backends_artec_eplus48u sane_backends_as6e sane_backends_avision sane_backends_bh sane_backends_canon sane_backends_canon630u sane_backends_canon_dr sane_backends_canon_lide70 sane_backends_cardscan sane_backends_coolscan sane_backends_coolscan2 sane_backends_coolscan3 sane_backends_dc210 sane_backends_dc240 sane_backends_dc25 sane_backends_dell1600n_net sane_backends_dmc sane_backends_epjitsu sane_backends_epson sane_backends_epson2 sane_backends_escl sane_backends_fujitsu sane_backends_genesys sane_backends_gt68xx sane_backends_hp sane_backends_hp3500 sane_backends_hp3900 sane_backends_hp4200 sane_backends_hp5400 sane_backends_hp5590 sane_backends_hpljm1005 sane_backends_hs2p sane_backends_ibm sane_backends_kodak sane_backends_kodakaio sane_backends_kvs1025 sane_backends_kvs20xx sane_backends_leo sane_backends_lexmark sane_backends_ma1509 sane_backends_magicolor sane_backends_matsushita sane_backends_microtek sane_backends_microtek2 sane_backends_mustek sane_backends_mustek_usb sane_backends_nec sane_backends_net sane_backends_niash sane_backends_p5 sane_backends_pie sane_backends_pieusb sane_backends_pixma sane_backends_plustek sane_backends_plustek_pp sane_backends_qcam sane_backends_ricoh sane_backends_ricoh2 sane_backends_rts8891 sane_backends_s9036 sane_backends_sceptre sane_backends_sharp sane_backends_sm3600 sane_backends_sm3840 sane_backends_snapscan sane_backends_sp15c sane_backends_st400 sane_backends_stv680 sane_backends_tamarack sane_backends_teco1 sane_backends_teco2 sane_backends_teco3 sane_backends_test sane_backends_u12 sane_backends_umax sane_backends_umax1220u sane_backends_umax_pp sane_backends_xerox_mfp threads usb userland_GNU v4l zeroconf  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using python3.8 to build >>> Unpacking source... >>> Unpacking backends-1.0.31.tar.gz to /var/tmp/portage/media-gfx/sane-backends-1.0.31/work >>> Source unpacked in /var/tmp/portage/media-gfx/sane-backends-1.0.31/work >>> Preparing source in /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31 ... * Applying sane-backends-1.0.24-saned_pidfile_location.patch ...  [ ok ] * Applying sane-backends-1.0.27-disable-usb-tests.patch ...  [ ok ] * Applying sane-backends-1.0.30-add_hpaio_epkowa_dll.conf.patch ...  [ ok ] * Applying sane-backends-1.0.31-autoconf-2.70.patch ...  [ ok ] * Applying sane-backends-1.0.31-udev_rules_update.patch ...  [ ok ] * Applying sane-backends-1.0.31-backend_pot_input.patch ...  [ ok ] * Running eautoreconf in '/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31' ... * Running autopoint --force ...  [ ok ] * Running libtoolize --install --copy --force --automake ...  [ ok ] * Running aclocal -I m4 ...  [ ok ] * Running autoconf --force ...  [ ok ] * Running autoheader ...  [ ok ] * Running automake --add-missing --copy --foreign --force-missing ...  [ ok ] * Running elibtoolize in: backends-1.0.31/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31 ... * abi_x86_32.x86: running multilib-minimal_abi_src_configure * econf: updating backends-1.0.31/config.sub with /usr/share/gnuconfig/config.sub * econf: updating backends-1.0.31/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/sane-backends-1.0.31 --htmldir=/usr/share/doc/sane-backends-1.0.31/html --with-sysroot=/ --libdir=/usr/lib --with-usb --without-snmp sane_cv_use_libieee1284=no --disable-locking --without-gphoto2 --without-systemd --with-v4l --disable-ipv6 --enable-pthread --with-avahi configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc -m32 accepts -g... yes checking for x86_64-pc-linux-gnu-gcc -m32 option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc -m32 understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc -m32... none checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ -m32 accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++ -m32... none checking for x86_64-pc-linux-gnu-gcc -m32 option to accept ISO C99... none needed checking for x86_64-pc-linux-gnu-gcc -m32 option for ISO C99 w/o extensions... checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -m32 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc -m32 needs -traditional... 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 whether it is safe to define __EXTENSIONS__... yes checking for i686-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc -m32... x86_64-pc-linux-gnu-ld -m elf_i386 checking if the linker (x86_64-pc-linux-gnu-ld -m elf_i386) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... x86_64-pc-linux-gnu-nm checking the name lister (x86_64-pc-linux-gnu-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for x86_64-pc-linux-gnu-ld -m elf_i386 option to reload object files... -r checking for i686-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for i686-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse x86_64-pc-linux-gnu-nm output from x86_64-pc-linux-gnu-gcc -m32 object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i686-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc -m32 supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc -m32 option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc -m32 PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc -m32 static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc -m32 supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc -m32 supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc -m32 linker (x86_64-pc-linux-gnu-ld -m elf_i386) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -m32 -E checking for ld used by x86_64-pc-linux-gnu-g++ -m32... x86_64-pc-linux-gnu-ld -m elf_i386 checking if the linker (x86_64-pc-linux-gnu-ld -m elf_i386) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ -m32 linker (x86_64-pc-linux-gnu-ld -m elf_i386) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ -m32 option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ -m32 PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ -m32 static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ -m32 supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ -m32 supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ -m32 linker (x86_64-pc-linux-gnu-ld -m elf_i386) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by x86_64-pc-linux-gnu-gcc -m32... x86_64-pc-linux-gnu-ld -m elf_i386 checking if the linker (x86_64-pc-linux-gnu-ld -m elf_i386) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for sane-config... /usr/bin/sane-config checking pkg-config is at least version 0.9.0... yes checking whether x86_64-pc-linux-gnu-g++ -m32 supports C++11 features with -std=c++11... yes checking for library containing strerror... none required checking whether byte ordering is bigendian... no checking for le32toh in machine/endian.h... no checking for ntohl in arpa/inet.h... yes checking for swap32 in machine/endian.h... no checking for bswap_32 in byteswap.h... yes checking for stdint types... stdint.h (shortcircuit) make use of stdint.h in include/_stdint.h (assuming C99 compatible system) checking for dlfcn.h... (cached) yes checking for dlopen in -ldl... yes checking for dlopen... yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking for sqrt in -lm... yes checking for jpeg_start_decompress in -ljpeg... yes checking jconfig.h usability... yes checking jconfig.h presence... yes checking for jconfig.h... yes checking for jpeglib - version >= 61 (6a)... yes checking for TIFFFdOpen in -ltiff... yes checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for png_init_io in -lpng... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking ieee1284.h usability... no checking ieee1284.h presence... no checking for ieee1284.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for pthread_create... yes checking for pthread_kill... yes checking for pthread_join... yes checking for pthread_detach... yes checking for pthread_cancel... yes checking for pthread_testcancel... yes checking whether pthread_t is integer... yes checking whether to enable pthread support... yes checking whether to use pthread instead of fork... yes checking whether to enable device locking... no checking for libv4l1 >= 0.8.3... yes checking for avahi-client >= 0.6.24... yes checking for sane_init in -lsane... yes Not including SNMP support configure: WARNING: net-snmp library disabled, autodetecting network scanners will not be supported. checking for ANSI C header files... (cached) yes 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/dsreq.h usability... no checking sys/dsreq.h presence... no checking for sys/dsreq.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/scanio.h usability... no checking sys/scanio.h presence... no checking for sys/scanio.h... no checking os2.h usability... no checking os2.h presence... no checking for os2.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking sys/hw.h usability... no checking sys/hw.h presence... no checking for sys/hw.h... no checking for sys/types.h... (cached) yes checking linux/ppdev.h usability... yes checking linux/ppdev.h presence... yes checking for linux/ppdev.h... yes checking dev/ppbus/ppi.h usability... no checking dev/ppbus/ppi.h presence... no checking for dev/ppbus/ppi.h... no checking machine/cpufunc.h usability... no checking machine/cpufunc.h presence... no checking for machine/cpufunc.h... no checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking be/kernel/OS.h usability... no checking be/kernel/OS.h presence... no checking for be/kernel/OS.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for tiffio.h... (cached) yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for asm/io.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking resmgr.h usability... no checking resmgr.h presence... no checking for resmgr.h... no checking for size_t... yes checking for pid_t... yes checking for ssize_t... yes checking for u_char... yes checking for u_short... yes checking for u_int... yes checking for u_long... yes checking for long long support... yes checking for socklen_t in ... yes checking for union semun in ... no checking for struct flock in fcntl.h... yes checking for Linux ioctl defines... yes checking whether byte ordering is bigendian... (cached) no checking for an ANSI C-conforming const... yes checking for inline... inline checking for working alloca.h... yes checking for alloca... yes checking for getenv... yes checking for inet_ntop... yes checking for inet_pton... yes checking for sigprocmask... yes checking for sleep... yes checking for snprintf... yes checking for strcasestr... yes checking for strdup... yes checking for strndup... yes checking for strsep... yes checking for syslog... yes checking for usleep... yes checking for vsyslog... yes checking for gethostbyaddr... yes checking for gethostbyaddr... (cached) yes checking for socket... yes checking for inet_aton... yes checking for inet_addr... yes checking for inet_aton... (cached) yes checking for inet_ntoa... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for ioperm... yes checking for i386_set_ioperm... no checking for mkdir... yes checking for strftime... yes checking for strstr... yes checking for strtod... yes checking for cfmakeraw... yes checking for tcsendbreak... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for _portaccess... no checking for getaddrinfo... yes checking for getnameinfo... yes checking for poll... yes checking for setitimer... yes checking for iopl... yes checking for getuid... yes checking for getpass... yes checking for inb,outb (provided by sys/io.h)... yes checking for getopt_long... yes checking for libusb-1.0... yes checking for libcurl... yes checking for poppler-glib... no checking for libxml-2.0... yes checking IOKit/scsi/SCSITaskLib.h usability... no checking IOKit/scsi/SCSITaskLib.h presence... no checking for IOKit/scsi/SCSITaskLib.h... no checking IOKit/cdb/IOSCSILib.h usability... no checking IOKit/cdb/IOSCSILib.h presence... no checking for IOKit/cdb/IOSCSILib.h... no checking IOKit/scsi/SCSICommandOperationCodes.h usability... no checking IOKit/scsi/SCSICommandOperationCodes.h presence... no checking for IOKit/scsi/SCSICommandOperationCodes.h... no checking IOKit/scsi-commands/SCSICommandOperationCodes.h usability... no checking IOKit/scsi-commands/SCSICommandOperationCodes.h presence... no checking for IOKit/scsi-commands/SCSICommandOperationCodes.h... no checking scsi.h usability... no checking scsi.h presence... no checking for scsi.h... no checking sys/scsi.h usability... no checking sys/scsi.h presence... no checking for sys/scsi.h... no checking sys/scsicmd.h usability... no checking sys/scsicmd.h presence... no checking for sys/scsicmd.h... no checking sys/scsiio.h usability... no checking sys/scsiio.h presence... no checking for sys/scsiio.h... no checking bsd/dev/scsireg.h usability... no checking bsd/dev/scsireg.h presence... no checking for bsd/dev/scsireg.h... no checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking camlib.h usability... no checking camlib.h presence... no checking for camlib.h... no checking gscdds.h usability... no checking gscdds.h presence... no checking for gscdds.h... no checking sys/scsi/scsi.h usability... no checking sys/scsi/scsi.h presence... no checking for sys/scsi/scsi.h... no checking sys/scsi/sgdefs.h usability... no checking sys/scsi/sgdefs.h presence... no checking for sys/scsi/sgdefs.h... no checking sys/scsi/targets/scgio.h usability... no checking sys/scsi/targets/scgio.h presence... no checking for sys/scsi/targets/scgio.h... no checking apollo/scsi.h usability... no checking apollo/scsi.h presence... no checking for apollo/scsi.h... no checking sys/sdi_comm.h usability... no checking sys/sdi_comm.h presence... no checking for sys/sdi_comm.h... no checking sys/passthrudef.h usability... no checking sys/passthrudef.h presence... no checking for sys/passthrudef.h... no checking for io/cam/cam.h... no checking for ntddscsi.h... no checking for ddk/ntddscsi.h... no checking for scsireq_enter in -lscsi... no checking for cam_open_device in -lcam... no checking for scsireq_enter... no checking for sg_header.target_status in ... yes scsi buffersize: 131072 checking whether to enable IPv6... no, manually disabled configure: Manually selected backends: v4l abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_lide70 cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 escl fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb nec net niash p5 pie pieusb pixma plustek plustek_pp qcam ricoh ricoh2 rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp checking for jpeg_crop_scanline... yes checking for jpeg_skip_scanlines... yes *** pnm backend not manually selected - disabling checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating sanei/Makefile config.status: creating frontend/Makefile config.status: creating japi/Makefile config.status: creating backend/Makefile config.status: creating include/Makefile config.status: creating doc/Makefile config.status: creating po/Makefile.in config.status: creating testsuite/Makefile config.status: creating testsuite/backend/Makefile config.status: creating testsuite/backend/genesys/Makefile config.status: creating testsuite/sanei/Makefile config.status: creating testsuite/tools/Makefile config.status: creating tools/Makefile config.status: creating doc/doxygen-sanei.conf config.status: creating doc/doxygen-genesys.conf config.status: creating tools/sane-config config.status: creating tools/sane-backends.pc config.status: creating include/sane/config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing include/_stdint.h commands config.status: creating include/_stdint.h : _SANE_BACKENDS_INCLUDE__STDINT_H -> Variables used for compilation/linking: AM_CPPFLAGS=" -D_REENTRANT -DPATH_SANE_CONFIG_DIR=$(configdir) -DPATH_SANE_DATA_DIR=$(datadir) -DPATH_SANE_LOCK_DIR=$(locksanedir) -DV_MAJOR=1 -DV_MINOR=0" AM_CFLAGS=" -Wall" AM_CXXFLAGS=" -Wall" AM_LDFLAGS="" LIBS="" -> Installation directories: Configuration: /etc Libraries: /usr/lib Binaries: /usr/bin and /usr/sbin Manpages: /usr/share/man Documentation: /usr/share/doc/sane-backends-1.0.31 Lockfiles: Feature is disabled! -> Network parameters: Build saned: yes IPv6 support: no Avahi support: yes cURL support: yes POPPLER_GLIB support: no SNMP support: no -> The following backends will be built: v4l abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_lide70 cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 escl fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb nec net niash p5 pie pieusb pixma plustek plustek_pp qcam ricoh ricoh2 rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp -> The following preload backends will be built: **************************************************************** * Please be sure to read file PROBLEMS in this directory * * BEFORE running any of the SANE applications. Some devices * * may be damaged by improper operation, so please do heed this * * advice. * **************************************************************** * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * econf: updating backends-1.0.31/config.sub with /usr/share/gnuconfig/config.sub * econf: updating backends-1.0.31/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/sane-backends-1.0.31 --htmldir=/usr/share/doc/sane-backends-1.0.31/html --with-sysroot=/ --libdir=/usr/lib64 --with-usb --without-snmp --with-poppler-glib sane_cv_use_libieee1284=no --disable-locking --without-gphoto2 --without-systemd --with-v4l --disable-ipv6 --enable-pthread --with-avahi configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed checking for x86_64-pc-linux-gnu-gcc option for ISO C99 w/o extensions... checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... 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 whether it is safe to define __EXTENSIONS__... yes checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for sane-config... /usr/bin/sane-config checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether x86_64-pc-linux-gnu-g++ supports C++11 features with -std=c++11... yes checking for library containing strerror... none required checking whether byte ordering is bigendian... no checking for le32toh in machine/endian.h... no checking for ntohl in arpa/inet.h... yes checking for swap32 in machine/endian.h... no checking for bswap_32 in byteswap.h... yes checking for stdint types... stdint.h (shortcircuit) make use of stdint.h in include/_stdint.h (assuming C99 compatible system) checking for dlfcn.h... (cached) yes checking for dlopen in -ldl... yes checking for dlopen... yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking for sqrt in -lm... yes checking for jpeg_start_decompress in -ljpeg... yes checking jconfig.h usability... yes checking jconfig.h presence... yes checking for jconfig.h... yes checking for jpeglib - version >= 61 (6a)... yes checking for TIFFFdOpen in -ltiff... yes checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for png_init_io in -lpng... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking ieee1284.h usability... no checking ieee1284.h presence... no checking for ieee1284.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking for pthread_create... yes checking for pthread_kill... yes checking for pthread_join... yes checking for pthread_detach... yes checking for pthread_cancel... yes checking for pthread_testcancel... yes checking whether pthread_t is integer... yes checking whether to enable pthread support... yes checking whether to use pthread instead of fork... yes checking whether to enable device locking... no checking for libv4l1 >= 0.8.3... yes checking for avahi-client >= 0.6.24... yes checking for sane_init in -lsane... yes Not including SNMP support configure: WARNING: net-snmp library disabled, autodetecting network scanners will not be supported. checking for ANSI C header files... (cached) yes 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/dsreq.h usability... no checking sys/dsreq.h presence... no checking for sys/dsreq.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/scanio.h usability... no checking sys/scanio.h presence... no checking for sys/scanio.h... no checking os2.h usability... no checking os2.h presence... no checking for os2.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking sys/hw.h usability... no checking sys/hw.h presence... no checking for sys/hw.h... no checking for sys/types.h... (cached) yes checking linux/ppdev.h usability... yes checking linux/ppdev.h presence... yes checking for linux/ppdev.h... yes checking dev/ppbus/ppi.h usability... no checking dev/ppbus/ppi.h presence... no checking for dev/ppbus/ppi.h... no checking machine/cpufunc.h usability... no checking machine/cpufunc.h presence... no checking for machine/cpufunc.h... no checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking be/kernel/OS.h usability... no checking be/kernel/OS.h presence... no checking for be/kernel/OS.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for tiffio.h... (cached) yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for asm/io.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking resmgr.h usability... no checking resmgr.h presence... no checking for resmgr.h... no checking for size_t... yes checking for pid_t... yes checking for ssize_t... yes checking for u_char... yes checking for u_short... yes checking for u_int... yes checking for u_long... yes checking for long long support... yes checking for socklen_t in ... yes checking for union semun in ... no checking for struct flock in fcntl.h... yes checking for Linux ioctl defines... yes checking whether byte ordering is bigendian... (cached) no checking for an ANSI C-conforming const... yes checking for inline... inline checking for working alloca.h... yes checking for alloca... yes checking for getenv... yes checking for inet_ntop... yes checking for inet_pton... yes checking for sigprocmask... yes checking for sleep... yes checking for snprintf... yes checking for strcasestr... yes checking for strdup... yes checking for strndup... yes checking for strsep... yes checking for syslog... yes checking for usleep... yes checking for vsyslog... yes checking for gethostbyaddr... yes checking for gethostbyaddr... (cached) yes checking for socket... yes checking for inet_aton... yes checking for inet_addr... yes checking for inet_aton... (cached) yes checking for inet_ntoa... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for ioperm... yes checking for i386_set_ioperm... no checking for mkdir... yes checking for strftime... yes checking for strstr... yes checking for strtod... yes checking for cfmakeraw... yes checking for tcsendbreak... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for _portaccess... no checking for getaddrinfo... yes checking for getnameinfo... yes checking for poll... yes checking for setitimer... yes checking for iopl... yes checking for getuid... yes checking for getpass... yes checking for inb,outb (provided by sys/io.h)... yes checking for getopt_long... yes checking for libusb-1.0... yes checking for libcurl... yes checking for poppler-glib... yes checking for libxml-2.0... yes checking IOKit/scsi/SCSITaskLib.h usability... no checking IOKit/scsi/SCSITaskLib.h presence... no checking for IOKit/scsi/SCSITaskLib.h... no checking IOKit/cdb/IOSCSILib.h usability... no checking IOKit/cdb/IOSCSILib.h presence... no checking for IOKit/cdb/IOSCSILib.h... no checking IOKit/scsi/SCSICommandOperationCodes.h usability... no checking IOKit/scsi/SCSICommandOperationCodes.h presence... no checking for IOKit/scsi/SCSICommandOperationCodes.h... no checking IOKit/scsi-commands/SCSICommandOperationCodes.h usability... no checking IOKit/scsi-commands/SCSICommandOperationCodes.h presence... no checking for IOKit/scsi-commands/SCSICommandOperationCodes.h... no checking scsi.h usability... no checking scsi.h presence... no checking for scsi.h... no checking sys/scsi.h usability... no checking sys/scsi.h presence... no checking for sys/scsi.h... no checking sys/scsicmd.h usability... no checking sys/scsicmd.h presence... no checking for sys/scsicmd.h... no checking sys/scsiio.h usability... no checking sys/scsiio.h presence... no checking for sys/scsiio.h... no checking bsd/dev/scsireg.h usability... no checking bsd/dev/scsireg.h presence... no checking for bsd/dev/scsireg.h... no checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking camlib.h usability... no checking camlib.h presence... no checking for camlib.h... no checking gscdds.h usability... no checking gscdds.h presence... no checking for gscdds.h... no checking sys/scsi/scsi.h usability... no checking sys/scsi/scsi.h presence... no checking for sys/scsi/scsi.h... no checking sys/scsi/sgdefs.h usability... no checking sys/scsi/sgdefs.h presence... no checking for sys/scsi/sgdefs.h... no checking sys/scsi/targets/scgio.h usability... no checking sys/scsi/targets/scgio.h presence... no checking for sys/scsi/targets/scgio.h... no checking apollo/scsi.h usability... no checking apollo/scsi.h presence... no checking for apollo/scsi.h... no checking sys/sdi_comm.h usability... no checking sys/sdi_comm.h presence... no checking for sys/sdi_comm.h... no checking sys/passthrudef.h usability... no checking sys/passthrudef.h presence... no checking for sys/passthrudef.h... no checking for io/cam/cam.h... no checking for ntddscsi.h... no checking for ddk/ntddscsi.h... no checking for scsireq_enter in -lscsi... no checking for cam_open_device in -lcam... no checking for scsireq_enter... no checking for sg_header.target_status in ... yes scsi buffersize: 131072 checking whether to enable IPv6... no, manually disabled configure: Manually selected backends: v4l abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_lide70 cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 escl fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb nec net niash p5 pie pieusb pixma plustek plustek_pp qcam ricoh ricoh2 rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp checking for jpeg_crop_scanline... yes checking for jpeg_skip_scanlines... yes *** pnm backend not manually selected - disabling checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating sanei/Makefile config.status: creating frontend/Makefile config.status: creating japi/Makefile config.status: creating backend/Makefile config.status: creating include/Makefile config.status: creating doc/Makefile config.status: creating po/Makefile.in config.status: creating testsuite/Makefile config.status: creating testsuite/backend/Makefile config.status: creating testsuite/backend/genesys/Makefile config.status: creating testsuite/sanei/Makefile config.status: creating testsuite/tools/Makefile config.status: creating tools/Makefile config.status: creating doc/doxygen-sanei.conf config.status: creating doc/doxygen-genesys.conf config.status: creating tools/sane-config config.status: creating tools/sane-backends.pc config.status: creating include/sane/config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing include/_stdint.h commands config.status: creating include/_stdint.h : _SANE_BACKENDS_INCLUDE__STDINT_H -> Variables used for compilation/linking: AM_CPPFLAGS=" -D_REENTRANT -DPATH_SANE_CONFIG_DIR=$(configdir) -DPATH_SANE_DATA_DIR=$(datadir) -DPATH_SANE_LOCK_DIR=$(locksanedir) -DV_MAJOR=1 -DV_MINOR=0" AM_CFLAGS=" -Wall" AM_CXXFLAGS=" -Wall" AM_LDFLAGS="" LIBS="" -> Installation directories: Configuration: /etc Libraries: /usr/lib64 Binaries: /usr/bin and /usr/sbin Manpages: /usr/share/man Documentation: /usr/share/doc/sane-backends-1.0.31 Lockfiles: Feature is disabled! -> Network parameters: Build saned: yes IPv6 support: no Avahi support: yes cURL support: yes POPPLER_GLIB support: yes SNMP support: no -> The following backends will be built: v4l abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_lide70 cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 escl fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb nec net niash p5 pie pieusb pixma plustek plustek_pp qcam ricoh ricoh2 rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp -> The following preload backends will be built: **************************************************************** * Please be sure to read file PROBLEMS in this directory * * BEFORE running any of the SANE applications. Some devices * * may be damaged by improper operation, so please do heed this * * advice. * **************************************************************** >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31 ... * abi_x86_32.x86: running multilib-minimal_abi_src_compile make -j9 -s VARTEXFONTS=/var/tmp/portage/media-gfx/sane-backends-1.0.31/temp/fonts Making all in include Making all in lib libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/lib -I../include/sane -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/lib/md5.c -fPIC -DPIC -o .libs/liblib_la-md5.o libtool: link: x86_64-pc-linux-gnu-ar cru .libs/liblib.a .libs/liblib_la-md5.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/liblib.a libtool: link: ( cd ".libs" && rm -f "liblib.la" && ln -s "../liblib.la" "liblib.la" ) Making all in sanei libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_init_debug.c -fPIC -DPIC -o .libs/sanei_init_debug.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_net.c -fPIC -DPIC -o .libs/sanei_net.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_ab306.c -fPIC -DPIC -o .libs/sanei_ab306.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_scsi.c -fPIC -DPIC -o .libs/sanei_scsi.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_constrain_value.c -fPIC -DPIC -o .libs/sanei_constrain_value.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_codec_ascii.c -fPIC -DPIC -o .libs/sanei_codec_ascii.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_codec_bin.c -fPIC -DPIC -o .libs/sanei_codec_bin.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_wire.c -fPIC -DPIC -o .libs/sanei_wire.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_config.c -fPIC -DPIC -o .libs/sanei_config.o In file included from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_scsi.c:240: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_scsi.c: In function ‘issue’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_scsi.c:1948:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1948 | system ("cat /proc/scsi/sg/debug 1>&2");) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/../include/sane/sanei_debug.h:153:25: note: in definition of macro ‘IF_DBG’ 153 | # define IF_DBG(x) x | ^ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_scsi.c: In function ‘sanei_scsi_req_wait’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_scsi.c:2262:7: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2262 | system ("cat /proc/scsi/sg/debug 1>&2");) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/../include/sane/sanei_debug.h:153:25: note: in definition of macro ‘IF_DBG’ 153 | # define IF_DBG(x) x | ^ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_scsi.c: In function ‘sanei_proc_scsi_find_devices’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_scsi.c:2820:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2820 | fgets (line, sizeof (line), proc_fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_pio.c -fPIC -DPIC -o .libs/sanei_pio.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_config2.c -fPIC -DPIC -o .libs/sanei_config2.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_pa4s2.c -fPIC -DPIC -o .libs/sanei_pa4s2.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_auth.c -fPIC -DPIC -o .libs/sanei_auth.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c -fPIC -DPIC -o .libs/sanei_usb.o /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_auth.c: In function ‘randombits’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_auth.c:95:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 95 | fread (buffer, 1, 4, dev_urandom); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_thread.c -fPIC -DPIC -o .libs/sanei_thread.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_pv8630.c -fPIC -DPIC -o .libs/sanei_pv8630.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_pp.c -fPIC -DPIC -o .libs/sanei_pp.o /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_scsi.c: In function ‘sanei_scsi_find_devices’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_scsi.c:3096:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 3096 | vmt[i][ret - 1] = '\0'; | ~~~~~~~~~~~~~~~~^~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_scsi.c:2954:10: note: at offset 0 to object ‘vmt’ with size 99 declared here 2954 | char vmt[3][33]; /* vendor, model, type */ | ^~~ libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_lm983x.c -fPIC -DPIC -o .libs/sanei_lm983x.o /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_pp.c:129:10: note: ‘#pragma message: No I/O support for this architecture!’ 129 | # pragma message "No I/O support for this architecture!" | ^~~~~~~ libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_access.c -fPIC -DPIC -o .libs/sanei_access.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_tcp.c -fPIC -DPIC -o .libs/sanei_tcp.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_udp.c -fPIC -DPIC -o .libs/sanei_udp.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_magic.c -fPIC -DPIC -o .libs/sanei_magic.o libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_ir.c -fPIC -DPIC -o .libs/sanei_ir.o /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c: In function ‘sanei_usb_check_data_equal’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:1021:36: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1021 | FAIL_TEST_TX(parent_fun, node, "data differs (size %lu):\n", data_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:1021:58: note: format string is defined here 1021 | FAIL_TEST_TX(parent_fun, node, "data differs (size %lu):\n", data_size); | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:1024:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1024 | "data differs (got size %lu, expected %lu):\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1025 | data_size, expected_size); | ~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:1024:44: note: format string is defined here 1024 | "data differs (got size %lu, expected %lu):\n", | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:1024:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1024 | "data differs (got size %lu, expected %lu):\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1025 | data_size, expected_size); | ~~~~~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:1024:58: note: format string is defined here 1024 | "data differs (got size %lu, expected %lu):\n", | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c: In function ‘sanei_usb_record_read_bulk’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3217:64: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 3217 | snprintf(buf, buf_size, "(unknown read of allowed size %ld)", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long int | %d /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c: In function ‘sanei_usb_replay_read_bulk’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3309:24: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 3309 | "got more data than wanted (%lu vs %lu)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3310 | got_size, wanted_size); | ~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3309:54: note: format string is defined here 3309 | "got more data than wanted (%lu vs %lu)\n", | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3309:24: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 3309 | "got more data than wanted (%lu vs %lu)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3310 | got_size, wanted_size); | ~~~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3309:61: note: format string is defined here 3309 | "got more data than wanted (%lu vs %lu)\n", | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c: In function ‘sanei_usb_replay_write_bulk’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3616:24: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 3616 | "wrote more data than wanted (%lu vs %lu)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3617 | wrote_size, wanted_size); | ~~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3616:56: note: format string is defined here 3616 | "wrote more data than wanted (%lu vs %lu)\n", | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3616:24: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 3616 | "wrote more data than wanted (%lu vs %lu)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3617 | wrote_size, wanted_size); | ~~~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3616:63: note: format string is defined here 3616 | "wrote more data than wanted (%lu vs %lu)\n", | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3648:24: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 3648 | "wrote less data than wanted (%lu vs %lu)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3649 | wrote_size, wanted_size); | ~~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3648:56: note: format string is defined here 3648 | "wrote less data than wanted (%lu vs %lu)\n", | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3648:24: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 3648 | "wrote less data than wanted (%lu vs %lu)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3649 | wrote_size, wanted_size); | ~~~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3648:63: note: format string is defined here 3648 | "wrote less data than wanted (%lu vs %lu)\n", | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c: In function ‘sanei_usb_replay_control_msg’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3964:24: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 3964 | "got different amount of data than wanted (%lu vs %lu)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3965 | tx_data_size, (size_t)len); | ~~~~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3964:69: note: format string is defined here 3964 | "got different amount of data than wanted (%lu vs %lu)\n", | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3964:24: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 3964 | "got different amount of data than wanted (%lu vs %lu)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3965 | tx_data_size, (size_t)len); | ~~~~~~~~~~~ | | | unsigned int /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:3964:76: note: format string is defined here 3964 | "got different amount of data than wanted (%lu vs %lu)\n", | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c: In function ‘sanei_usb_record_read_int’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:4160:63: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘ssize_t’ {aka ‘int’} [-Wformat=] 4160 | snprintf(buf, buf_size, "(unknown read of wanted size %ld)", read_size); | ~~^ ~~~~~~~~~ | | | | | ssize_t {aka int} | long int | %d /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c: In function ‘sanei_usb_replay_read_int’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:4253:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 4253 | "got more data than wanted (%lu vs %lu)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4254 | tx_data_size, wanted_size); | ~~~~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:4253:50: note: format string is defined here 4253 | "got more data than wanted (%lu vs %lu)\n", | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:4253:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 4253 | "got more data than wanted (%lu vs %lu)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4254 | tx_data_size, wanted_size); | ~~~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:529:12: note: in definition of macro ‘FAIL_TEST_TX’ 529 | DBG(1, __VA_ARGS__); \ | ^~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_usb.c:4253:57: note: format string is defined here 4253 | "got more data than wanted (%lu vs %lu)\n", | ~~^ | | | long unsigned int | %u libtool: compile: x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include/sane -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -I. -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei -I../include -I/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/include -I/usr/include/libusb-1.0 -I/usr/include/libxml2 -O2 -pipe -march=native -mtune=native -Wall -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_jpeg.c -fPIC -DPIC -o .libs/sanei_jpeg.o /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_ir.c: In function ‘sanei_ir_create_norm_histo’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/sanei/sanei_ir.c:95:65: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 95 | DBG (1, "sanei_ir_create_norm_histo: histo_data[] with %d x %ld bytes\n", HISTOGRAM_SIZE, sizeof(int)); | ~~^ ~~~~~~~~~~~ | | | | long int unsigned int | %d libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libsanei.a .libs/sanei_ab306.o .libs/sanei_constrain_value.o .libs/sanei_init_debug.o .libs/sanei_net.o .libs/sanei_wire.o .libs/sanei_codec_ascii.o .libs/sanei_codec_bin.o .libs/sanei_scsi.o .libs/sanei_config.o .libs/sanei_config2.o .libs/sanei_pio.o .libs/sanei_pa4s2.o .libs/sanei_auth.o .libs/sanei_usb.o .libs/sanei_thread.o .libs/sanei_pv8630.o .libs/sanei_pp.o .libs/sanei_lm983x.o .libs/sanei_access.o .libs/sanei_tcp.o .libs/sanei_udp.o .libs/sanei_magic.o .libs/sanei_ir.o .libs/sanei_jpeg.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libsanei.a libtool: link: ( cd ".libs" && rm -f "libsanei.la" && ln -s "../libsanei.la" "libsanei.la" ) Making all in backend Generating abaton.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/abaton.conf.in Generating agfafocus.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/agfafocus.conf.in Generating apple.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/apple.conf.in Generating artec.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/artec.conf.in Generating artec_eplus48u.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/artec_eplus48u.conf.in Generating avision.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/avision.conf.in Generating bh.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/bh.conf.in Generating canon630u.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon630u.conf.in Generating canon.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon.conf.in Generating canon_dr.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_dr.conf.in Generating canon_lide70.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_lide70.conf.in Generating canon_pp.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_pp.conf.in Generating cardscan.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/cardscan.conf.in Generating coolscan2.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/coolscan2.conf.in Generating coolscan3.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/coolscan3.conf.in Generating coolscan.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/coolscan.conf.in Generating dc210.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/dc210.conf.in Generating dc240.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/dc240.conf.in Generating dc25.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/dc25.conf.in Generating dell1600n_net.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/dell1600n_net.conf.in Generating dmc.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/dmc.conf.in Generating epjitsu.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/epjitsu.conf.in Generating epson2.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/epson2.conf.in Generating epson.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/epson.conf.in Generating epsonds.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/epsonds.conf.in Generating escl.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/escl.conf.in Generating fujitsu.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/fujitsu.conf.in Generating genesys.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/genesys.conf.in Generating gphoto2.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gphoto2.conf.in Generating gt68xx.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx.conf.in Generating hp3900.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/hp3900.conf.in Generating hp4200.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/hp4200.conf.in Generating hp5400.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/hp5400.conf.in Generating hp.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/hp.conf.in Generating hpsj5s.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/hpsj5s.conf.in Generating hs2p.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/hs2p.conf.in Generating ibm.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ibm.conf.in Generating kodak.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodak.conf.in Generating kodakaio.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodakaio.conf.in Generating kvs1025.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kvs1025.conf.in Generating leo.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/leo.conf.in Generating lexmark.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/lexmark.conf.in Generating ma1509.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ma1509.conf.in Generating magicolor.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/magicolor.conf.in Generating matsushita.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/matsushita.conf.in Generating microtek2.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek2.conf.in Generating microtek.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.conf.in Generating mustek.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/mustek.conf.in Generating mustek_pp.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/mustek_pp.conf.in Generating mustek_usb.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/mustek_usb.conf.in Generating nec.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/nec.conf.in Generating net.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/net.conf.in Generating p5.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/p5.conf.in Generating pie.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/pie.conf.in Generating pieusb.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/pieusb.conf.in Generating pixma.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/pixma.conf.in Generating plustek.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek.conf.in Generating plustek_pp.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek_pp.conf.in Generating qcam.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/qcam.conf.in Generating ricoh.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ricoh.conf.in Generating rts8891.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/rts8891.conf.in Generating s9036.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/s9036.conf.in Generating sceptre.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/sceptre.conf.in Generating sharp.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/sharp.conf.in Generating sm3840.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/sm3840.conf.in Generating snapscan.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/snapscan.conf.in Generating sp15c.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/sp15c.conf.in Generating st400.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/st400.conf.in Generating stv680.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/stv680.conf.in Generating tamarack.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/tamarack.conf.in Generating teco1.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/teco1.conf.in Generating teco2.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/teco2.conf.in Generating teco3.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/teco3.conf.in Generating test.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/test.conf.in Generating u12.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/u12.conf.in Generating umax1220u.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/umax1220u.conf.in Generating umax.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/umax.conf.in Generating umax_pp.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/umax_pp.conf.in Generating v4l.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/v4l.conf.in Generating xerox_mfp.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/xerox_mfp.conf.in Generating dll.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/dll.conf.in Generating saned.conf from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/saned.conf.in /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/artec.c: In function ‘artec_sane_read’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/artec.c:3575:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3575 | write (debug_fd, temp_buf, nread); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/as6e.c: In function ‘sane_as6e_read’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/as6e.c:148:4: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 148 | read (s->as6e_params.ctlinpipe, &written, sizeof (written)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/as6e.c:214:4: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 214 | read (s->as6e_params.ctlinpipe, &written, sizeof (written)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/as6e.c: In function ‘sane_as6e_close’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/as6e.c:520:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 520 | write (s->as6e_params.ctloutpipe, &repeat, sizeof (repeat)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/as6e.c: In function ‘as6e_open’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/as6e.c:582:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 582 | write (ctlinpipe[WRITEPIPE], &exec_result, sizeof (exec_result)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/avision.c: In function ‘adf_reset’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/avision.c:3622:34: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 3622 | DBG (1, "adf_reset: read %lu failed (%s)\n", (2-n), | ~~^ ~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/avision.c: In function ‘reader_process’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/avision.c:8034:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8034 | fread(buffer, s->params.bytes_per_line, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon630u.c:68: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon630u-common.c: In function ‘plugin_cal’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon630u-common.c:942:7: warning: ignoring return value of ‘mkstemp’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 942 | mkstemp (s->fname); | ^~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon630u-common.c: In function ‘compute_ogn’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon630u-common.c:1004:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1004 | fscanf (fp, "P6 %d %d %*d ", &width, &height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon630u-common.c: In function ‘install_ogn’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon630u-common.c:1204:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1204 | fread (buf, 2, 5100, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon630u-common.c:1223:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1223 | fread (buf, 2, 5100, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon630u-common.c:1229:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1229 | fread (buf, 2, 5100, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_lide70.c:65: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_lide70-common.c: In function ‘preread’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_lide70-common.c:2625:14: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2625 | DBG (6, "%ld bytes written\n", bytes_written); | ~~^ ~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d In file included from /usr/include/string.h:519, from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon.c:100: In function ‘strncpy’, inlined from ‘attach’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon.c:828:3, inlined from ‘attach’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon.c:628:1: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 19 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_dr.c:376: In function ‘strncpy’, inlined from ‘init_inquire’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_dr.c:1042:3, inlined from ‘attach_one’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_dr.c:857:11: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 8 bytes from a string of length 39 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘init_inquire’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_dr.c:1043:3, inlined from ‘attach_one’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_dr.c:857:11: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 31 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘init_inquire’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_dr.c:1044:3, inlined from ‘attach_one’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/canon_dr.c:857:11: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4 bytes from a string of length 15 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/dc240.c: In function ‘sane_dc240_cancel’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/dc240.c:1613:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1613 | write (Camera.fd, cancel_byte, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx.c:116: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c: In function ‘gt68xx_read_calibration’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2671:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2671 | fread (&(scanner->afe_params), sizeof (GT68xx_AFE_Parameters), 1, fcal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2672:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2672 | fread (&(scanner->exposure_params), sizeof (GT68xx_Exposure_Parameters), 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2673 | fcal); | ~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2677:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2677 | fread (&(scanner->calibrations[i].dpi), sizeof (SANE_Int), 1, fcal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2680:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2680 | fread (&(scanner->calibrations[i].pixel_x0), sizeof (SANE_Int), 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2681 | fcal); | ~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2683:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2683 | fread (&width, sizeof (SANE_Int), 1, fcal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2684:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2684 | fread (&level, sizeof (SANE_Int), 1, fcal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2686:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2686 | fread (scanner->calibrations[i].red->k_white, sizeof (unsigned int), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2687 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2688:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2688 | fread (scanner->calibrations[i].red->k_black, sizeof (unsigned int), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2689 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2690:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2690 | fread (scanner->calibrations[i].red->white_line, sizeof (double), width, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2691 | fcal); | ~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2692:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2692 | fread (scanner->calibrations[i].red->black_line, sizeof (double), width, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2693 | fcal); | ~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2695:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2695 | fread (&width, sizeof (SANE_Int), 1, fcal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2696:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2696 | fread (&level, sizeof (SANE_Int), 1, fcal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2698:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2698 | fread (scanner->calibrations[i].green->k_white, sizeof (unsigned int), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2699 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2700:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2700 | fread (scanner->calibrations[i].green->k_black, sizeof (unsigned int), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2701 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2702:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2702 | fread (scanner->calibrations[i].green->white_line, sizeof (double), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2703 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2704:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2704 | fread (scanner->calibrations[i].green->black_line, sizeof (double), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2705 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2707:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2707 | fread (&width, sizeof (SANE_Int), 1, fcal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2708:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2708 | fread (&level, sizeof (SANE_Int), 1, fcal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2710:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2710 | fread (scanner->calibrations[i].blue->k_white, sizeof (unsigned int), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2711 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2712:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2712 | fread (scanner->calibrations[i].blue->k_black, sizeof (unsigned int), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2713 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2714:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2714 | fread (scanner->calibrations[i].blue->white_line, sizeof (double), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2715 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2716:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2716 | fread (scanner->calibrations[i].blue->black_line, sizeof (double), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2717 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2719:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2719 | fread (&width, sizeof (SANE_Int), 1, fcal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2722:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2722 | fread (&level, sizeof (SANE_Int), 1, fcal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2725:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2725 | fread (scanner->calibrations[i].gray->k_white, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2726 | sizeof (unsigned int), width, fcal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2727:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2727 | fread (scanner->calibrations[i].gray->k_black, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2728 | sizeof (unsigned int), width, fcal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2729:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2729 | fread (scanner->calibrations[i].gray->white_line, sizeof (double), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2730 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2731:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2731 | fread (scanner->calibrations[i].gray->black_line, sizeof (double), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2732 | width, fcal); | ~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/gt68xx_high.c:2736:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2736 | fread (&(scanner->calibrations[i].dpi), sizeof (SANE_Int), 1, fcal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/fujitsu.c:645: In function ‘strncpy’, inlined from ‘init_inquire’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/fujitsu.c:1189:3, inlined from ‘attach_one’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/fujitsu.c:1011:9: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 8 bytes from a string of length 87 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘init_inquire’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/fujitsu.c:1190:3, inlined from ‘attach_one’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/fujitsu.c:1011:9: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 79 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘init_inquire’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/fujitsu.c:1191:3, inlined from ‘attach_one’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/fujitsu.c:1011:9: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4 bytes from a string of length 63 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodakaio.c: In function ‘kodakaio_net_read’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodakaio.c:723:29: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 723 | DBG(50, "reading: read %lu, wanted %lu\n",read, wanted); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodakaio.c:723:41: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 723 | DBG(50, "reading: read %lu, wanted %lu\n",read, wanted); | ~~^ ~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u In file included from /usr/include/string.h:519, from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodak.c:107: In function ‘strncpy’, inlined from ‘init_inquire’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodak.c:510:3, inlined from ‘attach_one’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodak.c:376:9: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 8 bytes from a string of length 119 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘init_inquire’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodak.c:511:3, inlined from ‘attach_one’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodak.c:376:9: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 111 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘init_inquire’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodak.c:512:3, inlined from ‘attach_one’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodak.c:376:9: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4 bytes from a string of length 95 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘init_inquire’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodak.c:513:3, inlined from ‘attach_one’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/kodak.c:376:9: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 2 bytes from a string of length 91 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/magicolor.c: In function ‘attach_one_config’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/magicolor.c:2153:29: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1020 [-Wformat-truncation=] 2153 | snprintf(name, 1024, "net:%s", dev); | ^~ ...... 2202 | attach_one_net(IP, model); | ~~ In file included from /usr/include/stdio.h:866, from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/magicolor.c:45: /usr/include/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 5 and 1028 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/magicolor.c:2151:29: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1020 [-Wformat-truncation=] 2151 | snprintf(name, 1024, "net:%s?model=0x%x", dev, model); | ^~ ...... 2202 | attach_one_net(IP, model); | ~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/magicolor.c:2151:24: note: directive argument in the range [1, 4294967295] 2151 | snprintf(name, 1024, "net:%s?model=0x%x", dev, model); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/magicolor.c:45: /usr/include/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 15 and 1045 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:63: In function ‘strncpy’, inlined from ‘parse_inquiry’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:1506:3, inlined from ‘attach_scanner’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:2173:3: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 8 bytes from a string of length 87 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘parse_inquiry’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:1507:3, inlined from ‘attach_scanner’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:2173:3: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 79 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘parse_inquiry’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:1508:3, inlined from ‘attach_scanner’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:2173:3: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4 bytes from a string of length 63 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘parse_inquiry’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:1509:3, inlined from ‘attach_scanner’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:2173:3: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 20 bytes from a string of length 59 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘dump_suspect_inquiry’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:1951:3, inlined from ‘attach_scanner’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:2165:27: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 8 bytes from a string of length 87 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘dump_suspect_inquiry’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:1952:3, inlined from ‘attach_scanner’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:2165:27: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 79 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘dump_suspect_inquiry’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:1953:3, inlined from ‘attach_scanner’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/microtek.c:2165:27: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4 bytes from a string of length 63 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/p5.c:67: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/p5_device.c: In function ‘index_write_data’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/p5_device.c:223:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 223 | write (fd, &bval, 1); | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/p5_device.c:229:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 229 | write (fd, data, length); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/pie.c:80: In function ‘strncpy’, inlined from ‘pie_identify_scanner’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/pie.c:867:3: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 8 bytes from a string of length 247 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘pie_identify_scanner’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/pie.c:868:3: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 239 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘pie_identify_scanner’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/pie.c:869:3: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4 bytes from a string of length 223 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generating /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/pixma/pixma_sane_options.h from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/pixma/pixma.c Generating /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/pixma/pixma_sane_options.c from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/pixma/pixma.c /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek.c: In function ‘reader_process’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek.c:521:2: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 521 | write( scanner->w_pipe, &ipc, sizeof(ipc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek.c:537:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 537 | write( scanner->w_pipe, buf, scanner->params.bytes_per_line ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/qcam.c: In function ‘sane_qcam_start’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/qcam.c:2096:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2096 | write (s->to_child, &req, sizeof (req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek_pp.c: In function ‘reader_process’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek_pp.c:432:8: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 432 | write( scanner->w_pipe, buf, scanner->params.bytes_per_line ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek_pp.c:455:6: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 455 | write( scanner->w_pipe, scanner->buf, status ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/qcam.c: In function ‘sane_qcam_cancel’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/qcam.c:2204:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2204 | read (s->from_child, buf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ricoh2.c: In function ‘send_receive’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ricoh2.c:614:41: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 614 | DBG (128, "sending a packet of size %lu\n", io_size); | ~~^ ~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ricoh2.c:625:43: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 625 | DBG (128, "receiving a packet of size %lu\n", io_size); | ~~^ ~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ricoh2.c:637:67: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 637 | DBG (1, "unexpected size of received packet: expected %lu, " | ~~^ | | | long unsigned int | %u 638 | "received %lu\n", transfer->to_receive, io_size); | ~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ricoh2.c:637:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 637 | DBG (1, "unexpected size of received packet: expected %lu, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 638 | "received %lu\n", transfer->to_receive, io_size); | ~~~~~~~ | | | size_t {aka unsigned int} /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ricoh2.c:638:31: note: format string is defined here 638 | "received %lu\n", transfer->to_receive, io_size); | ~~^ | | | long unsigned int | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ricoh2.c: In function ‘sane_ricoh2_start’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ricoh2.c:787:27: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 787 | DBG (8, "bytes_to_read); | ~~^ ~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ricoh2.c: In function ‘sane_ricoh2_read’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/ricoh2.c:848:40: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 848 | "Read length %d, left to read %lu\n", | ~~^ | | | long unsigned int | %u 849 | *length, 850 | device->bytes_to_read); | ~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} In file included from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/snapscan.c:214: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/snapscan-scsi.c: In function ‘download_firmware’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/snapscan-scsi.c:1667:21: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1667 | fread(&size_l, 1, 1, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/snapscan-scsi.c:1668:21: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1668 | fread(&size_h, 1, 1, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/snapscan-scsi.c:1681:21: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1681 | fread(&size_l, 1, 1, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/snapscan-scsi.c:1682:21: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1682 | fread(&size_h, 1, 1, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/snapscan-scsi.c:1693:19: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1693 | (void)fread(pFwBuf,1,bufLength,fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/u12.c: In function ‘reader_process’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/u12.c:365:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 365 | write( scanner->w_pipe, buf, scanner->params.bytes_per_line ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/xerox_mfp-usb.c: In function ‘usb_dev_request’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/xerox_mfp-usb.c:41:56: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 41 | DBG(1, "%s: sanei_usb_write_bulk: wanted %lu bytes, wrote %lu bytes\n", | ~~^ | | | long unsigned int | %u 42 | __func__, (size_t)len, (size_t)cmdlen); | ~~~~~~~~~~~ | | | unsigned int /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/xerox_mfp-usb.c:41:73: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Wformat=] 41 | DBG(1, "%s: sanei_usb_write_bulk: wanted %lu bytes, wrote %lu bytes\n", | ~~^ | | | long unsigned int | %u 42 | __func__, (size_t)len, (size_t)cmdlen); | ~~~~~~~~~~~~~~ | | | unsigned int In file included from /usr/include/string.h:519, from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek_pp.c:74: In function ‘memcpy’, inlined from ‘ptdrvIoctl’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek-pp_ptdrv.c:375:2, inlined from ‘PtDrvIoctl’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek-pp_ptdrv.c:1974:9, inlined from ‘ppDev_open’ at /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek-pp_wrapper.c:180:6: /usr/include/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ forming offset [36, 71] is out of the bounds [0, 36] of object ‘compatAdj’ with type ‘CompatAdjDef’ [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek_pp.c:152: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek-pp_wrapper.c: In function ‘ppDev_open’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/plustek-pp_wrapper.c:110:18: note: ‘compatAdj’ declared here 110 | CompatAdjDef compatAdj; | ^~~~~~~~~ /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/escl/escl_scan.c: In function ‘escl_scan’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/escl/escl_scan.c:99:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 99 | DBG(10, "eSCL scan : [%s]\treal read (%ld)\n", sane_strstatus(status), scanner->real_read); | ~~^ ~~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/escl/escl_png.c: In function ‘get_PNG_data’: /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/escl/escl_png.c:63:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 63 | fread (magic, 1, sizeof (magic), scanner->tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31/backend/escl/escl_pdf.c:39: /usr/include/poppler/glib/poppler.h:22:10: fatal error: glib-object.h: No such file or directory 22 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:4835: escl/libescl_la-escl_pdf.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:3326: all] Error 2 make: *** [Makefile:591: all-recursive] Error 1 * ERROR: media-gfx/sane-backends-1.0.31::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-gfx/sane-backends-1.0.31::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-gfx/sane-backends-1.0.31::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-gfx/sane-backends-1.0.31/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sane-backends-1.0.31/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31-abi_x86_32.x86' * S: '/var/tmp/portage/media-gfx/sane-backends-1.0.31/work/backends-1.0.31'