Bug 10429 - Add runtime dependencies for native "packages"
Summary: Add runtime dependencies for native "packages"
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.2
Hardware: All Multiple
: Medium enhancement
Target Milestone: Future
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-10-13 15:48 UTC by Ross Burton
Modified: 2026-03-20 14:05 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

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