Announcement

Collapse
No announcement yet.

Issue with initial build of ROM image & SDK for SGX-5150

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue with initial build of ROM image & SDK for SGX-5150

    Hi Team

    I am trying to do the initial build of ROM image and SDK for SGX5150, by following the steps which have been posted on github (https://github.com/Lantronix/yocto_premierwave), but I am getting the below error when the build is running.

    Request you to please help.

    Thanks
    Nakshatra


    [email protected]:~/yocto_premierwave/sources$ git clone -b jethro git://git.yoctoproject.org/poky.git
    Cloning into 'poky'...
    remote: Counting objects: 442577, done.
    remote: Compressing objects: 100% (104273/104273), done.
    remote: Total 442577 (delta 331196), reused 442453 (delta 331116)
    Receiving objects: 100% (442577/442577), 155.95 MiB | 4.22 MiB/s, done.
    Resolving deltas: 100% (331196/331196), done.
    Checking connectivity... done.
    [email protected]:~/yocto_premierwave/sources$ git clone -b jethro git://git.openembedded.org/meta-openembedded.git
    Cloning into 'meta-openembedded'...
    remote: Counting objects: 108716, done.
    remote: Compressing objects: 100% (37697/37697), done.
    remote: Total 108716 (delta 67046), reused 106198 (delta 65500)
    Receiving objects: 100% (108716/108716), 32.17 MiB | 4.00 MiB/s, done.
    Resolving deltas: 100% (67046/67046), done.
    Checking connectivity... done.
    [email protected]:~/yocto_premierwave/sources$ ls -l
    total 16
    drwxrwxr-x 5 vyadmin vyadmin 4096 May 29 09:41 meta-application
    drwxrwxr-x 12 vyadmin vyadmin 4096 May 29 09:41 meta-lantronix
    drwxrwxr-x 18 vyadmin vyadmin 4096 May 29 09:48 meta-openembedded
    drwxrwxr-x 11 vyadmin vyadmin 4096 May 29 09:46 poky
    [email protected]:~/yocto_premierwave/sources$ cd ..
    [email protected]:~/yocto_premierwave$ ./customer_set_target.sh sgx5150
    [email protected]:~/yocto_premierwave$ source sources/poky/oe-init-build-env build

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

    You can now run 'bitbake <target>'

    Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    adt-installer
    meta-ide-support

    You can also run generated qemu images with a command like 'runqemu qemux86'
    [email protected]:~/yocto_premierwave/build$ bitbake ltrx-customer-image
    WARNING: Host distribution "Ubuntu-16.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:45
    Parsing of 1824 .bb files complete (0 cached, 1824 parsed). 2378 targets, 116 skipped, 0 masked, 0 errors.
    NOTE: Resolving any missing task queue dependencies
    NOTE: multiple providers are available for runtime libjson (libjson, json-c)
    NOTE: consider defining a PREFERRED_PROVIDER entry to match libjson

    Build Configuration:
    BB_VERSION = "1.28.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "Ubuntu-16.04"
    TARGET_SYS = "arm-poky-linux-gnueabi"
    MACHINE = "sgx5150"
    DISTRO = "poky"
    DISTRO_VERSION = "2.0.3"
    TUNE_FEATURES = "arm armv5 thumb dsp"
    TARGET_FPU = "soft"
    meta
    meta-yocto
    meta-yocto-bsp = "jethro:7e613928fe327b0233b0c488d6fb6bdade45e9 d2"
    meta-lantronix = "master:bc42c3e9e88635c7890fdab375a91f5d9cabd9 3b"
    meta-oe
    meta-filesystems
    meta-networking
    meta-python
    meta-webserver = "jethro:2ea8d7f54a061e902657c4f8ea1f7f7c25c6c4 e1"
    meta-application = "master:bc42c3e9e88635c7890fdab375a91f5d9cabd9 3b"

    NOTE: Preparing RunQueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: Failed to fetch URL http://www.zlib.net/zlib-1.2.8.tar.xz, attempting MIRRORS if available
    WARNING: Failed to fetch URL http://www.multiprecision.org/mpc/do...c-1.0.3.tar.gz, attempting MIRRORS if available
    WARNING: Failed to fetch URL http://download.gna.org/cryptodev-li...nux-1.7.tar.gz, attempting MIRRORS if available
    WARNING: Failed to fetch URL http://zlib.net/pigz/pigz-2.3.3.tar.gz, attempting MIRRORS if available
    WARNING: Checksum failure encountered with download of http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz - will attempt other sources if available
    WARNING: Renaming /home/vyadmin/yocto_premierwave/build/downloads/bzip2-1.0.6.tar.gz to /home/vyadmin/yocto_premierwave/build/downloads/bzip2-1.0.6.tar.gz_bad-checksum_527819af097ee3014e4d442315b6f283
    WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/mai....2.orig.tar.gz, attempting MIRRORS if available
    WARNING: Failed to fetch URL ftp://invisible-island.net/byacc/byacc-20150711.tgz, attempting MIRRORS if available
    WARNING: Failed to fetch URL http://pkg-shadow.alioth.debian.org/...w-4.2.1.tar.xz, attempting MIRRORS if available
    ERROR: Function failed: do_kernel_checkout (log file is located at /home/vyadmin/yocto_premierwave/build/tmp/work/sgx5150-poky-linux-gnueabi/linux-yocto-custom/3.10.0-r0/temp/log.do_kernel_checkout.14113)
    ERROR: Logfile of failure stored in: /home/vyadmin/yocto_premierwave/build/tmp/work/sgx5150-poky-linux-gnueabi/linux-yocto-custom/3.10.0-r0/temp/log.do_kernel_checkout.14113
    Log data follows:
    | DEBUG: Executing shell function do_kernel_checkout
    | Initialized empty Git repository in /home/vyadmin/yocto_premierwave/build/tmp/work-shared/sgx5150/kernel-source/.git/
    |
    | *** Please tell me who you are.
    |
    | Run
    |
    | git config --global user.email "[email protected]"
    | git config --global user.name "Your Name"
    |
    | to set your account's default identity.
    | Omit --global to set the identity only in this repository.
    |
    | fatal: unable to auto-detect email address (got '[email protected](none)')
    | error: pathspec 'master' did not match any file(s) known to git.
    | WARNING: exit code 1 from a shell command.
    | ERROR: Function failed: do_kernel_checkout (log file is located at /home/vyadmin/yocto_premierwave/build/tmp/work/sgx5150-poky-linux-gnueabi/linux-yocto-custom/3.10.0-r0/temp/log.do_kernel_checkout.14113)
    ERROR: Task 66 (/home/vyadmin/yocto_premierwave/sources/meta-lantronix/recipes-kernel/linux/linux-yocto-custom.bb, do_kernel_checkout) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 516 tasks of which 0 didn't need to be rerun and 1 failed.
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
    /home/vyadmin/yocto_premierwave/sources/meta-lantronix/recipes-kernel/linux/linux-yocto-custom.bb, do_kernel_checkout
    Summary: There were 10 WARNING messages shown.
    Summary: There was 1 ERROR message shown, returning a non-zero exit code.
    [email protected]:~/yocto_premierwave/build$ git config user.email "[email protected]"
    [email protected]:~/yocto_premierwave/build$ git config user.name "Nakshatra Gupta"
    [email protected]:~/yocto_premierwave/build$ bitbake ltrx-customer-image
    WARNING: Host distribution "Ubuntu-16.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.
    Loading cache: 100% |################################################# ################################################## ################################################## ##################| ETA: 00:00:00
    Loaded 2379 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies
    NOTE: multiple providers are available for runtime libjson (libjson, json-c)
    NOTE: consider defining a PREFERRED_PROVIDER entry to match libjson

    Build Configuration:
    BB_VERSION = "1.28.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "Ubuntu-16.04"
    TARGET_SYS = "arm-poky-linux-gnueabi"
    MACHINE = "sgx5150"
    DISTRO = "poky"
    DISTRO_VERSION = "2.0.3"
    TUNE_FEATURES = "arm armv5 thumb dsp"
    TARGET_FPU = "soft"
    meta
    meta-yocto
    meta-yocto-bsp = "jethro:7e613928fe327b0233b0c488d6fb6bdade45e9 d2"
    meta-lantronix = "master:bc42c3e9e88635c7890fdab375a91f5d9cabd9 3b"
    meta-oe
    meta-filesystems
    meta-networking
    meta-python
    meta-webserver = "jethro:2ea8d7f54a061e902657c4f8ea1f7f7c25c6c4 e1"
    meta-application = "master:bc42c3e9e88635c7890fdab375a91f5d9cabd9 3b"

    NOTE: Preparing RunQueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: Function failed: do_kernel_checkout (log file is located at /home/vyadmin/yocto_premierwave/build/tmp/work/sgx5150-poky-linux-gnueabi/linux-yocto-custom/3.10.0-r0/temp/log.do_kernel_checkout.5411)
    ERROR: Logfile of failure stored in: /home/vyadmin/yocto_premierwave/build/tmp/work/sgx5150-poky-linux-gnueabi/linux-yocto-custom/3.10.0-r0/temp/log.do_kernel_checkout.5411
    Log data follows:
    | DEBUG: Executing shell function do_kernel_checkout
    | Reinitialized existing Git repository in /home/vyadmin/yocto_premierwave/build/tmp/work-shared/sgx5150/kernel-source/.git/
    |
    | *** Please tell me who you are.
    |
    | Run
    |
    | git config --global user.email "[email protected]"
    | git config --global user.name "Your Name"
    |
    | to set your account's default identity.
    | Omit --global to set the identity only in this repository.
    |
    | fatal: unable to auto-detect email address (got '[email protected](none)')
    | error: pathspec 'master' did not match any file(s) known to git.
    | WARNING: exit code 1 from a shell command.
    | ERROR: Function failed: do_kernel_checkout (log file is located at /home/vyadmin/yocto_premierwave/build/tmp/work/sgx5150-poky-linux-gnueabi/linux-yocto-custom/3.10.0-r0/temp/log.do_kernel_checkout.5411)
    ERROR: Task 66 (/home/vyadmin/yocto_premierwave/sources/meta-lantronix/recipes-kernel/linux/linux-yocto-custom.bb, do_kernel_checkout) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 524 tasks of which 515 didn't need to be rerun and 1 failed.
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
Working...
X