=> 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 u-boot-pinebook-2018.11rc3-88eea875b3b82a0e50cbb112e0aea2259dc2e011.tar.gz
=> Checksum RMD160 OK for u-boot-pinebook-2018.11rc3-88eea875b3b82a0e50cbb112e0aea2259dc2e011.tar.gz
=> Checksum SHA512 OK for u-boot-pinebook-2018.11rc3-88eea875b3b82a0e50cbb112e0aea2259dc2e011.tar.gz
===> Installing dependencies for u-boot-pinebook-2018.11rc3nb3
==========================================================================
The supported build options for u-boot-pinebook 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-pinebook (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
u-boot-pinebook-2018.11rc3nb3.  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-aarch64-none-elf-gcc-[0-9]*: found cross-aarch64-none-elf-gcc-8.2.0nb1
=> Build dependency arm-trusted-firmware-sun50i_a64>2.0: found arm-trusted-firmware-sun50i_a64-2.0.20190222
=> 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-pinebook-2018.11rc3nb3
===> Extracting for u-boot-pinebook-2018.11rc3nb3
/bin/cp /usr/pkg/share/arm-trusted-firmware/sun50i_a64/bl31.bin /data/scratch/sysutils/u-boot-pinebook/work/u-boot-pine64-88eea875b3b82a0e50cbb112e0aea2259dc2e011
===> Patching for u-boot-pinebook-2018.11rc3nb3
=> Applying pkgsrc patches for u-boot-pinebook-2018.11rc3nb3
=> Verifying /data/pkgsrc/sysutils/u-boot-pinebook/../../sysutils/u-boot-pinebook/patches/patch-arch_arm_cpu_armv8_Kconfig
=> Applying pkgsrc patch /data/pkgsrc/sysutils/u-boot-pinebook/../../sysutils/u-boot-pinebook/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.2 2018/02/18 12:27:20 jmcneill Exp $
|
|--- arch/arm/cpu/armv8/Kconfig.orig	2018-01-23 06:50:34.000000000 +0000
|+++ arch/arm/cpu/armv8/Kconfig
--------------------------
Patching file arch/arm/cpu/armv8/Kconfig using Plan A...
Hunk #1 succeeded at 144 (offset 12 lines).
done
=> Verifying /data/pkgsrc/sysutils/u-boot-pinebook/../../sysutils/u-boot-pinebook/patches/patch-lib_bch.c
=> Applying pkgsrc patch /data/pkgsrc/sysutils/u-boot-pinebook/../../sysutils/u-boot-pinebook/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.3 2018/02/18 12:27:20 jmcneill Exp $
|
|--- lib/bch.c.orig	2018-01-23 06:50:34.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 119 (offset -1 lines).
done
===> Creating toolchain wrappers for u-boot-pinebook-2018.11rc3nb3
===> Configuring for u-boot-pinebook-2018.11rc3nb3
=> Checking for portability problems in extracted files
cd /data/scratch/sysutils/u-boot-pinebook/work/u-boot-pine64-88eea875b3b82a0e50cbb112e0aea2259dc2e011 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr CROSS_COMPILE=/usr/pkg/cross-aarch64-none-elf/bin/aarch64-none-elf- 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/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=clang++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -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/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/data/scratch/sysutils/u-boot-pinebook/work/.cwrapper/bin:/data/scratch/sysutils/u-boot-pinebook/work/.buildlink/bin:/data/scratch/sysutils/u-boot-pinebook/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-pinebook/work/.home CWRAPPERS_CONFIG_DIR=/data/scratch/sysutils/u-boot-pinebook/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-pinebook/work/.tools/bin/makeinfo FLEX= BISON=/data/scratch/sysutils/u-boot-pinebook/work/.tools/bin/bison PKG_CONFIG=/data/scratch/sysutils/u-boot-pinebook/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/data/scratch/sysutils/u-boot-pinebook/work/.buildlink/lib/pkgconfig:/data/scratch/sysutils/u-boot-pinebook/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/data/scratch/sysutils/u-boot-pinebook/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/data/scratch/sysutils/u-boot-pinebook/work/.cwrapper/config /usr/pkg/bin/gmake pinebook_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
#