public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: vladimir.olovyannikov@broadcom.com
To: devel@edk2.groups.io, steven.shi@intel.com
Cc: "Gao, Liming" <liming.gao@intel.com>,
	Bob Feng <bob.c.feng@intel.com>,
	 christian.rodriguez@intel.com, michael.johnson@intel.com
Subject: commit "BaseTools: Improve the cache hit in the edk2 build cache" causes build.py unknown fatal error
Date: Fri, 6 Sep 2019 13:45:26 -0700	[thread overview]
Message-ID: <CACmgjayTNEU=JaMAseBgTHqk0VK15xaWaROX4PWXguUw5x+SLQ@mail.gmail.com> (raw)
In-Reply-To: <20190808122519.25516-2-steven.shi@intel.com>

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

Hi Steven,

The commit
0e7e7a264cd80ab71ea0f9e9da2d0617d4b539c4
BaseTools: Improve the cache hit in the edk2 build cache
Author: Shi, Steven <steven.shi@intel.com>  2019-08-15 07:26:17
Committer: Feng, Bob C <bob.c.feng@intel.com>  2019-08-19 23:06:05
Parent: 811328172841ce3f7ec1fe7033c130726ad189b7
(ShellPkg/UefiShellDriver1CommandsLib: Make array big enough)
Child:  56c786b0a9fd4f08b1f0bc10b7718a7577cb0146 (BaseTools: Print first
cache missing file for build cachle)
Branches: master, remotes/origin/master
Follows: edk2-stable201905
Precedes: edk2-stable201908

causes "unknown fatal error" in build.py when building our platform.

Here is the log:
...
build.py...
 : error C0DE: Unknown fatal error when processing
[/home/volovyan/otherwork/sandbox/uefi-related/uefi-orig/ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf]

(Please send email to devel@edk2.groups.io for help, attaching following
call stack trace!)

(Python 3.6.8 on linux) Traceback (most recent call last):
  File
"/home/volovyan/otherwork/sandbox/uefi-related/uefi-orig/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2493, in Main
    MyBuild.Launch()
  File
"/home/volovyan/otherwork/sandbox/uefi-related/uefi-orig/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 2287, in Launch
    self._BuildPlatform()
  File
"/home/volovyan/otherwork/sandbox/uefi-related/uefi-orig/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 1742, in _BuildPlatform
    self._BuildPa(self.Target, Pa,
FfsCommand=CmdListDict,PcdMaList=PcdMaList)
  File
"/home/volovyan/otherwork/sandbox/uefi-related/uefi-orig/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
line 1236, in _BuildPa
    AutoGenObject.CreateCodeFile(True)
  File
"/home/volovyan/otherwork/sandbox/uefi-related/uefi-orig/BaseTools/Source/Python/Common/caching.py",
line 18, in CallMeHere
    Value = self._function(obj, *args,**kwargs)
  File
"/home/volovyan/otherwork/sandbox/uefi-related/uefi-orig/BaseTools/Source/Python/AutoGen/PlatformAutoGen.py",
line 171, in CreateCodeFile
    Ma.CreateCodeFile(CreateModuleCodeFile)
  File
"/home/volovyan/otherwork/sandbox/uefi-related/uefi-orig/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py",
line 1841, in CreateCodeFile
    LibraryAutoGen.CreateCodeFile()
  File
"/home/volovyan/otherwork/sandbox/uefi-related/uefi-orig/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py",
line 1886, in CreateCodeFile
    with GlobalData.cache_lock:
AttributeError: __enter__


- Failed -
Build end time: 13:31:30, Sep.06 2019
Build total time: 00:00:04

Builds before the above mentioned commit was pushed, were fine.

Thank you,
Vladimir

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

  reply	other threads:[~2019-09-06 20:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-08 12:25 [PATCH 0/4] Build cache enhancement Steven Shi
2019-08-08 12:25 ` [PATCH 1/4] BaseTools: Improve the cache hit in the edk2 build cache Steven Shi
2019-09-06 20:45   ` vladimir.olovyannikov [this message]
2019-09-07  2:16     ` commit "BaseTools: Improve the cache hit in the edk2 build cache" causes build.py unknown fatal error Steven Shi
2019-09-09  1:22       ` Bob Feng
2019-09-09 20:14         ` Vladimir Olovyannikov
2019-09-10  1:25           ` Steven Shi
2019-09-10  1:57           ` Bob Feng
2019-08-08 12:25 ` [PATCH 2/4] BaseTools: Print first cache missing file for build cachle Steven Shi
2019-08-08 12:25 ` [PATCH 3/4] BaseTools: Change the [Arch][Name] module key in Build cache Steven Shi
2019-08-08 12:25 ` [PATCH 4/4] BaseTools: Add GenFds multi-thread support in build cache Steven Shi
2019-08-08 20:43 ` [edk2-devel] [PATCH 0/4] Build cache enhancement Laszlo Ersek

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='CACmgjayTNEU=JaMAseBgTHqk0VK15xaWaROX4PWXguUw5x+SLQ@mail.gmail.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