* Build fail using latest UDK2018 @ 2018-12-05 18:37 Prem Kumar 2018-12-05 23:59 ` Gao, Liming 0 siblings, 1 reply; 6+ messages in thread From: Prem Kumar @ 2018-12-05 18:37 UTC (permalink / raw) To: edk2-devel 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@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' ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Build fail using latest UDK2018 2018-12-05 18:37 Build fail using latest UDK2018 Prem Kumar @ 2018-12-05 23:59 ` Gao, Liming 2018-12-06 14:42 ` Prem Kumar 0 siblings, 1 reply; 6+ messages in thread From: Gao, Liming @ 2018-12-05 23:59 UTC (permalink / raw) To: Prem Kumar, edk2-devel@lists.01.org How reproduce this issue? Could you list your step? >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Prem Kumar >Sent: Thursday, December 06, 2018 2:37 AM >To: edk2-devel@lists.01.org >Subject: [edk2] Build fail using latest UDK2018 > >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@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\\MdeModulePk >g\\Core\\Pei\\PeiMain\\OUTPUT\\PeiCore.uni' >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Build fail using latest UDK2018 2018-12-05 23:59 ` Gao, Liming @ 2018-12-06 14:42 ` Prem Kumar 2018-12-06 14:53 ` Gao, Liming 0 siblings, 1 reply; 6+ messages in thread From: Prem Kumar @ 2018-12-06 14:42 UTC (permalink / raw) To: liming.gao; +Cc: edk2-devel Recreating this issue is simple.. 1. Fresh build either NT32Pkg for x64 bit 2. Launch NT32 simulator 3. Close Nt32 simulator 4. And try build again for x64 bit 5. It will throw this build error. I've even tried to delete folder PeiMain from Build folder.. then it gives error for another. But it build success when I delete entire build folder. Configuration used: 1. Visual Studio 2016 2. Nt32Pkg 3. UDK2018 On Thu, Dec 6, 2018 at 5:29 AM Gao, Liming <liming.gao@intel.com> wrote: > How reproduce this issue? Could you list your step? > > >-----Original Message----- > >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > >Prem Kumar > >Sent: Thursday, December 06, 2018 2:37 AM > >To: edk2-devel@lists.01.org > >Subject: [edk2] Build fail using latest UDK2018 > > > >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@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\\MdeModulePk > >g\\Core\\Pei\\PeiMain\\OUTPUT\\PeiCore.uni' > >_______________________________________________ > >edk2-devel mailing list > >edk2-devel@lists.01.org > >https://lists.01.org/mailman/listinfo/edk2-devel > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Build fail using latest UDK2018 2018-12-06 14:42 ` Prem Kumar @ 2018-12-06 14:53 ` Gao, Liming 2018-12-06 14:56 ` Prem Kumar 0 siblings, 1 reply; 6+ messages in thread From: Gao, Liming @ 2018-12-06 14:53 UTC (permalink / raw) To: Prem Kumar; +Cc: edk2-devel@lists.01.org Seemly, this is an incremental build issue. I try below command. But, I don’t reproduce it. edksetup.bat Rebuild build -p Nt32Pkg\Nt32Pkg.dsc -a X64 -t VS2015x86 build -p Nt32Pkg\Nt32Pkg.dsc -a X64 -t VS2015x86 run build -p Nt32Pkg\Nt32Pkg.dsc -a X64 -t VS2015x86 Thanks Liming From: Prem Kumar [mailto:perry.prem@gmail.com] Sent: Thursday, December 6, 2018 10:42 PM To: Gao, Liming <liming.gao@intel.com> Cc: edk2-devel@lists.01.org Subject: Re: [edk2] Build fail using latest UDK2018 Recreating this issue is simple.. 1. Fresh build either NT32Pkg for x64 bit 2. Launch NT32 simulator 3. Close Nt32 simulator 4. And try build again for x64 bit 5. It will throw this build error. I've even tried to delete folder PeiMain from Build folder.. then it gives error for another. But it build success when I delete entire build folder. Configuration used: 1. Visual Studio 2016 2. Nt32Pkg 3. UDK2018 On Thu, Dec 6, 2018 at 5:29 AM Gao, Liming <liming.gao@intel.com<mailto:liming.gao@intel.com>> wrote: How reproduce this issue? Could you list your step? >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org<mailto:edk2-devel-bounces@lists.01.org>] On Behalf Of >Prem Kumar >Sent: Thursday, December 06, 2018 2:37 AM >To: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org> >Subject: [edk2] Build fail using latest UDK2018 > >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@lists.01.org<mailto:edk2-devel@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\\MdeModulePk >g\\Core\\Pei\\PeiMain\\OUTPUT\\PeiCore.uni' >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org> >https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Build fail using latest UDK2018 2018-12-06 14:53 ` Gao, Liming @ 2018-12-06 14:56 ` Prem Kumar 2018-12-06 15:02 ` Gao, Liming 0 siblings, 1 reply; 6+ messages in thread From: Prem Kumar @ 2018-12-06 14:56 UTC (permalink / raw) To: liming.gao; +Cc: edk2-devel Hi Liming, You no need to do Rebuild. Just normal build is sufficient to recreate this build error. -- Thanks, Prem. On Thu, Dec 6, 2018 at 8:23 PM Gao, Liming <liming.gao@intel.com> wrote: > Seemly, this is an incremental build issue. > > > > I try below command. But, I don’t reproduce it. > > > > edksetup.bat Rebuild > > build -p Nt32Pkg\Nt32Pkg.dsc -a X64 -t VS2015x86 > > build -p Nt32Pkg\Nt32Pkg.dsc -a X64 -t VS2015x86 run > > build -p Nt32Pkg\Nt32Pkg.dsc -a X64 -t VS2015x86 > > > > Thanks > > Liming > > *From:* Prem Kumar [mailto:perry.prem@gmail.com] > *Sent:* Thursday, December 6, 2018 10:42 PM > *To:* Gao, Liming <liming.gao@intel.com> > *Cc:* edk2-devel@lists.01.org > *Subject:* Re: [edk2] Build fail using latest UDK2018 > > > > Recreating this issue is simple.. > > 1. Fresh build either NT32Pkg for x64 bit > 2. Launch NT32 simulator > 3. Close Nt32 simulator > 4. And try build again for x64 bit > 5. It will throw this build error. > > I've even tried to delete folder PeiMain from Build folder.. then it gives > error for another. But it build success when I delete entire build folder. > > > > Configuration used: > > 1. Visual Studio 2016 > 2. Nt32Pkg > 3. UDK2018 > > > > On Thu, Dec 6, 2018 at 5:29 AM Gao, Liming <liming.gao@intel.com> wrote: > > How reproduce this issue? Could you list your step? > > >-----Original Message----- > >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > >Prem Kumar > >Sent: Thursday, December 06, 2018 2:37 AM > >To: edk2-devel@lists.01.org > >Subject: [edk2] Build fail using latest UDK2018 > > > >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@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\\MdeModulePk > >g\\Core\\Pei\\PeiMain\\OUTPUT\\PeiCore.uni' > >_______________________________________________ > >edk2-devel mailing list > >edk2-devel@lists.01.org > >https://lists.01.org/mailman/listinfo/edk2-devel > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Build fail using latest UDK2018 2018-12-06 14:56 ` Prem Kumar @ 2018-12-06 15:02 ` Gao, Liming 0 siblings, 0 replies; 6+ messages in thread From: Gao, Liming @ 2018-12-06 15:02 UTC (permalink / raw) To: Prem Kumar; +Cc: edk2-devel@lists.01.org edksetup.bat Rebuild is to compile BaseTools C tools. It doesn’t build any thing. Thanks Liming From: Prem Kumar [mailto:perry.prem@gmail.com] Sent: Thursday, December 6, 2018 10:57 PM To: Gao, Liming <liming.gao@intel.com> Cc: edk2-devel@lists.01.org Subject: Re: [edk2] Build fail using latest UDK2018 Hi Liming, You no need to do Rebuild. Just normal build is sufficient to recreate this build error. -- Thanks, Prem. On Thu, Dec 6, 2018 at 8:23 PM Gao, Liming <liming.gao@intel.com<mailto:liming.gao@intel.com>> wrote: Seemly, this is an incremental build issue. I try below command. But, I don’t reproduce it. edksetup.bat Rebuild build -p Nt32Pkg\Nt32Pkg.dsc -a X64 -t VS2015x86 build -p Nt32Pkg\Nt32Pkg.dsc -a X64 -t VS2015x86 run build -p Nt32Pkg\Nt32Pkg.dsc -a X64 -t VS2015x86 Thanks Liming From: Prem Kumar [mailto:perry.prem@gmail.com<mailto:perry.prem@gmail.com>] Sent: Thursday, December 6, 2018 10:42 PM To: Gao, Liming <liming.gao@intel.com<mailto:liming.gao@intel.com>> Cc: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org> Subject: Re: [edk2] Build fail using latest UDK2018 Recreating this issue is simple.. 1. Fresh build either NT32Pkg for x64 bit 2. Launch NT32 simulator 3. Close Nt32 simulator 4. And try build again for x64 bit 5. It will throw this build error. I've even tried to delete folder PeiMain from Build folder.. then it gives error for another. But it build success when I delete entire build folder. Configuration used: 1. Visual Studio 2016 2. Nt32Pkg 3. UDK2018 On Thu, Dec 6, 2018 at 5:29 AM Gao, Liming <liming.gao@intel.com<mailto:liming.gao@intel.com>> wrote: How reproduce this issue? Could you list your step? >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org<mailto:edk2-devel-bounces@lists.01.org>] On Behalf Of >Prem Kumar >Sent: Thursday, December 06, 2018 2:37 AM >To: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org> >Subject: [edk2] Build fail using latest UDK2018 > >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@lists.01.org<mailto:edk2-devel@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\\MdeModulePk >g\\Core\\Pei\\PeiMain\\OUTPUT\\PeiCore.uni' >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org> >https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-12-06 15:02 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-12-05 18:37 Build fail using latest UDK2018 Prem Kumar 2018-12-05 23:59 ` Gao, Liming 2018-12-06 14:42 ` Prem Kumar 2018-12-06 14:53 ` Gao, Liming 2018-12-06 14:56 ` Prem Kumar 2018-12-06 15:02 ` Gao, Liming
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox