=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
=> Checksum SHA1 OK for sane-backends-1.0.22.tar.gz
=> Checksum RMD160 OK for sane-backends-1.0.22.tar.gz
===> Installing dependencies for sane-backends-1.0.22nb1
==========================================================================
The supported build options for sane-backends are:

	inet6 snmp

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.sane-backends (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
sane-backends-1.0.22nb1.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb5
=> Build dependency {gettext-tools>=0.14.5,gettext>=0.10.36<0.14.5}: found gettext-tools-0.18.1.1nb2
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency libusb>=0.1.8nb2: found libusb-0.1.12nb2
=> Full dependency tiff>=3.9.2nb1: found tiff-3.9.5
===> Overriding tools for sane-backends-1.0.22nb1
===> Extracting for sane-backends-1.0.22nb1
===> Patching for sane-backends-1.0.22nb1
=> Applying pkgsrc patches for sane-backends-1.0.22nb1
===> Creating toolchain wrappers for sane-backends-1.0.22nb1
===> Configuring for sane-backends-1.0.22nb1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /tmp/pkgsrc/graphics/sane-backends/work/.tools/bin/mkdir -p
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking whether gcc needs -traditional... no
checking for sane-config... no
checking for msgfmt... /tmp/pkgsrc/graphics/sane-backends/work/.tools/bin/msgfmt
checking for xgettext... /usr/pkg/bin/xgettext
checking for msgmerge... /tmp/pkgsrc/graphics/sane-backends/work/.tools/bin/msgmerge
checking for latex... (cached) no
checking for dvips... no
checking for makeindex... no
checking whether runtime link path should be used... yes
checking linker parameter to set runtime link path... -Wl,-rpath,
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 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... 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 ieee1284.h usability... no
checking ieee1284.h presence... no
checking for ieee1284.h... no
checking whether to enable pthread support... no
checking whether to use pthread instead of fork... no
configure: WARNING: Group uucp does not exist on this system.
configure: WARNING: Locking feature will be disabled.
checking whether to enable device locking... no
checking for LIBV4L... no
checking for sane_init in -lsane... no
Not including SNMP support
configure: WARNING: *** 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/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.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/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
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 resmgr.h usability... no
checking resmgr.h presence... no
checking for resmgr.h... no
checking return type of signal handlers... void
checking for size_t... yes
checking for pid_t... yes
checking for ssize_t... yes
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking for long long support... yes
checking for socklen_t in <sys/socket.h>... yes
checking for union semun in <sys/sem.h>... 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 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 inet_ntop... yes
checking for inet_pton... yes
checking for working alloca.h... yes
checking for alloca... 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 getenv... yes
checking for isfdtype... yes
checking for sigprocmask... yes
checking for snprintf... yes
checking for strcasestr... yes
checking for strdup... yes
checking for strndup... yes
checking for strsep... yes
checking for usleep... yes
checking for vsyslog... yes
checking for getopt_long... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking for usb_interrupt_read in -lusb... 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 scdds.h usability... no
checking scdds.h presence... no
checking for scdds.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 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 <scsi/sg.h>... yes
scsi buffersize: 131072
checking whether to enable IPv6... no, manually disabled
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 gcc... /usr/x86_64-unknown-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-unknown-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 2097152
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-unknown-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-unknown-linux-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-unknown-linux-ar... no
checking for ar... ar
checking for x86_64-unknown-linux-strip... no
checking for strip... strip
checking for x86_64-unknown-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... /bin/rm: cannot remove `conftest*': No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-unknown-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove `conftest*': No such file or directory
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
*** canon_pp backend requires libieee1284 library - disabling
*** gphoto2 backend requires gphoto2 and JPEG libraries - disabling
*** hpsj5s backend requires libieee1284 library - disabling
*** mustek_pp backend requires libieee1284 and paraport-directio libraries - disabling
*** mustek_usb2 backend requires pthread library - disabling
*** pint backend requires sys/scanio.h - disabling
*** v4l backend requires v4l libraries - disabling
*** pnm backend not manually selected - disabling
enabling translations
disabling latex (missing latex, dvips or makeindex)
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
config.status: creating testsuite/Makefile
config.status: creating tools/Makefile
config.status: creating doc/doxygen-sanei.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 include/_stdint.h commands
config.status: creating include/_stdint.h : _SANE_BACKENDS_INCLUDE__STDINT_H
config.status: executing libtool commands
/bin/rm: cannot remove `libtoolT': No such file or directory
-> Variables used for compilation/linking:
CPPFLAGS="-I/usr/pkg/include -I/usr/include -DPATH_SANE_CONFIG_DIR=$(configdir) -DPATH_SANE_DATA_DIR=$(datadir) -DPATH_SANE_LOCK_DIR=$(locksanedir) -DV_MAJOR=1 -DV_MINOR=0"
CFLAGS="-O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -W -Wall"
LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib"
LIBS=""
-> Installation directories:
Configuration: /usr/pkg/etc
Libraries:     /usr/pkg/lib
Binaries:      /usr/pkg/bin and /usr/pkg/sbin
Manpages:      /usr/pkg/share/man
Documentation: /usr/pkg/share/doc/sane-1.0.22
Lockfiles:     Feature is disabled!
-> Network parameters:
Build saned:   yes
IPv6 support:  no
Avahi support: no
SNMP support:  no
-> The following backends will be built:
abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr cardscan coolscan coolscan2 coolscan3 dc25 dc210 dc240 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb nec net niash pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax_pp umax1220u xerox_mfp p5 

-> 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.                                                      *
****************************************************************
=> Modifying libtool scripts to use pkgsrc libtool