From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::52b; helo=mail-ed1-x52b.google.com; envelope-from=perry.prem@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3260A21197040 for ; Thu, 6 Dec 2018 06:57:07 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id p6so1026994eds.0 for ; Thu, 06 Dec 2018 06:57:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6ibo/74wNQ3pqpTLi8Ah0oINWp0MPFX0h+kDzUeQh08=; b=Y1QUii3Z48I3dci9vzjwyGjBaVM689g0a4bcirpDJNcaZJMf70LWh5XxH1NCaOVf1W B2Mr5q6FW7fvwQy0rPw++ThnqkR4fvmyR2J6dJDx8iEnD4LxbnUTgmOr7YAhfqGuteUL sJbZhprYFwZX99GyKDSUu1YrHXoc/+2M98UmopZCWENz0oTKZVs6qJVpe2bmylcdA490 sctDaa67nO3wDKj87Id/ZZuKveJu2YKMXEJpSjSsraf+4m+PKUm8TQDCjEEJgm7zBLV2 ZFuk+CDwpT8cQfqDobU7jLCvJ4zBXcAbpUN2hjuFcV6g291TzARy4Mp8V5Ag5dLyDqEv xDWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6ibo/74wNQ3pqpTLi8Ah0oINWp0MPFX0h+kDzUeQh08=; b=k0LC+rEnOaIhfYqsddEGDJzl6Bxzh3K3cwl4TD46roTD4deHPC4tJDfippNUPUSz/8 y62HYn/Dab0rgil2LFu6+EQ3PnvrFM4OVL/NpPxj1hNYm6tGYXASJ9r6hF9xXzWbXzd/ 4G8sJ+mKc+GfW/ZoClaLFNSkX9tztDkWDqQwKtVQxhhes9Poa6yhERQ/b9qte6Re0GeB PRMCF6XVeMphzt3TAnoZc24/NvzQBpooMTQmvqlQ7IkqCZnMmWovtl4Bc98DNtLFjl3B eoURSJfmzMkF2obFJoQddlc2qlx1XE9qUCNrh8aUqzCzjjKs2w0NE4+0dZqTDrCTKMy8 BfHA== X-Gm-Message-State: AA+aEWa6pOqTag3igujuVJ4IEu8Uv+bIyM3wn8p9vNZWkiAkm2cBkDM3 XTr9oVz5xHcTXIJljLhiSP27qmVjTVbVanhr0GEXRw== X-Google-Smtp-Source: AFSGD/X4FD1dGbQZ/TzRLwnZk22Jwgt5xMOxlUQUUHuX4T32sJLpvrLVjETANW4k+MyIz4mNQEvhqHdO4xR1cgV7NHI= X-Received: by 2002:a50:aed5:: with SMTP id f21mr25639670edd.120.1544108225582; Thu, 06 Dec 2018 06:57:05 -0800 (PST) MIME-Version: 1.0 References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E3845DB@SHSMSX104.ccr.corp.intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E384E8B@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E384E8B@SHSMSX104.ccr.corp.intel.com> From: Prem Kumar Date: Thu, 6 Dec 2018 20:26:36 +0530 Message-ID: To: liming.gao@intel.com Cc: edk2-devel@lists.01.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: Build fail using latest UDK2018 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2018 14:57:07 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 wrote: > Seemly, this is an incremental build issue. > > > > I try below command. But, I don=E2=80=99t 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 > *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 give= s > 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 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 firs= t > >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 249= 4, > >in Main > > MyBuild.Launch() > > File "C:\myworkspace\BaseTools\Source\Python\build\build.py", line 222= 7, > >in Launch > > self._MultiThreadBuildPlatform() > > File "C:\myworkspace\BaseTools\Source\Python\build\build.py", line 210= 0, > >in _MultiThreadBuildPlatform > > self.CreateAsBuiltInf() > > File "C:\myworkspace\BaseTools\Source\Python\build\build.py", line 223= 9, > >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 > >