Bug 14286 - Nothing RPROVIDES 'nativesdk-glibc-utils' for windows sdk
Summary: Nothing RPROVIDES 'nativesdk-glibc-utils' for windows sdk
Status: RESOLVED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: meta-mingw (show other bugs)
Version: 3.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 3.3 M4
Assignee: David Reyna
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-03-08 21:18 UTC by David Reyna
Modified: 2021-04-29 09:59 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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