[poky] Missing dependencies after setscene, postinst fails

Jack_Fewx at Dell.com Jack_Fewx at Dell.com
Tue Jul 28 08:46:50 PDT 2015


Do you have the read-only Rootfs flag set?  And did you remove all of the /tmp directory (including /work and /sysroots)? Those are the keys to seeing the failure:

log.do_rootfs (relevant lines):

Installing ca-certificates (20140325-r0) on root.
Package ca-certificates (20140325-r0) installed in root is up to date.
……./rootfs//var/lib/opkg/info/ca-certificates.postinst: line 1: update-ca-certificates: command not found
Configuring ca-certificates.
ca-certificates.postinst returned 127, marking as unpacked only, configuration required on target.
ERROR: The following packages could not be configured offline and rootfs is read-only: ['ca-certificates']
DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs

ca-certificates.postinst:
SYSROOT="$D" update-ca-certificates


The command it is choking on is “update-ca-certificates”, which is installed in the rootfs, but what’s missing is the native version under sysroots that can run on the build machine during build time.  “ca-certificates-native” is not re-populated in sysroots during setscene.

Jack Fewx

---------

On 28 July 2015 at 15:12, <Jack_Fewx at dell.com<mailto:Jack_Fewx at dell.com>> wrote:
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.

So I can't replicate any problem with ca-certificates, can you provide a log of what fails for you?

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


More information about the poky mailing list