imx8m nano | problems with first bitbake

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8m nano | problems with first bitbake

Jump to solution
1,096 Views
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

Tags (1)
0 Kudos
1 Solution
935 Views
shai_b
Senior Contributor II

Hi @tomsong,

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

Spoiler
$ 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

View solution in original post

0 Kudos
3 Replies
1,067 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please let customer install host packages.

This issue should be caused by customer enviroment.

0 Kudos
945 Views
tomsong
Contributor III

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

0 Kudos
936 Views
shai_b
Senior Contributor II

Hi @tomsong,

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

Spoiler
$ 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 Kudos