+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/OVMF-0.0.20181116nb5/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/OVMF-0.0.20181116nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for edk2-20181116.tar.gz
=> Checksum SHA512 OK for edk2-20181116.tar.gz
===> Installing dependencies for OVMF-0.0.20181116nb5
==========================================================================
The following variables will affect the build process of this package,
OVMF-0.0.20181116nb5.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 311

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 the value
of variables in the first group before continuing.  Be sure to run
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency acpica-utils-[0-9]*: found acpica-utils-20160930nb2
=> Tool dependency nasm-[0-9]*: found nasm-2.16.01
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency python27>=2.7.18nb12: found python27-2.7.18nb16
=> Full dependency libuuid>=2.18: found libuuid-2.32.1nb2
===> Overriding tools for OVMF-0.0.20181116nb5
===> Extracting for OVMF-0.0.20181116nb5
===> Patching for OVMF-0.0.20181116nb5
=> Applying pkgsrc patches for OVMF-0.0.20181116nb5
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ovmf/patches/patch-BaseTools_Source_C_Common_CommonLib.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ovmf/patches/patch-BaseTools_Source_C_Common_CommonLib.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-BaseTools_Source_C_Common_CommonLib.c,v 1.3 2020/09/23 11:23:38 prlw1 Exp $
|
|error: array subscript has type 'char' [-Werror=char-subscripts]
|
|--- BaseTools/Source/C/Common/CommonLib.c.orig	2019-01-10 14:18:56.000000000 +0000
|+++ BaseTools/Source/C/Common/CommonLib.c
--------------------------
Patching file BaseTools/Source/C/Common/CommonLib.c using Plan A...
Hunk #1 succeeded at 582.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ovmf/patches/patch-CryptoPkg_Library_OpensslLib_openssl_.travis-create-release.sh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ovmf/patches/patch-CryptoPkg_Library_OpensslLib_openssl_.travis-create-release.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CryptoPkg_Library_OpensslLib_openssl_.travis-create-release.sh,v 1.1 2019/02/19 16:45:45 ryoon Exp $
|
|* POSIX shell portability
|
|--- CryptoPkg/Library/OpensslLib/openssl/.travis-create-release.sh.orig	2019-01-10 14:13:56.000000000 +0000
|+++ CryptoPkg/Library/OpensslLib/openssl/.travis-create-release.sh
--------------------------
Patching file CryptoPkg/Library/OpensslLib/openssl/.travis-create-release.sh using Plan A...
Hunk #1 succeeded at 3.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ovmf/patches/patch-OvmfPkg_build.sh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/sysutils/ovmf/patches/patch-OvmfPkg_build.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-OvmfPkg_build.sh,v 1.1 2017/10/23 14:21:57 maya Exp $
|
|treat other operating systems as linux
|invoke gmake, not make
|Avoid GCC5 target tool due to errors appearing in the build
|
|--- OvmfPkg/build.sh.orig	2017-06-13 08:26:05.000000000 +0000
|+++ OvmfPkg/build.sh
--------------------------
Patching file OvmfPkg/build.sh using Plan A...
Hunk #1 succeeded at 80.
Hunk #2 succeeded at 102.
Hunk #3 succeeded at 261.
done
===> Creating toolchain wrappers for OVMF-0.0.20181116nb5
===> Configuring for OVMF-0.0.20181116nb5
=> Fix python binary
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/BootSectImage".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/Brotli".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/BrotliCompress".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/DevicePath".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/EfiLdrImage".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/EfiRom".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/GenCrc32".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/GenFfs".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/GenFv".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/GenFw".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/GenPage".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/GenSec".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/GenVtf".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/GnuGenBootSector".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/LzmaCompress".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/LzmaF86Compress".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/Split".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/TianoCompress".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/VfrCompile".
WARNING: [subst.mk:python] Nothing changed in "BaseTools/BinWrappers/PosixLike/VolInfo".
=> Checking for portability problems in extracted files