public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* EDK2 build error:Unknown fatal error when processing []
@ 2022-07-31  2:01 np l
  2022-07-31  3:23 ` [edk2-devel] " Michael D Kinney
  0 siblings, 1 reply; 5+ messages in thread
From: np l @ 2022-07-31  2:01 UTC (permalink / raw)
  To: devel


[-- Attachment #1.1: Type: text/plain, Size: 469 bytes --]

Hi,
I got a fatal error with a command "build -p
*edk2\MdeModulePkg\MdeModulePkg.dec* -a X64 -t VS2015x86".
(Python version is  2.7.15.Build tool is VS2015x86)
   But  *UEFI\edk2\EmulatorPkg\EmulatorPkg.dec* can be build successfully.
   I have update edk2 with "git pull" but the same error occured.
   I also test it in another laptop with python  version 3.9.9 build tool
VS2019,a same error occur.

What should I do?

error log as blow:
[image: image.png]

Thanks!

[-- Attachment #1.2: Type: text/html, Size: 736 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 167428 bytes --]

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

* Re: [edk2-devel] EDK2 build error:Unknown fatal error when processing []
  2022-07-31  2:01 EDK2 build error:Unknown fatal error when processing [] np l
@ 2022-07-31  3:23 ` Michael D Kinney
  2022-07-31 14:45   ` Ashraf Ali S
  0 siblings, 1 reply; 5+ messages in thread
From: Michael D Kinney @ 2022-07-31  3:23 UTC (permalink / raw)
  To: devel@edk2.groups.io, lnpabcde@gmail.com, Kinney, Michael D


[-- Attachment #1.1: Type: text/plain, Size: 795 bytes --]

You should pass in .dsc file, not .dec file for -p  option of build.

Mike

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of np l
Sent: Saturday, July 30, 2022 7:02 PM
To: devel@edk2.groups.io
Subject: [edk2-devel] EDK2 build error:Unknown fatal error when processing []

Hi,
I got a fatal error with a command "build -p edk2\MdeModulePkg\MdeModulePkg.dec -a X64 -t VS2015x86".
(Python version is  2.7.15.Build tool is VS2015x86)
   But  UEFI\edk2\EmulatorPkg\EmulatorPkg.dec can be build successfully.
   I have update edk2 with "git pull" but the same error occured.
   I also test it in another laptop with python  version 3.9.9 build tool VS2019,a same error occur.

What should I do?

error log as blow:
[cid:image001.png@01D8A452.30118E00]

Thanks!



[-- Attachment #1.2: Type: text/html, Size: 40419 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 167428 bytes --]

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

* Re: [edk2-devel] EDK2 build error:Unknown fatal error when processing []
  2022-07-31  3:23 ` [edk2-devel] " Michael D Kinney
@ 2022-07-31 14:45   ` Ashraf Ali S
  2022-07-31 16:03     ` np l
  0 siblings, 1 reply; 5+ messages in thread
From: Ashraf Ali S @ 2022-07-31 14:45 UTC (permalink / raw)
  To: devel@edk2.groups.io, Kinney, Michael D, lnpabcde@gmail.com


[-- Attachment #1.1: Type: text/plain, Size: 1782 bytes --]

Hi

-p PLATFORMFILE, --platform=PLATFORMFILE
                        Build the platform specified by the DSC file name
                        argument, overriding target.txt's ACTIVE_PLATFORM
                        definition.


-a TARGETARCH, --arch=TARGETARCH
                        ARCHS is one of list: IA32, X64, ARM, AARCH64, RISCV64
                        or EBC, which overrides target.txt's TARGET_ARCH
                        definition. To specify more archs, please repeat this
                        option.


Regards,
Ashraf Ali S
Intel Technology India Pvt. Ltd.

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Michael D Kinney
Sent: Sunday, July 31, 2022 8:53 AM
To: devel@edk2.groups.io; lnpabcde@gmail.com; Kinney, Michael D <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] EDK2 build error:Unknown fatal error when processing []

You should pass in .dsc file, not .dec file for -p  option of build.

Mike

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of np l
Sent: Saturday, July 30, 2022 7:02 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [edk2-devel] EDK2 build error:Unknown fatal error when processing []

Hi,
I got a fatal error with a command "build -p edk2\MdeModulePkg\MdeModulePkg.dec -a X64 -t VS2015x86".
(Python version is  2.7.15.Build tool is VS2015x86)
   But  UEFI\edk2\EmulatorPkg\EmulatorPkg.dec can be build successfully.
   I have update edk2 with "git pull" but the same error occured.
   I also test it in another laptop with python  version 3.9.9 build tool VS2019,a same error occur.

What should I do?

error log as blow:
[cid:image001.png@01D8A51A.43EFC770]

Thanks!



