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.

Linux: PSDKLA 3.0 build issue

Tool/software: Linux

Hi,

I am using Ubuntu 14.04

Getting following error while building the SDK using  "./build-core-sdk.sh dra7xx-evm"

////////////////////////////////////////////////////////////////

ERROR: gdb-linaro-7.8-r2014.09.arago0 do_fetch: Fetcher failure: Fetch command failed with exit code 8, output:
releases.linaro.org/.../gdb-linaro-7.8-2014.09.tar.xz:
2016-12-21 20:15:39 ERROR 404: NOT FOUND.

ERROR: gdb-linaro-7.8-r2014.09.arago0 do_fetch: Function failed: Fetcher failure for URL: 'releases.linaro.org/.../gdb-linaro-7.8-2014.09.tar.xz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /opt/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-neon-linux-gnueabi/gdb/linaro-7.8-r2014.09.arago0/temp/log.do_fetch.69948
ERROR: Task 2170 (/opt/ti-processor-sdk-linux-automotive_dra7xx-evm_03_00_00_03/yocto-layers/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/gdb/gdb_linaro-7.8.bb, do_fetch) failed with exit code '1'

////////////////////////////////////////////////////////////////

Regards,

Vineesh

  • Hi user4828335,

    Could you please share what was the root cause?

    Regards,
    Pavel
  • Hi Pavel,

    I just download the package "gdb-linaro-7.8-2014.09.tar.xz" and put into the yocto-layers/downloads folder and execute " touch gdb-linaro-7.8-2014.09.tar.xz" and restart the yocto build

    root cause was these files are not downloading automatically while running the "./build-core-sdk.sh dra7xx-evm"(yocto build).
    I don't know why!!!

    Regards,
    Vineesh
  • The root cause appears to be that the bitbake include files specify files to download from a location that is incorrect. The above mentioned fix can work, but you can also edit the include file for a more permanent fix. For instance, in addition to the above file not working, I also had a problem with the file gdb-linaro-7.8-2014.09.tar.xz. To fix this, I edited the file sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/gdb/gdb-linaro-7.8.inc, and changed the SRC_URI to match the file which is currently on the linaro website (which I located courtesy of Google). At the moment, this is:

    SRC_URI = "https://releases.linaro.org/archive/${MMYY}/components/toolchain/gdb-linaro/gdb-${PV}-${RELEASE}.tar.xz"