imx8m nano | problems with first bitbake

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx8m nano | problems with first bitbake

跳至解决方案
2,841 次查看
shai_b
Senior Contributor II

Dear team,

my customer has an issue while using the bitbake on the first time.

Please find attached is the log file.

Can you please advise say what is the issues?

 

/home/user/imx-yocto-bsp/sources/poky/meta/classes/package.bbclass:1364: DeprecationWarning: invalid escape sequence \.

  msg = "%s is listed in PACKAGES multiple times, this leads to packaging errors." % pkg

Server refused shutdown.  Remaining client fds: 1

Client pids: 1438225

Server will shut down after all clients exit.

Server refused shutdown.  Remaining client fds: 1

Client pids: 1877400

Server will shut down after all clients exit.

Server refused shutdown.  Remaining client fds: 1

Client pids: 1888775

Server will shut down after all clients exit.

Server refused shutdown.  Remaining client fds: 1

Client pids: 1930053

Server will shut down after all clients exit.

Server refused shutdown.  Remaining client fds: 1

Client pids: 1930879

Server will shut down after all clients exit.

Server refused shutdown.  Remaining client fds: 1

Client pids: 1931014

Server will shut down after all clients exit.

1273995 14:33:48.799829 Running command ['stateShutdown']

1273995 14:33:48.800481 Command Completed

1273995 14:33:50.195094 Running command ['stateForceShutdown']

1273995 14:33:50.195396 Command Completed

1273995 14:33:52.069508 Processing Client

1273995 14:33:52.069636 Disconnecting Client

1273995 14:33:52.070210 No timeout, exiting.

1273995 14:33:52.171123 Exiting

1273995 14:33:52.197569 Original lockfile contents: ['1273995\n']

1273995 14:33:52.198171 Exiting as we could obtain the lock

sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/user/imx-yocto-bsp/EdgeMaster/bitbake-cookerdaemon.log' mode='a+' encoding='UTF-8'>

2038144 14:35:07.359021 --- Starting bitbake server pid 2038144 at 2022-04-26 14:35:07.359005

 

Waiting for your kind feedback, Many Thanks.

KR,

Shai

标记 (1)
0 项奖励
回复
1 解答
2,680 次查看
shai_b
Senior Contributor II

Hi @tomsong,

You need to install the following essential Linux host packages to build Yocto, see the following command:

破坏者
$ sudo apt-get install gawk wget git-core diffstat unzip
texinfo gcc-multilib
build-essential chrpath socat cpio python python3 python3-pip
python3-pexpect
xz-utils debianutils iputils-ping python3-git python3-jinja2
libegl1-mesa libsdl1.2-dev
pylint3 xterm rsync curl zstd pzstd lz4c lz4 libssl-dev

Please use the below guide for more details (chapter 3.2 @ page 6)

https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf 

I hope that helps you.

Kind regards,

Shai

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,812 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please let customer install host packages.

This issue should be caused by customer enviroment.

0 项奖励
回复
2,690 次查看
tomsong
Contributor III

I get similar errors. Could I know what host package is needed? Thanks!

0 项奖励
回复
2,681 次查看
shai_b
Senior Contributor II

Hi @tomsong,

You need to install the following essential Linux host packages to build Yocto, see the following command:

破坏者
$ sudo apt-get install gawk wget git-core diffstat unzip
texinfo gcc-multilib
build-essential chrpath socat cpio python python3 python3-pip
python3-pexpect
xz-utils debianutils iputils-ping python3-git python3-jinja2
libegl1-mesa libsdl1.2-dev
pylint3 xterm rsync curl zstd pzstd lz4c lz4 libssl-dev

Please use the below guide for more details (chapter 3.2 @ page 6)

https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf 

I hope that helps you.

Kind regards,

Shai

0 项奖励
回复