Hi,

Yes.  This is a known issue.

https://bugzilla.tianocore.org/show_bug.cgi?id=3779

If you are interested, we could use the help fixing this issue.

Thanks,

Mike

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of M.T.
Sent: Wednesday, April 6, 2022 11:46 AM
To: devel@edk2.groups.io
Subject: [edk2-devel] edk2-libc Python Build issue

Hello

I am trying to build the Python environment for UEFI as per Py368ReadMe.txt.
I am doing this on Ubuntu 20.04.4 LTS with GCC5 for X64, all instructions seem 
to be meant for windows and MSFT.
I was able to build everything else and verify that it works, so I don't see 
why this should be an issue, but I am running into several issues.

Initial error is missing Python.h.
The path to AppPkg/Applications/Python/Python-3.6.8/Include seems to be missing 
from the build command, I was able to fix that by modifying Python368.inf and 
under BuildOptions, adding:
GCC:*_*_*_CC_FLAGS = 
-I$(WORKSPACE)/AppPkg/Applications/Python/Python-3.6.8/Include
However this then results in other errors such as unused functions - fixed with 
-Wno-unused-functions added to the same line above, and then finally 
redfinitions.

Is the build process of Python 3.6.8 documented anywhere that might help me 
out, or if someone could point me in the right direction, that would be greatly 
appreciated.

Thank you
xp



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#88543): https://edk2.groups.io/g/devel/message/88543
Mute This Topic: https://groups.io/mt/90297607/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to