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?
Solved! Go to Solution.
Hi @nmdemarco ,
Hope this help : https://wiki.koansoftware.com/index.php/Upgrade_to_Yocto_honister_3.4
To summarize the answer contained in the URL:
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