Bug 10429

Summary: Add runtime dependencies for native "packages"
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: Richard Purdie <richard.purdie>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 2.2   
Target Milestone: Future   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Ross Burton 2016-10-13 15:48:52 UTC
We should have proper runtime dependencies on native builds, so that installing say gtk+3-native on a clean tmp from sstate doesn't pull in m4-native autoconf-native and eighty other packages, but just it's direct library dependencies.
Comment 1 Richard Purdie 2017-01-26 14:13:47 UTC
The question is how exactly?

Its very hard to tell whether a recipe requires X at runtime or buildtime given our current dependency markup since most things just get added to DEPENDS.

A whitelist of "build tools"?
Comment 2 Richard Purdie 2017-03-11 18:04:14 UTC
Moving to future until someone comes up with a proposal we could implement...
Comment 3 Richard Purdie 2019-02-17 10:36:09 UTC
http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/conf/layer.conf now sets SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS which excludes git-native, quilt-native and so on and SSTATE_EXCLUDEDEPS_SYSROOT += ".*->bison-native" to exclude bison-native.

We probably need to extend the latter to include other things like autoconf.native?
Comment 4 Richard Purdie 2023-02-16 15:50:50 UTC
We stopped clearing PACKAGES in native.bbclass which was progress
Comment 5 Randy MacLeod 2023-10-24 14:24:46 UTC
Bulk move from 4.99 or 0.00 to 5.99