Bug 2495

Summary: Rootfs creation broken when using package_deb as primary PACKAGE_CLASSES
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Joshua Lock - Disabled <josh>
Component: meta-yoctoAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: corneliux.stoicescu, liezhi.yang, poky.bs.watcher, poky.watcher, sgw, zhenfeng.zhao
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
log.do_rootfs for deb core-image-minimal none

Description Joshua Lock - Disabled 2012-05-24 23:15:37 UTC
I am unable to build core-image-minimal on an Ubuntu 12.04 host with:
PACKAGE_CLASSES = "package_deb package_rpm package_ipk"
Comment 1 Joshua Lock - Disabled 2012-05-24 23:16:27 UTC
Created attachment 534 [details]
log.do_rootfs for deb core-image-minimal

Log file of failure
Comment 2 Robert Yang 2012-06-07 02:18:13 UTC
*** Bug 2506 has been marked as a duplicate of this bug. ***
Comment 3 Robert Yang 2012-06-12 01:44:48 UTC
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.
Comment 4 Robert Yang 2012-06-14 06:24:56 UTC
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.
Comment 5 Robert Yang 2012-07-13 06:06:13 UTC
Can't reproduce it recently, move it to m4.
Comment 6 Robert Yang 2012-07-31 01:34:41 UTC
*** Bug 2506 has been marked as a duplicate of this bug. ***
Comment 8 Stoicescu Cornel 2012-08-29 15:36:28 UTC
Verified with checkout 19ff55a53b436d463f9577adaed15be77708f0d2 on Ubuntu 12.04