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.

  • TI Thinks Resolved

[FAQ] Yocto build error for recipe iso-codes in PSDKLA_07.00.00.04

Intellectual 730 points

Replies: 1

Views: 44

Hi,

I am trying to build the Target file system in the new psdkla_07.00.00.04 yocto build. I am following the instructions from the psdkla user guide. But  i am getting this build error .

WARNING: iso-codes-4.4-r0 do_fetch: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http, attempting MIRRORS if available
ERROR: iso-codes-4.4-r0 do_fetch: Fetcher failure: Unable to find revision 38edb926592954b87eb527124da0ec68d2a748f3 in branch master even from upstream
ERROR: iso-codes-4.4-r0 do_fetch: Fetcher failure for URL: 'git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /data/home/paneesh/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/build/arago-tmp-external-arm-glibc/work/all-linux/iso-codes/4.4-r0/temp/log.do_fetch.9445
ERROR: Task (/data/home/paneesh/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/sources/oe-core/meta/recipes-support/iso-codes/iso-codes_4.4.bb:do_fetch) failed with exit code '1'

I have attached the complete terminal log for the reference. Can anyone please help me with the issue.

Thanks and Regards,

Aneesh

yocto_sdk_7.0_error_log.txt

  • Hi Aneesh,

    Yeah, it seems to be broken.

    The upstream repo seems to have renamed the "master" branch to "main" branch. Not sure when did this one exactly happen.

    Please edit the following recipe as part of the oe-core and it should fix the problem.

    diff --git a/meta/recipes-support/iso-codes/iso-codes_4.4.bb b/meta/recipes-support/iso-codes/iso-codes_4.4.bb
    index 332af025dd..1e622c4411 100644
    --- a/meta/recipes-support/iso-codes/iso-codes_4.4.bb
    +++ b/meta/recipes-support/iso-codes/iso-codes_4.4.bb
    @@ -5,7 +5,8 @@ BUGTRACKER = "salsa.debian.org/.../issues"
     LICENSE = "LGPLv2.1"
     LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
    
    -SRC_URI = "git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http"
    +BRANCH = "main"
    +SRC_URI = "git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=${BRANCH}"
     SRCREV = "38edb926592954b87eb527124da0ec68d2a748f3"
    
     # inherit gettext cannot be used, because it adds gettext-native to BASEDEPENDS which
    

    Regards

    Karthik

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.