[edk2-devel] How i can fix this build error

Im from ohio artomkrivorucko at gmail.com
Mon Sep 11 11:17:25 UTC 2023


I want build edk2 for aarch64 but i got this error:
-------------------------------------------------------------------------------------------------------------------

[Builder] Configure environment.
Using EDK2 in-source Basetools
WORKSPACE: /mnt/c/Users/ximi/Downloads/exploit/edk2
EDK_TOOLS_PATH: /mnt/c/Users/ximi/Downloads/exploit/edk2/BaseTools
CONF_PATH: /mnt/c/Users/ximi/Downloads/exploit/edk2/Conf
Copying $EDK_TOOLS_PATH/Conf/build_rule.template
     to /mnt/c/Users/ximi/Downloads/exploit/edk2/Conf/build_rule.txt
Copying $EDK_TOOLS_PATH/Conf/tools_def.template
     to /mnt/c/Users/ximi/Downloads/exploit/edk2/Conf/tools_def.txt
Copying $EDK_TOOLS_PATH/Conf/target.template
     to /mnt/c/Users/ximi/Downloads/exploit/edk2/Conf/target.txt
Task: EDK2 build
Use GCC at /usr/bin/aarch64-linux-gnu- to run builds.
Stamp build.
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Build NintendoSwitchPkg for NintendoSwitch (DEBUG).
Build environment:
Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
Build start time: 13:58:23, Sep.11 2023

WORKSPACE        = /mnt/c/Users/ximi/Downloads/exploit/edk2
EDK_TOOLS_PATH   = /mnt/c/Users/ximi/Downloads/exploit/edk2/BaseTools
CONF_PATH        = /mnt/c/Users/ximi/Downloads/exploit/edk2/Conf


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

Active Platform          =
/mnt/c/Users/ximi/Downloads/exploit/edk2/NintendoSwitchPkg/NintendoSwitch.dsc
.....

build.py...
/mnt/c/Users/ximi/Downloads/exploit/edk2/NintendoSwitchPkg/NintendoSwitch.dsc(...):
error 4000: Instance of library class [VariableFlashInfoLib] is not found
        in
[/mnt/c/Users/ximi/Downloads/exploit/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf]
[AARCH64]
        consumed by module
[/mnt/c/Users/ximi/Downloads/exploit/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf]


- Failed -
Build end time: 13:58:29, Sep.11 2023
Build total time: 00:00:06

Write-Error: Build target NintendoSwitch failed.
False

-------------------------------------------------------------------------------------------------------------------

How i can fix this


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108492): https://edk2.groups.io/g/devel/message/108492
Mute This Topic: https://groups.io/mt/101297047/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20230911/82826533/attachment.htm>


More information about the edk2-devel-archive mailing list