Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

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

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
paneesh@awsmblx404bs005:~/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/build$ TOOLCHAIN_BASE=$HOME MACHINE=j7-evm bitbake -k tisdk-default-image
WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
NOTE: Started PRServer with DBfile: /data/home/paneesh/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 34357, PID: 9321
WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer meta-psdkla should set LAYERSERIES_COMPAT_meta-psdkla in its conf/layer.conf file to list the core layer names it is compatible with.
Loading cache: 100% |#########################################################################################################################################################| Time: 0:00:01
Loaded 8134 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################| Time: 0:00:01
Parsing of 2885 .bb files complete (2884 cached, 1 parsed). 8136 targets, 1176 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
  /data/home/paneesh/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/sources/meta-arago/meta-arago-distro/recipes-browser/chromium/chromium-ozone-wayland_%.bbappend
  /data/home/paneesh/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/sources/meta-arago/meta-arago-distro/recipes-connectivity/iproute2/iproute2_4.19.0.bbappend
  /data/home/paneesh/new_psdkla/ti-processor-sdk-linux-automotive-j7-evm-07_00_00/yocto-build/sources/meta-arago/meta-arago-distro/recipes-support/opencv/opencv_3.1.bbappend
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-linux"
MACHINE              = "j7-evm"
DISTRO               = "arago"
DISTRO_VERSION       = "2020.05"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta-arago-distro
meta-arago-extras    = "HEAD:41cfd83e13955178bffae84ebbe5a915b79181fd"
meta-qt5             = "HEAD:fdd19517e17240b0b61765bd02fc483a1bde986f"
meta-virtualization  = "HEAD:237879d59e11187a49216a88b73a057408e4b3f7"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems     = "HEAD:e413c1ef621688e69bb7830bb3151ed23b30b73e"
meta-ti              = "HEAD:f2b2b2095f1a9d3ef705f7518d9db1e3141da2fb"
meta-arm
meta-arm-toolchain   = "HEAD:f8ea9ac3a06f543bd3dc259ffc1b60eb197a132d"
meta                 = "HEAD:c88cf750f26f6786d6ba5b4f1f7e5d4f0c800e6e"
meta-psdkla          = "HEAD:3b66a292d4c5c2370b6daf85f16949a8b44d5613"
meta-aws             = "HEAD:481c8793caf861b97415156c69dc4767f92e9c8f"


Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "arm-linux-gnueabi"
MACHINE              = "j7-evm-k3r5"
DISTRO               = "arago"
DISTRO_VERSION       = "2020.05"
TUNE_FEATURES        = "arm armv7a vfp thumb callconvention-hard"
TARGET_FPU           = "hard"
meta-arago-distro
meta-arago-extras    = "HEAD:41cfd83e13955178bffae84ebbe5a915b79181fd"
meta-qt5             = "HEAD:fdd19517e17240b0b61765bd02fc483a1bde986f"
meta-virtualization  = "HEAD:237879d59e11187a49216a88b73a057408e4b3f7"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems     = "HEAD:e413c1ef621688e69bb7830bb3151ed23b30b73e"
meta-ti              = "HEAD:f2b2b2095f1a9d3ef705f7518d9db1e3141da2fb"
meta-arm
meta-arm-toolchain   = "HEAD:f8ea9ac3a06f543bd3dc259ffc1b60eb197a132d"
meta                 = "HEAD:c88cf750f26f6786d6ba5b4f1f7e5d4f0c800e6e"
meta-psdkla          = "HEAD:3b66a292d4c5c2370b6daf85f16949a8b44d5613"
meta-aws             = "HEAD:481c8793caf861b97415156c69dc4767f92e9c8f"

Initialising tasks: 100% |####################################################################################################################################################| Time: 0:00:05
Sstate summary: Wanted 54 Found 0 Missed 54 Current 2837 (0% match, 98% complete)
NOTE: Executing Tasks
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'
NOTE: Tasks Summary: Attempted 8406 tasks of which 8405 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds

Summary: 1 task failed:
  /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
Summary: There were 6 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

  • 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