I want to compile ls1046afrwy from yocto project.
| Branch | Version |
|-------------|------------------|
| hardknott | YP 3.3–lf-5.10.72|
| gatesgarth | YP 3.2–lf-5.10.9 |
| dunfell | YP 3.1–LSDK 2004 |
| zeus | YP 3.0–LSDK 1909 |
| warrior | YP 2.7–LSDK 1906 |
| thud | YP 2.6–LSDK 1809 |
| sumo | YP 2.5–LSDK 1806
The latest version is hardknott.
compile error:
ERROR: dpdk-20.11-r0 do_package_write_rpm: 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_rpm(d)
0003:
File: '/home/autocore/yocto-sdk/sources/poky/meta/classes/package_rpm.bbclass', lineno: 718, function: do_package_rpm
0714:
0715: # Build the rpm package!
0716: d.setVar('BUILDSPEC', cmd + "\n" + cleanupcmd + "\n")
0717: d.setVarFlag('BUILDSPEC', 'func', '1')
*** 0718: bb.build.exec_func('BUILDSPEC', d)
0719:
0720: if d.getVar('RPM_SIGN_PACKAGES') == '1':
0721: bb.build.exec_func("sign_rpm", d)
0722:}
File: '/home/autocore/yocto-sdk/sources/poky/bitbake/lib/bb/build.py', lineno: 256, function: exec_func
0252: with bb.utils.fileslocked(lockfiles):
0253: if ispython:
0254: exec_func_python(func, d, runfile, cwd=adir)
0255: else:
*** 0256: exec_func_shell(func, d, runfile, cwd=adir)
0257:
0258: try:
0259: curcwd = os.getcwd()
0260: except:
File: '/home/autocore/yocto-sdk/sources/poky/bitbake/lib/bb/build.py', lineno: 503, function: exec_func_shell
0499: with open(fifopath, 'r+b', buffering=0) as fifo:
0500: try:
0501: bb.debug(2, "Executing shell function %s" % func)
0502: with open(os.devnull, 'r+') as stdin, logfile:
*** 0503: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0504: except bb.process.ExecutionError as exe:
0505: # Find the backtrace that the shell trap generated
0506: backtrace_marker_regex = re.compile(r"WARNING: Backtrace \(BB generated script\)")
0507: stdout_lines = (exe.stdout or "").split("\n")
File: '/home/autocore/yocto-sdk/sources/poky/bitbake/lib/bb/process.py', lineno: 186, function: run
0182:
0183: if pipe.returncode != 0:
0184: if log:
0185: # Don't duplicate the output in the exception if logging it
*** 0186: raise ExecutionError(cmd, pipe.returncode, None, None)
0187: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0188: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/home/autocore/yocto-sdk/build_ls1046afrwy/tmp/work/aarch64-fsl-linux/dpdk/20.11-r0/temp/run.BUILDSPEC.25122' failed with exit code 137
ERROR: Logfile of failure stored in: /home/autocore/yocto-sdk/build_ls1046afrwy/tmp/work/aarch64-fsl-linux/dpdk/20.11-r0/temp/log.do_package_write_rpm.25122
ERROR: Task (/home/autocore/yocto-sdk/sources/meta-qoriq/recipes-extended/dpdk/dpdk_20.11.bb:do_package_write_rpm) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4645 tasks of which 4644 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/autocore/yocto-sdk/sources/meta-qoriq/recipes-extended/dpdk/dpdk_20.11.bb:do_package_write_rpm
Summary: There was 1 ERROR message shown, returning a non-zero exit code.