=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ccid-1.6.1.tar.xz
=> Checksum SHA512 OK for ccid-1.6.1.tar.xz
===> Installing dependencies for ccid-1.6.1
==========================================================================
The following variables will affect the build process of this package,
ccid-1.6.1.  Their current value is shown below:

        * VARBASE = /var

You may want to abort the process now with CTRL-C and change the value
of variables in the first group 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.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency m4>=1.4: found m4-1.4.19nb1
=> Tool dependency perl>=5.0: found perl-5.38.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> Tool dependency xz>=4.999.9betanb1: found xz-5.6.2
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.27
=> Full dependency pcsc-lite>=1.8.3: found pcsc-lite-2.2.3nb2
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
===> Overriding tools for ccid-1.6.1
===> Extracting for ccid-1.6.1
===> Patching for ccid-1.6.1
===> Creating toolchain wrappers for ccid-1.6.1
===> Configuring for ccid-1.6.1
cd /Users/pbulk/build/security/ccid/work/ccid-1.6.1 && autoreconf -fi
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
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'
configure.ac:50: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:139: error: possibly undefined macro: AC_DEFINE
autoreconf: error: /opt/pkg/bin/autoconf failed with exit status: 1
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/security/ccid
*** Error code 1

Stop.
bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/security/ccid