Openembedded Core Discussions
 help / color / mirror / Atom feed
* RDEPENDS of packages created by PACKAGES_DYNAMIC not built before image rootfs
@ 2012-11-27 15:41 Martin Jansa
  2012-11-27 17:08 ` Otavio Salvador
  2012-11-27 20:11 ` Richard Purdie
  0 siblings, 2 replies; 8+ messages in thread
From: Martin Jansa @ 2012-11-27 15:41 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]

Hi,

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
https://bugzilla.yoctoproject.org/show_bug.cgi?id=3498

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-28 16:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 15:41 RDEPENDS of packages created by PACKAGES_DYNAMIC not built before image rootfs Martin Jansa
2012-11-27 17:08 ` Otavio Salvador
2012-11-27 20:11 ` Richard Purdie
2012-11-27 20:23   ` Martin Jansa
2012-11-27 21:07     ` Mark Hatle
2012-11-28  5:26       ` Richard Purdie
2012-11-28 16:24         ` Mark Hatle
2012-11-28  5:35     ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox