Bug 5241

Summary: package_deb fails in do_rootfs
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Olivier Guiter <olivier.guiter>
Component: coreAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: Medium+ CC: alexandrux.palalau, laurentiu.palcu, meta.mr.watcher, meta.watcher
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

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