[edk2] Build fail using latest UDK2018

Prem Kumar perry.prem at gmail.com
Wed Dec 5 10:37:26 PST 2018


Hi All,
 When I try to build UDK2018 package I'm facing below build error.

*Note:*
  When I delete the build folder the same build error is not happening.
  The same build error is not happening when build is happening for first
time.

Any pointers is appreciated.


build.py...
 : error C0DE: Unknown fatal error when processing
[c:\myworkspace\MdeModulePkg\Core\Pei\PeiMain.inf]

(Please send email to edk2-devel at lists.01.org for help, attaching following
call stack trace!)

(Python 2.7.14 on win32) Traceback (most recent call last):
  File "C:\myworkspace\BaseTools\Source\Python\build\build.py", line 2494,
in Main
    MyBuild.Launch()
  File "C:\myworkspace\BaseTools\Source\Python\build\build.py", line 2227,
in Launch
    self._MultiThreadBuildPlatform()
  File "C:\myworkspace\BaseTools\Source\Python\build\build.py", line 2100,
in _MultiThreadBuildPlatform
    self.CreateAsBuiltInf()
  File "C:\myworkspace\BaseTools\Source\Python\build\build.py", line 2239,
in CreateAsBuiltInf
    Module.CreateAsBuiltInf()
  File "C:\myworkspace\BaseTools\Source\Python\AutoGen\AutoGen.py", line
3617, in CreateAsBuiltInf
    shutil.copy2(UNIFile, self.OutputDir)
  File "C:\Python27\lib\shutil.py", line 144, in copy2
    copyfile(src, dst)
  File "C:\Python27\lib\shutil.py", line 97, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied:
'c:\\myworkspaceBuild\\NT32X64\\DEBUG_VS2015x86\\X64\\MdeModulePkg\\Core\\Pei\\PeiMain\\OUTPUT\\PeiCore.uni'


More information about the edk2-devel mailing list