=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for hidapi-0.9.0.tar.gz => Checksum RMD160 OK for hidapi-0.9.0.tar.gz => Checksum SHA512 OK for hidapi-0.9.0.tar.gz ===> Installing dependencies for libhidapi-0.9.0 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2 => Tool dependency automake>=1.9: found automake-1.16.3 => Tool dependency autoconf>=2.58: found autoconf-2.70 => 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 gettext-lib>=0.18: found gettext-lib-0.21 => Full dependency libusb1>=1.0.9: found libusb1-1.0.24 ===> 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 libhidapi-0.9.0 ===> Extracting for libhidapi-0.9.0 ===> Patching for libhidapi-0.9.0 => Applying pkgsrc patches for libhidapi-0.9.0 => Verifying /opt/pkgsrc/comms/libhidapi/patches/patch-Makefile.am => Applying pkgsrc patch /opt/pkgsrc/comms/libhidapi/patches/patch-Makefile.am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Makefile.am,v 1.1 2019/07/08 12:52:42 nia Exp $ | |Support NetBSD. | |--- Makefile.am.orig 2019-06-19 10:34:38.000000000 +0000 |+++ Makefile.am -------------------------- Patching file Makefile.am using Plan A... Hunk #1 succeeded at 31. done => Verifying /opt/pkgsrc/comms/libhidapi/patches/patch-configure.ac => Applying pkgsrc patch /opt/pkgsrc/comms/libhidapi/patches/patch-configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure.ac,v 1.1 2019/07/08 12:52:42 nia Exp $ | |Always use pkg-config to find libusb1. | |Support NetBSD. | |--- configure.ac.orig 2019-06-19 10:34:38.000000000 +0000 |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 92. Hunk #2 succeeded at 105. Hunk #3 succeeded at 231. done => Verifying /opt/pkgsrc/comms/libhidapi/patches/patch-libusb_Makefile.am => Applying pkgsrc patch /opt/pkgsrc/comms/libhidapi/patches/patch-libusb_Makefile.am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libusb_Makefile.am,v 1.1 2019/07/08 12:52:42 nia Exp $ | |Support NetBSD. | |--- libusb/Makefile.am.orig 2019-06-19 10:34:38.000000000 +0000 |+++ libusb/Makefile.am -------------------------- Patching file libusb/Makefile.am using Plan A... Hunk #1 succeeded at 21. done ===> Creating toolchain wrappers for libhidapi-0.9.0 ===> Configuring for libhidapi-0.9.0 cd /opt/work/comms/libhidapi/work/hidapi-hidapi-0.9.0 && /opt/pkg/bin/mksh ./bootstrap autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 configure.ac:23: error: AC_CONFIG_MACRO_DIR can only be used once ./lib/autoconf/general.m4:1969: AC_CONFIG_MACRO_DIR is expanded from... configure.ac:23: the top level autom4te: error: /opt/pkg/bin/gm4 failed with exit status: 1 aclocal: error: /opt/pkg/bin/autom4te failed with exit status: 1 autoreconf: error: aclocal failed with exit status: 1 *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/comms/libhidapi *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/comms/libhidapi