=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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 openocd-0.10.0.tar.bz2 => Checksum RMD160 OK for openocd-0.10.0.tar.bz2 => Checksum SHA512 OK for openocd-0.10.0.tar.bz2 ===> Installing dependencies for openocd-0.10.0nb1 ========================================================================== The supported build options for openocd are: libhidapi libusb libusb1 The currently selected options are: libhidapi libusb libusb1 You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.openocd (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, openocd-0.10.0nb1. Their current value is shown below: * LIBUSB_TYPE = compat You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency libhidapi>=0.7.0: found libhidapi-0.7.0 => Full dependency libusb1>=1.0.9: found libusb1-1.0.22 => Full dependency libusb-compat>=0.1.6rc2: found libusb-compat-0.1.7 => Full dependency tcl>=8.6.1nb1: found tcl-8.6.9nb1 ===> Overriding tools for openocd-0.10.0nb1 ===> Extracting for openocd-0.10.0nb1 ===> Patching for openocd-0.10.0nb1 => Applying pkgsrc patches for openocd-0.10.0nb1 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/devel/openocd/patches/patch-src_flash_nor_fm4.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/devel/openocd/patches/patch-src_flash_nor_fm4.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_flash_nor_fm4.c,v 1.1 2018/03/13 03:01:15 dholland Exp $ | |Fix ctype.h misuse. | |--- src/flash/nor/fm4.c~ 2016-12-25 14:12:54.000000000 +0000 |+++ src/flash/nor/fm4.c -------------------------- Patching file src/flash/nor/fm4.c using Plan A... Hunk #1 succeeded at 609. done ===> Creating toolchain wrappers for openocd-0.10.0nb1 ===> Configuring for openocd-0.10.0nb1 => 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 for makeinfo... /tmp/devel/openocd/work/.tools/bin/makeinfo checking for a BSD-compatible install... /usr/bin/install -c -o makoto -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 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... none needed checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking pkg-config is at least version 0.23... yes checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking how to print strings... printf 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... /tmp/devel/openocd/work/.cwrapper/bin/ld checking if the linker (/tmp/devel/openocd/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 /tmp/devel/openocd/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... 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 (/tmp/devel/openocd/work/.cwrapper/bin/ld) supports shared libraries... yes 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... no checking whether to build static libraries... yes checking for an ANSI C-conforming const... yes checking for unsigned long long int... yes checking for long long int... yes checking for library containing ioperm... no checking for library containing dlopen... none required checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/stat.h... (cached) yes checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking for sys/sysctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for arpa/inet.h... yes checking for ifaddrs.h... yes checking for netinet/in.h... yes checking for netinet/tcp.h... yes checking for net/if.h... yes checking whether to enable assertions... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no checking for strndup... yes checking for strnlen... yes checking for gettimeofday... yes checking for usleep... yes checking for vasprintf... yes checking for realpath... yes checking whether to build a release... yes checking whether to build Doxygen as HTML... yes checking whether to build Doxygen as PDF... no checking whether to enable verbose JTAG I/O messages... no checking whether to enable verbose USB I/O messages... no checking whether to enable verbose USB communication messages... no checking whether to enable malloc free space logging... no checking whether to enable ZY1000 minidriver... no checking whether to enable dummy minidriver... no checking whether standard drivers can be built... yes checking for LIBUSB1... yes configure: libusb-1.0 header bug workaround: LIBUSB1_CFLAGS changed to "-isystem /usr/pkg/include/libusb-1.0" checking for LIBUSB0... yes checking for HIDAPI... yes checking for LIBFTDI... no checking for LIBFTDI... no checking for LIBJAYLINK... no checking for environ in unistd.h and stdlib.h... no checking for extern environ... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory === configuring in jimtcl (/tmp/devel/openocd/work/openocd-0.10.0/jimtcl) configure: running /bin/sh ./configure.gnu --disable-option-checking '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' '--enable-option-checking=yes' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include' 'LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib' 'LIBS=' 'CPPFLAGS=-I/usr/pkg/include -I/usr/include' 'PKG_CONFIG=/tmp/devel/openocd/work/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/tmp/devel/openocd/work/.buildlink/lib/pkgconfig:/tmp/devel/openocd/work/.buildlink/share/pkgconfig' 'HIDAPI_CFLAGS=-I/usr/pkg/include/hidapi' 'HIDAPI_LIBS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lhidapi' --cache-file=/dev/null --srcdir=. Host System...x86_64--netbsd Build System...x86_64--netbsd C compiler... gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include C++ compiler... c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include Build C compiler...cc Checking for stdlib.h...ok Checking for long long...ok Checking for sys/time.h...ok Checking for sys/socket.h...ok Checking for netinet/in.h...ok Checking for arpa/inet.h...ok Checking for netdb.h...ok Checking for sys/un.h...ok Checking for dlfcn.h...ok Checking for unistd.h...ok Checking for dirent.h...ok Checking for crt_externs.h...not found Checking libs for inet_ntop...none needed Checking libs for socket...none needed Checking for ualarm...ok Checking for lstat...ok Checking for fork...ok Checking for vfork...ok Checking for system...ok Checking for select...ok Checking for execvpe...ok Checking for backtrace...not found Checking for geteuid...ok Checking for mkstemp...ok Checking for realpath...ok Checking for strptime...ok Checking for isatty...ok Checking for regcomp...ok Checking for waitpid...ok Checking for sigaction...ok Checking for sys_signame...ok Checking for sys_siglist...ok Checking for isascii...ok Checking for syslog...ok Checking for opendir...ok Checking for readlink...ok Checking for sleep...ok Checking for usleep...ok Checking for pipe...ok Checking for getaddrinfo...ok Checking for utimes...ok Checking for shutdown...ok Checking for socketpair...ok Checking for isinf...ok Checking for isnan...ok Checking for link...ok Checking for symlink...ok Checking for fsync...ok Checking for dup...ok Checking for sysinfo...not found Checking for struct flock...ok Checking for sys/types.h...(cached) ok Checking if -D_FILE_OFFSET_BITS=64 is needed...no Checking for fseeko...ok Checking for ftello...ok Warning: Failed to find x86_64--netbsd-ar, falling back to ar which may be incorrect Warning: Failed to find x86_64--netbsd-ranlib, falling back to ranlib which may be incorrect Warning: Failed to find x86_64--netbsd-strip, falling back to strip which may be incorrect Checking for _NSGetEnviron...not found Checking environ declared in unistd.h...no Checking for sys/types.h...(cached) ok Checking for sys/stat.h...ok Checking for mkdir with one arg...no Checking for termios.h...ok Enabling line editing Enabling references Building static library Extension eventloop...enabled Extension array...enabled Extension clock...enabled Extension regexp...enabled Extension stdlib...enabled Extension tclcompat...enabled Using built-in regexp Jim static extensions: array clock eventloop regexp stdlib tclcompat Created jim-config.h Created jimautoconf.h Created Makefile from Makefile.in Created build-jim-ext from build-jim-ext.in === configuring in src/jtag/drivers/libjaylink (/tmp/devel/openocd/work/openocd-0.10.0/src/jtag/drivers/libjaylink) configure: running /bin/sh ./configure.gnu --disable-option-checking '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' '--enable-option-checking=yes' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include' 'LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib' 'LIBS=' 'CPPFLAGS=-I/usr/pkg/include -I/usr/include' 'PKG_CONFIG=/tmp/devel/openocd/work/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/tmp/devel/openocd/work/.buildlink/lib/pkgconfig:/tmp/devel/openocd/work/.buildlink/share/pkgconfig' 'HIDAPI_CFLAGS=-I/usr/pkg/include/hidapi' 'HIDAPI_LIBS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lhidapi' --cache-file=/dev/null --srcdir=. checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking for a BSD-compatible install... /usr/bin/install -c -o makoto -g users checking whether build environment is sane... yes checking for a thread-safe mkdir -p... build-aux/install-sh -c -d checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for x86_64--netbsd-ar... no checking for x86_64--netbsd-lib... no checking for x86_64--netbsd-link... no checking for ar... ar checking the archiver (ar) interface... ar checking how to print strings... printf 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... /tmp/devel/openocd/work/.cwrapper/bin/ld checking if the linker (/tmp/devel/openocd/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 /tmp/devel/openocd/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... 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 (/tmp/devel/openocd/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 pkg-config is at least version 0.9.0... yes checking for libusb... yes checking whether byte ordering is bigendian... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libjaylink/Makefile config.status: creating libjaylink/version.h config.status: creating libjaylink.pc config.status: creating Doxyfile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory libjaylink configuration summary: - Package version ................ 0.1.0 - Library version ................ 0:0:0 - Installation prefix ............ /usr/pkg - Building on .................... x86_64--netbsd - Building for ................... x86_64--netbsd OpenOCD configuration summary -------------------------------------------------- MPSSE mode of FTDI based devices yes (auto) ST-Link JTAG Programmer yes (auto) TI ICDI JTAG Programmer yes (auto) Keil ULINK JTAG Programmer yes (auto) Altera USB-Blaster II Compatible yes (auto) Versaloon-Link JTAG Programmer yes (auto) OSBDM (JTAG only) Programmer yes (auto) eStick/opendous JTAG Programmer yes (auto) Andes JTAG Programmer yes (auto) USBProg JTAG Programmer yes (auto) Raisonance RLink JTAG Programmer yes (auto) Olimex ARM-JTAG-EW Programmer yes (auto) CMSIS-DAP Compliant Debugger yes (auto) Altera USB-Blaster Compatible no ASIX Presto Adapter no OpenJTAG Adapter no SEGGER J-Link Programmer yes (auto) => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp