From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ma1-aaemail-dr-lapp02.apple.com (ma1-aaemail-dr-lapp02.apple.com [17.171.2.68]) by mx.groups.io with SMTP id smtpd.web10.47451.1617573595010675493 for ; Sun, 04 Apr 2021 14:59:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=nrSJO3++; spf=pass (domain: apple.com, ip: 17.171.2.68, mailfrom: afish@apple.com) Received: from pps.filterd (ma1-aaemail-dr-lapp02.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp02.apple.com (8.16.0.42/8.16.0.42) with SMTP id 134Lwh4Q029732; Sun, 4 Apr 2021 14:59:54 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=content-type : content-transfer-encoding : from : mime-version : subject : date : message-id : references : cc : in-reply-to : to; s=20180706; bh=QX84CeaFzKMjXO2QsDd7VQA6u5tEUIE9iCYkXyy/1H8=; b=nrSJO3++5XWWFAAUkwRMkyATAMu67PDqzs/3b+b1rw+RMDuXvO9/9BGZ2hpAlDxfhtzI Bw/CfpZmwhv5sOKunQ91d2aXfHYs2gIJDGFFSGzs5g7HpGdbXfVcHYl4SrSmpLiBodJ4 1R1FlCOO162qow57W/jlWox/303qRFGiSuy8GQSnkXXxxoI3XxTmZ74H6UehgA/kAQna 8A2Dlh4H/DvUi3GpOQ2DcHfngIX7fZVXG4tYnoE1KwubbENt2vN2i6QSbxxNseKMlclO aaiG83iBq8U9vLygIyXQNXPvgY4ewQMYbHqeXsSYPmSiR7KGbznkK1BsTeAGhR9F005E dg== Received: from rn-mailsvcp-mta-lapp04.rno.apple.com (rn-mailsvcp-mta-lapp04.rno.apple.com [10.225.203.152]) by ma1-aaemail-dr-lapp02.apple.com with ESMTP id 37q2qr17r9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sun, 04 Apr 2021 14:59:54 -0700 Received: from rn-mailsvcp-mmp-lapp01.rno.apple.com (rn-mailsvcp-mmp-lapp01.rno.apple.com [17.179.253.14]) by rn-mailsvcp-mta-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) with ESMTPS id <0QR2001TL7RTAB90@rn-mailsvcp-mta-lapp04.rno.apple.com>; Sun, 04 Apr 2021 14:59:53 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp01.rno.apple.com by rn-mailsvcp-mmp-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) id <0QR20080075C3O00@rn-mailsvcp-mmp-lapp01.rno.apple.com>; Sun, 04 Apr 2021 14:59:53 -0700 (PDT) X-Va-A: X-Va-T-CD: f5e4e7a5cf03d239f57f09dc306b53a8 X-Va-E-CD: 8b4e17cec352dc75ff8762770cf60c53 X-Va-R-CD: e46bb7d29cd4afaae071afb69a14a2a2 X-Va-CD: 0 X-Va-ID: 549073b2-de35-4521-87d6-113fdd1b92bf X-V-A: X-V-T-CD: f5e4e7a5cf03d239f57f09dc306b53a8 X-V-E-CD: 8b4e17cec352dc75ff8762770cf60c53 X-V-R-CD: e46bb7d29cd4afaae071afb69a14a2a2 X-V-CD: 0 X-V-ID: 2a862341-7349-45ad-b2f7-99beead5911b X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-04-04_11:2021-04-01,2021-04-04 signatures=0 Received: from [17.11.100.87] (unknown [17.11.100.87]) by rn-mailsvcp-mmp-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.7.20201203 64bit (built Dec 3 2020)) with ESMTPSA id <0QR200E9T7RP5H00@rn-mailsvcp-mmp-lapp01.rno.apple.com>; Sun, 04 Apr 2021 14:59:50 -0700 (PDT) From: "Andrew Fish" MIME-version: 1.0 (1.0) Subject: Re: [edk2-devel] uefi building for fu-540 Date: Sun, 04 Apr 2021 14:59:49 -0700 Message-id: <164EE8CD-3ED6-4C03-B631-3319070B68D4@apple.com> References: Cc: edk2-devel-groups-io In-reply-to: To: Pullannagari Babu X-Mailer: iPhone Mail (18D70) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-04-04_11:2021-04-01,2021-04-04 signatures=0 Content-type: multipart/alternative; boundary=Apple-Mail-C26A7F29-0328-4CC4-9F2F-672FE812084A Content-transfer-encoding: 7bit --Apple-Mail-C26A7F29-0328-4CC4-9F2F-672FE812084A Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable You should probably just chmod the directory permissions so you can build f= rom the git repo vs. trying to build with sudo or some such. For each terminal window there is a onetime setup of sourcing . ./edksetup= .sh (not extra dot to source command). That should setup your path. That lo= oks missing in your 2nd failure. > On Apr 4, 2021, at 8:52 AM, Pullannagari Babu wrote: >=20 > =EF=BB=BF > Hello Andrew, >=20 >=20 > Thanks for replying early, >=20 > If I build as root permissions, I'm facing the issue attached below. >=20 > >=20 >=20 >=20 > Thanks > Babu P >=20 > From: devel@edk2.groups.io on behalf of Andrew Fi= sh via groups.io > Sent: Sunday, April 4, 2021 9:10 PM > To: edk2-devel-groups-io ; Pullannagari Babu > Subject: Re: [edk2-devel] uefi building for fu-540 > > Babu, >=20 > The `Build` directory is created by the build for the build output. Look= s like your problem is you don=E2=80=99t have privilege to add a directory = in `/work/git/tianocore` Did you have to use `sudo` to add the directory? S= eem like you need to fix the permissions of the tiancore directory. >=20 > Thanks, >=20 > Andrew Fish=20 >=20 >> On Apr 4, 2021, at 8:21 AM, Pullannagari Babu wrote: >>=20 >> Hello All, >>=20 >>=20 >> I'm trying to build UEFI for freedom-u540 board, I cloned these sources= : edk2, edk2-non-osi , edk2-platforms. in my build directory=20 >>=20 >> then I'm facing the below issue=20 >>=20 >> build.py... :=20 >> error 0005: Could not create directory /work/git/tianocore/Build/Freedo= mU500VC707/DEBUG_GCC5/RISCV64 >>=20 >> then i craeted Build/FreedomU500VC707/DEBUG_GCC5/RISCV64 directory manu= ally. >> after i facing below issue please can you help out this. >>=20 >>=20 >> build -a RISCV64 -p Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U= 500.dsc -t GCC5 >>=20 >> >>=20 >>=20 >> Thanks >> Babu P >=20 > [EXT] >=20 --Apple-Mail-C26A7F29-0328-4CC4-9F2F-672FE812084A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable You should probably just chmod the dir= ectory permissions so you can build from the git repo vs. trying to build w= ith sudo or some such.

