Part Number: TDA4VM
Hi Sir :
I tried to building the SDK, but ran into problems.
=== Yocto log file ===
=== Error message ===
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
external-arm-toolchain: 22 installed and not shipped files. [installed-vs-shipped]
WARNING: mc:k3r5:external-arm-toolchain-2019.12-r0 do_package_qa: QA Issue: external-arm-toolchain: /sbin/ldconfig is owned by uid 1004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
ERROR: tisdk-tiny-image-1.0-r0 do_rootfs: 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_rootfs(d)
0003:
File: '/home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/sources/oe-core/meta/classes/image.bbclass', lineno: 245, function: do_rootfs
0241: progress_reporter.next_stage()
0242:
0243: # generate rootfs
0244: d.setVarFlag('REPRODUCIBLE_TIMESTAMP_ROOTFS', 'export', '1')
*** 0245: create_rootfs(d, progress_reporter=progress_reporter, logcatcher=logcatcher)
0246:
0247: progress_reporter.finish()
0248:}
0249:do_rootfs[dirs] = "${TOPDIR}"
File: '/home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/sources/oe-core/meta/lib/oe/rootfs.py', lineno: 977, function: create_rootfs
0973: img_type = d.getVar('IMAGE_PKGTYPE')
0974: if img_type == "rpm":
0975: RpmRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
0976: elif img_type == "ipk":
*** 0977: OpkgRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
0978: elif img_type == "deb":
0979: DpkgRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
0980:
0981: os.environ.clear()
File: '/home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/sources/oe-core/meta/lib/oe/rootfs.py', lineno: 214, function: create
0210: execute_pre_post_process(self.d, rootfs_post_install_cmds)
0211:
0212: self.pm.run_intercepts()
0213:
*** 0214: execute_pre_post_process(self.d, post_process_cmds)
0215:
0216: if self.progress_reporter:
0217: self.progress_reporter.next_stage()
0218:
File: '/home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/sources/oe-core/meta/lib/oe/utils.py', lineno: 264, function: execute_pre_post_process
0260: for cmd in cmds.strip().split(';'):
0261: cmd = cmd.strip()
0262: if cmd != '':
0263: bb.note("Executing %s ..." % cmd)
*** 0264: bb.build.exec_func(cmd, d)
0265:
0266:# For each item in items, call the function 'target' with item as the first
0267:# argument, extraargs as the other arguments and handle any exceptions in the
0268:# parent thread
File: '/home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/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: '/home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/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: '/home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/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 '/home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/tisdk-tiny-image/1.0-r0/temp/run.make_bootfiles_symlinks_relative.13715' failed with exit code 2:
/home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/tisdk-tiny-image/1.0-r0/temp/run.make_bootfiles_symlinks_relative.13715: 112: /home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/tisdk-tiny-image/1.0-r0/temp/run.make_bootfiles_symlinks_relative.13715: Bad substitution
WARNING: exit code 2 from a shell command.
ERROR: Logfile of failure stored in: /home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/tisdk-tiny-image/1.0-r0/temp/log.do_rootfs.13715
ERROR: Task (/home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2867 tasks of which 704 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 45 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
Summary: 1 task failed:
/home/pierrehsieh/Desktop/workspace_tda4/ti_yocto_v710/tiny/yocto-build/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb:do_rootfs
Summary: There were 11 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.