1 Reply Latest reply on Jun 2, 2015 4:42 PM by JPMontero_Intel

    Getting Error while building Yocto OS for Intel Galileo Gen 2 using BSP provided by Intel.

    Swamy_Govinda

      Hi,

      I am trying to build a full-featured Linux for SD card using the BSP provided by Intel.

      For that I am using BSP 1.0.1 version downloaded from this link https://downloadcenter.intel.com/downloads/eula/23823/Intel-Quark-BSP-Release-Archive?httpDown=http%3A%2F%2Fdownloadmirror.intel.com%2F23823%2Feng%2FBSP_Sources_and_Docs_for_Intel_Quark_v1.0.1.zip

       

      I executed

      # tar -xvf meta-clanton*.tar.gz

      # cd meta-clanton*

      # ./setup.sh

      # source poky/oe-init-build-env yocto_build

       

      Up to here execution went fine.

      But after executing

      # bitbake image-full-galileo

       

      I got the below error.

       

      iot@iot-desktop:/tmp/meta-clanton_v1.0.1$ source poky/oe-init-build-env yocto_build/

       

      ### Shell environment set up for builds. ###

       

      You can now run 'bitbake <target>'

       

      Common targets are:

          core-image-minimal

          core-image-sato

          meta-toolchain

          meta-toolchain-sdk

          adt-installer

          meta-ide-support

       

      You can also run generated qemu images with a command like 'runqemu qemux86'

       

      %%%%% I GOT BELOW  ERROR %%%%

       

      iot@iot-desktop:/tmp/meta-clanton_v1.0.1/yocto_build$ bitbake image-full-galileo

      Pseudo is not present but is required, building this first before the main build

      WARNING: Host distribution "Ubuntu-14.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

      Parsing recipes: 100% |####################################################| Time: 00:00:28

      Parsing of 1253 .bb files complete (0 cached, 1253 parsed). 1616 targets, 118 skipped, 0 masked, 0 errors.

      WARNING: Unable to get checksum for core-image-minimal-initramfs SRC_URI entry modules.conf: file could not be found

       

      Build Configuration:

      BB_VERSION        = "1.18.0"

      BUILD_SYS         = "x86_64-linux"

      NATIVELSBSTRING   = "Ubuntu-14.04"

      TARGET_SYS        = "i586-poky-linux-uclibc"

      MACHINE           = "clanton"

      DISTRO            = "clanton-tiny"

      DISTRO_VERSION    = "1.4.2"

      TUNE_FEATURES     = "m32 i586"

      TARGET_FPU        = ""

      meta             

      meta-yocto       

      meta-yocto-bsp    = "clanton:d734ab491a30078d43dee5440c03acce2d251425"

      meta-intel        = "clanton:048def7bae8e3e1a11c91f5071f99bdcf8e6dd16"

      meta-oe           = "clanton:13ae5105ee30410136beeae66ec41ee4a8a2e2b0"

      meta-clanton-distro

      meta-clanton-bsp  = "<unknown>:<unknown>"

       

      NOTE: Resolving any missing task queue dependencies

      NOTE: Preparing runqueue

      NOTE: Executing SetScene Tasks

      NOTE: Executing RunQueue Tasks

      ERROR: Function failed: sysroot_stage_all (see /tmp/meta-clanton_v1.0.1/yocto_build/tmp/work/x86_64-linux/quilt-native/0.60-r0/temp/log.do_populate_sysroot.4546 for further information)

      ERROR: Logfile of failure stored in: /tmp/meta-clanton_v1.0.1/yocto_build/tmp/work/x86_64-linux/quilt-native/0.60-r0/temp/log.do_populate_sysroot.4546

      Log data follows:

      | DEBUG: Executing python function sstate_task_prefunc

      | DEBUG: Python function sstate_task_prefunc finished

      | DEBUG: Executing python function do_populate_sysroot

      | DEBUG: Executing shell function sysroot_stage_all

      | tar: --same-order option cannot be used with -c

      | Try 'tar --help' or 'tar --usage' for more information.

      | tar: This does not look like a tar archive

      | tar: Exiting with failure status due to previous errors

      | DEBUG: Python function do_populate_sysroot finished

      | ERROR: Function failed: sysroot_stage_all (see /tmp/meta-clanton_v1.0.1/yocto_build/tmp/work/x86_64-linux/quilt-native/0.60-r0/temp/log.do_populate_sysroot.4546 for further information)

      ERROR: Task 10 (/tmp/meta-clanton_v1.0.1/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_populate_sysroot) failed with exit code '1'

      WARNING: Failed to fetch URL ftp://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.gz, attempting MIRRORS if available

      WARNING: Failed to fetch URL ftp://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz, attempting MIRRORS if available

      WARNING: Failed to fetch URL ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz, attempting MIRRORS if available

      WARNING: Failed to fetch URL ftp://ftp.gnu.org/gnu/automake/automake-1.12.6.tar.gz, attempting MIRRORS if available

      NOTE: Tasks Summary: Attempted 17 tasks of which 0 didn't need to be rerun and 1 failed.

      Waiting for 0 running tasks to finish:

       

      Summary: 1 task failed:

        /tmp/meta-clanton_v1.0.1/poky/meta/recipes-devtools/quilt/quilt-native_0.60.bb, do_populate_sysroot

      Summary: There were 6 WARNING messages shown.

      Summary: There was 1 ERROR message shown, returning a non-zero exit code.

      iot@iot-desktop:/tmp/meta-clanton_v1.0.1/yocto_build$

       

       

      Please anyone correct this error..