Bug 1703

Summary: Build error with minimal configuration
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Hdante <hdante>
Component: meta-yoctoAssignee: Shane Wang <shane.wang>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher, sgw
Version: 1.1-beta   
Target Milestone: 1.2   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
log file none

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