strongtz / edk2-rk3399

Highly experimental port of edk2 for rk3399
30 stars 6 forks source link

Instance of library class [RegisterFilterLib] is not found #1

Open b- opened 3 years ago

b- commented 3 years ago

After the tests, this happens

Ran 285 tests in 3.829s

OK
make[1]: Leaving directory '/home/b/workspace-edk2/edk2/BaseTools/Tests'
make: Leaving directory '/home/b/workspace-edk2/edk2/BaseTools'
+ rm -f boot_polaris.img uefi_img
+ rm -f workspace/Build/sdm845Pkg/DEBUG_GCC5/FV/SDM845PKG_UEFI.fd
+ GCC5_AARCH64_PREFIX=aarch64-linux-gnu-
+ build -s -n 0 -a AARCH64 -t GCC5 -p sdm845Pkg/polaris.dsc -b DEBUG
Build environment: Linux-5.12.10-rockchip64-aarch64-with-glibc2.33
Build start time: 21:18:14, Jun.13 2021

WORKSPACE        = /home/b/workspace-edk2/edk2-rk3399/workspace
PACKAGES_PATH    = /home/b/workspace-edk2/edk2:/home/b/workspace-edk2/edk2-platforms:/home/b/workspace-edk2/edk2-rk3399
EDK_TOOLS_PATH   = /home/b/workspace-edk2/edk2/BaseTools
CONF_PATH        = /home/b/workspace-edk2/edk2/Conf
PYTHON_COMMAND   = /usr/bin/python3.9

Processing meta-data .
Architecture(s)  = AARCH64
Build target     = DEBUG
Toolchain        = GCC5

Active Platform          = /home/b/workspace-edk2/edk2-rk3399/sdm845Pkg/polaris.dsc
.

build.py...
/home/b/workspace-edk2/edk2-rk3399/sdm845Pkg/polaris.dsc(...): error 4000: Instance of library class [RegisterFilterLib] is not found
    in [/home/b/workspace-edk2/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf] [AARCH64]
    consumed by module [/home/b/workspace-edk2/edk2/ArmPlatformPkg/PrePi/PeiUniCore.inf]

- Failed -
Build end time: 21:18:16, Jun.13 2021
Build total time: 00:00:02
b- commented 3 years ago

I tried updating the edk2 and edk2-platforms trees to the latest commit, but I got the same error.

b- commented 3 years ago

I also tried commenting out these lines https://github.com/tianocore/edk2/blob/b8649cf2a3e673a4a8cb6c255e394b354b771550/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf#L69 https://github.com/tianocore/edk2/blob/b8649cf2a3e673a4a8cb6c255e394b354b771550/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf#L74 https://github.com/tianocore/edk2/blob/b8649cf2a3e673a4a8cb6c255e394b354b771550/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf#L75 and it then results in the following:


OK
make[1]: Leaving directory '/home/b/workspace-edk2/edk2/BaseTools/Tests'
make: Leaving directory '/home/b/workspace-edk2/edk2/BaseTools'
+ rm -f boot_polaris.img uefi_img
+ rm -f workspace/Build/sdm845Pkg/DEBUG_GCC5/FV/SDM845PKG_UEFI.fd
+ GCC5_AARCH64_PREFIX=aarch64-linux-gnu-
+ build -s -n 0 -a AARCH64 -t GCC5 -p sdm845Pkg/polaris.dsc -b DEBUG
Build environment: Linux-5.12.10-rockchip64-aarch64-with-glibc2.33
Build start time: 21:46:47, Jun.13 2021

WORKSPACE        = /home/b/workspace-edk2/edk2-rk3399/workspace
PACKAGES_PATH    = /home/b/workspace-edk2/edk2:/home/b/workspace-edk2/edk2-platforms:/home/b/workspace-edk2/edk2-rk3399
EDK_TOOLS_PATH   = /home/b/workspace-edk2/edk2/BaseTools
CONF_PATH        = /home/b/workspace-edk2/edk2/Conf
PYTHON_COMMAND   = /usr/bin/python3.9

Processing meta-data .
Architecture(s)  = AARCH64
Build target     = DEBUG
Toolchain        = GCC5

