imx-docker build fails looking for "lz4c pzstd zstd" (HOSTTOOLS)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx-docker build fails looking for "lz4c pzstd zstd" (HOSTTOOLS)

ソリューションへジャンプ
17,264件の閲覧回数
nmdemarco
Contributor I

In attempting to build per `imx-docker` using both Dockerfile-Ubuntu-18.04 and Dockerfile-Ubuntu-20.04.

IMX_RELEASE=imx-5.15.32-2.0.0

MACHINE="imx8mpevk"
DISTRO="fsl-imx-xwayland"
IMAGES="imx-image-core"

REMOTE="https://source.codeaurora.org/external/imx/imx-manifest"
BRANCH="imx-linux-kirkstone"

Both Ubuntu-18.04 and Ubuntu-20.04 containers report:

ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
lz4c pzstd zstd

This error is reported in https://github.com/crops/poky-container/issues/67 and fixed in: https://github.com/crops/yocto-dockerfiles/pull/57

I'm relatively new to Yocto, trying to find & follow an imx build guide that works, so I can start to experiment & deviate from it.

My target machine is actually a 'cgtqmx', an imx6 board, but I'm starting with anything I can get to build.

What am I doing wrong?

 

 

0 件の賞賛
返信
1 解決策
2 返答(返信)
17,256件の閲覧回数
khang_letruong
Senior Contributor III
17,247件の閲覧回数
nmdemarco
Contributor I

To summarize the answer contained in the URL:

Upgrade to Yocto honister 3.4

Yocto Honister (release 3.4, fall 2021), introduces breaking changes mostly related to the syntax. You can take a look at the official migration guide.

The following errors and fixes have appeared while attempting to update a meta-layer to the current release.


Error message:

ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
 lz4c pzstd zstd

Explanation: The list of build-host prerequisites has changed, so you must install the missing packages, preferably using the distribution’s package manager. In my case, I’m using Ubuntu 18.04 LTS.

Fix for Ubuntu Bionic or older:

sudo apt-get install zstd liblz4-tool

Fix for Ubuntu Focal or newer:

sudo apt-get install zstd lz4

 

0 件の賞賛
返信