edk2 build failure due to long paths


rajesh.ravi@broadcom.com
 

Thanks a lot Laszlo.

Regards,
Rajesh

On Thu, Jan 28, 2021 at 09:50 AM, Laszlo Ersek wrote:


Laszlo


Laszlo Ersek
 

On 01/28/21 10:29, rajesh.ravi@... via groups.io wrote:
I 'm facing edk2 build issues on Linux build hosts when path length is long.

*Example scenarios*
Eg. A) manual/standalone builds: If edk2 code base is deep inside a
directory path instead of $HOME dir
B)Yocto builds: when SRCREV_FORMAT contains multiple components
making the uefi path very long.

*Source code*

It seems the following files are to support longer file paths and resolve
such issues.
*BaseTools/Source/Python/Common/LongFilePath*.py*

If so, please suggest how to enable longer file paths for edk2 builds on
Linux build host
You may have hit <https://bugzilla.tianocore.org/show_bug.cgi?id=3032>.

Thanks
Laszlo


rajesh.ravi@broadcom.com
 

I 'm facing edk2 build issues on Linux build hosts when path length is long.

*Example scenarios*
Eg. A) manual/standalone builds: If edk2 code base is deep inside a
directory path instead of $HOME dir
B)Yocto builds: when SRCREV_FORMAT contains multiple components
making the uefi path very long.

*Source code*

It seems the following files are to support longer file paths and resolve
such issues.
*BaseTools/Source/Python/Common/LongFilePath*.py*

If so, please suggest how to enable longer file paths for edk2 builds on
Linux build host
--
Regards,
Rajesh