public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Hristo Mihaylov <hristo.mihaylov@prodrive-technologies.com>
To: <edk2-devel@lists.01.org>
Subject: error C0DE: Unknown fatal error when processing
Date: Tue, 13 Feb 2018 16:44:45 +0100	[thread overview]
Message-ID: <3773dc75-6d95-d1f3-ee52-b9e440682fd3@prodrive-technologies.com> (raw)

Hello,

I just hit this and it told me to send you the stack trace. I think it's due to the fact that I created an empty FDF file.

```
hrimih@lnxclnt2002:~/work/edk2.git$ build clean && build && cp Build/Hvmf/DEBUG_GCC5/X64/HelloWorld.efi ~/work/ovmf/hda-contents
Build environment: Linux-4.9.0-5-amd64-x86_64-with-debian-9.3
Build start time: 16:36:02, Feb.13 2018

WORKSPACE        = /home/hrimih/work/edk2.git
ECP_SOURCE       = /home/hrimih/work/edk2.git/EdkCompatibilityPkg
EDK_SOURCE       = /home/hrimih/work/edk2.git/EdkCompatibilityPkg
EFI_SOURCE       = /home/hrimih/work/edk2.git/EdkCompatibilityPkg
EDK_TOOLS_PATH   = /home/hrimih/work/edk2.git/BaseTools
CONF_PATH        = /home/hrimih/work/edk2.git/Conf


Architecture(s)  = X64
Build target     = DEBUG
Toolchain        = GCC5

Active Platform          = /home/hrimih/work/edk2.git/HvmfPkg/HvmfPkg.dsc
Flash Image Definition   = /home/hrimih/work/edk2.git/HvmfPkg/HvmfPkg.fdf

Processing meta-data


build.py...
  : error C0DE: Unknown fatal error when processing [/home/hrimih/work/edk2.git/HvmfPkg/HvmfPkg.dsc]

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

(Python 2.7.13 on linux2) Traceback (most recent call last):
   File "/home/hrimih/work/edk2.git/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2488, in Main
     MyBuild.Launch()
   File "/home/hrimih/work/edk2.git/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2219, in Launch
     self._BuildPlatform()
   File "/home/hrimih/work/edk2.git/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 1743, in _BuildPlatform
     self.Progress
   File "/home/hrimih/work/edk2.git/BaseTools/Source/Python/AutoGen/AutoGen.py", line 184, in __new__
     if not AutoGenObject._Init(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs):
   File "/home/hrimih/work/edk2.git/BaseTools/Source/Python/AutoGen/AutoGen.py", line 330, in _Init
     Fdf.ParseFile()
   File "/home/hrimih/work/edk2.git/BaseTools/Source/Python/GenFds/FdfParser.py", line 1410, in ParseFile
     self.Preprocess()
   File "/home/hrimih/work/edk2.git/BaseTools/Source/Python/GenFds/FdfParser.py", line 1386, in Preprocess
     self.__StringToList()
   File "/home/hrimih/work/edk2.git/BaseTools/Source/Python/GenFds/FdfParser.py", line 448, in __StringToList
     self.Profile.FileLinesList[-1].append(' ')
IndexError: list index out of range


- Failed -
Build end time: 16:36:03, Feb.13 2018
Build total time: 00:00:01
```

-- 
Regards,
Hristo Mihaylov

Designer
Prodrive Technologies B.V.
Mobile: +31 64 68 58 953
Phone:  +31 64 68 58 953


             reply	other threads:[~2018-02-13 15:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-13 15:44 Hristo Mihaylov [this message]
2018-02-13 18:37 ` error C0DE: Unknown fatal error when processing 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=3773dc75-6d95-d1f3-ee52-b9e440682fd3@prodrive-technologies.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