=> Bootstrap dependency digest>=20010302: found digest-20190127 => 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 `/opt/pkg/bin/bmake 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 nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.7.3 => 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.9.0 => Full dependency libusb1>=1.0.9: found libusb1-1.0.23nb1 => Full dependency libusb-compat>=0.1.6rc2: found libusb-compat-0.1.7 => Full dependency tcl>=8.6.1nb1: found tcl-8.6.10nb3 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> 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 /opt/pkgsrc/devel/openocd/patches/patch-src_flash_nor_fm4.c => Applying pkgsrc patch /opt/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... /opt/work/devel/openocd/work/.tools/bin/makeinfo checking for a BSD-compatible install... /usr/bin/install -c -o sjmulder -g staff checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... /opt/pkg/bin/nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for aarch64-apple-darwin20-gcc... clang 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 clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether clang understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of clang... gcc3 checking for clang option to accept ISO C99... none needed checking for aarch64-apple-darwin20-ranlib... no checking for ranlib... ranlib checking pkg-config is at least version 0.23... yes checking build system type... aarch64-apple-darwin20 checking host system type... aarch64-apple-darwin20 checking how to print strings... print -r checking for a sed that does not truncate output... /opt/pkg/bin/nbsed 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 clang... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no 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) 1048576 checking how to convert aarch64-apple-darwin20 file names to aarch64-apple-darwin20 format... func_convert_file_noop checking how to convert aarch64-apple-darwin20 file names to toolchain format... func_convert_file_noop checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r checking for aarch64-apple-darwin20-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-apple-darwin20-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for aarch64-apple-darwin20-ar... no checking for ar... ar checking for archiver @FILE support... no checking for aarch64-apple-darwin20-strip... no checking for strip... strip checking for aarch64-apple-darwin20-ranlib... ranlib checking command to parse /usr/bin/nm -B output from clang 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 aarch64-apple-darwin20-mt... no checking for mt... no checking if : is a manifest tool... no checking for aarch64-apple-darwin20-dsymutil... no checking for dsymutil... dsymutil checking for aarch64-apple-darwin20-nmedit... no checking for nmedit... nmedit checking for aarch64-apple-darwin20-lipo... no checking for lipo... lipo checking for aarch64-apple-darwin20-otool... no checking for otool... otool checking for aarch64-apple-darwin20-otool64... no checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... clang -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 clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fno-common -DPIC checking if clang PIC flag -fno-common -DPIC works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... rm: conftest*: No such file or directory yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin20 dyld 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... no checking elf.h presence... no checking for elf.h... no 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... no checking malloc.h presence... no checking for malloc.h... no 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 /opt/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 (/opt/work/devel/openocd/work/openocd-0.10.0/jimtcl) configure: running /opt/pkg/bin/mksh ./configure.gnu --disable-option-checking '--prefix=/opt/pkg' '--build=aarch64-apple-darwin20' '--host=aarch64-apple-darwin20' '--infodir=/opt/pkg/info' '--mandir=/opt/pkg/man' '--enable-option-checking=yes' 'build_alias=aarch64-apple-darwin20' 'host_alias=aarch64-apple-darwin20' 'CC=clang' 'CFLAGS=-O2 -I/opt/pkg/include' 'LDFLAGS=-L/opt/pkg/lib -L/usr/lib' 'LIBS=' 'CPPFLAGS=-I/opt/pkg/include' 'PKG_CONFIG=/opt/work/devel/openocd/work/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/opt/work/devel/openocd/work/.buildlink/lib/pkgconfig:/opt/work/devel/openocd/work/.buildlink/share/pkgconfig' 'HIDAPI_CFLAGS=-I/opt/pkg/include/hidapi' 'HIDAPI_LIBS=-L/opt/pkg/lib -L/opt/pkg/lib -lhidapi' --cache-file=/dev/null --srcdir=. ./configure.gnu[1]: -e: inaccessible or not found configure: error: ./configure.gnu failed for jimtcl *** Error code 127 Stop. bmake[1]: stopped in /opt/pkgsrc/devel/openocd *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/devel/openocd