使用yocto配置busybox时,配置menuconfig时报错:ERROR: busybox-1.27.2-r0 do_menuconfig: No valid terminal found, unable to open devshell.


环境:ubuntu 18.04
平台:IMX8QXPMEK

今天天在使用yocto配置busybox时在执行 bitbake -c menuconfig busybox 配置menuconfig出现如下问题:

WARNING: You have included the meta-gnome layer, but 'x11' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-gnome README for details on enabling meta-gnome support.
WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |##################################################################################################################################################################| Time: 0:00:00
Loaded 3486 entries from dependency cache.
NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION           = "1.38.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8qxpmek"
DISTRO               = "fsl-imx-wayland"
DISTRO_VERSION       = "4.14-sumo"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta
meta-poky            = "HEAD:5ddf7fff992b065ee512878d2fe65f3e35d818cf"
meta-oe
meta-multimedia      = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-freescale       = "HEAD:86772601e7f6ea188dfaf64097edafc05e15aef3"
meta-freescale-3rdparty = "HEAD:82037216280a39957fb4272581637abec734ad50"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-bsp
meta-sdk             = "HEAD:c2602efbe743dbe5e7907646694d772144b56b2d"
meta-browser         = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-gnome
meta-networking
meta-python
meta-filesystems     = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-qt5             = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"Initialising tasks: 100% |#############################################################################################################################################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: busybox-1.27.2-r0 do_menuconfig: No valid terminal found, unable to open devshell.
Tried the following commands:tmux split-window "do_terminal"tmux new-window -n "busybox Configuration" "do_terminal"xfce4-terminal -T "busybox Configuration" -e "do_terminal"terminology -T="busybox Configuration" -e do_terminalmate-terminal --disable-factory -t "busybox Configuration" -x do_terminalkonsole --separate --workdir . -p tabtitle="busybox Configuration" -e do_terminalgnome-terminal -t "busybox Configuration" -x do_terminalxterm -T "busybox Configuration" -e do_terminalrxvt -T "busybox Configuration" -e do_terminaltmux new -d -s devshell -n devshell "do_terminal"screen -D -m -t "busybox Configuration" -S devshell do_terminal
ERROR: busybox-1.27.2-r0 do_menuconfig: Function failed: do_menuconfig
ERROR: Logfile of failure stored in: /home/yzy/workspace/Yocto/NIO_SA_981D_v2.0/tmp/work/aarch64-poky-linux/busybox/1.27.2-r0/temp/log.do_menuconfig.18589
ERROR: Task (/home/yzy/workspace/Yocto/sources/poky/meta/recipes-core/busybox/busybox_1.27.2.bb:do_menuconfig) failed with exit code '1'
NOTE: Tasks Summary: Attempted 282 tasks of which 281 didn't need to be rerun and 1 failed.Summary: 1 task failed:/home/yzy/workspace/Yocto/sources/poky/meta/recipes-core/busybox/busybox_1.27.2.bb:do_menuconfig
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

解决方法:

