| Summary: | do_rootfs fails for multilib with opkg unable to remove packages | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Beth Flanagan <elizabeth.flanagan> |
| Component: | core | Assignee: | Ross Burton <ross.burton> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | elizabeth.flanagan, meta.mr.watcher, meta.watcher, richard.purdie |
| Version: | 1.7.3 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Beth Flanagan
2015-09-11 11:28:29 UTC
This is also occurring in nightly-ipk but on centos7-a: ERROR: Unable to remove packages. Command '['/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/build/tmp/sysroots/x86_64-linux/usr/bin/opkg', '--volatile-cache', '-f', '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/opkg.conf', '-o', '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs', '--force_postinstall', '--prefer-arch-to-version', '--force-depends', 'remove', 'base-passwd', 'run-postinsts']' returned 255: Collected errors: * opkg_lock: Could not create lock file /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs//var/run/opkg.lock: Permission denied. ERROR: Function failed: do_rootfs ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.23525 NOTE: recipe core-image-minimal-1.0-r0: task do_rootfs: Failed ERROR: Task 49 (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ipk/build/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1' This was caused by the populate_volatiles patch which enabled it being run uncondiaonally at do_rootfs time. The patch was dropped from -next. |