On 02/03/19 06:55, Feng, Bob C wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1509 > On some Linux environment, there may be no distutils.util > library for python3 that will cause build tool crash. > This patch implement distutils.util.split_quoted > in BaseTools so that the Basetools will be independent with > distutils.util library. > > Feng, Bob C (3): > BaseTools: Implement splitquoted function in Build tool > BaseTools: Implement splitquoted function in UPT > BaseTools: unit test for splitquoted function > > BaseTools/Source/Python/AutoGen/UniClassObject.py | 50 > ++++++++++++++++++++++++++++++++++++++++++++++---- > BaseTools/Source/Python/UPT/Library/UniClassObject.py | 47 > ++++++++++++++++++++++++++++++++++++++++++++--- > BaseTools/Tests/TestStringSplit.py | 38 > ++++++++++++++++++++++++++++++++++++++ > 3 files changed, 128 insertions(+), 7 deletions(-) > create mode 100644 BaseTools/Tests/TestStringSplit.py >
Is this really necessary? BZ#1509 references Ubuntu18; however it looks like the issue can be resolved by a simple package installation on Ubuntu 18: https://superuser.com/questions/1319047/cant-install-virtual-interpreter-in-pycharm-in-linux """ sudo apt-get install python3-distutils """ I'm not a Ubuntu user myself; so all I can do here (without installing a Ubuntu18 VM) is check the Ubuntu package directory: https://packages.ubuntu.com/search?keywords=python3-distutils&searchon=names&suite=all§ion=all python3-distutils appears available for both "bionic (18.04LTS)" and "cosmic (18.10)". Dandan, if you install python3-distutils, does that solve the issue for you? Thanks Laszlo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel