=> 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 BPI-R2-HEAD1-512b.img
=> Checksum RMD160 OK for BPI-R2-HEAD1-512b.img
=> Checksum SHA512 OK for BPI-R2-HEAD1-512b.img
=> Checksum SHA1 OK for BPI-R2-HEAD440-0k.img
=> Checksum RMD160 OK for BPI-R2-HEAD440-0k.img
=> Checksum SHA512 OK for BPI-R2-HEAD440-0k.img
=> Checksum SHA1 OK for preloader_iotg7623Np1_sd_1600M.bin
=> Checksum RMD160 OK for preloader_iotg7623Np1_sd_1600M.bin
=> Checksum SHA512 OK for preloader_iotg7623Np1_sd_1600M.bin
=> Checksum SHA1 OK for u-boot-2019.04-rc4.tar.bz2
=> Checksum RMD160 OK for u-boot-2019.04-rc4.tar.bz2
=> Checksum SHA512 OK for u-boot-2019.04-rc4.tar.bz2
===> Installing dependencies for u-boot-bananapi-r2-2019.04.rc4nb3
==========================================================================
The following variables will affect the build process of this package,
u-boot-bananapi-r2-2019.04.rc4nb3.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 37

Based on these variables, the following variables have been set:

        * PYPACKAGE = python27

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 dtc>=1.4.2: found dtc-1.4.7
=> Tool dependency swig>=1.3: found swig-1.3.38nb1
=> Tool dependency python27>=2.7: found python27-2.7.18
=> Tool dependency bison>=1.0: found bison-3.4.2
=> Tool dependency gawk>=3.1.1: found gawk-5.0.1
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency gsed>=3.0.2: found gsed-4.8
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cross-arm-none-eabi-gcc-[0-9]*: found cross-arm-none-eabi-gcc-8.3.0nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
===> 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'.
===> Overriding tools for u-boot-bananapi-r2-2019.04.rc4nb3
===> Extracting for u-boot-bananapi-r2-2019.04.rc4nb3
cp /data/scratch/sysutils/u-boot-bananapi-r2/work/.distfiles/BPI-R2-HEAD440-0k.img /data/scratch/sysutils/u-boot-bananapi-r2/work/.distfiles/BPI-R2-HEAD1-512b.img  /data/scratch/sysutils/u-boot-bananapi-r2/work/.distfiles/preloader_iotg7623Np1_sd_1600M.bin /data/scratch/sysutils/u-boot-bananapi-r2/work/u-boot-2019.04-rc4
===> Patching for u-boot-bananapi-r2-2019.04.rc4nb3
=> Applying pkgsrc patches for u-boot-bananapi-r2-2019.04.rc4nb3
=> Verifying /data/pkgsrc/sysutils/u-boot-bananapi-r2/../../sysutils/u-boot-bananapi-r2/patches/patch-Makefile
=> Applying pkgsrc patch /data/pkgsrc/sysutils/u-boot-bananapi-r2/../../sysutils/u-boot-bananapi-r2/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.1 2019/03/24 20:50:10 thorpej Exp $
|
|u-boot: Fix name of python2 interpreter when built in pkgsrc environment
|
|--- Makefile.orig	2019-03-24 19:18:59.903169960 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 359.
done
=> Verifying /data/pkgsrc/sysutils/u-boot-bananapi-r2/../../sysutils/u-boot-bananapi-r2/patches/patch-lib_bch.c
=> Applying pkgsrc patch /data/pkgsrc/sysutils/u-boot-bananapi-r2/../../sysutils/u-boot-bananapi-r2/patches/patch-lib_bch.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_bch.c,v 1.1 2019/03/24 20:50:10 thorpej Exp $
|
|u-boot: fix build on macos
|
|--- lib/bch.c.orig	2018-08-06 22:28:00.000000000 +0000
|+++ lib/bch.c
--------------------------
Patching file lib/bch.c using Plan A...
Hunk #1 succeeded at 60 (offset -1 lines).
Hunk #2 succeeded at 72 (offset -1 lines).
Hunk #3 succeeded at 122 (offset -1 lines).
done
===> Creating toolchain wrappers for u-boot-bananapi-r2-2019.04.rc4nb3
===> Configuring for u-boot-bananapi-r2-2019.04.rc4nb3
=> Checking for portability problems in extracted files
cd /data/scratch/sysutils/u-boot-bananapi-r2/work/u-boot-2019.04-rc4 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr CROSS_COMPILE=/usr/pkg/cross-arm-none-eabi/bin/arm-none-eabi- UBOOT_PKGREVISION=nb3 PYTHON2=/usr/pkg/bin/python2.7 PYTHONCONFIG=/usr/pkg/bin/python2.7-config PYTHONLIBPATH=-L/usr/pkg/lib PYTHON=/usr/pkg/bin/python2.7 CC=clang CFLAGS=-O2\ -I/usr/include CPPFLAGS=-I/usr/include CXX=clang++ CXXFLAGS=-O2\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/data/scratch/sysutils/u-boot-bananapi-r2/work/.cwrapper/bin:/data/scratch/sysutils/u-boot-bananapi-r2/work/.buildlink/bin:/data/scratch/sysutils/u-boot-bananapi-r2/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/data/scratch/sysutils/u-boot-bananapi-r2/work/.home CWRAPPERS_CONFIG_DIR=/data/scratch/sysutils/u-boot-bananapi-r2/work/.cwrapper/config CPP=clang-cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/data/scratch/sysutils/u-boot-bananapi-r2/work/.tools/bin/makeinfo FLEX= BISON=/data/scratch/sysutils/u-boot-bananapi-r2/work/.tools/bin/bison PKG_CONFIG=/data/scratch/sysutils/u-boot-bananapi-r2/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/data/scratch/sysutils/u-boot-bananapi-r2/work/.buildlink/lib/pkgconfig:/data/scratch/sysutils/u-boot-bananapi-r2/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/data/scratch/sysutils/u-boot-bananapi-r2/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/data/scratch/sysutils/u-boot-bananapi-r2/work/.cwrapper/config /usr/pkg/bin/gmake mt7623n_bpir2_defconfig
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c:241:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        if (!(isalnum(*q) || *q == '_'))
                              ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum'
