[edk2-devel] Question about PACKAGES_PATH

Abner Chang abner.chang at hpe.com
Mon May 3 01:55:49 UTC 2021


Hi all,
I encountered a weird build issue when I use PACKAGES_PATH for the package outside WORKSPACE.
Currently I have RedfishClientPkg in the different repo and I configure PACKAGES_PATH as below,
Set PACKAGES_PATH=d:\edk2; d:\edk2-redfish-client

I always get the build error as below,
;-------------------------------------------------------------------------

build.py...
: error 7000: Failed to execute command
        E:\Program Files (x86)\Microsoft Visual Studio 14.0\Vc\bin\nmake.exe /no
logo tbuild [d:\edk2\Build\EmulatorX64\DEBUG_VS2015x86\X64\edk2-redfish-client\R
edfishClientPkg\RedfishFeatureCoreDxe\RedfishFeatureCoreDxe]


build.py...
: error 7000: Failed to execute command
        E:\Program Files (x86)\Microsoft Visual Studio 14.0\Vc\bin\nmake.exe /no
logo tbuild [d:\edk2\Build\EmulatorX64\DEBUG_VS2015x86\X64\edk2-redfish-client\R
edfishClientPkg\Converter\AccountService\v1_0_0\RedfishAccountService_V1_0_0_Dxe
]


build.py...
: error F002: Failed to build module
        d:\edk2-redfish-client\RedfishClientPkg\RedfishFeatureCoreDxe\RedfishFea
tureCoreDxe.inf [X64, VS2015x86, DEBUG]

;-------------------------------------------------------------------------


However, the build error is gone if I change the naming of external directory to any that doesn't contain "edk2" pattern in the folder name, such as "xxxx" or "edkii-redfish-client".
Is this a known issue? Anyone has the similar experience?

Thanks
Abner


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#74693): https://edk2.groups.io/g/devel/message/74693
Mute This Topic: https://groups.io/mt/82542232/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20210503/d16227b0/attachment.htm>


More information about the edk2-devel-archive mailing list