Ls1046afrwy Yocto Project:Freescale Yocto Project compile fail

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Ls1046afrwy Yocto Project:Freescale Yocto Project compile fail

2,793件の閲覧回数
fenghua_jiang
Contributor IV

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.

0 件の賞賛
返信
5 返答(返信)

2,662件の閲覧回数
fenghua_jiang
Contributor IV

my pc is ubuntu18.04

first go-systemd_git.bb bitbake  fail

 

WARNING: go-systemd-4+gitAUTOINC+b4a58d9518-r0 do_fetch: Failed to fetch URL git://github.com/coreos/go-systemd.git, attempting MIRRORS if available
ERROR: go-systemd-4+gitAUTOINC+b4a58d9518-r0 do_fetch: Fetcher failure: Unable to find revision b4a58d95188dd092ae20072bac14cece0e67c388 in branch master even from upstream
ERROR: go-systemd-4+gitAUTOINC+b4a58d9518-r0 do_fetch: Fetcher failure for URL: 'git://github.com/coreos/go-systemd.git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/autocore/pcu/build_ls1046afrwy/tmp/work/aarch64-fsl-linux/go-systemd/4+gitAUTOINC+b4a58d9518-r0/temp/log.do_fetch.17316
ERROR: Task (/home/autocore/pcu/sources/meta-virtualization/recipes-devtools/go/go-systemd_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/autocore/pcu/sources/meta-virtualization/recipes-devtools/go/go-systemd_git.bb:do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

0 件の賞賛
返信

2,643件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please modify recipe sources/meta-virtualization/recipes-devtools/go/go-systemd_git.bb as the following.

 

SRC_URI = "git://${PKG_NAME}.git"

Modify to:

SRC_URI = "git://github.com/coreos/go-systemd.git;branch=main"

0 件の賞賛
返信

2,765件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Exist code 137 means the build process ran out of memory.

0 件の賞賛
返信

2,715件の閲覧回数
fenghua_jiang
Contributor IV

ERROR: go-pty-git-r0 do_prepare_recipe_sysroot: 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:extend_recipe_sysroot(d)
0003:
File: '/home/autocore/pcu/sources/poky/meta/classes/staging.bbclass', lineno: 577, function: extend_recipe_sysroot
0573: if "/bin/" in l or "/sbin/" in l:
0574: # defer /*bin/* files until last in case they need libs
0575: binfiles[l] = (targetdir, dest)
0576: else:
*** 0577: staging_copyfile(l, targetdir, dest, postinsts, seendirs)
0578:
0579: # Handle deferred binfiles
0580: for l in binfiles:
0581: (targetdir, dest) = binfiles[l]
File: '/home/autocore/pcu/sources/poky/meta/classes/staging.bbclass', lineno: 152, function: staging_copyfile
0148: os.symlink(linkto, dest)
0149: #bb.warn(c)
0150: else:
0151: try:
*** 0152: os.link(c, dest)
0153: except OSError as err:
0154: if err.errno == errno.EXDEV:
0155: bb.utils.copyfile(c, dest)
0156: else:
Exception: FileExistsError: [Errno 17] File exists: '/home/autocore/pcu/build_ls1046afrwy/tmp/sysroots-components/x86_64/gcc-cross-aarch64/sysroot-providers/virtual_aarch64-fsl-linux-g++' -> '/home/autocore/pcu/build_ls1046afrwy/tmp/work/aarch64-fsl-linux/go-pty/git-r0/recipe-sysroot-native/sysroot-providers/virtual_aarch64-fsl-linux-g++'

ERROR: Logfile of failure stored in: /home/autocore/pcu/build_ls1046afrwy/tmp/work/aarch64-fsl-linux/go-pty/git-r0/temp/log.do_prepare_recipe_sysroot.13507
ERROR: Task (/home/autocore/pcu/sources/meta-virtualization/recipes-devtools/go/go-pty_git.bb:do_prepare_recipe_sysroot) failed with exit code '1'

0 件の賞賛
返信

2,706件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

I didn't encounter any problem when run command "bitbake go-pty" in my hardknott Yocto SDK build environment.

The OS on my host PC is Ubuntu 18.04.

What is the distro and version on your host?

0 件の賞賛
返信