Bug 2580 - Build gtk-directfb image failed
Summary: Build gtk-directfb image failed
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.3
Hardware: x86 arm
: Medium normal
Target Milestone: 1.3 M2
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard: QA testing completed) Done
Depends on:
Blocks:
 
Reported: 2012-06-12 02:32 UTC by Yi Zhao
Modified: 2012-06-28 05:58 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2012-06-12 02:32:35 UTC
Tree/Branch: Poky/master
Poky Commit: df8f55a919b3cc602ce1f1c51630c7edf6e36b55

Steps:
1. Download poky source and prepare the build environment
2. Set MACHINE to qemuarm in conf/local.conf
3. Set DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g gtk-directfb ${DISTRO_FEATURES_LIBC}" in conf/local.conf
4. Run "bitbake core-image-gtk-directfb" to build a gtk-directfb image

Error log:
#############
ERROR: Function failed: do_rootfs (see /buildarea2/yzhao-test/poky-test/build-gtk/tmp/work/qemuarm-poky-linux-gnueabi/core-image-gtk-directfb-1.0-r0/temp/log.do_rootfs.23168 for further information)
ERROR: Logfile of failure stored in: /buildarea2/yzhao-test/poky-test/build-gtk/tmp/work/qemuarm-poky-linux-gnueabi/core-image-gtk-directfb-1.0-r0/temp/log.do_rootfs.23168
Log data follows:
| DEBUG: Executing shell function do_rootfs
| ERROR: Function failed: do_rootfs (see /buildarea2/yzhao-test/poky-test/build-gtk/tmp/work/qemuarm-poky-linux-gnueabi/core-image-gtk-directfb-1.0-r0/temp/log.do_rootfs.23168 for further information)
| Generating solve db for /buildarea2/yzhao-test/poky-test/build-gtk/tmp/deploy/rpm/qemuarm...
| Generating solve db for /buildarea2/yzhao-test/poky-test/build-gtk/tmp/deploy/rpm/armv5te...
| Generating solve db for /buildarea2/yzhao-test/poky-test/build-gtk/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB      1.220430 secs
|    fingerprint:      1050      0.006724 MB      0.195545 secs
|    install:           350      0.000000 MB      0.461928 secs
|    dbadd:             350      0.000000 MB      0.450773 secs
|    dbget:            2068      0.000000 MB      0.004846 secs
|    dbput:             350      1.666920 MB      0.381828 secs
|    readhdr:          3501      3.272984 MB      0.121802 secs
|    hdrload:          1750      4.861408 MB      0.008613 secs
|    hdrget:          60477      0.000000 MB      0.055011 secs
|    total:               1      0.000000 MB     26.027275 secs
|    fingerprint:     14691      0.177400 MB      2.483300 secs
|    install:          4897      0.000000 MB      7.440730 secs
|    dbadd:            4897      0.000000 MB      7.310655 secs
|    dbget:           54365      0.000000 MB      0.099293 secs
|    dbput:            4897     25.129648 MB      6.557245 secs
|    readhdr:         48971     49.962090 MB      7.672311 secs
|    hdrload:         25964     81.214582 MB      0.136101 secs
|    hdrget:         875632      0.000000 MB      0.804819 secs
|    total:               1      0.000000 MB      0.129753 secs
|    fingerprint:        66      0.000792 MB      0.014767 secs
|    install:            22      0.000000 MB      0.044274 secs
|    dbadd:              22      0.000000 MB      0.041188 secs
|    dbget:             128      0.000000 MB      0.000277 secs
|    dbput:              22      0.095680 MB      0.018071 secs
|    readhdr:           221      0.191128 MB      0.021715 secs
|    hdrload:           113      0.290028 MB      0.000501 secs
|    hdrget:           3115      0.000000 MB      0.002827 secs
| Generating solve db for /buildarea2/yzhao-test/poky-test/build-gtk/tmp/deploy/rpm/all...
| Processing locale-base-en-us...
| Processing locale-base-en-gb...
| Processing task-core-boot...
| Processing task-base-extended...
| Processing task-core-basic...
| Processing module-init-tools...
| Unable to find package module-init-tools (module-init-tools)!
NOTE: package core-image-gtk-directfb-1.0-r0: task do_rootfs: Failed
ERROR: Task 8 (/buildarea2/yzhao-test/poky-test/meta/recipes-graphics/images/core-image-gtk-directfb.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3158 tasks of which 1809 didn't need to be rerun and 1 failed.

#####################
Comment 1 Laurentiu Palcu 2012-06-13 04:53:37 UTC
This is not a gtk-directfb problem. It is related to the RPM package manager. Do a quick test please: set PACKAGE_CLASSES ?= "package_ipk" in your local.conf and repeat the test. It should work.
Comment 2 Xiaofeng Yan 2012-06-14 02:16:16 UTC
(In reply to comment #1)
> This is not a gtk-directfb problem. It is related to the RPM package
> manager. Do a quick test please: set PACKAGE_CLASSES ?= "package_ipk" in
> your local.conf and repeat the test. It should work.

It is not the best method to fix this bugs. We also support gtk-directfb with RPM mode.
Comment 4 liang li 2012-06-28 05:58:31 UTC
no such error on :
git info:bcc04b2880b44140176e1d2dcc955a3d3942c392
git branch:poky/master
test hosts: Fedora 17 x86_64

gtk-directfb image can boot and "gtk-demo" can run on the image.