Bug 15323 - A default poky/core-image-minimal does surprisingly build bluez
Summary: A default poky/core-image-minimal does surprisingly build bluez
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: oe-core other (show other bugs)
Version: 4.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 5.0 M2
Assignee: Yoann Congal
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2023-12-12 17:06 UTC by Yoann Congal
Modified: 2024-01-23 14:41 UTC (History)
1 user (show)

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 Yoann Congal 2023-12-12 17:06:15 UTC
Since poky:3c9c721be300, there is a dependency chain between core-image-minimal and bluez (and other surprising recipes like wayland, cairo, ...). Another effect is to make the number of tasks jump from 3608 to 4576 (+27%).

The dependency chain is :
* bash -> bash-ptest -> ...
* util-linux -> util-linux-ptest -> ...
* mdadm -> mdadm-ptest -> ...
* strace (with bluetooh as DISTRO_FEATURES) -> ...
* bluez

Where to split the dependency chain?
* strace -> bluez? (This one is surprising and maybe not needed by default?) 
* mdadm-ptest -> strace? (can we disable the test that depend on this given the cost?)

[0]: https://git.yoctoproject.org/poky/commit/?id=3c9c721be3002be2c81581615c72612748d2282a
Comment 1 Yoann Congal 2023-12-12 17:09:37 UTC
Meanwhile on IRC:
[6:07:37 pm] <rburton> yocton: i had a quick look at strace and it still wants the bluez headers. i'd endorse just deleting the PACKAGECONFIG:class-target line in strace
Comment 2 Yoann Congal 2023-12-12 23:40:03 UTC
Patch sent:
https://lists.openembedded.org/g/openembedded-core/message/192253
[PATCH] strace: Disable bluetooth support by default