Bug 1703 - Build error with minimal configuration
Summary: Build error with minimal configuration
Status: RESOLVED WORKSFORME
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.1-beta
Hardware: x86 x86_64
: Medium normal
Target Milestone: 1.2
Assignee: Shane Wang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-10-26 17:20 UTC by Hdante
Modified: 2012-01-15 18:45 UTC (History)
3 users (show)

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


Attachments
log file (2.51 KB, text/plain)
2011-10-26 17:20 UTC, Hdante
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hdante 2011-10-26 17:20:07 UTC
I downloaded yocto 1.1 and followed steps in the quick start to create a new, minimal configuration:

$ sudo apt-get install many things
$ wget http://www.yoctoproject.org/downloads/poky/poky-edison-6.0.tar.bz2
$ tar xjf poky-edison-6.0.tar.bz2
$ cd poky-edison-6.0
$ . oe-init-build-env
$ hob

Then I selected machine qemux86-64 and only two packages:
- busybox
- udev

I ran Bake and some hours later the build ended with an error:
Generating solve db for /home/hdante/code/minimal-linux/poky-edison-6.0/build/tmp/deploy/rpm/x86_64...
   total:               1      0.000000 MB      5.478587 secs
   fingerprint:      6291      0.059846 MB      0.230158 secs
   install:          2097      0.000000 MB      2.728420 secs
   dbadd:            2097      0.000000 MB      2.669462 secs
   dbget:           18342      0.000000 MB      0.047101 secs
   dbput:            2097      9.654656 MB      2.255098 secs
   readhdr:         20971     19.155434 MB      0.060528 secs
   hdrload:         10485     28.340266 MB      0.055302 secs
   hdrget:         358819      0.000000 MB      0.585819 secs
Generating solve db for /home/hdante/code/minimal-linux/poky-edison-6.0/build/tmp/deploy/rpm/all...
   total:               1      0.000000 MB      0.089706 secs
   fingerprint:         9      0.000012 MB      0.000246 secs
   install:             3      0.000000 MB      0.039361 secs
   dbadd:               3      0.000000 MB      0.036519 secs
   dbget:              12      0.000000 MB      0.000056 secs
   dbput:               3      0.009508 MB      0.002828 secs
   readhdr:            31      0.019088 MB      0.000107 secs
   hdrload:            15      0.027828 MB      0.000151 secs
   hdrget:            494      0.000000 MB      0.001112 secs
Generating solve db for /home/hdante/code/minimal-linux/poky-edison-6.0/build/tmp/deploy/rpm/all...
   total:               1      0.000000 MB      0.075957 secs
   fingerprint:         9      0.000012 MB      0.000249 secs
   install:             3      0.000000 MB      0.028358 secs
   dbadd:               3      0.000000 MB      0.025218 secs
   dbget:              12      0.000000 MB      0.000052 secs
   dbput:               3      0.009508 MB      0.002143 secs
   readhdr:            31      0.019088 MB      0.000088 secs
   hdrload:            15      0.027828 MB      0.000108 secs
   hdrget:            494      0.000000 MB      0.000915 secs
Processing locale-base-en-us...
Processing locale-base-en-gb...
Processing busybox...
Processing util-linux-cfdisk...
Processing util-linux-swaponoff...
Processing udev...
Processing util-macros...
Processing busybox-udhcpc...
Processing util-linux-fdisk...
Processing util-linux-umount...
Processing linux-libc-headers...
Unable to find package linux-libc-headers (linux-libc-headers)!
ERROR: Function 'do_rootfs' failed (see /home/hdante/code/minimal-linux/poky-edison-6.0/build/tmp/work/qemux86_64-poky-linux/hob-empty-variant-2011-10-26-1.0-r0/temp/log.do_rootfs.15140 for further information)
Comment 1 Hdante 2011-10-26 17:20:54 UTC
Created attachment 277 [details]
log file
Comment 2 Joshua Lock - Disabled 2011-12-13 14:24:55 UTC
I fear this is an unfortunate by product of how builds are handled in the version of Hob shipped with Edison. It will be resolved with Hob v2 but is unlikely to be addressed before the next Yocto release.
Comment 3 Shane Wang 2012-01-15 18:45:32 UTC
This branch could work.

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=dxu4/hob2-v0.11