<86>Jun 13 02:02:26 userdel[3174324]: delete user 'rooter' <86>Jun 13 02:02:26 userdel[3174324]: removed group 'rooter' owned by 'rooter' <86>Jun 13 02:02:26 userdel[3174324]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 13 02:02:26 groupadd[3174343]: group added to /etc/group: name=rooter, GID=993 <86>Jun 13 02:02:26 groupadd[3174343]: group added to /etc/gshadow: name=rooter <86>Jun 13 02:02:26 groupadd[3174343]: new group: name=rooter, GID=993 <86>Jun 13 02:02:26 useradd[3174356]: new user: name=rooter, UID=993, GID=993, home=/root, shell=/bin/bash <86>Jun 13 02:02:26 userdel[3174370]: delete user 'builder' <86>Jun 13 02:02:26 userdel[3174370]: removed group 'builder' owned by 'builder' <86>Jun 13 02:02:26 userdel[3174370]: removed shadow group 'builder' owned by 'builder' <86>Jun 13 02:02:26 groupadd[3174388]: group added to /etc/group: name=builder, GID=994 <86>Jun 13 02:02:26 groupadd[3174388]: group added to /etc/gshadow: name=builder <86>Jun 13 02:02:26 groupadd[3174388]: new group: name=builder, GID=994 <86>Jun 13 02:02:26 useradd[3174394]: new user: name=builder, UID=994, GID=994, home=/usr/src, shell=/bin/bash <13>Jun 13 02:02:28 rpmi: mpdecimal-2.5.1-alt1 sisyphus+291245.40.54.1 1643293433 installed <13>Jun 13 02:02:28 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Jun 13 02:02:28 rpmi: libexpat-2.4.7-alt1 sisyphus+296417.100.1.1 1646812525 installed <13>Jun 13 02:02:28 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Jun 13 02:02:28 rpmi: libtasn1-4.18.0-alt2 sisyphus+301112.100.1.1 1654185763 installed <13>Jun 13 02:02:28 rpmi: rpm-macros-alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Jun 13 02:02:28 rpmi: alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Jun 13 02:02:28 rpmi: ca-certificates-2022.04.01-alt1 sisyphus+297635.100.1.1 1648830809 installed <13>Jun 13 02:02:28 rpmi: ca-trust-0.1.3-alt1 sisyphus+299449.100.1.1 1651660001 installed <13>Jun 13 02:02:28 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Jun 13 02:02:28 rpmi: libcrypto1.1-1.1.1n-alt2 sisyphus+297394.100.2.1 1648745095 installed <13>Jun 13 02:02:28 rpmi: libssl1.1-1.1.1n-alt2 sisyphus+297394.100.2.1 1648745095 installed <13>Jun 13 02:02:28 rpmi: python3-3.10.4-alt1 sisyphus+297487.100.1.1 1648620051 installed <13>Jun 13 02:02:29 rpmi: python3-base-3.10.4-alt1 sisyphus+297487.100.1.1 1648620051 installed <13>Jun 13 02:02:29 rpmi: tests-for-installed-python3-pkgs-0.1.18-alt1 sisyphus+290420.100.1.1 1637593698 installed <13>Jun 13 02:02:29 rpmi: rpm-build-python3-0.1.18-alt1 sisyphus+290420.100.1.1 1637593698 installed <13>Jun 13 02:02:31 rpmi: libsqlite3-3.38.5-alt1 sisyphus+299670.100.1.1 1651925944 installed <13>Jun 13 02:02:31 rpmi: libpython3-3.10.4-alt1 sisyphus+297487.100.1.1 1648620051 installed <13>Jun 13 02:02:31 rpmi: libncurses-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966445 installed <13>Jun 13 02:02:31 rpmi: libtinfo-devel-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966445 installed <13>Jun 13 02:02:31 rpmi: libncurses-devel-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966445 installed <13>Jun 13 02:02:31 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 13 02:02:31 rpmi: libstdc++12-devel-12.1.1-alt1 sisyphus+300988.100.1.1 1654028265 installed <13>Jun 13 02:02:32 rpmi: gcc12-c++-12.1.1-alt1 sisyphus+300988.100.1.1 1654028265 installed <13>Jun 13 02:02:32 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033053 installed <13>Jun 13 02:02:32 rpmi: python3-dev-3.10.4-alt1 sisyphus+297487.100.1.1 1648620051 installed <13>Jun 13 02:02:32 rpmi: python3-modules-sqlite3-3.10.4-alt1 sisyphus+297487.100.1.1 1648620051 installed <13>Jun 13 02:02:32 rpmi: nasm-2.15.05-alt1.1 sisyphus+296459.100.1.1 1646860111 installed <13>Jun 13 02:02:32 rpmi: libuuid-devel-2.37.3-alt2 sisyphus+294073.100.1.1 1643117174 installed <13>Jun 13 02:02:32 rpmi: bc-1:1.07.1-alt1 sisyphus+278100.400.1.1 1626056612 installed <13>Jun 13 02:02:32 rpmi: acpica-20211217-alt1 sisyphus+292751.100.2.1 1641480782 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/edk2-tools-20220221-alt1.nosrc.rpm (w1.gzdio) Installing edk2-tools-20220221-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.589 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf edk2-tools-20220221 + echo 'Source #0 (edk2-tools-20220221.tar):' Source #0 (edk2-tools-20220221.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/edk2-tools-20220221.tar + cd edk2-tools-20220221 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (edk2-tools-20220221.patch):' Patch #1 (edk2-tools-20220221.patch): + /usr/bin/patch -p1 patching file BaseTools/Source/C/GNUmakefile patching file MdeModulePkg/MdeModulePkg.dec patching file OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c patching file OvmfPkg/Library/PlatformDebugLibIoPort/DebugLib.c patching file OvmfPkg/OvmfPkgIa32.dsc patching file OvmfPkg/OvmfPkgIa32.fdf patching file OvmfPkg/OvmfPkgIa32X64.dsc patching file OvmfPkg/OvmfPkgIa32X64.fdf patching file OvmfPkg/OvmfPkgX64.dsc patching file OvmfPkg/OvmfPkgX64.fdf + cp -f /usr/src/RPM/SOURCES/Logo.bmp MdeModulePkg/Logo/ + find . -name '*.efi' -print0 + xargs -0 rm -f + rm -rf BaseTools/Bin 'UefiCpuPkg/ResetVector/Vtf0/Bin/*.raw' EdkCompatibilityPkg/Other AppPkg DuetPkg/BootSector/bin StdLib/LibC/Main/Ia32/ftol2.obj BeagleBoardPkg/Debugger_scripts/rvi_dummy.axf BaseTools/Source/Python/Eot/EfiCompressor.pyd BaseTools/Source/Python/Eot/LzmaCompressor.pyd BaseTools/Source/Python/UPT/Dll/sqlite3.dll Vlv2TbltDevicePkg/GenBiosId 'Vlv2TbltDevicePkg/*.exe' ArmPkg/Library/GccLto/liblto-aarch64.a ArmPkg/Library/GccLto/liblto-arm.a + rm -rf EdkShellBinPkg + rm -rf EdkShellPkg + rm -rf FatBinPkg + rm -rf ShellBinPkg + mkdir -p CryptoPkg/Library/OpensslLib/openssl + tar -xf /usr/src/RPM/SOURCES/openssl.tar --strip-components 1 --directory CryptoPkg/Library/OpensslLib/openssl + mkdir -p ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 + tar -xf /usr/src/RPM/SOURCES/berkeley-softfloat-3.tar --strip-components 1 --directory ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.589 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd edk2-tools-20220221 + export PYTHON_COMMAND=/usr/bin/python3 + PYTHON_COMMAND=/usr/bin/python3 + source ./edksetup.sh ++ SCRIPTNAME=edksetup.sh ++ RECONFIG=FALSE ++ I=0 ++ '[' 0 -gt 0 ']' ++ '[' 0 -gt 0 ']' ++ SourceEnv ++ SetWorkspace ++ export PYTHONHASHSEED=1 ++ PYTHONHASHSEED=1 ++ '[' -n '' ']' ++ '[' '!' ./edksetup.sh -ef ./edksetup.sh ']' ++ '[' '!' -f BaseTools/BuildEnv ']' ++ export WORKSPACE=/usr/src/RPM/BUILD/edk2-tools-20220221 ++ WORKSPACE=/usr/src/RPM/BUILD/edk2-tools-20220221 ++ return 0 ++ SetupEnv ++ '[' -n '' ']' ++ '[' -f /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BuildEnv ']' ++ . /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BuildEnv +++ ScriptMain +++ SetWorkspace +++ '[' -n /usr/src/RPM/BUILD/edk2-tools-20220221 ']' +++ return 0 +++ '[' -z /usr/src/RPM/BUILD/edk2-tools-20220221 ']' +++ RestorePreviousConfiguration +++ '[' -z '' ']' +++ export CONF_PATH=/usr/src/RPM/BUILD/edk2-tools-20220221/Conf +++ CONF_PATH=/usr/src/RPM/BUILD/edk2-tools-20220221/Conf +++ '[' '!' -d /usr/src/RPM/BUILD/edk2-tools-20220221/Conf ']' +++ PREVIOUS_CONF_FILE=/usr/src/RPM/BUILD/edk2-tools-20220221/Conf/BuildEnv.sh +++ '[' -e /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/BuildEnv.sh ']' +++ SetEdkToolsPath +++ '[' -n '' ']' +++ '[' -e /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/EdkTools ']' +++ '[' -e /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/BaseToolsSource ']' +++ '[' -e /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools ']' +++ export EDK_TOOLS_PATH=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools +++ EDK_TOOLS_PATH=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools +++ return 0 +++ '[' -z /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools ']' +++ AddEdkToolsToPath +++ '[' -z /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools ']' ++++ GetEdkToolsPathBinDirectory +++++ GetBaseToolsBinSubDir ++++++ uname -sm +++++ UNAME_DIRNAME='Linux x86_64' +++++ UNAME_DIRNAME=Linux-x86_64 +++++ UNAME_DIRNAME=Linux-x86_64 +++++ echo Linux-x86_64 ++++ BIN_SUB_DIR=Linux-x86_64 ++++ '[' -e /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BinWrappers/Linux-x86_64 ']' ++++ EDK_TOOLS_PATH_BIN=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64 ++++ echo /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64 +++ EDK_TOOLS_PATH_BIN=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64 +++ /usr/bin/python3 -c 'import edk2basetools' +++ echo 'Using EDK2 in-source Basetools' Using EDK2 in-source Basetools +++ AddDirToStartOfPath /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BinWrappers/PosixLike +++ DIRNAME=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BinWrappers/PosixLike +++ PATH=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BinWrappers/PosixLike:/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BinWrappers/PosixLike:/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BinWrappers/PosixLike:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games +++ PATH=/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games +++ PATH=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BinWrappers/PosixLike:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games +++ export PATH +++ AddDirToStartOfPath /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64 +++ DIRNAME=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64 +++ PATH=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64:/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64:/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64:/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BinWrappers/PosixLike:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games +++ PATH=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BinWrappers/PosixLike:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games +++ PATH=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64:/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BinWrappers/PosixLike:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games +++ export PATH +++ '[' 0 -ne 0 ']' +++ StoreCurrentConfiguration +++ OUTPUT_FILE=/usr/src/RPM/BUILD/edk2-tools-20220221/Conf/BuildEnv.sh +++ echo '# Auto-generated by /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/BuildEnv' +++ GenerateShellCodeToSetVariable WORKSPACE /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/BuildEnv.sh +++ VARIABLE=WORKSPACE +++ OUTPUT_FILE=/usr/src/RPM/BUILD/edk2-tools-20220221/Conf/BuildEnv.sh +++ VAR_VALUE='echo ${WORKSPACE}' ++++ eval echo '${WORKSPACE}' +++++ echo /usr/src/RPM/BUILD/edk2-tools-20220221 +++ VAR_VALUE=/usr/src/RPM/BUILD/edk2-tools-20220221 +++ echo 'if [ -z "$WORKSPACE" ]' +++ echo then +++ echo ' export WORKSPACE=/usr/src/RPM/BUILD/edk2-tools-20220221' +++ echo fi +++ GenerateShellCodeToSetVariable EDK_TOOLS_PATH /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/BuildEnv.sh +++ VARIABLE=EDK_TOOLS_PATH +++ OUTPUT_FILE=/usr/src/RPM/BUILD/edk2-tools-20220221/Conf/BuildEnv.sh +++ VAR_VALUE='echo ${EDK_TOOLS_PATH}' ++++ eval echo '${EDK_TOOLS_PATH}' +++++ echo /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools +++ VAR_VALUE=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools +++ echo 'if [ -z "$EDK_TOOLS_PATH" ]' +++ echo then +++ echo ' export EDK_TOOLS_PATH=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools' +++ echo fi +++ GenerateShellCodeToUpdatePath /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/BuildEnv.sh +++ OUTPUT_FILE=/usr/src/RPM/BUILD/edk2-tools-20220221/Conf/BuildEnv.sh +++ echo 'if [ -e /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64 ]' +++ echo then +++ echo ' if [ ${PATH//usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64/} == $PATH ]' +++ echo ' then' +++ echo ' export PATH=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Bin/Linux-x86_64:$PATH' +++ echo ' fi' +++ echo fi +++ echo WORKSPACE: /usr/src/RPM/BUILD/edk2-tools-20220221 WORKSPACE: /usr/src/RPM/BUILD/edk2-tools-20220221 +++ echo EDK_TOOLS_PATH: /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools EDK_TOOLS_PATH: /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools +++ echo CONF_PATH: /usr/src/RPM/BUILD/edk2-tools-20220221/Conf CONF_PATH: /usr/src/RPM/BUILD/edk2-tools-20220221/Conf +++ CopyTemplateFiles +++ CopySingleTemplateFile build_rule +++ SRC_FILENAME=Conf/build_rule.template +++ DST_FILENAME=/usr/src/RPM/BUILD/edk2-tools-20220221/Conf/build_rule.txt +++ '[' -e /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/build_rule.txt ']' +++ echo 'Copying $EDK_TOOLS_PATH/Conf/build_rule.template' Copying $EDK_TOOLS_PATH/Conf/build_rule.template +++ echo ' to /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/build_rule.txt' to /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/build_rule.txt +++ SRC_FILENAME=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Conf/build_rule.template +++ cp /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Conf/build_rule.template /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/build_rule.txt +++ CopySingleTemplateFile tools_def +++ SRC_FILENAME=Conf/tools_def.template +++ DST_FILENAME=/usr/src/RPM/BUILD/edk2-tools-20220221/Conf/tools_def.txt +++ '[' -e /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/tools_def.txt ']' +++ echo 'Copying $EDK_TOOLS_PATH/Conf/tools_def.template' Copying $EDK_TOOLS_PATH/Conf/tools_def.template +++ echo ' to /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/tools_def.txt' to /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/tools_def.txt +++ SRC_FILENAME=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Conf/tools_def.template +++ cp /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Conf/tools_def.template /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/tools_def.txt +++ CopySingleTemplateFile target +++ SRC_FILENAME=Conf/target.template +++ DST_FILENAME=/usr/src/RPM/BUILD/edk2-tools-20220221/Conf/target.txt +++ '[' -e /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/target.txt ']' +++ echo 'Copying $EDK_TOOLS_PATH/Conf/target.template' Copying $EDK_TOOLS_PATH/Conf/target.template +++ echo ' to /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/target.txt' to /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/target.txt +++ SRC_FILENAME=/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Conf/target.template +++ cp /usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Conf/target.template /usr/src/RPM/BUILD/edk2-tools-20220221/Conf/target.txt ++ SetupPython ++ '[' /usr/bin/python3 ']' ++ '[' -z ']' ++ command -v /usr/bin/python3 ++ return 0 ++ unset SCRIPTNAME RECONFIG ++ return 0 + CC_FLAGS='-t GCC5' + CC_FLAGS='-t GCC5 -b RELEASE' + CC_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536' + CC_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536 -D NETWORK_IP6_ENABLE' + CC_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536 -D NETWORK_IP6_ENABLE -D NETWORK_TLS_ENABLE' + CC_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536 -D NETWORK_IP6_ENABLE -D NETWORK_TLS_ENABLE -D NETWORK_HTTP_BOOT_ENABLE' + CC_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536 -D NETWORK_IP6_ENABLE -D NETWORK_TLS_ENABLE -D NETWORK_HTTP_BOOT_ENABLE -D TPM_ENABLE' + OVMF_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536 -D NETWORK_IP6_ENABLE -D NETWORK_TLS_ENABLE -D NETWORK_HTTP_BOOT_ENABLE -D TPM_ENABLE' + OVMF_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536 -D NETWORK_IP6_ENABLE -D NETWORK_TLS_ENABLE -D NETWORK_HTTP_BOOT_ENABLE -D TPM_ENABLE -D FD_SIZE_2MB' + OVMF_SB_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536 -D NETWORK_IP6_ENABLE -D NETWORK_TLS_ENABLE -D NETWORK_HTTP_BOOT_ENABLE -D TPM_ENABLE -D FD_SIZE_2MB' + OVMF_SB_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536 -D NETWORK_IP6_ENABLE -D NETWORK_TLS_ENABLE -D NETWORK_HTTP_BOOT_ENABLE -D TPM_ENABLE -D FD_SIZE_2MB -D SECURE_BOOT_ENABLE' + OVMF_SB_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536 -D NETWORK_IP6_ENABLE -D NETWORK_TLS_ENABLE -D NETWORK_HTTP_BOOT_ENABLE -D TPM_ENABLE -D FD_SIZE_2MB -D SECURE_BOOT_ENABLE -D SMM_REQUIRE' + OVMF_SB_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536 -D NETWORK_IP6_ENABLE -D NETWORK_TLS_ENABLE -D NETWORK_HTTP_BOOT_ENABLE -D TPM_ENABLE -D FD_SIZE_2MB -D SECURE_BOOT_ENABLE -D SMM_REQUIRE -D EXCLUDE_SHELL_FROM_FD' + ARM_FLAGS='-t GCC5 -b RELEASE --cmd-len=65536 -D NETWORK_IP6_ENABLE -D NETWORK_TLS_ENABLE -D NETWORK_HTTP_BOOT_ENABLE -D TPM_ENABLE' + unset MAKEFLAGS + make -j16 -C BaseTools make: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools' make -C Source/C make -C Source/Python make[1]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C' Attempting to detect HOST_ARCH from 'uname -m': x86_64 make[1]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/Python' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/Python' Detected HOST_ARCH of X64 using uname. mkdir -p . mkdir ./libs mkdir ./bin make -C VfrCompile VfrLexer.h make -C Common make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/VfrCompile' make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/Common' BIN_DIR='.' make -C Pccts/dlg BIN_DIR='.' make -C Pccts/antlr gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 BasePeCoff.c -o BasePeCoff.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 BinderFuncs.c -o BinderFuncs.o make[3]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/VfrCompile/Pccts/dlg' cc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c dlg_p.c gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 CommonLib.c -o CommonLib.o make[3]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/VfrCompile/Pccts/antlr' gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 antlr.c -o antlr.o cc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c dlg_a.c gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 Crc32.c -o Crc32.o cc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c main.c gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 scan.c -o scan.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 err.c -o err.o cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 err.c -o err.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 Decompress.c -o Decompress.o cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 ../support/set/set.c gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 EfiCompress.c -o EfiCompress.o cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 support.c -o support.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 EfiUtilityMsgs.c -o EfiUtilityMsgs.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 FirmwareVolumeBuffer.c -o FirmwareVolumeBuffer.o cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 output.c -o output.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 FvLib.c -o FvLib.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 bits.c -o bits.o cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 relabel.c -o relabel.o cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 automata.c -o automata.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 build.c -o build.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 MemoryFile.c -o MemoryFile.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 MyAlloc.c -o MyAlloc.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 OsPath.c -o OsPath.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 ParseGuidedSectionTools.c -o ParseGuidedSectionTools.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 ParseInf.c -o ParseInf.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 PeCoffLoaderEx.c -o PeCoffLoaderEx.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 SimpleFileParsing.c -o SimpleFileParsing.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 StringFuncs.c -o StringFuncs.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 TianoCompress.c -o TianoCompress.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 fset2.c -o fset2.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 fset.c -o fset.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 gen.c -o gen.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 globals.c -o globals.o cc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -o ./dlg dlg_p.o dlg_a.o main.o err.o set.o support.o output.o relabel.o automata.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 hash.c -o hash.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 lex.c -o lex.o make[3]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/VfrCompile/Pccts/dlg' gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 main.c -o main.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 misc.c -o misc.o gcc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c -o set.o ../support/set/set.c gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 pred.c -o pred.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 egman.c -o egman.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 mrhoist.c -o mrhoist.o gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 fcache.c -o fcache.o ar crs ../libs/libCommon.a BasePeCoff.o BinderFuncs.o CommonLib.o Crc32.o Decompress.o EfiCompress.o EfiUtilityMsgs.o FirmwareVolumeBuffer.o FvLib.o MemoryFile.o MyAlloc.o OsPath.o ParseGuidedSectionTools.o ParseInf.o PeCoffLoaderEx.o SimpleFileParsing.o StringFuncs.o TianoCompress.o make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/Common' gcc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -o ./antlr antlr.o scan.o err.o bits.o build.o fset2.o fset.o gen.o globals.o hash.o lex.o main.o misc.o set.o pred.o egman.o mrhoist.o fcache.o make[3]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/VfrCompile/Pccts/antlr' Pccts/antlr/antlr -CC -e3 -ck 3 -k 2 -fl VfrParser.dlg -ft VfrTokens.h -o . VfrSyntax.g Antlr parser generator Version 1.33MR33 1989-2001 VfrSyntax.g, line 3529: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3538: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3547: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3557: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3587: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3596: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) Pccts/dlg/dlg -C2 -i -CC -cl VfrLexer -o . VfrParser.dlg dlg Version 1.33MR33 1989-2001 make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/VfrCompile' make -C VfrCompile make -C EfiRom make -C GenFfs make -C GenFv make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/VfrCompile' make -C GenFw make -C GenSec make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/EfiRom' make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/GenFfs' make -C GenCrc32 make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/GenFv' make -C LzmaCompress make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/GenFw' make -C TianoCompress make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/GenSec' make -C VolInfo make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/GenCrc32' make -C DevicePath make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/LzmaCompress' make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/TianoCompress' make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/VolInfo' make[2]: Entering directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/DevicePath' gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 EfiRom.c -o EfiRom.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 GenFv.c -o GenFv.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 GenFfs.c -o GenFfs.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 GenFvInternalLib.c -o GenFvInternalLib.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 GenCrc32.c -o GenCrc32.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 GenSec.c -o GenSec.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 GenFw.c -o GenFw.o g++ -c -DPCCTS_USE_NAMESPACE_STD -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -O2 Pccts/h/AParser.cpp -o AParser.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 ElfConvert.c -o ElfConvert.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 TianoCompress.c -o TianoCompress.o g++ -c -DPCCTS_USE_NAMESPACE_STD -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -O2 Pccts/h/DLexerBase.cpp -o DLexerBase.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 VolInfo.c -o VolInfo.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 Elf32Convert.c -o Elf32Convert.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 Elf64Convert.c -o Elf64Convert.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 DevicePath.c -o DevicePath.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 -D_7ZIP_ST LzmaCompress.c -o LzmaCompress.o Pccts/h/AParser.cpp: In member function 'int ANTLRParser::set_deg(SetWordType*)': Pccts/h/AParser.cpp:475:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 475 | register SetWordType *p = a; | ^ Pccts/h/AParser.cpp:476:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 476 | register SetWordType *endp = &(a[bsetsize]); | ^~~~ Pccts/h/AParser.cpp:477:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 477 | register int degree = 0; | ^~~~~~ Pccts/h/AParser.cpp:482:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 482 | register SetWordType t = *p; | ^ Pccts/h/AParser.cpp:483:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 483 | register SetWordType *b = &(bitmask[0]); | ^ Pccts/h/DLexerBase.cpp: In member function 'void DLGLexerBase::replstr(const DLGChar*)': Pccts/h/DLexerBase.cpp:196:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 196 | register DLGChar *l= &_lextext[_bufsize -1]; | ^ Pccts/h/AParser.cpp: In member function 'virtual void ANTLRParser::edecode(SetWordType*)': Pccts/h/AParser.cpp:496:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 496 | register SetWordType *p = a; | ^ Pccts/h/AParser.cpp:497:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 497 | register SetWordType *endp = &(p[bsetsize]); | ^~~~ Pccts/h/AParser.cpp:498:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 498 | register unsigned e = 0; | ^ Pccts/h/AParser.cpp:502:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 502 | register SetWordType t = *p; | ^ Pccts/h/AParser.cpp:503:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 503 | register SetWordType *b = &(bitmask[0]); | ^ gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 -D_7ZIP_ST Sdk/C/Alloc.c -o Sdk/C/Alloc.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 UefiDevicePathLib.c -o UefiDevicePathLib.o gcc -o ../bin/GenCrc32 GenCrc32.o -L../libs -lCommon make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/GenCrc32' gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 DevicePathFromText.c -o DevicePathFromText.o g++ -c -DPCCTS_USE_NAMESPACE_STD -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -O2 Pccts/h/ATokenBuffer.cpp -o ATokenBuffer.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 -D_7ZIP_ST Sdk/C/LzFind.c -o Sdk/C/LzFind.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 -D_7ZIP_ST Sdk/C/LzmaDec.c -o Sdk/C/LzmaDec.o In function 'GetAlignmentFromFile', inlined from 'main' at GenFfs.c:816:20: GenFfs.c:545:5: error: pointer 'InFileHandle' used after 'fclose' [-Werror=use-after-free] 545 | Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GenFfs.c:544:5: note: call to 'fclose' here 544 | fclose (InFileHandle); | ^~~~~~~~~~~~~~~~~~~~~ gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 DevicePathUtilities.c -o DevicePathUtilities.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 -D_7ZIP_ST Sdk/C/LzmaEnc.c -o Sdk/C/LzmaEnc.o In function 'GetAlignmentFromFile', inlined from 'main' at GenSec.c:1425:16: GenSec.c:1065:5: error: pointer 'InFileHandle' used after 'fclose' [-Werror=use-after-free] 1065 | Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of %s", InFileHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GenSec.c:1064:5: note: call to 'fclose' here 1064 | fclose (InFileHandle); | ^~~~~~~~~~~~~~~~~~~~~ Sdk/C/LzmaEnc.c: In function 'LzmaEnc_CodeOneMemBlock': Sdk/C/LzmaEnc.c:2828:19: error: storing the address of local variable 'outStream' in '*p.rc.outStream' [-Werror=dangling-pointer=] 2828 | p->rc.outStream = &outStream.vt; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Sdk/C/LzmaEnc.c:2811:28: note: 'outStream' declared here 2811 | CLzmaEnc_SeqOutStreamBuf outStream; | ^~~~~~~~~ Sdk/C/LzmaEnc.c:2811:28: note: 'pp' declared here cc1: all warnings being treated as errors make[2]: *** [../Makefiles/footer.makefile:21: GenFfs.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/GenFfs' make[1]: *** [GNUmakefile:75: GenFfs] Error 2 make[1]: *** Waiting for unfinished jobs.... gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 -D_7ZIP_ST Sdk/C/7zFile.c -o Sdk/C/7zFile.o gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 -D_7ZIP_ST Sdk/C/7zStream.c -o Sdk/C/7zStream.o g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2 EfiVfrParser.cpp -o EfiVfrParser.o DevicePathUtilities.c: In function 'FileDevicePath': DevicePathUtilities.c:321:3: error: writing 4 bytes into a region of size 1 [-Werror=stringop-overflow=] 321 | memcpy (Node, &mUefiDevicePathLibEndDevicePath, sizeof (mUefiDevicePathLibEndDevicePath)); | ^ In file included from UefiDevicePathLib.h:22, from DevicePathUtilities.c:16: ../Include/Protocol/DevicePath.h:51:9: note: destination object 'Type' of size 1 51 | UINT8 Type; ///< 0x01 Hardware Device Path. | ^~~~ cc1: all warnings being treated as errors make[2]: *** [../Makefiles/footer.makefile:21: DevicePathUtilities.o] Error 1 make[2]: *** Waiting for unfinished jobs.... gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 -D_7ZIP_ST Sdk/C/Bra86.c -o Sdk/C/Bra86.o g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2 VfrLexer.cpp -o VfrLexer.o cc1: all warnings being treated as errors make[2]: *** [../Makefiles/footer.makefile:21: GenSec.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/GenSec' make[1]: *** [GNUmakefile:75: GenSec] Error 2 g++ -c -DPCCTS_USE_NAMESPACE_STD -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -O2 VfrSyntax.cpp -o VfrSyntax.o gcc -o ../bin/EfiRom EfiRom.o -L../libs -lCommon g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2 VfrFormPkg.cpp -o VfrFormPkg.o g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2 VfrError.cpp -o VfrError.o make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/EfiRom' g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2 VfrUtilityLib.cpp -o VfrUtilityLib.o g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2 VfrCompiler.cpp -o VfrCompiler.o gcc -o ../bin/VolInfo VolInfo.o -L../libs -lCommon make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/VolInfo' gcc -o ../bin/TianoCompress TianoCompress.o -L../libs -lCommon make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/TianoCompress' make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/DevicePath' make[1]: *** [GNUmakefile:75: DevicePath] Error 2 gcc -o ../bin/GenFv GenFv.o GenFvInternalLib.o -L../libs -lCommon -luuid gcc -o ../bin/GenFw GenFw.o ElfConvert.o Elf32Convert.o Elf64Convert.o -L../libs -lCommon -luuid make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/GenFv' make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/GenFw' In file included from VfrLexer.cpp:22124: Pccts/h/DLexer.h: In member function 'virtual ANTLRTokenType VfrLexer::nextTokenType()': Pccts/h/DLexer.h:68:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 68 | register int state, newstate; | ^~~~~ Pccts/h/DLexer.h:68:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 68 | register int state, newstate; | ^~~~~~~~ Pccts/h/DLexer.h:70:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 70 | register DLGChar *lastpos; | ^~~~~~~ cc1: all warnings being treated as errors make[2]: *** [../Makefiles/footer.makefile:21: Sdk/C/LzmaEnc.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/LzmaCompress' make[1]: *** [GNUmakefile:75: LzmaCompress] Error 2 g++ -o ../bin/VfrCompile AParser.o DLexerBase.o ATokenBuffer.o EfiVfrParser.o VfrLexer.o VfrSyntax.o VfrFormPkg.o VfrError.o VfrUtilityLib.o VfrCompiler.o -L../libs -lCommon make[2]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C/VfrCompile' make[1]: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools/Source/C' make: *** [GNUmakefile:19: Source/C] Error 2 make: Leaving directory '/usr/src/RPM/BUILD/edk2-tools-20220221/BaseTools' error: Bad exit status from /usr/src/tmp/rpm-tmp.589 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.589 (%build) Command exited with non-zero status 1 23.26user 3.61system 0:08.72elapsed 307%CPU (0avgtext+0avgdata 246952maxresident)k 0inputs+0outputs (0major+489886minor)pagefaults 0swaps hsh-rebuild: rebuild of `edk2-tools-20220221-alt1.src.rpm' failed. Command exited with non-zero status 1 29.83user 7.04system 0:18.13elapsed 203%CPU (0avgtext+0avgdata 246952maxresident)k 2424inputs+0outputs (46054major+819648minor)pagefaults 0swaps