Bug 7884 - linux-dummy based image failed to build
Summary: linux-dummy based image failed to build
Status: VERIFIED FIXED
Alias: None
Product: Kernel
Classification: Yocto Project Subprojects
Component: linux-yocto (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9
Assignee: Saul Wold
QA Contact: Costin
URL:
Whiteboard:
Depends on:
Blocks: 7202
  Show dependency tree
 
Reported: 2015-06-12 11:50 UTC by Costin
Modified: 2015-08-19 13:19 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Found by QA test)
Verified:
Documentation change: Don't know


Attachments
do_rootfs log (34.34 KB, application/octet-stream)
2015-06-12 11:52 UTC, Costin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Costin 2015-06-12 11:50:39 UTC
Hello,

poky hash: 062678c4ab88fa94ed38efa6520c3b4e2d88ca73

When trying to build an image with linux-dummy kernel, the following error occurs:

cosscat@ubnt:/media/poky/3poky/1build$ bitbake core-image-minimal
Loading cache: 100% |###########################################################################################################################################| ETA:  00:00:00
Loaded 1288 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for runtime kernel-base (linux-yocto, linux-yocto-tiny, linux-yocto-rt)
NOTE: consider defining a PREFERRED_PROVIDER entry to match kernel-base

Build Configuration:
BB_VERSION        = "1.27.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-15.04"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.8+snapshot-20150612"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp    = "master:b6490110e87c9581be7c80da0ec73c99fab1c517"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: No kernel-abiversion file found (/media/poky/3poky/1build/tmp/sysroots/qemux86/pkgdata/kernel-depmod/kernel-abiversion), cannot run depmod, aborting
ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /media/poky/3poky/1build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.22478
ERROR: Task 7 (/media/poky/3poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1957 tasks of which 1956 didn't need to be rerun and 1 failed.
No currently running tasks (1956 of 1958)

Summary: 1 task failed:
  /media/poky/3poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

This happens no matter of machine used. 
Settings done in conf/local.conf:
...
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"

Attached is the log.do_rootfs

Costin
Comment 1 Costin 2015-06-12 11:52:42 UTC
Created attachment 2546 [details]
do_rootfs log
Comment 2 Rob Calhoun 2015-06-23 22:21:54 UTC
I have reproducd this bug with
poky eb4a134a60e3ac26a48379675ad6346a44010339 (fido) 
and 
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"

and verified that the fix posted by Saul Wold
http://lists.openembedded.org/pipermail/openembedded-core/2015-June/106438.html 
resolves it. Thanks!
Comment 3 Costin 2015-06-30 11:52:20 UTC
Hi,

I build a core-image-minimal again and followed the comment #2 indications. It works. Awaiting for patch to be merged in poky.  

Costin
Comment 5 Costin 2015-08-19 13:19:32 UTC
Hi,

Just checked with latest master. Builds just fine now.
Marking as verified.

Costin