public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Build failure with latest edk2/tianocore tip
@ 2016-10-19 10:06 Sudeep Holla
  2016-10-19 11:41 ` Zhu, Yonghong
  2016-10-19 12:52 ` Zhu, Yonghong
  0 siblings, 2 replies; 6+ messages in thread
From: Sudeep Holla @ 2016-10-19 10:06 UTC (permalink / raw)
  To: edk2-devel (edk2-devel@lists.01.org)
  Cc: Sudeep Holla, Leif Lindholm, Ard Biesheuvel, Yonghong Zhu,
	Liming Gao

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].


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-19 13:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-19 10:06 Build failure with latest edk2/tianocore tip Sudeep Holla
2016-10-19 11:41 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox