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.

TDA4VM: yocto: MACHINE=j7-evm bitbake -k u-boot-fw-utils build error.

Part Number: TDA4VM

HI.

sdk:ti-processor-sdk-linux-j7-evm-08_02_00_03

MACHINE=j7-evm  bitbake -k u-boot-fw-utils

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 = "2021.09"
TUNE_FEATURES = "arm armv7a vfp thumb callconvention-hard"
TARGET_FPU = "hard"
meta-arago-distro
meta-arago-extras = "HEAD:382ca36beb21a524de726bfd1c57e3d26f10cf82"
meta-psdkla = "HEAD:5560e99ab3ffe0b67e1e5298ff4694ab3860325f"
meta-qt5 = "HEAD:6bfe29d9e8fdd5c2fd17c736814b6df859b3af50"
meta-virtualization = "HEAD:c5f61e547b90aa8058cf816f00902afed9c96f72"
meta-networking
meta-python
meta-oe
meta-gnome
meta-filesystems = "HEAD:0722ff6f021df91542b5efa1ff5b5f6269f66add"
meta-ti = "HEAD:facd5397cdc5c35c69e7a8e8f908a98a5c23d270"
meta-arm
meta-arm-toolchain = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
meta = "HEAD:51844f2d60d77fb8cb46ffe460402f76ae216ca5"
meta-aws = "HEAD:2f72301f5a73279c4d2f12fc6218876629666e06"
meta-jupyter = "HEAD:82db248e2eca36e52cbeafe599b755dc87720383"

Initialising tasks: 100% |#################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 4 Found 0 Missed 4 Current 245 (0% match, 98% complete)
NOTE: Executing Tasks

Initialising tasks: 100% |#################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 4 Found 0 Missed 4 Current 245 (0% match, 98% complete)
NOTE: Executing Tasks
ERROR: linux-ti-staging-5.10.100+gitAUTOINC+7a7a3af903-r0b.arago5_psdkla_43 do_package: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_package(d)
0003:
File: '/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/sources/oe-core/meta/classes/package.bbclass', lineno: 2315, function: do_package
2311:
2312: cpath = oe.cachedpath.CachedPath()
2313:
2314: for f in (d.getVar('PACKAGESPLITFUNCS') or '').split():
*** 2315: bb.build.exec_func(f, d)
2316:
2317: ###########################################################################
2318: # Process PKGDEST
2319: ###########################################################################
File: '/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/sources/bitbake/lib/bb/build.py', lineno: 254, function: exec_func
0250: with bb.utils.fileslocked(lockfiles):
0251: if ispython:
0252: exec_func_python(func, d, runfile, cwd=adir)
0253: else:
*** 0254: exec_func_shell(func, d, runfile, cwd=adir)
0255:
0256: try:
0257: curcwd = os.getcwd()
0258: except:
File: '/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/sources/bitbake/lib/bb/build.py', lineno: 455, function: exec_func_shell
0451: with open(fifopath, 'r+b', buffering=0) as fifo:
0452: try:
0453: bb.debug(2, "Executing shell function %s" % func)
0454: with open(os.devnull, 'r+') as stdin, logfile:
*** 0455: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0456: finally:
0457: os.unlink(fifopath)
0458:
0459: bb.debug(2, "Shell function %s finished" % func)
File: '/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/sources/bitbake/lib/bb/process.py', lineno: 184, function: run
0180:
0181: if pipe.returncode != 0:
0182: if log:
0183: # Don't duplicate the output in the exception if logging it
*** 0184: raise ExecutionError(cmd, pipe.returncode, None, None)
0185: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0186: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r0b.arago5_psdkla_43/temp/run.populate_srcipk_package.2889' failed with exit code 1

ERROR: Logfile of failure stored in: /home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r0b.arago5_psdkla_43/temp/log.do_package.2889
ERROR: Task (/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_5.10.bb:do_package) failed with exit code '1'

log:

DEBUG: Python function split_and_strip_files finished
DEBUG: Executing python function fixup_perms
DEBUG: Python function fixup_perms finished
DEBUG: Executing python function split_kernel_packages
DEBUG: Python function split_kernel_packages finished
DEBUG: Executing python function split_kernel_module_packages
DEBUG: Python function split_kernel_module_packages finished
DEBUG: Executing python function package_do_split_locales
DEBUG: No locale files in this package
DEBUG: Python function package_do_split_locales finished
DEBUG: Executing python function populate_packages
DEBUG: Python function populate_packages finished
DEBUG: Executing shell function populate_srcipk_package
cp: cannot stat '/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r0b.arago5_psdkla_43/srcipk-staging/board-support/linux-5.10.100+gitAUTOINC+7a7a3af903-g/.': No such file or directory
WARNING: /home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r0b.arago5_psdkla_43/temp/run.populate_srcipk_package.8719:1 exit 1 from 'cp -Prf --preserve=mode,timestamps --no-preserve=ownership /home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r0b.arago5_psdkla_43/srcipk-staging/board-support/linux-5.10.100+gitAUTOINC+7a7a3af903-g/. /home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r0b.arago5_psdkla_43/packages-split/linux-ti-staging-src/board-support/linux-5.10.100+gitAUTOINC+7a7a3af903-g'
ERROR: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_package(d)
0003:
File: '/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/sources/oe-core/meta/classes/package.bbclass', lineno: 2315, function: do_package
2311:
2312: cpath = oe.cachedpath.CachedPath()
2313:
2314: for f in (d.getVar('PACKAGESPLITFUNCS') or '').split():
*** 2315: bb.build.exec_func(f, d)
2316:
2317: ###########################################################################
2318: # Process PKGDEST
2319: ###########################################################################
File: '/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/sources/bitbake/lib/bb/build.py', lineno: 254, function: exec_func
0250: with bb.utils.fileslocked(lockfiles):
0251: if ispython:
0252: exec_func_python(func, d, runfile, cwd=adir)
0253: else:
*** 0254: exec_func_shell(func, d, runfile, cwd=adir)
0255:
0256: try:
0257: curcwd = os.getcwd()
0258: except:
File: '/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/sources/bitbake/lib/bb/build.py', lineno: 455, function: exec_func_shell
0451: with open(fifopath, 'r+b', buffering=0) as fifo:
0452: try:
0453: bb.debug(2, "Executing shell function %s" % func)
0454: with open(os.devnull, 'r+') as stdin, logfile:
*** 0455: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0456: finally:
0457: os.unlink(fifopath)
0458:
0459: bb.debug(2, "Shell function %s finished" % func)
File: '/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/sources/bitbake/lib/bb/process.py', lineno: 184, function: run
0180:
0181: if pipe.returncode != 0:
0182: if log:
0183: # Don't duplicate the output in the exception if logging it
*** 0184: raise ExecutionError(cmd, pipe.returncode, None, None)
0185: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0186: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/home/j7/ti_sdk_8.2/ti-processor-sdk-linux-j7-evm-08_02_00_03/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/linux-ti-staging/5.10.100+gitAUTOINC+7a7a3af903-r0b.arago5_psdkla_43/temp/run.populate_srcipk_package.8719' failed with exit code 1

DEBUG: Python function do_package finished