> On Nov 26, 2015, at 9:26 AM, Laszlo Ersek <ler...@redhat.com> wrote:
> 
> On 11/26/15 04:45, Lu, James wrote:
>> 
>> Hi,
>> 
>> I'm trying to build EDK BIOS with python script on Linux but got below error.
>> 
>> [16:50:59]W:      [Step 2/5] Build environment: 
>> Linux-3.2.0-69-generic-x86_64-with-Ubuntu-12.04-precise
>> [16:50:59]W:      [Step 2/5] Build start time: 16:50:59, Nov.25 2015
>> [16:50:59]W:      [Step 2/5]
>> [16:50:59]W:      [Step 2/5]
>> [16:50:59]W:      [Step 2/5]
>> [16:50:59]W:      [Step 2/5] build.py...
>> [16:50:59]W:      [Step 2/5]  : error C0DE: Unknown fatal error when 
>> processing []
>> [16:50:59]W:      [Step 2/5]
>> [16:50:59]W:      [Step 2/5] (Please send email to 
>> edk2-de...@lists.sourceforge.net<mailto:edk2-de...@lists.sourceforge.net> 
>> for help, attaching following call stack trace!)
>> [16:50:59]W:      [Step 2/5]
>> [16:50:59]W:      [Step 2/5] (Python 2.7.3 on linux2) Traceback (most recent 
>> call last):
>> [16:50:59]W:      [Step 2/5]   File 
>> "/opt/TCAgent/work/ee2ead8eb710175b/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
>>  line 2031, in Main
>> [16:50:59]W:      [Step 2/5]     MyBuild = Build(Target, Workspace, Option)
>> [16:50:59]W:      [Step 2/5]   File 
>> "/opt/TCAgent/work/ee2ead8eb710175b/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py",
>>  line 761, in __init__
>> [16:50:59]W:      [Step 2/5]     self.Db = 
>> WorkspaceDatabase(GlobalData.gDatabasePath, self.Reparse)
>> [16:50:59]W:      [Step 2/5]   File 
>> "/opt/TCAgent/work/ee2ead8eb710175b/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py",
>>  line 2814, in __init__
>> [16:50:59]W:      [Step 2/5]     self.Conn.execute("PRAGMA synchronous=OFF")
>> [16:50:59]W:      [Step 2/5] DatabaseError: database disk image is malformed

Try removing Conf/.cache/ as it is the default location for the build database. 

Thanks,

Andrew Fish

>> [16:50:59]W:      [Step 2/5]
>> [16:50:59]W:      [Step 2/5]
>> [16:50:59]W:      [Step 2/5] - Failed -
>> [16:50:59]W:      [Step 2/5] Build end time: 16:50:59, Nov.25 2015
>> [16:50:59]W:      [Step 2/5] Build total time: 00:00:00
>> 
>> Can you help?
> 
> After you provide the full build command line and the full output in
> your next message, I'm unsure if I will be able to help.
> 
> However, with the above truncated output, and no command line, I'm sure
> I can't help.
> 
> Laszlo
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to