=> 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 bison>=1.0: found bison-3.2.4 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency gsed>=3.0.2: found gsed-4.7 => 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.0 => Build dependency python27>=2.7.1nb2: found python27-2.7.16 => Build dependency cwrappers>=20150314: found cwrappers-20180325 ===> Overriding tools for u-boot-bananapi-r2-2019.04-rc4nb3 ===> Extracting for u-boot-bananapi-r2-2019.04-rc4nb3 tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes. cp /amd/pkgsrc/CHROOT/P/pkgsrc/distfiles/BPI-R2-HEAD440-0k.img /amd/pkgsrc/CHROOT/P/pkgsrc/distfiles/BPI-R2-HEAD1-512b.img /amd/pkgsrc/CHROOT/P/pkgsrc/distfiles/preloader_iotg7623Np1_sd_1600M.bin /tmp/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 /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/u-boot-bananapi-r2/../../sysutils/u-boot-bananapi-r2/patches/patch-Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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 /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/u-boot-bananapi-r2/../../sysutils/u-boot-bananapi-r2/patches/patch-lib_bch.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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 => Substituting "pythonpath" in tools/dtoc/dtoc INFO: [subst.mk:pythonpath] Nothing changed in ./tools/dtoc/dtoc. => 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. => Checking for portability problems in extracted files ERROR: [check-portability.awk] => Found test ... == ...: ERROR: [check-portability.awk] tools/imx8m_image.sh: if [ $f == "spl/u-boot-spl-ddr.bin" ] || [ $f == "u-boot.itb" ]; then ERROR: [check-portability.awk] tools/imx8m_image.sh: if [ $f == "spl/u-boot-spl-ddr.bin" ] || [ $f == "u-boot.itb" ]; then ERROR: [check-portability.awk] tools/imx8m_image.sh: if [ $post_process == 1 ]; 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/sysutils/u-boot-bananapi-r2 *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/u-boot-bananapi-r2