Home > other >  Ubuntu 16.04.3 use petalinux command: petalinux - config - c kernel error
Ubuntu 16.04.3 use petalinux command: petalinux - config - c kernel error

Time:09-16

Nyj @ ubuntu: ~/work/zynq_usb/zynq_usb $petalinux - kernel config - c
[the INFO] generating Kconfig for project

[the INFO] sourcing bitbake
[the INFO] generating plnxtool conf
[the INFO] generating meta - PLNX - generated layer
[the INFO] generating machine configuration
[the INFO] you: kernel
[the INFO] generating the kernel configuration files
[the INFO] bitbake virtual -c/kernel menuconfig
Parsing for recipes: 100% | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | Time: 0:00:52
Parsing of 2552. The bb files complete (0 cached, 2552 parsed). 3425 targets, 148 skipped, masked 0, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | Time: 0:00:04
NOTE: Executing RunQueue Tasks
NOTE: the Tasks Summary: Attempted 2 Tasks of which 0 didn 't need to be rerun the and all succeeded.
Parsing for recipes: 100% | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | Time: 0:00:35
Parsing of 2552. The bb files complete (0 cached, 2552 parsed). 3425 targets, 148 skipped, masked 0, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% | # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | Time: 0:00:05
Checking sstate mirror object the availability: 100% | # # # # # # # # # # # # # # # | Time: 0:00:40
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Linux - XLNX - 4.14 - xilinx v2018.2 + gitAUTOINC + ad4cd988ba - r0 do_menuconfig: 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, the function: & lt; module>
0001:
* * * 0002: do_menuconfig (d)
0003:
File: '/opt/PKG/petalinux/components/yocto/source/arm/the layers/core/meta/classes/cml1. Bbclass', lineno: 30, function: do_menuconfig
0026: the except OSError:
0027: mtime=0
0028:
0029: a oe_terminal (" ${SHELL} - c \ "make % s. If [0] \ $? - can be; Then the echo 'Command failed.'; Printf 'Press any key to continue... '; Read r; Fi \ "" % d.g etVar (' KCONFIG_CONFIG_COMMAND),
* * * 0030: d.g etVar (' PN) + 'Configuration', d)
0031:
# 0032: FIXME this check can be removed when the minimum bitbake version has had bumped
0033: the if hasattr (bb) build, 'write_taint) :
0034: try:
File: '/opt/PKG/petalinux/components/yocto/source/arm/the layers/core/meta/classes/terminal bbclass', lineno: 95, function: oe_terminal
0091: the except oe. Terminal. ExecutionError as exc:
0092: bb. Fatal (' Unable to spawn terminal % s: % s' % (terminal, exc))
0093:
0094: try:
* * * 0095: oe. Terminal. Spawn_preferred (command, title, None, d)
0096: the except oe. Terminal. NoSupportedTerminals as nosup:
0097: nosup. Terms. Remove (" false ")
0098: CMDS='\ n \ t'. The join (nosup. Terms). Replace (" {command},
0099: "do_terminal"). The replace (" {title} ", the title)
File: '/opt/PKG/petalinux/components/yocto/source/arm/the layers/core/meta/lib/oe/terminal p y', lineno: 204, function: spawn_preferred
0200: def spawn_preferred (sh_cmd, title=None, env=None, d=None) :
0201: "" "Spawn the first supported terminal, by priority "" "
0202: the for terminal in prioritized () :
0203: try:
* * * 0204: spawn (sh_cmd terminal. The name, title, env, d)
0205: break
0206: the except UnsupportedTerminal:
0207: the continue
0208: the else:
File: '/opt/PKG/petalinux/components/yocto/source/arm/the layers/core/meta/lib/oe/terminal p y', lineno: 228, function: spawn
0224: the import time
0225: pidfile=tempfile as expected. NamedTemporaryFile (delete=False). The name
0226: try:
0227: sh_cmd=bb. Utils. Which (OS) getenv (" PATH "), "oe - gnome terminal - phonehome") + "" + +" "+ sh_cmd pidfile
* * * 0228: pipe=terminal (sh_cmd, title, env, d)
0229: the output=pipe.com municate () [0]
0230: if the output:
0231: the output=output. Decode (" utf-8 ")
0232: the if pipe returncode!=0:
File: '/opt/PKG/petalinux/components/yocto/source/arm/the layers/core/meta/lib/oe/terminal p y', lineno: 50, function: __init__
0046: return [element. The format (* * FMT) for element in mand] self.com
0047:
0048: class XTerminal (Terminal) :
0049: def __init__ (self, sh_cmd, title=None, env=None, d=None) :
* * * 0050: Terminal. __init__ (self, sh_cmd, title, env, d)
0051: if not OS. Environ. Get (' DISPLAY ') :
0052: raise UnsupportedTerminal (self. Name)
0053:
0054: class Gnome (XTerminal) :
File: '/opt/PKG/petalinux/components/yocto/source/arm/the layers/core/meta/lib/oe/terminal p y', lineno: 33, function: __init__
0029: class Terminal (Popen, metaclass=Registry) :
0030: def __init__ (self, sh_cmd, title=None, env=None, d=None) :
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related