From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mx.groups.io with SMTP id smtpd.web11.68.1649270759188003136 for ; Wed, 06 Apr 2022 11:45:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=IOEwe/L7; spf=pass (domain: gmail.com, ip: 209.85.216.44, mailfrom: xzavierpower@gmail.com) Received: by mail-pj1-f44.google.com with SMTP id ku13-20020a17090b218d00b001ca8fcd3adeso6653641pjb.2 for ; Wed, 06 Apr 2022 11:45:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=r0iEV+SNKGJTPBTL9e1+SmR9TZdPq3kWVghcutBsJvc=; b=IOEwe/L7ql3JtcNC+vnN60jAbHQNplcXmovj239VHhKnRUf87nIOKPRlZ4H6Swoph0 GotPv/lGiOqkxmSmhxybOIL8wB7ZdgzxuDrTQllCKDrCqRo3MM9bnzFlnxWirl/Wsq/P MfHgKrYUewMLUCoRDRLor5jvcpMhQ+Huyjx1trxDwlrHfEcYib37ECMyzlGbqwryK6ov i4pYrfyh+3a+BqVqTZgDqONEleZ701emPoBU/K7gsBQWXzDJvtuKuq0/R+5KlVCjmDJ7 V/fuz5rE0Rnv9mzwfuU345qB/MVKA3o1P2VQyvB4Rimf4kmxUXqUVeto60Vc+HUf39nk +xeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=r0iEV+SNKGJTPBTL9e1+SmR9TZdPq3kWVghcutBsJvc=; b=OK461g9YwciHK1ENCdjWclcQoGp97GqBJETw9nv0auo8PdBkkv07wTwEieAvOIyu5x kJrwX5VQynTShZ6ONIttRhFzIkBVgHyca4saNqOoNm3Pf+pG9ql4nhSfd1YiXSZVTjxl Md369avbEE0TQ/aHDJVbWXM+dMjMRQD3sdNSMwI/gDg0rj9LTg7/kYK5oqgtk2BD43r8 skoMgp8fOwzZGB5VHR7fM7QbYFMUvKPA3jTuz9LV/EaTDkO1ZZAD1hR9s1bvElblYqTg LkxrSXox3ioWHAsrKEqdKzigEIW88PVVlpMMflG/ZJu7yLRWDhRVW2bsqZfBQdfCSjbq w0Xg== X-Gm-Message-State: AOAM5335raj7EcB+XmctyB/lQB0PRSvV1RKEQL8sEf1eQan7emhdopdR jtRZCuHqK/FPVg5Gz8um+BpkN81R0QAwYQ23D1uOX4XK2b0Dig== X-Google-Smtp-Source: ABdhPJzxUyHp3FhWnGLKbz8WOzIaPe+4YaT1NsRbKpy0plM7vRxY1nB8XQWr9u/VEwrZ8UzYp5AgAk1JgAuFjdxYCK4= X-Received: by 2002:a17:903:1cb:b0:154:4bee:c034 with SMTP id e11-20020a17090301cb00b001544beec034mr9873787plh.155.1649270758393; Wed, 06 Apr 2022 11:45:58 -0700 (PDT) MIME-Version: 1.0 From: "M.T." Date: Wed, 6 Apr 2022 14:45:47 -0400 Message-ID: Subject: edk2-libc Python Build issue To: devel@edk2.groups.io Content-Type: multipart/alternative; boundary="000000000000b14e2305dc00c518" --000000000000b14e2305dc00c518 Content-Type: text/plain; charset="UTF-8" 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 --000000000000b14e2305dc00c518 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello

I am trying to build the Python e= nvironment for UEFI as per Py368ReadMe.txt.
I am doing this on Ub= untu 20.04.4 LTS with GCC5 for X64, all instructions seem to be meant for w= indows and MSFT.
I was able to build everything else and verify t= hat it works, so I don't see why this should be an issue, but I am runn= ing into several issues.

Initial error is missing = Python.h.
The path to=C2=A0AppPkg/Applications/Python/Python-3.6.= 8/Include seems to be missing from the build command, I was able to fix tha= t by modifying Python368.inf and under BuildOptions, adding:=C2=A0
GCC:*_*_*_CC_FLAGS =3D -I$(WORKSPACE)/AppPkg/Applications/Python/Python-3= .6.8/Include
However this then results in other errors such as un= used functions - fixed with -Wno-unused-functions added to the same line ab= ove, and then finally redfinitions.

Is the build p= rocess of Python 3.6.8 documented anywhere that might help me out, or if so= meone could point me in the right direction, that would be greatly apprecia= ted.

Thank you
xp
--000000000000b14e2305dc00c518--