Tool/software:
While building the AM68A 10.01.00 version (tisdk-edgeai-image), I encountered many errors,
below share the error(txt file)
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.
Tool/software:
While building the AM68A 10.01.00 version (tisdk-edgeai-image), I encountered many errors,
below share the error(txt file)
Hi Mohammed,
Could you take a look at the FAQ linked below and make sure you are not missing any steps? If are still having issues or have any questions about the FAQ, please let me know.
Thank you,
Fabiana
Hi Fabiana Jaimes ,
ERROR: linux-ti-staging-6.6.44+git-r0_tisdk_5_edgeai_0_edgeai_8 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:sstate_task_postfunc(d)
0003:
File: '/home/inthings22/version-10/yocto-build/sources/oe-core/meta/classes-global/sstate.bbclass', lineno: 786, function: sstate_task_postfunc
0782:
0783: omask = os.umask(0o002)
0784: if omask != 0o002:
0785: bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
*** 0786: sstate_package(shared_state, d)
0787: os.umask(omask)
0788:
0789: sstateinst = d.getVar("SSTATE_INSTDIR")
0790: d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
File: '/home/inthings22/version-10/yocto-build/sources/oe-core/meta/classes-global/sstate.bbclass', lineno: 654, function: sstate_package
0650:
0651: sstatebuild = d.expand("${WORKDIR}/sstate-build-%s/" % ss['task'])
0652: sde = int(d.getVar("SOURCE_DATE_EPOCH") or time.time())
0653: d.setVar("SSTATE_CURRTASK", ss['task'])
*** 0654: bb.utils.remove(sstatebuild, recurse=True)
0655: bb.utils.mkdirhier(sstatebuild)
0656: for state in ss['dirs']:
0657: if not os.path.exists(state[1]):
0658: continue
File: '/home/inthings22/version-10/yocto-build/sources/bitbake/lib/bb/utils.py', lineno: 727, function: remove
0723: # shutil.rmtree(name) would be ideal but its too slow
0724: cmd = []
0725: if ionice:
0726: cmd = ['ionice', '-c', '3']
*** 0727: subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
0728: return
0729: for name in glob.glob(path):
0730: try:
0731: os.unlink(name)
File: '/usr/lib/python3.10/subprocess.py', lineno: 369, function: check_call
0365: if retcode:
0366: cmd = kwargs.get("args")
0367: if cmd is None:
0368: cmd = popenargs[0]
*** 0369: raise CalledProcessError(retcode, cmd)
0370: return 0
0371:
0372:
0373:def check_output(*popenargs, timeout=None, **kwargs):
Exception: subprocess.CalledProcessError: Command '['rm', '-rf', '/home/inthings22/version-10/yocto-build/build/arago-tmp-default-glibc/work/j721s2_evm-oe-linux/linux-ti-staging/6.6.44+git/sstate-build-package/']' died with <Signals.SIGABRT: 6>.
ERROR: Logfile of failure stored in: /home/inthings22/version-10/yocto-build/build/arago-tmp-default-glibc/work/j721s2_evm-oe-linux/linux-ti-staging/6.6.44+git/temp/log.do_package.60123
ERROR: Task (/home/inthings22/version-10/yocto-build/sources/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb:do_package) failed with exit code '1'
Pseudo log:
path mismatch [5 links]: ino 24600159 db '/home/inthings22/version-10/yocto-build/build/arago-tmp-default-glibc/work/j721s2_evm-oe-linux/linux-ti-staging/6.6.44+git/package/usr/src/debug/linux-ti-staging/6.6.44+git/security/selinux/flask.h' req '/home/inthings22/version-10/yocto-build/build/arago-tmp-default-glibc/work/j721s2_evm-oe-linux/linux-ti-staging/6.6.44+git/sstate-build-package/package/usr/src/debug/linux-ti-staging/6.6.44+git/security/selinux/flask.h'.
Setup complete, sending SIGUSR1 to pid 60124.
How solve this issue
Hi Mohammed,
Have you edited the BB_NUMBER_THREADS and PARALLEL_MAKE variables?
Build errors usually resolve themselves on a second pass, but if they don't, you may also need to clear the build directory and start fresh.
Best.
Jared