public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@arm.com>
To: "edk2-devel (edk2-devel@lists.01.org)" <edk2-devel@lists.01.org>
Cc: Sudeep Holla <sudeep.holla@arm.com>,
	Leif Lindholm <leif.lindholm@linaro.org>,
	Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	Yonghong Zhu <yonghong.zhu@intel.com>,
	Liming Gao <liming.gao@intel.com>
Subject: Build failure with latest edk2/tianocore tip
Date: Wed, 19 Oct 2016 11:06:19 +0100	[thread overview]
Message-ID: <4e31477b-400e-4397-ad9e-09775c228240@arm.com> (raw)

Hi guys,

When I was compile for OpenPlatformPkg/Platforms/ARM/Juno/ArmJuno.dsc
[1] platform this morning with the latest edk2/tianocore tip on the
commit 0613ccbd1357 ("CorebootPayloadPkg/PciHostBridgeLib: Fix the wrong
PCI resource limit"), I hit the following build error.

On bisecting the same, I narrowed down to the commit 67e11e4d5902
("BaseTools: support PCD value to use expression in the DEC file").
Reverting that, resumes back the build.

Can you please have a look ?

--
Regards,
Sudeep

[1] https://git.linaro.org/uefi/OpenPlatformPkg.git

--->8
Processing meta-data ..

build.py...
  : error C0DE: Unknown fatal error when processing 
[uefi/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressPkg.dec]

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

(Python 2.7.12 on linux2) Traceback (most recent call last):
   File 
"uefi/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", 
line 2274, in Main
     MyBuild.Launch()
   File 
"uefi/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", 
line 2026, in Launch
     self._MultiThreadBuildPlatform()
   File 
"uefi/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", 
line 1821, in _MultiThreadBuildPlatform
     self.Progress
   File "uefi/BaseTools/Source/Python/AutoGen/AutoGen.py", line 176, in 
__new__
     if not AutoGenObject._Init(Workspace, MetaFile, Target, Toolchain, 
Arch, *args, **kwargs):
   File "uefi/BaseTools/Source/Python/AutoGen/AutoGen.py", line 466, in 
_Init
     if key in Platform.Pcds:
   File "uefi/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", 
line 767, in _GetPcds
     self._Pcds.update(self._GetPcd(MODEL_PCD_FIXED_AT_BUILD))
   File "uefi/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", 
line 846, in _GetPcd
     PcdValue, DatumType, MaxDatumSize = self._ValidatePcd(PcdCName, 
TokenSpaceGuid, Setting, Type, Dummy4)
   File "uefi/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", 
line 708, in _ValidatePcd
     self._DecPcds = GetDeclaredPcd(self, self._Bdb, self._Arch, 
self._Target, self._Toolchain)
   File "uefi/BaseTools/Source/Python/Workspace/WorkspaceCommon.py", 
line 50, in GetDeclaredPcd
     for Pcd in Pkg.Pcds:
   File "uefi/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", 
line 1556, in _GetPcds
     self._Pcds.update(self._GetPcd(MODEL_PCD_FIXED_AT_BUILD))
   File "uefi/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py", 
line 1574, in _GetPcd
     RecordList = self._RawData[Type, self._Arch]
   File "uefi/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 
239, in __getitem__
     self.Start()
   File "uefi/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 
1671, in Start
     self._SectionParser[self._SectionType[0]](self)
   File "uefi/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 
43, in MacroParser
     Parser(self)
   File "uefi/BaseTools/Source/Python/Workspace/MetaFileParser.py", line 
1886, in _PcdParser
     ValueList[0] = ValueExpression(PcdValue, self._AllPcdDict)(True)
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 275, 
in __call__
     Val = self._OrExpr()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 320, 
in _OrExpr
     return self._ExprFuncTemplate(self._AndExpr, ["OR", "or", "||"])
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, 
in _ExprFuncTemplate
     Val = EvalFunc()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 324, 
in _AndExpr
     return self._ExprFuncTemplate(self._BitOr, ["AND", "and", "&&"])
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, 
in _ExprFuncTemplate
     Val = EvalFunc()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 328, 
in _BitOr
     return self._ExprFuncTemplate(self._BitXor, ["|"])
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, 
in _ExprFuncTemplate
     Val = EvalFunc()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 332, 
in _BitXor
     return self._ExprFuncTemplate(self._BitAnd, ["XOR", "xor", "^"])
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, 
in _ExprFuncTemplate
     Val = EvalFunc()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 336, 
in _BitAnd
     return self._ExprFuncTemplate(self._EqExpr, ["&"])
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, 
in _ExprFuncTemplate
     Val = EvalFunc()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 340, 
in _EqExpr
     Val = self._RelExpr()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 356, 
in _RelExpr
     return self._ExprFuncTemplate(self._AddExpr, ["<=", ">=", "<", ">", 
"LE", "GE", "LT", "GT"])
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, 
in _ExprFuncTemplate
     Val = EvalFunc()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 360, 
in _AddExpr
     return self._ExprFuncTemplate(self._UnaryExpr, ["+", "-"])
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 308, 
in _ExprFuncTemplate
     Val = EvalFunc()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 371, 
in _UnaryExpr
     return self._IdenExpr()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 375, 
in _IdenExpr
     Tk = self._GetToken()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 536, 
in _GetToken
     return self.__GetNList()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 495, 
in __GetNList
     self._GetSingleToken()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 567, 
in _GetSingleToken
     return self.__GetArray()
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 411, 
in __GetArray
     self.__GetNList(True)
   File "uefi/BaseTools/Source/Python/Common/Expression.py", line 513, 
in __GetNList
     raise BadExpression(ERR_ARRAY_ELE % self._Token)
BadExpression: This must be HEX value for NList or Array: [e6].


             reply	other threads:[~2016-10-19 10:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-19 10:06 Sudeep Holla [this message]
2016-10-19 11:41 ` Build failure with latest edk2/tianocore tip Zhu, Yonghong
2016-10-19 12:52 ` Zhu, Yonghong
2016-10-19 13:16   ` Sudeep Holla
2016-10-19 13:34     ` Zhu, Yonghong
2016-10-19 13:38       ` Sudeep Holla

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=4e31477b-400e-4397-ad9e-09775c228240@arm.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