Bug 2495 - Rootfs creation broken when using package_deb as primary PACKAGE_CLASSES
Summary: Rootfs creation broken when using package_deb as primary PACKAGE_CLASSES
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
: 2506 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-24 23:15 UTC by Joshua Lock - Disabled
Modified: 2012-08-29 15:36 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
log.do_rootfs for deb core-image-minimal (2.04 KB, application/octet-stream)
2012-05-24 23:16 UTC, Joshua Lock - Disabled
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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