=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for avrdude-6.3.tar.gz
=> Checksum RMD160 OK for avrdude-6.3.tar.gz
=> Checksum SHA512 OK for avrdude-6.3.tar.gz
===> Installing dependencies for avrdude-6.3
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6
=> Tool dependency automake>=1.9: found automake-1.15nb4
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb7
=> Tool dependency gtexinfo>=4.9: found gtexinfo-6.3
=> Tool dependency texi2html>=1.76: found texi2html-5.0nb6
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency dvipsk-[0-9]*: found dvipsk-5.996
=> Build dependency tex-latex-fonts-[0-9]*: found tex-latex-fonts-2013
=> Build dependency tex-pdftex-[0-9]*: found tex-pdftex-2016
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency libftdi>=0.18: found libftdi-0.20
=> Full dependency libusb>=0.1.8nb2: found libusb-0.1.12nb4
=> Full dependency libhid>=0.2: found libhid-0.2.16nb1
=> Full dependency libftdi1>=1.0: found libftdi1-1.1nb5
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.20
=> Full dependency libelf>=0.8.5: found libelf-0.8.13nb1
=> Full dependency readline>=6.0: found readline-7.0
===> Overriding tools for avrdude-6.3
===> Extracting for avrdude-6.3
===> Patching for avrdude-6.3
=> Applying pkgsrc patches for avrdude-6.3
=> Verifying /data/pkgsrc-current/cross/avrdude/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc-current/cross/avrdude/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.6 2010/02/08 01:47:14 jakllsch Exp $
|
|- Fix the SUBDIRS stuff so it actually works right with multiple automake
|  versions.
|
|- Use supported automake methods to install the example config file to
|  egconfdir instead of hacking the configure script and Makefile.in directly.
|
|
|--- Makefile.am.orig	2010-01-19 10:39:11.000000000 +0000
|+++ Makefile.am
--------------------------
Patching file Makefile.am using Plan A...
Hunk #1 succeeded at 187 (offset 34 lines).
Hunk #2 succeeded at 197 (offset 34 lines).
done
=> Verifying /data/pkgsrc-current/cross/avrdude/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc-current/cross/avrdude/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.5 2013/12/06 07:27:15 mef Exp $
|
|Apparently FreeBSD adaptation, not recently confirmed (mef)
|
|--- freebsd_ppi.h.orig	2009-03-06 20:09:11.000000000 +0000
|+++ freebsd_ppi.h
--------------------------
Patching file freebsd_ppi.h using Plan A...
Hunk #1 succeeded at 21 (offset -1 lines).
done
=> Verifying /data/pkgsrc-current/cross/avrdude/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc-current/cross/avrdude/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.6 2013/12/06 07:27:15 mef Exp $
|
|the builtin [ on at least solaris doesn't understand -e
|
|--- doc/Makefile.am.orig	2013-09-18 14:59:05.000000000 +0900
|+++ doc/Makefile.am	2013-10-06 16:20:30.000000000 +0900
--------------------------
Patching file doc/Makefile.am using Plan A...
Hunk #1 succeeded at 41.
done
=> Verifying /data/pkgsrc-current/cross/avrdude/patches/patch-ad
=> Applying pkgsrc patch /data/pkgsrc-current/cross/avrdude/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.6 2013/12/06 07:27:15 mef Exp $
|
|regen
|
|--- doc/Makefile.in.orig	2013-09-18 15:19:52.000000000 +0900
|+++ doc/Makefile.in	2013-10-06 16:22:00.000000000 +0900
--------------------------
Patching file doc/Makefile.in using Plan A...
Hunk #1 succeeded at 830 (offset 41 lines).
done
=> Verifying /data/pkgsrc-current/cross/avrdude/patches/patch-ae
=> Applying pkgsrc patch /data/pkgsrc-current/cross/avrdude/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.9 2017/01/29 02:24:54 mef Exp $
|
|- ERROR: [check-portability.awk] => Found test ... == ...:
|
|- automake-1.13 compat.
|
|- add missing AM_PROG_CC_C_O that automake wants for the yacc
|  sources.
|
|- allow a different default serial/parallel port to be specified
|  which is useful for pkgsrc (since we have defaults for various
|  platforms available and they're not the same for different
|  MACHINE_ARCH's in NetBSD).
|
|--- configure.ac.orig	2016-02-17 06:29:19.000000000 +0900
|+++ configure.ac	2017-01-29 11:15:27.000000000 +0900
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 49.
Hunk #2 succeeded at 189.
Hunk #3 succeeded at 319.
done
=> Verifying /data/pkgsrc-current/cross/avrdude/patches/patch-af
=> Applying pkgsrc patch /data/pkgsrc-current/cross/avrdude/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.6 2012/02/07 00:21:49 mef Exp $
|
|Add DragonFly
|
|--- ppi.c.orig	2010-01-19 10:39:11.000000000 +0000
|+++ ppi.c
--------------------------
Patching file ppi.c using Plan A...
Hunk #1 succeeded at 32 (offset -1 lines).
done
=> Verifying /data/pkgsrc-current/cross/avrdude/patches/patch-ag
=> Applying pkgsrc patch /data/pkgsrc-current/cross/avrdude/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.7 2014/10/07 15:10:29 mef Exp $
|
|Work around AVRISP mkII initial sync stalls on NetBSD.
|
|--- usb_libusb.c.orig	2014-03-13 08:03:19.000000000 +0900
|+++ usb_libusb.c	2014-10-08 00:01:40.000000000 +0900
--------------------------
Patching file usb_libusb.c using Plan A...
Hunk #1 succeeded at 313 (offset -11 lines).
done
===> Creating toolchain wrappers for avrdude-6.3
===> Configuring for avrdude-6.3
cd /data/scratch/cross/avrdude/work/avrdude-6.3 && autoreconf -vif
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/pkg/bin/autoconf --force
autoreconf: running: /usr/pkg/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:37: installing './compile'
configure.ac:33: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
=> 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
=> Checking for portability problems in extracted files
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for x86_64--netbsd-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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /data/scratch/cross/avrdude/work/.cwrapper/bin/ld
checking if the linker (/data/scratch/cross/avrdude/work/.cwrapper/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) 262144
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /data/scratch/cross/avrdude/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
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 for dlfcn.h... 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... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/data/scratch/cross/avrdude/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_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... yes
checking for x86_64--netbsd-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for bison... /usr/bin/yacc
checking for flex... /usr/bin/lex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for -ar... ar
checking for tputs in -ltermcap... yes
checking for tputs in -lncurses... yes
checking for readline in -lreadline... yes
checking for elf_getshdrstrndx in -lelf... yes
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking libelf/libelf.h usability... yes
checking libelf/libelf.h presence... yes
checking for libelf/libelf.h... yes
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for usb_get_string_simple in -lusb... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking lusb0_usb.h usability... no
checking lusb0_usb.h presence... no
checking for lusb0_usb.h... no
checking for libusb_init in -lusb-1.0... yes
checking libusb-1.0/libusb.h usability... yes
checking libusb-1.0/libusb.h presence... yes
checking for libusb-1.0/libusb.h... yes
checking libusb.h usability... no
checking libusb.h presence... no
checking for libusb.h... no
checking for libusb_init in -lusb... no
checking for libusb.h... (cached) no
checking for ftdi_new in -lftdi1... yes
checking for ftdi_usb_get_strings in -lftdi... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for ddk/hidsdi.h... no
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for puts in -lws2_32... no
checking for memset... yes
checking for select... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for strtoul... yes
checking for gettimeofday... yes
checking for usleep... yes
checking for a Win32 HID libray... no
checking for uint_t... no
checking for ulong_t... no
checking for parallel device... configure: parallel port access disabled for this system
checking for serial device... /dev/null
checking if gcc accepts -Wno-pointer-sign ... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating doc/Makefile
config.status: creating windows/Makefile
config.status: creating avrdude.spec
config.status: creating Makefile
config.status: creating avrdude.conf.tmp
config.status: creating ac_cfg.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory


Configuration summary:
----------------------
DO HAVE    libelf
DO HAVE    libusb
DO HAVE    libusb_1_0
DO HAVE    libftdi1
DO HAVE    libftdi (but prefer to use libftdi1)
DON'T HAVE libhid
DO HAVE    pthread
ENABLED    doc
DISABLED   parport
DISABLED   linuxgpio
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp