Skip to contentSkip to conversation

Questions about 'bitbake core-image-minimal'

DISCUSSION ☆星空☆ 2 participants 2 messages Aug 9, 2012 – Aug 10, 2012

lore
Share & tools
lore
#0 lore raw

Hi all ,
Recently,I was learing the yocto project. When I use the cmd "bitbake core-image-minimal" ,the console output the some messages as blow :

Pseudo is not present but is required, building this first before the main build
Parsing recipes...done.
Parsing of 830 .bb files complete (0 cached, 830 parsed). 1106 targets, 34 skipped, 0 masked, 0 errors.
OE Build Configuration:

BB_VERSION        = "1.15.2"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2.1"
TUNE_FEATURES     = "armv5 dsp thumb arm926ejs"
TARGET_FPU        = "soft"

meta
meta-yocto = "<unknown>:<unknown>"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 63 (ID: 11, /home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/quilt/quilt-native_0.51.bb, do_fetch)
NOTE: Running task 2 of 63 (ID: 53, virtual:native:/home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb, do_fetch)
NOTE: Running task 3 of 63 (ID: 60, /home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/m4/m4-native_1.4.16.bb, do_fetch)
NOTE: Running task 4 of 63 (ID: 32, virtual:native:/home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/autoconf/autoconf_2.68.bb, do_fetch)
NOTE: package quilt-native-0.51-r1: task do_fetch: Started
NOTE: package m4-native-1.4.16-r2: task do_fetch: Started
NOTE: package gnu-config-native-20111111-r1: task do_fetch: Started
NOTE: package autoconf-native-2.68-r7: task do_fetch: Started
NOTE: package gnu-config-native-20111111-r1: task do_fetch: Succeeded
NOTE: Running task 5 of 63 (ID: 49, virtual:native:/home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb, do_unpack)
NOTE: package gnu-config-native-20111111-r1: task do_unpack: Started
NOTE: package gnu-config-native-20111111-r1: task do_unpack: Succeeded
NOTE: Running task 6 of 63 (ID: 39, virtual:native:/home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/automake/automake_1.11.2.bb, do_fetch)
NOTE: package automake-native-1.11.2-r3: task do_fetch: Started
NOTE: package m4-native-1.4.16-r2: task do_fetch: Succeeded
NOTE: Running task 7 of 63 (ID: 56, /home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/m4/m4-native_1.4.16.bb, do_unpack)
NOTE: package m4-native-1.4.16-r2: task do_unpack: Started
NOTE: package m4-native-1.4.16-r2: task do_unpack: Succeeded
NOTE: Running task 8 of 63 (ID: 46, /home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb, do_fetch)
NOTE: package libtool-native-2.4.2-r2.0: task do_fetch: Started
NOTE: package autoconf-native-2.68-r7: task do_fetch: Succeeded
NOTE: Running task 9 of 63 (ID: 28, virtual:native:/home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/autoconf/autoconf_2.68.bb, do_unpack)
NOTE: package automake-native-1.11.2-r3: task do_fetch: Succeeded
NOTE: package autoconf-native-2.68-r7: task do_unpack: Started
NOTE: Running task 10 of 63 (ID: 35, virtual:native:/home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/automake/automake_1.11.2.bb, do_unpack)
NOTE: package automake-native-1.11.2-r3: task do_unpack: Started
NOTE: package autoconf-native-2.68-r7: task do_unpack: Succeeded
NOTE: Running task 11 of 63 (ID: 25, virtual:native:/home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb, do_fetch)
NOTE: package automake-native-1.11.2-r3: task do_unpack: Succeeded
NOTE: Running task 12 of 63 (ID: 18, virtual:native:/home/ly/yocto/poky-denzil-7.0.1/meta/recipes-support/sqlite/sqlite3_3.7.10.bb, do_fetch)
NOTE: package pkgconfig-native-0.25-r3: task do_fetch: Started
NOTE: package sqlite3-native-3.7.10-r2: task do_fetch: Started
NOTE: package quilt-native-0.51-r1: task do_fetch: Succeeded
NOTE: Running task 13 of 63 (ID: 7, /home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/quilt/quilt-native_0.51.bb, do_unpack)
NOTE: package quilt-native-0.51-r1: task do_unpack: Started
NOTE: package quilt-native-0.51-r1: task do_unpack: Succeeded
NOTE: Running task 14 of 63 (ID: 8, /home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/quilt/quilt-native_0.51.bb, do_patch)
NOTE: package quilt-native-0.51-r1: task do_patch: Started
NOTE: package quilt-native-0.51-r1: task do_patch: Succeeded
NOTE: Running task 15 of 63 (ID: 12, /home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/quilt/quilt-native_0.51.bb, do_configure)
NOTE: package quilt-native-0.51-r1: task do_configure: Started
NOTE: package libtool-native-2.4.2-r2.0: task do_fetch: Succeeded
NOTE: Running task 16 of 63 (ID: 42, /home/ly/yocto/poky-denzil-7.0.1/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb, do_unpack)

And I am wondering:
1)I find some package like "automake, autoconf" existing on my host ,can I use "automake" which is already installed on my host rather than to do tasks to install (do_fetch,do_compile) and How .
2)Why first do_fetch quilt-native ,where the dependency on native devtools things are from.

Thanks ,

Yu Liu

#1 lore raw
Quoted 3 lines · ☆星空☆

1)I find some package like "automake, autoconf" existing on my host ,can I use "automake" which is already installed on my host rather than to do tasks to install (do_fetch,do_compile) and How .

The job of automake/automake is just to create the Makefiles which the "make" utility can use to compile software; this is but one small component in the overall task of cross-compiling software for an embedded target. So your question would be similar to someone asking "Why does Yocto have to build the software? Can't I just use wget and download the sources myself?" Which you can, but once you're done you still don't have anything you can use on your embedded device.

Quoted 2 lines

2)Why first do_fetch quilt-native ,where the dependency on native devtools things are from.

One of the many things making embedded cross-development complicated is that everyone is free to use whatever version of whatever Linux distribution they want on their host systems. As it turns out, the small differences between distributions and (more importantly) the different versions of the various tools used to do embedded development on each of these system often leads to not being able to successfully complete various tasks (of which there are many). Therefore tools like OE or Yocto are smart in that they start off by checking your host system and setting up a known-to-work set of native tools which it then will use to perform the remainder of its tasks.

Where these dependencies are specifically being pulled in from I'm not 100% sure, but it's probably not too hard to find, and you wouldn't want to disable them anyway.

One concrete example of this sort of issue is: recently it wasn't possible to compile certain version of the Linux kernel using the "make" utility version 3.82.