[-- Attachment #1.2: Type: text/html, Size: 7295 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 167428 bytes --]

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

* Re: [edk2-devel] EDK2 build error:Unknown fatal error when processing []
  2022-07-31 14:45   ` Ashraf Ali S
@ 2022-07-31 16:03     ` np l
  2022-07-31 16:25       ` Michael D Kinney
  0 siblings, 1 reply; 5+ messages in thread
From: np l @ 2022-07-31 16:03 UTC (permalink / raw)
  To: S, Ashraf Ali; +Cc: devel@edk2.groups.io, Kinney, Michael D


[-- Attachment #1.1: Type: text/plain, Size: 2142 bytes --]

OK! Thanks a lot, It's great to receive your reply!
So it's just a small but serious problem😂
Sorry to bother you!
Thanks again!!!


S, Ashraf Ali <ashraf.ali.s@intel.com> 于2022年7月31日周日 22:45写道:

> Hi
>
>
>
> -p PLATFORMFILE, --platform=PLATFORMFILE
>
>                         *Build the platform specified by the DSC file
> name*
>
>                         argument, overriding target.txt's ACTIVE_PLATFORM
>
>                         definition.
>
>
>
>
>
> -a TARGETARCH, --arch=TARGETARCH
>
>                         ARCHS is one of list: *IA32, X64, ARM, AARCH64,
> RISCV64*
>
>                         or EBC, which overrides target.txt's TARGET_ARCH
>
>                         definition. To specify more archs, please repeat
> this
>
>                         option.
>
>
>
>
>
> Regards,
>
> Ashraf Ali S
>
> Intel Technology India Pvt. Ltd.
>
>
>
> *From:* devel@edk2.groups.io <devel@edk2.groups.io> * On Behalf Of *Michael
> D Kinney
> *Sent:* Sunday, July 31, 2022 8:53 AM
> *To:* devel@edk2.groups.io; lnpabcde@gmail.com; Kinney, Michael D <
> michael.d.kinney@intel.com>
> *Subject:* Re: [edk2-devel] EDK2 build error:Unknown fatal error when
> processing []
>
>
>
> You should pass in .dsc file, not .dec file for -p  option of build.
>
>
>
> Mike
>
>
>
> *From:* devel@edk2.groups.io <devel@edk2.groups.io> *On Behalf Of *np l
> *Sent:* Saturday, July 30, 2022 7:02 PM
> *To:* devel@edk2.groups.io
> *Subject:* [edk2-devel] EDK2 build error:Unknown fatal error when
> processing []
>
>
>
> Hi,
>
> I got a fatal error with a command "build -p
> *edk2\MdeModulePkg\MdeModulePkg.dec* -a X64 -t VS2015x86".
>
> (Python version is  2.7.15.Build tool is VS2015x86)
>
>    But  *UEFI\edk2\EmulatorPkg\EmulatorPkg.dec* can be build successfully.
>
>    I have update edk2 with "git pull" but the same error occured.
>
>    I also test it in another laptop with python  version 3.9.9 build tool
> VS2019,a same error occur.
>
>
>
> What should I do?
>
>
>
> error log as blow:
>
>
>
> Thanks!
>
>
>
> 
>

[-- Attachment #1.2: Type: text/html, Size: 5995 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 167428 bytes --]

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

* Re: [edk2-devel] EDK2 build error:Unknown fatal error when processing []
  2022-07-31 16:03     ` np l
@ 2022-07-31 16:25       ` Michael D Kinney
  0 siblings, 0 replies; 5+ messages in thread
From: Michael D Kinney @ 2022-07-31 16:25 UTC (permalink / raw)
  To: np l, S, Ashraf Ali, Feng, Bob C, Kinney, Michael D; +Cc: devel@edk2.groups.io


[-- Attachment #1.1: Type: text/plain, Size: 2692 bytes --]

Passing in the wrong format file should generate a
proper error message instead of a python stack trace.

Please enter a Tianocore Bugzilla with the details from
your logs.

https://bugzilla.tianocore.org/

Thanks,

Mike

From: np l <lnpabcde@gmail.com>
Sent: Sunday, July 31, 2022 9:04 AM
To: S, Ashraf Ali <ashraf.ali.s@intel.com>
Cc: devel@edk2.groups.io; Kinney, Michael D <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] EDK2 build error:Unknown fatal error when processing []

OK! Thanks a lot, It's great to receive your reply!
So it's just a small but serious problem😂
Sorry to bother you!
Thanks again!!!


S, Ashraf Ali <ashraf.ali.s@intel.com<mailto:ashraf.ali.s@intel.com>> 于2022年7月31日周日 22:45写道:
Hi

-p PLATFORMFILE, --platform=PLATFORMFILE
                        Build the platform specified by the DSC file name
                        argument, overriding target.txt's ACTIVE_PLATFORM
                        definition.


-a TARGETARCH, --arch=TARGETARCH
                        ARCHS is one of list: IA32, X64, ARM, AARCH64, RISCV64
                        or EBC, which overrides target.txt's TARGET_ARCH
                        definition. To specify more archs, please repeat this
                        option.


Regards,
Ashraf Ali S
Intel Technology India Pvt. Ltd.

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of Michael D Kinney
Sent: Sunday, July 31, 2022 8:53 AM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; lnpabcde@gmail.com<mailto:lnpabcde@gmail.com>; Kinney, Michael D <michael.d.kinney@intel.com<mailto:michael.d.kinney@intel.com>>
Subject: Re: [edk2-devel] EDK2 build error:Unknown fatal error when processing []

You should pass in .dsc file, not .dec file for -p  option of build.

Mike

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of np l
Sent: Saturday, July 30, 2022 7:02 PM
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: [edk2-devel] EDK2 build error:Unknown fatal error when processing []

Hi,
I got a fatal error with a command "build -p edk2\MdeModulePkg\MdeModulePkg.dec -a X64 -t VS2015x86".
(Python version is  2.7.15.Build tool is VS2015x86)
   But  UEFI\edk2\EmulatorPkg\EmulatorPkg.dec can be build successfully.
   I have update edk2 with "git pull" but the same error occured.
   I also test it in another laptop with python  version 3.9.9 build tool VS2019,a same error occur.

What should I do?

error log as blow:
[cid:image001.png@01D8A4BF.664275D0]

Thanks!



[-- Attachment #1.2: Type: text/html, Size: 51260 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 167428 bytes --]

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

end of thread, other threads:[~2022-07-31 16:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-31  2:01 EDK2 build error:Unknown fatal error when processing [] np l
2022-07-31  3:23 ` [edk2-devel] " Michael D Kinney
2022-07-31 14:45   ` Ashraf Ali S
2022-07-31 16:03     ` np l
2022-07-31 16:25       ` Michael D Kinney

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