Active Platform          = /home/b/workspace-edk2/edk2-rk3399/sdm845Pkg/polaris.dsc
.............. done!
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2-rk3399/sdm845Pkg/Library/SerialPortLib/SerialPortLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2-rk3399/sdm845Pkg/Library/SerialPortLib/UartLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BaseLib/BaseLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/DxePcdLib/DxePcdLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/NetworkPkg/Library/DxeNetLib/DxeNetLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2-rk3399/sdm845Pkg/Library/CRULib/CRULib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2-rk3399/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2-rk3399/sdm845Pkg/Library/MemoryInitPeiLib/PeiMemoryAllocationLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2-rk3399/sdm845Pkg/Library/PlatformPeiLib/PlatformPeiLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2-rk3399/sdm845Pkg/Library/sdm845Lib/sdm845Lib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/EmbeddedPkg/Library/PrePiLib/PrePiLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2-rk3399/sdm845Pkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Drivers/ArmGic/ArmGicLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/DxeServicesLib/DxeServicesLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/DxeHobLib/DxeHobLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/UefiLib/UefiLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/ArmPkg/Library/ArmLib/ArmBaseLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Universal/PrintDxe/PrintDxe.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf [AARCH64]
Building ... /home/b/workspace-edk2/edk2/MdeModulePkg/Universal/SerialDxe/SerialDxe.inf [AARCH64]
/usr/bin/ld: /tmp/EnglishDxe.dll.n3k1Ut.ltrans0.ltrans.o: in function `MmioWrite32.isra.0':
/home/b/workspace-edk2/edk2/MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c:578: undefined reference to `FilterBeforeMmIoWrite'
/usr/bin/ld: /home/b/workspace-edk2/edk2/MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c:582: undefined reference to `FilterAfterMmIoWrite'
/usr/bin/ld: /tmp/EnglishDxe.dll.n3k1Ut.ltrans0.ltrans.o: in function `MmioRead32':
/home/b/workspace-edk2/edk2/MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c:545: undefined reference to `FilterBeforeMmIoRead'
/usr/bin/ld: /home/b/workspace-edk2/edk2/MdePkg/Library/BaseIoLibIntrinsic/IoLibNoIo.c:549: undefined reference to `FilterAfterMmIoRead'
collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:340: /home/b/workspace-edk2/edk2-rk3399/workspace/Build/sdm845Pkg/DEBUG_GCC5/AARCH64/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe/DEBUG/EnglishDxe.dll] Error 1

build.py...
 : error 7000: Failed to execute command
    make -s tbuild [/home/b/workspace-edk2/edk2-rk3399/workspace/Build/sdm845Pkg/DEBUG_GCC5/AARCH64/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe]

build.py...
 : error 7000: Failed to execute command
    make -s tbuild [/home/b/workspace-edk2/edk2-rk3399/workspace/Build/sdm845Pkg/DEBUG_GCC5/AARCH64/MdeModulePkg/Universal/PrintDxe/PrintDxe]

build.py...
 : error 7000: Failed to execute command
    make -s tbuild [/home/b/workspace-edk2/edk2-rk3399/workspace/Build/sdm845Pkg/DEBUG_GCC5/AARCH64/EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe]

build.py...
 : error 7000: Failed to execute command
    make -s tbuild [/home/b/workspace-edk2/edk2-rk3399/workspace/Build/sdm845Pkg/DEBUG_GCC5/AARCH64/EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter]

build.py...
 : error 7000: Failed to execute command
    make -s tbuild [/home/b/workspace-edk2/edk2-rk3399/workspace/Build/sdm845Pkg/DEBUG_GCC5/AARCH64/MdeModulePkg/Universal/SerialDxe/SerialDxe]

build.py...
 : error 7000: Failed to execute command
    make -s tbuild [/home/b/workspace-edk2/edk2-rk3399/workspace/Build/sdm845Pkg/DEBUG_GCC5/AARCH64/sdm845Pkg/Drivers/LogoDxe/LogoDxe]

build.py...
 : error F002: Failed to build module
    /home/b/workspace-edk2/edk2/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf [AARCH64, GCC5, DEBUG]

- Failed -
Build end time: 21:47:29, Jun.13 2021
Build total time: 00:00:42
evi0s commented 3 years ago

Yeah, I do recreate your issue. I have no idea what's going on with edk2, but instead of specifying commit in clone operation, I fully clone the edk2 and checkout to that commit, and it works.

You may try this:

cd workspace-edk2
rm -rf edk2
git clone https://github.com/tianocore/edk2.git --recursive
cd edk2
git checkout 3a3713e62cfad00d78bb938b0d9fb1eedaeff314

BTW, I'm using Debian buster and python 3.7 for building environment, just FYI.

evi0s commented 3 years ago

plz let me know if this also works for you. I'll fix up the description in README.

chainsx commented 3 years ago

Yeah, I do recreate your issue. I have no idea what's going on with edk2, but instead of specifying commit in clone operation, I fully clone the edk2 and checkout to that commit, and it works.

You may try this:

cd workspace-edk2
rm -rf edk2
git clone https://github.com/tianocore/edk2.git --recursive
cd edk2
git checkout 3a3713e62cfad00d78bb938b0d9fb1eedaeff314

BTW, I'm using Debian buster and python 3.7 for building environment, just FYI.

Perfect, it works.