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.

AM3358: AM3358

Part Number: AM3358

Hi,

ubuntu18.04

What is the python version requirement for the yocto version coresdk-07.03.00.005-config.txt? Customer getting errors when executing do_package.

Steps are as follows:

Follow 1.2 https://software-dl.ti.com/processor-sdk-linux/esd/docs/07_03_00_005/linux/Overview_Building_the_SDK.html

$ . conf/setenv 

$ export TOOLCHAIN_PATH_ARMV7=/media/wujl/kitdev/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf

$ MACHINE=am335x-evm bitbake u-boot-ti-staging

When doing the do_package operation, then the following error will appear:

nitialising tasks: 100% |########################################################################################| Time: 0:00:00
Sstate summary: Wanted 4 Found 0 Missed 4 Current 59 (0% match, 93% complete)
NOTE: Executing Tasks
ERROR: u-boot-ti-staging-1_2020.01+gitAUTOINC+2781231a33-r36 do_package: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_package(d)
0003:
File: '/media/wujl/test/tisdk/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: '/media/wujl/test/tisdk/sources/bitbake/lib/bb/build.py', lineno: 251, function: exec_func
0247: with bb.utils.fileslocked(lockfiles):
0248: if ispython:
0249: exec_func_python(func, d, runfile, cwd=adir)
0250: else:
*** 0251: exec_func_shell(func, d, runfile, cwd=adir)
0252:
0253: try:
0254: curcwd = os.getcwd()
0255: except:
File: '/media/wujl/test/tisdk/sources/bitbake/lib/bb/build.py', lineno: 452, function: exec_func_shell
0448: with open(fifopath, 'r+b', buffering=0) as fifo:
0449: try:
0450: bb.debug(2, "Executing shell function %s" % func)
0451: with open(os.devnull, 'r+') as stdin, logfile:
*** 0452: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0453: finally:
0454: os.unlink(fifopath)
0455:
0456: bb.debug(2, "Shell function %s finished" % func)
File: '/media/wujl/test/tisdk/sources/bitbake/lib/bb/process.py', lineno: 182, function: run
0178: if not stderr is None:
0179: stderr = stderr.decode("utf-8")
0180:
0181: if pipe.returncode != 0:
*** 0182: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0183: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/media/wujl/test/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/u-boot-ti-staging/1_2020.01+gitAUTOINC+2781231a33-r36/temp/run.populate_srcipk_package.10021' failed with exit code 1:
cp: cannot stat '/media/wujl/test/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/u-boot-ti-staging/1_2020.01+gitAUTOINC+2781231a33-r36/srcipk-staging/board-support/u-boot-2020.01+gitAUTOINC+2781231a33-g/.': No such file or directory
WARNING: /media/wujl/test/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/u-boot-ti-staging/1_2020.01+gitAUTOINC+2781231a33-r36/temp/run.populate_srcipk_package.10021:1 exit 1 from 'cp -Prf --preserve=mode,timestamps --no-preserve=ownership /media/wujl/test/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/u-boot-ti-staging/1_2020.01+gitAUTOINC+2781231a33-r36/srcipk-staging/board-support/u-boot-2020.01+gitAUTOINC+2781231a33-g/. /media/wujl/test/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/u-boot-ti-staging/1_2020.01+gitAUTOINC+2781231a33-r36/packages-split/u-boot-ti-staging-src/board-support/u-boot-2020.01+gitAUTOINC+2781231a33-g'


ERROR: Logfile of failure stored in: /media/wujl/test/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/u-boot-ti-staging/1_2020.01+gitAUTOINC+2781231a33-r36/temp/log.do_package.10021
ERROR: Task (/media/wujl/test/tisdk/sources/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2020.01.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 485 tasks of which 484 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds

Summary: 1 task failed:
/media/wujl/test/tisdk/sources/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_2020.01.bb:do_package
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.