[OE-core] RDEPENDS of packages created by PACKAGES_DYNAMIC not built before image rootfs

Martin Jansa martin.jansa at gmail.com
Tue Nov 27 15:41:29 UTC 2012


pulseaudio has
RDEPENDS_pulseaudio-module-console-kit =+ "consolekit"

and pulseaudio-module-console-kit is dynamic package
PACKAGES_DYNAMIC += "^pulseaudio-lib.* ^pulseaudio-module.* ^libpulse-lib.* ^libpulse-module.* "

If you have image where consolekit is pulled to image only by 
pulseaudio-module-console-kit (e.g. through pulseaudio-server). 
Then consolekit is not built before image do_rootfs is executed and do_rootfs fails.

Easy way to reproduce this is to build e.g. core-image-minimal with 
pulseaudio-module-console-kit or pulseaudio-server added to IMAGE_INSTALL. 
Will fail with:
  * satisfy_dependencies_for: Cannot satisfy the following dependencies for pulseaudio-server:
  *    consolekit *
  * opkg_install_cmd: Cannot install package pulseaudio-server.

Not sure what's proper fix, bitbake probably just checks that right provider for 
pulseaudio-module-console-kit is pulseaudio because of PACKAGES_DYNAMIC, but does not check 
RDEPENDS_pulseaudio-module-console-kit after that.

We can add consolekit to build time deps like it was before, but that's just 
work around and not correct fix.

Also filled as


Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20121127/c46805aa/attachment-0001.sig>

More information about the Openembedded-core mailing list