=> Bootstrap dependency digest>=20211023: found digest-20211023 => Checksum BLAKE2s OK for bitcoin-22.0.tar.gz => Checksum SHA512 OK for bitcoin-22.0.tar.gz ===> Installing dependencies for bitcoin-22.0 ========================================================================== The supported build options for bitcoin are: qt5 upnp You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.bitcoin (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, bitcoin-22.0. Their current value is shown below: * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private 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 `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb3 => Tool dependency automake>=1.9: found automake-1.16.5 => Tool dependency autoconf>=2.58: found autoconf-2.71nb1 => Tool dependency gmake>=3.81: found gmake-4.3nb2 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency boost-headers-1.77.*: found boost-headers-1.77.0 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency db4>=4.8.30: found db4-4.8.30nb1 => Full dependency boost-libs-1.77.*: found boost-libs-1.77.0 => Full dependency libevent>=2.1.11nb1: found libevent-2.1.12 => Full dependency zeromq>=4.0.5: found zeromq-4.3.4 => Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for bitcoin-22.0 ===> Extracting for bitcoin-22.0 ===> Patching for bitcoin-22.0 => Applying pkgsrc patches for bitcoin-22.0 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/finance/bitcoin/patches/patch-src_netbase.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/finance/bitcoin/patches/patch-src_netbase.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_netbase.cpp,v 1.5 2021/11/22 21:32:05 khorben Exp $ | |It is unclear why this patch exists. NetBSD 6 and 7 have AI_ADDRCONFIG, |although NetBSD 5 does not. Arguably upstream should have an autoconf |test instead. This is not known to be reported upstream. | |--- src/netbase.cpp.orig 2021-09-08 18:16:07.000000000 +0000 |+++ src/netbase.cpp -------------------------- Patching file src/netbase.cpp using Plan A... Hunk #1 succeeded at 56. done ===> Creating toolchain wrappers for bitcoin-22.0 ===> Configuring for bitcoin-22.0 cd /tmp/finance/bitcoin/work/bitcoin-22.0 && autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I build-aux/m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory src/univalue to autoreconf autoreconf: Entering directory 'src/univalue' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I build-aux/m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'. libtoolize: copying file 'build-aux/m4/libtool.m4' libtoolize: copying file 'build-aux/m4/ltoptions.m4' libtoolize: copying file 'build-aux/m4/ltsugar.m4' libtoolize: copying file 'build-aux/m4/ltversion.m4' libtoolize: copying file 'build-aux/m4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I build-aux/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:45: installing 'build-aux/compile' configure.ac:45: installing 'build-aux/config.guess' configure.ac:45: installing 'build-aux/config.sub' configure.ac:28: installing 'build-aux/install-sh' configure.ac:28: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' autoreconf: Leaving directory 'src/univalue' autoreconf: configure.ac: adding subdirectory src/secp256k1 to autoreconf autoreconf: Entering directory 'src/secp256k1' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I build-aux/m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'. libtoolize: copying file 'build-aux/m4/libtool.m4' libtoolize: copying file 'build-aux/m4/ltoptions.m4' libtoolize: copying file 'build-aux/m4/ltsugar.m4' libtoolize: copying file 'build-aux/m4/ltversion.m4' libtoolize: copying file 'build-aux/m4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I build-aux/m4 autoreconf: running: /usr/pkg/bin/autoconf --force configure.ac:36: warning: The macro `AC_PROG_CC_C89' is obsolete. configure.ac:36: You should run autoupdate. ./lib/autoconf/c.m4:1652: AC_PROG_CC_C89 is expanded from... configure.ac:36: the top level autoreconf: running: /usr/pkg/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:15: installing 'build-aux/compile' configure.ac:5: installing 'build-aux/config.guess' configure.ac:5: installing 'build-aux/config.sub' configure.ac:9: installing 'build-aux/install-sh' configure.ac:9: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' autoreconf: Leaving directory 'src/secp256k1' autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'. libtoolize: copying file 'build-aux/m4/libtool.m4' libtoolize: copying file 'build-aux/m4/ltoptions.m4' libtoolize: copying file 'build-aux/m4/ltsugar.m4' libtoolize: copying file 'build-aux/m4/ltversion.m4' libtoolize: copying file 'build-aux/m4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I build-aux/m4 autoreconf: running: /usr/pkg/bin/autoconf --force configure.ac:812: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... build-aux/m4/ax_pthread.m4:89: AX_PTHREAD is expanded from... configure.ac:812: the top level autoreconf: running: /usr/pkg/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:94: installing 'build-aux/compile' configure.ac:38: installing 'build-aux/config.guess' configure.ac:38: installing 'build-aux/config.sub' configure.ac:48: installing 'build-aux/install-sh' configure.ac:48: installing 'build-aux/missing' src/Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' 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 => Adding run-time search paths to pkg-config files. => Checking for portability problems in extracted files ERROR: [check-portability.awk] => Found test ... == ...: ERROR: [check-portability.awk] configure:38625: if test x$enable_fuzz == xno; then Explanation: =========================================================================== The "test" command, as well as the "[" command, are not required to know the "==" operator. Only a few implementations like bash and some versions of ksh support it. When you run "test foo == foo" on a platform that does not support the "==" operator, the result will be "false" instead of "true". This can lead to unexpected behavior. There are two ways to fix this error message. If the file that contains the "test ==" is needed for building the package, you should create a patch for it, replacing the "==" operator with "=". If the file is not needed, add its name to the CHECK_PORTABILITY_SKIP variable in the package Makefile. =========================================================================== *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/finance/bitcoin *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/finance/bitcoin