[Bug 971] New: For case-insensitive file systems, edk2 UPT\Xml folder collides with the Python xml moudle


bugzilla-daemon at bugzilla.tianocore.org...
 

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

Bug ID: 971
Summary: For case-insensitive file systems, edk2 UPT\Xml folder
collides with the Python xml moudle
Product: EDK2
Version: Current
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: Lowest
Component: Tools
Assignee: michael.d.kinney(a)intel.com
Reporter: bin_601(a)mail2000.com.tw
CC: edk2-bugs(a)lists.01.org

Below commit 2018/5/19 Marvin's solution "rename String to StringUtils" to fix
string.py collides issue.

However UPT\Xml still cause the similar issue.
It will display below error when building via the Windows Subsystem for Linux
from a DriveFS file system.
Maybe need change UPT\Xml folder name.

File "Library/Xml/XmlRoutines.py", line 23, in <module>
ImportError: No module named xml.dom.minidom


2018/5/19
Marvin.Haeuser(a)outlook.com <Marvin.Haeuser(a)outlook.com>
SHA-1: 5a57246eab80f00ae2481970d12a2abc345a2730

* BaseTools: Rename String to StringUtils.

For case-insensitive file systems, edk2 String.py collides with the
Python string.py, which results in build errors. This,for example,
applies to building via the Windows Subsystem for Linux from a
DriveFS file system. This patch renames String to StringUtils to
prevent conflicts for case-insensitive file systems.

--
You are receiving this mail because:
You are on the CC list for the bug.