新手入门
- 积分
- 3
- 金钱
- 3
- 注册时间
- 2024-5-3
- 在线时间
- 0 小时
|
3金钱
ERROR: device-tree-xilinx-v2023.2+gitAUTOINC+1a5881d004-r0 do_compile: 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:devicetree_do_compile(d)
0003:
File: '/media/bsysd/petalinux/ALIENTEK-ZYNQ/components/yocto/layers/poky/meta/classes-recipe/devicetree.bbclass', lineno: 137, function: devicetree_do_compile
0133: if not(os.path.isfile(dtspath)) or not(dts.endswith(".dts") or devicetree_source_is_overlay(dtspath)):
0134: continue # skip non-.dts files and non-overlay files
0135: except:
0136: continue # skip if can't determine if overlay
*** 0137: devicetree_compile(dtspath, includes, d)
0138:}
0139:
0140:devicetree_do_install() {
0141: for DTB_FILE in `ls *.dtb *.dtbo`; do
File: '/media/bsysd/petalinux/ALIENTEK-ZYNQ/components/yocto/layers/poky/meta/classes-recipe/devicetree.bbclass', lineno: 109, function: devicetree_compile
0105: for i in includes:
0106: ppargs.append("-I{0}".format(i))
0107: ppargs += ["-o", "{0}.pp".format(dts), dtspath]
0108: bb.note("Running {0}".format(" ".join(ppargs)))
*** 0109: subprocess.run(ppargs, check = True)
0110:
0111: # determine if the file is an overlay or not (using the preprocessed file)
0112: isoverlay = devicetree_source_is_overlay("{0}.pp".format(dts))
0113:
File: '/media/bsysd/petalinux/2023.2/components/yocto/buildtools/sysroots/x86_64-petalinux-linux/usr/lib/python3.10/subprocess.py', lineno: 524, function: run
0520: # We don't call process.wait() as .__exit__ does that for us.
0521: raise
0522: retcode = process.poll()
0523: if check and retcode:
*** 0524: raise CalledProcessError(retcode, process.args,
0525: output=stdout, stderr=stderr)
0526: return CompletedProcess(process.args, retcode, stdout, stderr)
0527:
0528:
Exception: subprocess.CalledProcessError: Command '['gcc', '-E', '-nostdinc', '-undef', '-D__DTS__', '-x', 'assembler-with-cpp', '-I/media/bsysd/petalinux/ALIENTEK-ZYNQ/build/tmp/work/zynq_generic_7z020-xilinx-linux-gnueabi/device-tree/xilinx-v2023.2+gitAUTOINC+1a5881d004-r0/git/device_tree/data/kernel_dtsi/2023.2/include/', '-I/media/bsysd/petalinux/ALIENTEK-ZYNQ/build/tmp/work/zynq_generic_7z020-xilinx-linux-gnueabi/device-tree/xilinx-v2023.2+gitAUTOINC+1a5881d004-r0', '-I/media/bsysd/petalinux/ALIENTEK-ZYNQ/build/tmp/work/zynq_generic_7z020-xilinx-linux-gnueabi/device-tree/xilinx-v2023.2+gitAUTOINC+1a5881d004-r0/git/device_tree/data/kernel_dtsi/2023.2/BOARD/', '-I/media/bsysd/petalinux/ALIENTEK-ZYNQ/components/plnx_workspace/device-tree/device-tree', '-o', 'system-top.dts.pp', '/media/bsysd/petalinux/ALIENTEK-ZYNQ/components/plnx_workspace/device-tree/device-tree/system-top.dts']' returned non-zero exit status 1.
ERROR: Logfile of failure stored in: /media/bsysd/petalinux/ALIENTEK-ZYNQ/build/tmp/work/zynq_generic_7z020-xilinx-linux-gnueabi/device-tree/xilinx-v2023.2+gitAUTOINC+1a5881d004-r0/temp/log.do_compile.180434
ERROR: Task (/media/bsysd/petalinux/ALIENTEK-ZYNQ/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb:do_compile) failed with exit code '1'
|
|