Bug 14286

Summary: Nothing RPROVIDES 'nativesdk-glibc-utils' for windows sdk
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: David Reyna <david.reyna>
Component: meta-mingwAssignee: David Reyna <david.reyna>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium    
Version: 3.3   
Target Milestone: 3.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description David Reyna 2021-03-08 21:18:21 UTC
Certain recipes require the "glibc-utils" recipe to include Glibc utility tools. 

However, the native version is incompatible with the Windows host, and thus these recipes will cause the Windows SDK to fail to build with the error "Nothing RPROVIDES 'nativesdk-glibc-utils' for windows sdk".

Specifically, the recipes around kernel development will cause this issue:
  ENABLE_KERNEL_DEV = '1'
  IMAGE_INSTALL_append += "kernel-devsrc"


The solution is to add the below layer.conf option to meta-mingw configuration to resolve in the file "layers/meta-mingw/conf/machine-sdk/include/mingw32-common.inc":

   SDK_DEPENDS_remove = "nativesdk-glibc-utils"
Comment 1 David Reyna 2021-04-29 09:59:57 UTC
37583e64e09e007730aa8132af5474b7cea7b0d6