[poky] Missing dependencies after setscene, postinst fails

Burton, Ross ross.burton at intel.com
Tue Jul 28 07:23:11 PDT 2015


On 28 July 2015 at 15:12, <Jack_Fewx at dell.com> wrote:

> In this scenario I am consistently seeing 3 Poky recipes fail at
> postinst.  I have triaged the problem to be missing native-class
> dependencies for each of the 3 packages.
>
> The problem packages are: ca-certificates, nss, and gdk-pixbuf-native.
> ca-certificates and nss both depend on their own native-class builds, so
> ca-certificates-native and nss-native respectively, and they fail after
> doing do_package_write_ipk_setscene.  gdk-pixbuf-native needs jpeg-native
> in order to complete do_populate_sysroot_setscene, but fails due to its
> absence.
>

The problem is an ordering one - as I understand it setscene depends are
restored in the reverse order to what you'd expect so any hooks that run in
populate_sysroot need to explicitly add dependencies.  The pixbuf one is
known and we should probably merge the ugly fix before doing the right
thing, but the others are unknown to me at least.

A good start would be to put those missing depends statements in the
recipe, can you prepare a patch for oe-core?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20150728/7da9dfc2/attachment.html>


More information about the poky mailing list