Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: d0b64b21a3fb71a10f15987c73c135b9069bdd69 https://github.com/tianocore/edk2/commit/d0b64b21a3fb71a10f15987c73c135b9069bdd69 Author: Ray Ni <ray...@intel.com> Date: 2025-04-08 (Tue, 08 Apr 2025)
Changed paths: M BaseTools/Source/Python/Workspace/WorkspaceCommon.py Log Message: ----------- BaseTools: Dump library dependency chain on build failure When a module M depends on L1, which depends on L2, which depends on L3, the build fails when the library instance of L3 cannot be found according to the library class-instance mapping configuration specified in the DSC file. When such failure happens, the build tool only prints that the instance of L3 required by module M cannot be found. But it does not tell how L3 is required by M. The change enhances build tool to print the entire dependency chain when such failure happens. With the change, the new error message will be as follows: <dsc-path>(...): error 4000: Instance of library class [L3] is not found for module [M], [L3] is: consumed by <instance of L2> consumed by <instance of L1> Signed-off-by: Ray Ni <ray...@intel.com> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits