Bug 5241 - package_deb fails in do_rootfs
Summary: package_deb fails in do_rootfs
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium+ major
Target Milestone: 1.5 M5
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-20 08:01 UTC by Olivier Guiter
Modified: 2013-10-04 08:31 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Guiter 2013-09-20 08:01:22 UTC
Default local.conf file except:
PACKAGE_CLASSES ?= "package_deb"
MACHINE ?= "qemuarm"

bitbake core-image-minimal fails with the following errors:
W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory)
| W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list - RealFileExists (2: No such file or directory)
| W: You may want to run apt-get update to correct these problems
| Reading package lists...
| W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory)
| W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list - RealFileExists (2: No such file or directory)
| Reading package lists...
| Building dependency tree...
| W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory)
| W: Unable to read /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/sysroots/x86_64-linux/etc/apt/sources.list - RealFileExists (2: No such file or directory)
| W: You may want to run apt-get update to correct these problems
| E: Unable to locate package run-postinsts
| E: Unable to locate package packagegroup-core-boot
| WARNING: /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/run.do_rootfs.27285:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_rootfs (log file is located at /home/oguiter/Devel/Yocto/Test/TestDEB/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.27285)
ERROR: Task 7 (/home/oguiter/Devel/Yocto/Test/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1'

Same problem with MACHINE ?= "qemux86"
Comment 1 Laurentiu Palcu 2013-09-23 09:32:41 UTC
Sent a fix on the ML.
Comment 3 Alexandru Palalau 2013-10-04 08:31:48 UTC
Verified on master branch.
Commit ID: 56f39bcf2237c11508d82238b6292e4bfbfed764