For each terminal window there is= a onetime setup of sourcing . ./edksetup.sh (not extra dot to source comma= nd). That should setup your path. That looks missing in your 2nd failure.

On Apr 4, 2021, at 8:52 AM, Pullannagari Babu <Pullannagari.babu@exalea= psemi.com> wrote:

=EF=BB=BF
Hello Andrew,


Thanks for replying early,

If I build as root permissions, I'm facing the issue attached below.

<Screenshot from 2021-04-04 21-19-34.png>



Thanks
Babu P


From: devel@edk2.groups.io= <devel@edk2.groups.io> on behalf of Andrew Fish via groups.io <af= ish=3Dapple.com@groups.io>
Sent: Sunday, April 4, 2021 9:10 PM
To: edk2-devel-groups-io <devel@edk2.groups.io>; Pullannagari= Babu <Pullannagari.babu@exaleapsemi.com>
Subject: Re: [edk2-devel] uefi building for fu-540
 
Babu,

The `Build` directory is created by the build for the buil= d output. Looks like your problem is you don=E2=80=99t have privilege to ad= d a directory in `/work/git/= tianocore` Did you have to use `sudo` to add the directory? Seem like you need to fix th= e permissions of the tiancore directory.

Thanks,

Andrew Fish 

On Apr 4, 2021, at 8:21 AM, Pullannagari Babu <Pullannagari.babu= @exaleapsemi.com> wrote:

Hello All,


I'm trying to build UEFI for freedom-u540 board, I cloned these sources :<= span class=3D"x_Apple-converted-space"> edk2, edk= 2-non-osi , edk2-platforms. in my build directory 

then I'm facing the below issue&nb= sp;

build.py... :&n= bsp;
error 0005: Could not create directory /work/git/tianocore/B= uild/FreedomU500VC707/DEBUG_GCC5/RISCV64

then i craeted Build/FreedomU500VC707/DEBUG_GCC5/RISCV64 directory manually.
after i facing below issue please can you help out this.


build -a RISCV64 -p Platform/SiFive/U5SeriesPkg/FreedomU50= 0VC707Board/U500.dsc -t GCC5

&l= t;Outlook-ie2qxiud.png>


Thanks
Babu P

[EXT]
--Apple-Mail-C26A7F29-0328-4CC4-9F2F-672FE812084A--