public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Iversen, Stephen" <stephen.iversen@hpe.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Build.py Tools Code Failure
Date: Tue, 23 Nov 2021 20:49:33 +0000	[thread overview]
Message-ID: <CS1PR8401MB0951DC471A760632D50CE463E7609@CS1PR8401MB0951.NAMPRD84.PROD.OUTLOOK.COM> (raw)

[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]

Hello,

I obtained the following error when trying to build a BIOS image.

  Traceback (most recent call last):
  File "/workarea/Edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 371, in GenFdsApi
  GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList)
  File "/workarea/Edk2/BaseTools/Source/Python/GenFds/GenFds.py", line 510, in GenFd
  FdObj.GenFd()
  File "/workarea/Edk2/BaseTools/Source/Python/GenFds/Fd.py", line 131, in GenFd
  RegionObj.AddToBuffer (FdBuffer, self.BaseAddress, self.BlockSizeList, self.ErasePolarity, GenFdsGlobalVariable.ImageBinDict, self.DefineVarDict, Flag=Flag)
  File "/workarea/Edk2/BaseTools/Source/Python/GenFds/Region.py", line 134, in AddToBuffer
  FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, ErasePolarity, Flag=Flag)
  File "/workarea/Edk2/BaseTools/Source/Python/GenFds/Fv.py", line 127, in AddToBuffer
  FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress, IsMakefile=Flag, FvName=self.UiFvName)
  File "/workarea/Edk2/BaseTools/Source/Python/GenFds/FfsFileStatement.py", line 72, in GenFfs
  shutil.rmtree(OutputDir)
  File "/usr/lib/python2.7/shutil.py", line 275, in rmtree
  onerror(os.remove, fullname, sys.exc_info())
  File "/usr/lib/python2.7/shutil.py", line 273, in rmtree
  os.remove(fullname)
  OSError: [Errno 13] Permission denied: '/workarea/Intel/Build/EagleStreamFspPkg/DEBUG_GCC5/FV/Ffs/D9093578-08EB-44DF-B9D8-D0C1D3D55D96FSP-S/D9093578-08EB-44DF-B9D8-D0C1D3D55D96SEC1.raw.txt'

It instructed me to email you for help. What is the appropriate measure to fix this?

Thanks!
Stephen Iversen

[-- Attachment #2: Type: text/html, Size: 4697 bytes --]

                 reply	other threads:[~2021-11-23 20:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CS1PR8401MB0951DC471A760632D50CE463E7609@CS1PR8401MB0951.NAMPRD84.PROD.OUTLOOK.COM \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox