I am unable to build core-image-minimal on an Ubuntu 12.04 host with: PACKAGE_CLASSES = "package_deb package_rpm package_ipk"
Created attachment 534 [details] log.do_rootfs for deb core-image-minimal Log file of failure
*** Bug 2506 has been marked as a duplicate of this bug. ***
Can't reproduce it on Ubuntu 12.04 64bit, I had noticed the same error as Joshua before, but it seems it's gone now.
Noticed this error again: ERROR: Function failed: do_rootfs (see /buildarea2/lyang1/testbuild2/tmp/work/qemux86-poky-linux/core-image-sato-1.0-r0/temp/log.do_rootfs.17077 for further information) ERROR: Logfile of failure stored in: /buildarea2/lyang1/testbuild2/tmp/work/qemux86-poky-linux/core-image-sato-1.0-r0/temp/log.do_rootfs.17077 Log data follows: | DEBUG: Executing shell function do_rootfs | ERROR: Function failed: do_rootfs (see /buildarea2/lyang1/testbuild2/tmp/work/qemux86-poky-linux/core-image-sato-1.0-r0/temp/log.do_rootfs.17077 for further information) | dpkg-scanpackages: info: Wrote 32 entries to output Packages file. | dpkg-scanpackages: info: Wrote 5926 entries to output Packages file. | dpkg-scanpackages: info: Wrote 345 entries to output Packages file. | dpkg-scanpackages: info: Wrote 32 entries to output Packages file. | cat: /buildarea2/lyang1/testbuild2/tmp/sysroots/x86_64-linux/etc/apt/apt.conf.sample: No such file or directory | E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied) | E: Unable to lock the list directory | E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied) | E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? NOTE: package core-image-sato-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/buildarea2/lyang1/poky/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 4682 tasks of which 4226 didn't need to be rerun and 1 failed.
Can't reproduce it recently, move it to m4.
Merged into master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=0348e2c1c2b1b96b57d9f96f2f8c988dbd7fcb9a http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=21dcd88ceefda09d1c03d982d5de984a8f85d9b4
Verified with checkout 19ff55a53b436d463f9577adaed15be77708f0d2 on Ubuntu 12.04