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

Otavio Salvador otavio at ossystems.com.br
Tue Nov 27 17:08:01 UTC 2012


On Tue, Nov 27, 2012 at 1:41 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> 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

Yes; I have this issue in an internal recipe as well. I workarounded
it adding them in the depends.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list