[edk2-devel] Build.py Tools Code Failure
Iversen, Stephen
stephen.iversen at hpe.com
Tue Nov 23 20:49:33 UTC 2021
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
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84076): https://edk2.groups.io/g/devel/message/84076
Mute This Topic: https://groups.io/mt/87296861/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/20211123/7c711357/attachment.htm>
More information about the edk2-devel-archive
mailing list