Bug 8586

Summary: multilib build includes 32bit connman without good reason
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jussi Kukkonen <jku>
Component: connectivityAssignee: Kai Kang <kai.kang>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod, ross.burton
Version: unspecified   
Target Milestone: 2.7 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Jussi Kukkonen 2015-10-27 12:21:12 UTC
multilib build (configuration 2) adds lib32-connman-gnome into the image. This ends up adding lib32-connman for no good reason.

connman-gnome RDEPENDS on connman, so this probably explains why this happens. It still shouldn't though: connman-gnome only needs the the Connman D-Bus API.

Ross suggested that using RREQUIRES (or nothing at all) would be a better choice.


See also bug 8550 (ping fails because a script was mistakenly installed in libdir and this bug means connman and lib32-connman-conf disagree what libdir means).
Comment 1 Ross Burton 2015-10-27 13:03:39 UTC
(I said RRECOMMENDS)
Comment 2 Jussi Kukkonen 2016-04-06 12:51:55 UTC
Ross: I know you tried the patch on mut a few times and probably had autobuilder errors (since the patch never ended in master): happen to remember what the problem was?

If you need to look at the patch, the email title was: "[PATCH 1/5] connman-gnome: rrecommend connman, don't rdepend"
Comment 3 Ross Burton 2017-09-11 16:18:10 UTC
Reassigning Jussi's bugs.
Comment 4 Randy MacLeod 2018-10-18 15:49:20 UTC
Kai, it would be good to check if this is still happening on master in the next few days even if we specified 2.7-M1 as the target.
Comment 5 Kai Kang 2018-10-19 07:18:31 UTC
Randy, yes, it is still RDEPENDS on connman:

RDEPENDS_${PN} = "connman"
Comment 6 Kai Kang 2018-12-06 06:33:23 UTC
I did a search and no recipe in oe-core split dbus conf and services files into a separate sub-package. I think it is normal dependency that "connman-gnome RDEPENDS on connman" and not a bug here.