This series is a work in progress on 2 related bugs :
* [YOCTO #6839] Handle dev package with no main package more gracefully
* [YOCTO #8222] Elide dependency from -dev package on main package if
there are no shared libraries in it
An empty package ${PN} is not generated by default. This has been a
problem most frequently seen because ${PN}-dev depends on it. This case
has been handled by :
* Using ALLOW_EMPTY:${PN} = "1" : forcing ${PN} to be created even
empty.
* DEV_PKG_DEPENDENCY = "" : Implicitly removing the dependency on ${PN}
* And finally and globally making the ${PN}-dev -> ${PN} relation a
RRECOMMENDS.
2 patches :
* insane: Add QA check for RRECOMMENDS on non-existent packages
* meta/recipes: Remove empty ${PN}/DEV_PKG_DEPENDENCY workaround
First one create a QA check to try to detect the problematic situation.
The second removes workarounds setup to hide to problematic case.
Together they will prominently show where the problematic cases are.
Next step will be to find a generic way to fix the case.
Fawzi KHABER (2):
insane: Add QA check for RRECOMMENDS on non-existent packages
meta/recipes: Remove empty ${PN}/DEV_PKG_DEPENDENCY workarounds
meta/classes-global/insane.bbclass | 11 +++++++++++
meta/recipes-connectivity/bind/bind_9.18.11.bb | 1 -
meta/recipes-core/musl/bsd-headers.bb | 1 -
meta/recipes-core/musl/libssp-nonshared.bb | 1 -
meta/recipes-core/newlib/newlib_git.bb | 3 ---
meta/recipes-devtools/gcc/libgcc-common.inc | 4 ----
meta/recipes-devtools/python/python3_3.11.2.bb | 1 -
meta/recipes-graphics/mesa/libglu_9.0.2.bb | 3 ---
meta/recipes-graphics/mesa/mesa.inc | 3 ---
.../recipes-graphics/xorg-lib/libpthread-stubs_0.4.bb | 1 -
meta/recipes-graphics/xorg-lib/xtrans_1.4.0.bb | 1 -
meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb | 1 -
meta/recipes-graphics/xorg-proto/xorgproto_2022.2.bb | 3 +--
meta/recipes-graphics/xorg-util/util-macros_1.20.0.bb | 3 +--
.../linux-libc-headers/linux-libc-headers.inc | 1 -
.../make-mod-scripts/make-mod-scripts_1.0.bb | 1 -
.../argp-standalone/argp-standalone_1.4.1.bb | 1 -
17 files changed, 13 insertions(+), 27 deletions(-)
--
2.30.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#177640):
https://lists.openembedded.org/g/openembedded-core/message/177640
Mute This Topic: https://lists.openembedded.org/mt/97195657/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-