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

* Re: Build failure with latest edk2/tianocore tip
  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
  1 sibling, 0 replies; 6+ messages in thread
From: Zhu, Yonghong @ 2016-10-19 11:41 UTC (permalink / raw)
  To: Sudeep Holla, edk2-devel (edk2-devel@lists.01.org)
  Cc: Leif Lindholm, Ard Biesheuvel, Gao, Liming, Zhu, Yonghong

Hi Sudeep Holla,

Thanks for report this bug, I am in investigating it.

Best Regards,
Zhu Yonghong


-----Original Message-----
From: Sudeep Holla [mailto:sudeep.holla@arm.com] 
Sent: Wednesday, October 19, 2016 6:06 PM
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>; Zhu, Yonghong <yonghong.zhu@intel.com>; Gao, Liming <liming.gao@intel.com>
Subject: Build failure with latest edk2/tianocore tip

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

* Re: Build failure with latest edk2/tianocore tip
  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
  1 sibling, 1 reply; 6+ messages in thread
From: Zhu, Yonghong @ 2016-10-19 12:52 UTC (permalink / raw)
  To: Sudeep Holla, edk2-devel (edk2-devel@lists.01.org)
  Cc: Leif Lindholm, Ard Biesheuvel, Gao, Liming, Zhu, Yonghong

Hi Sudeep Holla,

Could you help to have a check whether there have value e6 in  your dec file some Pcd ' NList or Array definition ? We should use 0xe6, the prefix 0x cannot be omitted.
I'd like to clone your project, but almost one hour it keep in 95% .

BadExpression: This must be HEX value for NList or Array: [e6].

Best Regards,
Zhu Yonghong


-----Original Message-----
From: Sudeep Holla [mailto:sudeep.holla@arm.com] 
Sent: Wednesday, October 19, 2016 6:06 PM
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>; Zhu, Yonghong <yonghong.zhu@intel.com>; Gao, Liming <liming.gao@intel.com>
Subject: Build failure with latest edk2/tianocore tip

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

* Re: Build failure with latest edk2/tianocore tip
  2016-10-19 12:52 ` Zhu, Yonghong
@ 2016-10-19 13:16   ` Sudeep Holla
  2016-10-19 13:34     ` Zhu, Yonghong
  0 siblings, 1 reply; 6+ messages in thread
From: Sudeep Holla @ 2016-10-19 13:16 UTC (permalink / raw)
  To: Zhu, Yonghong, edk2-devel (edk2-devel@lists.01.org)
  Cc: Sudeep Holla, Leif Lindholm, Ard Biesheuvel, Gao, Liming

Hi Yonghong,

On 19/10/16 13:52, Zhu, Yonghong wrote:
> Hi Sudeep Holla,
>
> Could you help to have a check whether there have value e6 in  your
> dec file some Pcd ' NList or Array definition ? We should use 0xe6,
> the prefix 0x cannot be omitted. I'd like to clone your project, but
> almost one hour it keep in 95% .
>
> BadExpression: This must be HEX value for NList or Array: [e6].

Ah crap, you are right, there's an entry e6 without leading 0x, thanks
a lot for pointing it out. I failed to notice that before you mentioned
it. Sorry for the trouble.

-- 
Regards,
Sudeep


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

* Re: Build failure with latest edk2/tianocore tip
  2016-10-19 13:16   ` Sudeep Holla
@ 2016-10-19 13:34     ` Zhu, Yonghong
  2016-10-19 13:38       ` Sudeep Holla
  0 siblings, 1 reply; 6+ messages in thread
From: Zhu, Yonghong @ 2016-10-19 13:34 UTC (permalink / raw)
  To: Sudeep Holla, edk2-devel (edk2-devel@lists.01.org)
  Cc: Leif Lindholm, Ard Biesheuvel, Gao, Liming, Zhu, Yonghong

Thanks . Actually I also need to file a bug  on Bugzilla for BaseTools to enhance the error message to be more clear. It should not report such Traceback error.

Best Regards,
Zhu Yonghong

-----Original Message-----
From: Sudeep Holla [mailto:sudeep.holla@arm.com] 
Sent: Wednesday, October 19, 2016 9:17 PM
To: Zhu, Yonghong <yonghong.zhu@intel.com>; 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>; Gao, Liming <liming.gao@intel.com>
Subject: Re: Build failure with latest edk2/tianocore tip

Hi Yonghong,

On 19/10/16 13:52, Zhu, Yonghong wrote:
> Hi Sudeep Holla,
>
> Could you help to have a check whether there have value e6 in  your 
> dec file some Pcd ' NList or Array definition ? We should use 0xe6, 
> the prefix 0x cannot be omitted. I'd like to clone your project, but 
> almost one hour it keep in 95% .
>
> BadExpression: This must be HEX value for NList or Array: [e6].

Ah crap, you are right, there's an entry e6 without leading 0x, thanks a lot for pointing it out. I failed to notice that before you mentioned it. Sorry for the trouble.

--
Regards,
Sudeep

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

* Re: Build failure with latest edk2/tianocore tip
  2016-10-19 13:34     ` Zhu, Yonghong
@ 2016-10-19 13:38       ` Sudeep Holla
  0 siblings, 0 replies; 6+ messages in thread
From: Sudeep Holla @ 2016-10-19 13:38 UTC (permalink / raw)
  To: Zhu, Yonghong, edk2-devel (edk2-devel@lists.01.org)
  Cc: Sudeep Holla, Leif Lindholm, Ard Biesheuvel, Gao, Liming



On 19/10/16 14:34, Zhu, Yonghong wrote:
> Thanks . Actually I also need to file a bug  on Bugzilla for
> BaseTools to enhance the error message to be more clear. It should
> not report such Traceback error.
>

That would be great. I didn't expect e6 in the error message to be part
of the array in that .dec file. It was only after you pointed ou, I
could relate that. Thanks again.

-- 
Regards,
Sudeep


^ 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