This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GLSDK ti-glsdk_dra7xx-evm_6_10_00_02 build problem

On 64 bit Ubuntu 12.04 LTS VM (in virtual box in 64 bit Ubuntu 12.04 LTS):

during build:

./build-core-sdk.sh dra7xx-evm

ARNING: Failed to fetch URL ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.27.2.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-0.10.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL git://git.omapzoom.org/kernel/omap.git;protocol=git;branch=p-ti-linux-3.12.y, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/javad/GLSDK/yocto-layers/downloads/git2/git.omapzoom.org.kernel.omap.git'...

fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

ERROR: Function failed: Fetcher failure for URL: 'git://git.omapzoom.org/kernel/omap.git;protocol=git;branch=p-ti-linux-3.12.y'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/javad/GLSDK/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-oe-linux-gnueabi/linux-ti-glsdk/3.12.25-r3d+gitrAUTOINC+be43a19946/temp/log.do_fetch.19839
ERROR: Task 90 (/home/javad/GLSDK/yocto-layers/sources/meta-glsdk/recipes-kernel/linux/linux-ti-glsdk_3.12.bb, do_fetch) failed with exit code '1'

Reason I tried to build inside the VM is that I got this error on my host with both ti-glsdk_dra7xx-evm_6_10_00_01

and ti-glsdk_dra7xx-evm_6_10_00_02

ERROR: Function failed: do_rootfs (log file is located at /home/javad/GLSDK/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/dra7xx_evm-oe-linux-gnueabi/arago-glsdk-multimedia-image/1.0-r0/temp/log.do_rootfs.28302)
ERROR: Task 8 (/home/javad/GLSDK/yocto-layers/sources/meta-glsdk/meta-arago-distro/recipes-core/images/arago-glsdk-multimedia-image.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5474 tasks of which 5473 didn't need to be rerun and 1 failed.

I also build the same ti-glsdk_dra7xx-evm_6_10_00_02 on a 32 bit Ubuntu 12.04 VM (under same host). This had no problem and completed.

  • Hi,

    Have you tried the following workarounds:
    http://processors.wiki.ti.com/index.php/GLSDK_FAQs#Yocto_Build_Questions

    http://processors.wiki.ti.com/index.php/GLSDK_FAQs#How_to_fix_the_pseudo_compile_failure_on_64-bit_machines.3F

    http://processors.wiki.ti.com/index.php/GLSDK_FAQs#How_to_fix_the_openssl_build_failure_on_a_64-bit_machine.3F

    Best Regards,

    Yordan

  • Thanks Yordan

    In one case I have discovered the fetch fails because the source has been patched and hence

    SRCREV = "be43a19946ba4f3f4d584f9f59bdc97d9bdc2b4d" is wrong.

    I do not know the correct value yet. I am trying find it in gitourius and omapzoom.org/?p=kernel/omap.git;a=shortlog;h=refs/heads/p-ti-linux-3.12.y

    I checked this by changing lines in linux-ti-glsdk_3.12.bb to:

    SRCREV = "f3cb62a800ae37f17a3382b10d155ee02dbc83fc"

    PV = "3.8.13"

    This allowed the fetch to go through.

    Of course this will not build the correct GLSDK_6.10.00.02 kernel (which may or may not matter).

    Any help on where I can find the correct check sum for

    PV = "3.12.25"

    will be greatly appreciated.

    I still do not know why I cannot build the rootfs

  • I discovered that if I changed SRCREV to ${AUTOREV} the SHA1 hash would not be checked and then the fetch happened and the build completed successfully to the end:

    #SRCREV = "be43a19946ba4f3f4d584f9f59bdc97d9bdc2b4d"

    SRCREV = "${AUTOREV}"
    PV = "3.12.25"

    I still do not know why the same script fails on the last step on my original host (used to build GLSDK_6.04.00.02

  • I eventually discovered why the build would not complete. I had installed Lubuntu desktop which uses openbox. Somehow my host openbox was interfering with the yocto build system openbox config and so the buildrootfs was failing. I reinstalled my host Ubuntu and am runing with xubuntu (Xfxe). This allows the yocto build to complete.