Bug 2225

Summary: PACKAGECONFIG adds target dependencies to native and nativesdk packages
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Martin Jansa <Martin.Jansa>
Component: coreAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: High CC: jessica.zhang, meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 1.2 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: (1.2) Patch out for review
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Martin Jansa 2012-04-02 06:42:26 UTC
alias DEPENDS not extended to -native for BBCLASSEXTENDS when added by PACKAGECONFIG

So unused target dependency is built and then -native or -nativesdk build fails anyway.

First reported Feb 15 here:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/017772.html
and confirmed Mar 29:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/020258.html

Patch proposed Mar 21:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/019619.html

but some different implementation of fix was requested:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/019683.html

So filling bug here so it's not forgotten.