From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id CF817D802AC for ; Mon, 11 Sep 2023 16:54:38 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Kf1uMpkwGFJkM+YhanlfN1V2yWKQ4kgyuSSnpsHejKg=; c=relaxed/simple; d=groups.io; h=MIME-Version:From:Date:Message-ID:Subject:To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1694451277; v=1; b=l15dCplBVsnw7vdLG2Mzo4T2Dq62Jh7Ud0+EohdGYgHTKBpFet86xGnU/j6NPAOdfKf3deVG grbb1zZsyH3NLFtwjnWE/3DEpvLnKK8SRO0O04gZN2sahUcLThuaFv+hBG/2xxq9whXLTpvkjUd +1JrxXYXI2qqqGD1piG4kUuY= X-Received: by 127.0.0.2 with SMTP id 4qU3YY7687511xImXTVsl1Sm; Mon, 11 Sep 2023 09:54:37 -0700 X-Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by mx.groups.io with SMTP id smtpd.web11.55997.1694431063266667457 for ; Mon, 11 Sep 2023 04:17:43 -0700 X-Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-502a4f33440so3906480e87.1 for ; Mon, 11 Sep 2023 04:17:42 -0700 (PDT) X-Gm-Message-State: FWIJWO9dfkaGd1y3UAACjhwnx7686176AA= X-Google-Smtp-Source: AGHT+IFtyY1fQdaOGnkZY3JWKdG6PHH7813p4heIpKF53kucym73tatInS+2xSaUXK/W/J05+1HiquxvDfKAQE6d0xc= X-Received: by 2002:a05:6512:1092:b0:4fe:993:2218 with SMTP id j18-20020a056512109200b004fe09932218mr8656513lfg.31.1694431060693; Mon, 11 Sep 2023 04:17:40 -0700 (PDT) MIME-Version: 1.0 From: Im from ohio Date: Mon, 11 Sep 2023 14:17:25 +0300 Message-ID: Subject: [edk2-devel] How i can fix this build error To: devel@edk2.groups.io Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,artomkrivorucko@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: multipart/alternative; boundary="0000000000007818aa060513797c" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=l15dCplB; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) --0000000000007818aa060513797c Content-Type: text/plain; charset="UTF-8" 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/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=- --0000000000007818aa060513797c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I want build edk2 for aarch64 but i got this error:
--= ---------------------------------------------------------------------------= --------------------------------------

[Builder] C= onfigure environment.
Using EDK2 in-source Basetools
WORKSPACE: /mnt/= c/Users/ximi/Downloads/exploit/edk2
EDK_TOOLS_PATH: /mnt/c/Users/ximi/Do= wnloads/exploit/edk2/BaseTools
CONF_PATH: /mnt/c/Users/ximi/Downloads/ex= ploit/edk2/Conf
Copying $EDK_TOOLS_PATH/Conf/build_rule.template
=C2= =A0 =C2=A0 =C2=A0to /mnt/c/Users/ximi/Downloads/exploit/edk2/Conf/build_rul= e.txt
Copying $EDK_TOOLS_PATH/Conf/tools_def.template
=C2=A0 =C2=A0 = =C2=A0to /mnt/c/Users/ximi/Downloads/exploit/edk2/Conf/tools_def.txt
Cop= ying $EDK_TOOLS_PATH/Conf/target.template
=C2=A0 =C2=A0 =C2=A0to /mnt/c/= Users/ximi/Downloads/exploit/edk2/Conf/target.txt
Task: EDK2 build
Us= e GCC at /usr/bin/aarch64-linux-gnu- to run builds.
Stamp build.
fata= l: 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 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D /mnt= /c/Users/ximi/Downloads/exploit/edk2
EDK_TOOLS_PATH =C2=A0 =3D /mnt/c/Us= ers/ximi/Downloads/exploit/edk2/BaseTools
CONF_PATH =C2=A0 =C2=A0 =C2=A0= =C2=A0=3D /mnt/c/Users/ximi/Downloads/exploit/edk2/Conf


Process= ing meta-data .
Architecture(s) =C2=A0=3D AARCH64
Build target =C2=A0= =C2=A0 =3D DEBUG
Toolchain =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D GCC5

A= ctive Platform =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D /mnt/c/Users/ximi/Down= loads/exploit/edk2/NintendoSwitchPkg/NintendoSwitch.dsc
.....

bui= ld.py...
/mnt/c/Users/ximi/Downloads/exploit/edk2/NintendoSwitchPkg/Nint= endoSwitch.dsc(...): error 4000: Instance of library class [VariableFlashIn= foLib] is not found
=C2=A0 =C2=A0 =C2=A0 =C2=A0 in [/mnt/c/Users/ximi/Do= wnloads/exploit/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRun= timeDxe.inf] [AARCH64]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 consumed by module [/= mnt/c/Users/ximi/Downloads/exploit/edk2/MdeModulePkg/Universal/Variable/Run= timeDxe/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:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#108492) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--0000000000007818aa060513797c--