缺少tmux包;执行sudo apt-get install tmux 安装tmux即可;
yzy@v2x:~/workspace/Yocto/NIO_SA_981D_v2.0$ sudo apt-get install tmux
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:linux-hwe-5.4-headers-5.4.0-120 linux-hwe-5.4-headers-5.4.0-121 linux-hwe-5.4-headers-5.4.0-122 linux-hwe-5.4-headers-5.4.0-124 linux-hwe-5.4-headers-5.4.0-125 linux-hwe-5.4-headers-5.4.0-126
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:tmux
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 248 kB of archives.
After this operation, 647 kB of additional disk space will be used.
Get:1 http://mirrors.yun-idc.com/ubuntu bionic-updates/main amd64 tmux amd64 2.6-3ubuntu0.2 [248 kB]
Fetched 248 kB in 1s (322 kB/s)
Selecting previously unselected package tmux.
(Reading database ... 330894 files and directories currently installed.)
Preparing to unpack .../tmux_2.6-3ubuntu0.2_amd64.deb ...
Unpacking tmux (2.6-3ubuntu0.2) ...
Setting up tmux (2.6-3ubuntu0.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
安装好tmux后重新执行bitbake -c menuconfig busybox 问题解决!
yzy@v2x:~/workspace/Yocto/NIO_SA_981D_v2.0$ bitbake -c menuconfig busybox
WARNING: You have included the meta-gnome layer, but 'x11' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-gnome README for details on enabling meta-gnome support.
WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |##################################################################################################################################################################| Time: 0:00:00
Loaded 3486 entries from dependency cache.
NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION           = "1.38.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8qxpmek"
DISTRO               = "fsl-imx-wayland"
DISTRO_VERSION       = "4.14-sumo"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta
meta-poky            = "HEAD:5ddf7fff992b065ee512878d2fe65f3e35d818cf"
meta-oe
meta-multimedia      = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-freescale       = "HEAD:86772601e7f6ea188dfaf64097edafc05e15aef3"
meta-freescale-3rdparty = "HEAD:82037216280a39957fb4272581637abec734ad50"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-bsp
meta-sdk             = "HEAD:c2602efbe743dbe5e7907646694d772144b56b2d"
meta-browser         = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-gnome
meta-networking
meta-python
meta-filesystems     = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-qt5             = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"Initialising tasks: 100% |#############################################################################################################################################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
Currently  1 running tasks (282 of 282)  99% |###################################################################################################################################################### |
0: busybox-1.27.2-r0 do_menuconfig - 0s (pid 19786)
Trying to run: tmux att -t devshell-19786
no sessions
NOTE: Tasks Summary: Attempted 282 tasks of which 281 didn't need to be rerun and all succeeded.Summary: There were 2 WARNING messages shown.

Yocto配置menuconfig报错:ERROR: do_menuconfig: No valid terminal found, unable to open devshell.相关推荐

  1. mysql 安装1364_安装完MySQL,在配置最后一步报错error Nr.1364

    [原文:http://www.mysqlperformanceblog.com/2014/01/28/10-mysql-settings-to-tune-after-installation/基本配置 ...

  2. 03-Redis客户端连接Redis服务器(redis.conf 文件配置没有生效导致redis运行报错Error: Connection reset by peer)

    参考此链接配置 redis.conf,然后本文章才能继续操作 EditPlus连接Centos7修改Redis配置文件(建议FinalShell修改更加方便)https://blog.csdn.net ...

  3. 配置eslint+prettier报错Error: Cannot read config file: /Users/qiandingwei/Documents/projects/creams-main

    安装eslint和prettier后出现如下报错 Error: Cannot read config file: /Users/qiandingwei/Documents/projects/cream ...

  4. 启动springboot报错Error creating bean with name 'dataSource' defined in class path resource

    2019独角兽企业重金招聘Python工程师标准>>> 启动springboot报错Error creating bean with name 'dataSource' define ...

  5. mysql报错ERROR 1206 (HY000): The total number of locks exceeds the lock table size的解决方法...

    1. 问题背景         InnoDB是新版MySQL(v5.5及以后)默认的存储引擎,之前版本的默认引擎为MyISAM,因此,低于5.5版本的mysql配置文件.my.cnf中,关于InnoD ...

  6. 解决MySQL报错ERROR 2002 (HY000)【转】

    今天在为新的业务线搭架数据库后,在启动的时候报错 root@qsbilldatahis-db01:/usr/local/mysql/bin# ./mysql ERROR 2002 (HY000): C ...

  7. 解决IntelliJ IDEA报错Error:Cannot determine path to ‘tools.jar‘ library for 17 (C:\Program Files\Java\jd

    解决IntelliJ IDEA报错Error:Cannot determine path to 'tools.jar' library for 17 (C:\Program Files\Java\jd ...

  8. 解决IntelliJ IDEA报错Error: java: 错误: 不支持发行版本 XX

    解决IntelliJ IDEA报错Error: java: 错误: 不支持发行版本 XX 解决方法 1 解决方法 2 解决方法 3   笔者在做代码重构的时候,以前记得运行正常的代码,如今一直报错,百 ...

  9. npm安装报错Error: EPERM: operation not permitted解决方案

    电脑重装系统后重新配置环境安装node后,npm命令安装报错 Error: EPERM: operation not permitted npm ERR! code EPERM npm ERR! sy ...

最新文章

  1. 哪些人适合学web前端培训呢
  2. iOS测试基础(命令篇)-iPhone型号及其他信息
  3. 突变检测软件 测试数据库,合作文章|变异检测软件技能大PK,谁才是Battle King?...
  4. sdut-2732 小鑫の日常系列故事(一)——判断对错
  5. 5W+人的公司怎么把总部和分部网络连接起来?
  6. 第一阶段_第三部分_光照与GI
  7. nlm算法matlab代码_遗传算法GA的MATLAB代码
  8. 关于他们回答的 怎样在桌面建一个python GUI的快捷方式 这个问题
  9. ecs云服务器 系统登陆密码,云服务器ecs系统登录密码
  10. bash中的算术运算
  11. leetcode string
  12. 21. Upgrade-Insecure-Requests: 1
  13. 绕线画算法python_绕字的意思、绕的繁体字、绕的笔顺笔画、绕字部首和繁体字绕的意思...
  14. Java中的IO流基础(1)
  15. 一文讲解5G、互联网、物联网、大数据、人工智能的关系
  16. Bokeh—通过plotting绘制图形
  17. matlab怎么画map图,用MATLAB自带的worldmap及相关函数画地图
  18. 类似搜狐新闻的栏目定制
  19. linux编译c如何延时,linux和windows下,C/C++开发的延时函数,sleep函数
  20. Windows7 任务栏功能的开发

热门文章

  1. 四位数码管显示多位数字计时
  2. 矩阵半高宽matlab,半导体激光器半高宽(FWHM)计算(包含matlab仿真程序)
  3. 差模防雷器件结电容对ADSL Throughput影响
  4. java并发编程实战wwj----------第二阶段-------------Two Phase Termination------------------34-35
  5. html转pdf中文不显示解决方法
  6. tslib Linux命令测试,tslib 的编译和触摸屏的测试
  7. 第2章 GIS空间分析的基本理论
  8. WinFax传真软件的使用帮助
  9. 智能交通管理系统顶层设计方案(附下载)
  10. linux 网络优化 net.ipv4.tcp_tw_recycle 简介