#define isalnum(c)      ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D)))
                                                ^~~~
1 warning generated.
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c:62:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while ((isspace(*p)))
                ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
scripts/kconfig/conf.c:70:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while ((isspace(*p)))
                ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
scripts/kconfig/conf.c:89:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                printf(_("(NEW) "));
                       ^~~~~~~~~~~
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^~~~~~~~~~~~~
scripts/kconfig/conf.c:89:10: note: treat the string as an argument to avoid this
                printf(_("(NEW) "));
                       ^
                       "%s", 
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^
scripts/kconfig/conf.c:285:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                                printf(_(" (NEW)"));
                                       ^~~~~~~~~~~
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^~~~~~~~~~~~~
scripts/kconfig/conf.c:285:12: note: treat the string as an argument to avoid this
                                printf(_(" (NEW)"));
                                       ^
                                       "%s", 
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^
scripts/kconfig/conf.c:313:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        else if (isdigit(line[0]))
                                 ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
scripts/kconfig/conf.c:440:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                                        printf(_("*\n* Restart config...\n*\n"));
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^~~~~~~~~~~~~
scripts/kconfig/conf.c:440:13: note: treat the string as an argument to avoid this
                                        printf(_("*\n* Restart config...\n*\n"));
                                               ^
                                               "%s", 
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^
scripts/kconfig/conf.c:645:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                                        _("\n*** The configuration requires explicit update.\n\n"));
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^~~~~~~~~~~~~
scripts/kconfig/conf.c:645:6: note: treat the string as an argument to avoid this
                                        _("\n*** The configuration requires explicit update.\n\n"));
                                        ^
                                        "%s", 
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^
scripts/kconfig/conf.c:697:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^~~~~~~~~~~~~
scripts/kconfig/conf.c:697:20: note: treat the string as an argument to avoid this
                        fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
                                        ^
                                        "%s", 
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^
scripts/kconfig/conf.c:701:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(stderr, _("\n*** Error during update of the configuration.\n\n"));
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^~~~~~~~~~~~~
scripts/kconfig/conf.c:701:20: note: treat the string as an argument to avoid this
                        fprintf(stderr, _("\n*** Error during update of the configuration.\n\n"));
                                        ^
                                        "%s", 
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^
scripts/kconfig/conf.c:712:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^~~~~~~~~~~~~
scripts/kconfig/conf.c:712:20: note: treat the string as an argument to avoid this
                        fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
                                        ^
                                        "%s", 
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^
10 warnings generated.
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2367:
scripts/kconfig/confdata.c:97:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while (isalnum(*src) || *src == '_')
                       ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum'
#define isalnum(c)      ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D)))
                                                ^~~~
In file included from scripts/kconfig/zconf.tab.c:2367:
scripts/kconfig/confdata.c:155:25: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        for (p2 = p; *p2 && !isspace(*p2); p2++)
                                             ^~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
In file included from scripts/kconfig/zconf.tab.c:2367:
scripts/kconfig/confdata.c:616:54: warning: array subscript is of type 'char' [-Wchar-subscripts]
                fprintf(fp, "%s%s=%c\n", CONFIG_, sym->name, (char)toupper(*value));
                                                                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper'
#define toupper(c)      ((int)((_toupper_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from scripts/kconfig/zconf.tab.c:2367:
scripts/kconfig/confdata.c:911:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        c = tolower(c);
                            ^~~~~~~~~~
/usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower'
#define tolower(c)      ((int)((_tolower_tab_ + 1)[(c)]))
                                                  ^~~~
In file included from scripts/kconfig/zconf.tab.c:2368:
scripts/kconfig/expr.c:1022:43: warning: array subscript is of type 'char' [-Wchar-subscripts]
        return !errno && !*tail && tail > str && isxdigit(tail[-1])
                                                 ^~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit'
#define isxdigit(c)     ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X))
                                                ^~~~
In file included from scripts/kconfig/zconf.tab.c:2369:
scripts/kconfig/symbol.c:938:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while (isalnum(*src) || *src == '_')
                       ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum'
#define isalnum(c)      ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D)))
                                                ^~~~
In file included from scripts/kconfig/zconf.tab.c:2370:
scripts/kconfig/menu.c:136:7: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (isspace(*prompt)) {
                    ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
In file included from scripts/kconfig/zconf.tab.c:2370:
scripts/kconfig/menu.c:138:11: warning: array subscript is of type 'char' [-Wchar-subscripts]
                        while (isspace(*prompt))
                               ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
8 warnings generated.
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#