=> 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 2017.09-rockchip-ayufan-1063-g29843fbd42.tar.gz
=> Checksum RMD160 OK for 2017.09-rockchip-ayufan-1063-g29843fbd42.tar.gz
=> Checksum SHA512 OK for 2017.09-rockchip-ayufan-1063-g29843fbd42.tar.gz
=> Checksum SHA1 OK for rk322xh_bl31_v1.41.elf
=> Checksum RMD160 OK for rk322xh_bl31_v1.41.elf
=> Checksum SHA512 OK for rk322xh_bl31_v1.41.elf
=> Checksum SHA1 OK for rk3328_ddr_333MHz_v1.16.bin
=> Checksum RMD160 OK for rk3328_ddr_333MHz_v1.16.bin
=> Checksum SHA512 OK for rk3328_ddr_333MHz_v1.16.bin
===> Installing dependencies for u-boot-rock64-2017.09nb6
==========================================================================
The supported build options for u-boot-rock64 are:

	el1

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.u-boot-rock64 (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
u-boot-rock64-2017.09nb6.  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 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-aarch64-none-elf-gcc-[0-9]*: found cross-aarch64-none-elf-gcc-8.2.0nb1
=> Build dependency python27>=2.7.1nb2: found python27-2.7.18
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
===> Overriding tools for u-boot-rock64-2017.09nb6
===> Extracting for u-boot-rock64-2017.09nb6
cp /data/scratch/sysutils/u-boot-rock64/work/.distfiles/rk3328_ddr_333MHz_v1.16.bin /data/scratch/sysutils/u-boot-rock64/work
===> Patching for u-boot-rock64-2017.09nb6
=> Applying pkgsrc patches for u-boot-rock64-2017.09nb6
=> Verifying /data/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot-rock64/patches/patch-arch_arm_cpu_armv8_Kconfig
=> Applying pkgsrc patch /data/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot-rock64/patches/patch-arch_arm_cpu_armv8_Kconfig
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-arch_arm_cpu_armv8_Kconfig,v 1.1 2020/04/06 15:06:18 tnn Exp $
|
|--- arch/arm/cpu/armv8/Kconfig.orig	2018-08-06 22:28:00.000000000 +0000
|+++ arch/arm/cpu/armv8/Kconfig
--------------------------
Patching file arch/arm/cpu/armv8/Kconfig using Plan A...
Hunk #1 succeeded at 130.
done
=> Verifying /data/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot-rock64/patches/patch-lib_bch.c
=> Applying pkgsrc patch /data/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot-rock64/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 2020/04/06 15:06:18 tnn 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 61.
Hunk #2 succeeded at 73.
Hunk #3 succeeded at 123.
done
===> Creating toolchain wrappers for u-boot-rock64-2017.09nb6
===> Configuring for u-boot-rock64-2017.09nb6
=> Replacing python2 interpreter in scripts/fill_scrapyard.py tools/binman/binman tools/binman/binman.py tools/dtoc/dtoc.py tools/genboardscfg.py tools/moveconfig.py.
INFO: [replace-interpreter] Nothing changed in tools/dtoc/dtoc.py.
=> Checking for portability problems in extracted files
cd /data/scratch/sysutils/u-boot-rock64/work/linux-u-boot-2017.09-rockchip-ayufan-1063-g29843fbd42 && /usr/bin/env BL31=/data/scratch/sysutils/u-boot-rock64/work/rk322xh_bl31_v1.41.elf CROSS_COMPILE=/usr/pkg/cross-aarch64-none-elf/bin/aarch64-none-elf- UBOOT_PKGREVISION=nb6 USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= 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\ -I/usr/pkg/include CPPFLAGS=-I/usr/include\ -I/usr/pkg/include CXX=clang++ CXXFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/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\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/data/scratch/sysutils/u-boot-rock64/work/.cwrapper/bin:/data/scratch/sysutils/u-boot-rock64/work/.buildlink/bin:/data/scratch/sysutils/u-boot-rock64/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-rock64/work/.home CWRAPPERS_CONFIG_DIR=/data/scratch/sysutils/u-boot-rock64/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-rock64/work/.tools/bin/makeinfo FLEX= BISON=/data/scratch/sysutils/u-boot-rock64/work/.tools/bin/bison PKG_CONFIG=/data/scratch/sysutils/u-boot-rock64/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/data/scratch/sysutils/u-boot-rock64/work/.buildlink/lib/pkgconfig:/data/scratch/sysutils/u-boot-rock64/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/data/scratch/sysutils/u-boot-rock64/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/data/scratch/sysutils/u-boot-rock64/work/.cwrapper/config /usr/pkg/bin/gmake rock64-rk3328_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:63: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:71: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:78:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                printf(_("aborted!\n\n"));
                       ^~~~~~~~~~~~~~~~~
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^~~~~~~~~~~~~
scripts/kconfig/conf.c:78:10: note: treat the string as an argument to avoid this
                printf(_("aborted!\n\n"));
                       ^
                       "%s", 
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^
scripts/kconfig/conf.c:79:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                printf(_("Console input/output is redirected. "));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^~~~~~~~~~~~~
scripts/kconfig/conf.c:79:10: note: treat the string as an argument to avoid this
                printf(_("Console input/output is redirected. "));
                       ^
                       "%s", 
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^
scripts/kconfig/conf.c:80:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                printf(_("Run 'make oldconfig' to update configuration.\n\n"));
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^~~~~~~~~~~~~
scripts/kconfig/conf.c:80:10: note: treat the string as an argument to avoid this
                printf(_("Run 'make oldconfig' to update configuration.\n\n"));
                       ^
                       "%s", 
scripts/kconfig/lkc.h:34:17: note: expanded from macro '_'
#define _(text) gettext(text)
                ^
scripts/kconfig/conf.c:90: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:90: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:291: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:291: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:323: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:439: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:439: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:641: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:641: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:694: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:694: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:698: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:698: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:709: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:709: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)
                ^
13 warnings generated.
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2468:
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:2468:
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:2468:
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:2468:
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:2469:
scripts/kconfig/expr.c:913: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:2470:
scripts/kconfig/symbol.c:924: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:2470:
scripts/kconfig/symbol.c:1153:4: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
                        fprintf(stderr, "For a resolution refer to Documentation/kbuild/kconfig-language.txt\n");
                        ^
scripts/kconfig/symbol.c:1150:3: note: previous statement is here
                if (stack->sym == last_sym)
                ^
In file included from scripts/kconfig/zconf.tab.c:2471:
scripts/kconfig/menu.c:137: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:2471:
scripts/kconfig/menu.c:139: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))
                                                ^~~~
9 warnings generated.
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#