You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Petalinux 2016.4
Problem | Kernel Configuration failed |
---|
Command | $petalinux-config -c kernel |
---|
Error Message |
[INFO] generating Kconfig for project
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
~/SVN/cores/2016.4/design/TEC0053/ARTY_Z7_FULL/os/petalinux/build/misc/plnx-generated
~/SVN/cores/2016.4/design/TEC0053/ARTY_Z7_FULL/os/petalinux
~/SVN/cores/2016.4/design/TEC0053/ARTY_Z7_FULL/os/petalinux
[INFO] generating machine configuration
[INFO] configuring: kernel
[INFO] generating kernel configuration files
[INFO] bitbake virtual/kernel -c menuconfig
Loading
cache: 100%
|#######################################################################################################################|
ETA: 00:00:00
Loaded 2938 entries from dependency cache.
Parsing
recipes: 100%
|#####################################################################################################################|
Time: 00:00:06
Parsing of 2325 .bb files complete (2291 cached, 34 parsed). 2940 targets, 196 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing RunQueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.
Loading
cache: 100%
|#######################################################################################################################|
ETA: 00:00:00
Loaded 2938 entries from dependency cache.
Parsing
recipes: 100%
|#####################################################################################################################|
Time: 00:00:06
Parsing of 2325 .bb files complete (2291 cached, 34 parsed). 2940 targets, 196 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing RunQueue
NOTE: Checking sstate mirror object availability (for 2 objects)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: linux-xlnx-4.6-xilinx+gitAUTOINC+2762bc9163-r0 do_menuconfig: Unsupported terminal "screen", defaulting to "auto"
ERROR:
linux-xlnx-4.6-xilinx+gitAUTOINC+2762bc9163-r0 do_menuconfig: Unable to
spawn terminal screen: Execution of
'/home/user/SVN/cores/2016.4/design/TEC0053/ARTY_Z7_FULL/os/petalinux/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/linux-xlnx/4.6-xilinx+gitAUTOINC+2762bc9163-r0/temp/run.do_terminal.10088'
failed with exit code -6:
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Current thread 0x00007faa3309f700 (most recent call first):
ERROR: linux-xlnx-4.6-xilinx+gitAUTOINC+2762bc9163-r0 do_menuconfig: Function failed: do_menuconfig
ERROR:
Logfile of failure stored in:
/home/user/SVN/cores/2016.4/design/TEC0053/ARTY_Z7_FULL/os/petalinux/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/linux-xlnx/4.6-xilinx+gitAUTOINC+2762bc9163-r0/temp/log.do_menuconfig.10088
ERROR: Task 7 (/opt/petalinux-v2016.4-final/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.6.bb, do_menuconfig) failed with exit code '1'
NOTE: Tasks Summary: Attempted 170 tasks of which 161 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/opt/petalinux-v2016.4-final/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.6.bb, do_menuconfig
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: bitbake failed to configure kernel
ERROR: Failed to config kernel.
webtalk failed:PetaLinux statistics:extra lines detected:notsent_nofile!
webtalk failed:Failed to get PetaLinux usage statistics!
|
---|
Workaround | Problem related to python environment and gnome-terminal. One of possible solutions is to remove gnome-terminal. Install terminator as replacement for gnome-terminal, or xterm can be used instead of gnome-terminal
sudo apt-get install terminator
sudo apt-get remove gnome-terminal
|
---|