Giter VIP home page Giter VIP logo

Comments (7)

beroset avatar beroset commented on July 17, 2024 10

You can install zstd and liblz4-tool within your base container to make this work. I encountered a similar problem with another container-based build and encountered this issue when searching for solutions. So, for example, with an Ubuntu-based underlying image, you could add something like this to your Dockerfile.

RUN apt update && apt install -y zstd liblz4-tool

from poky-container.

Real-Sunnoc avatar Real-Sunnoc commented on July 17, 2024 4

sudo apt update && sudo apt install -y zstd liblz4-tool

from poky-container.

hongbo-miao avatar hongbo-miao commented on July 17, 2024 1

For future people who come here, based on https://wiki.koansoftware.com/index.php/Upgrade_to_Yocto_honister_3.4
For "lz4c", might worth install lz4 instead of liblz4-tool for new Ubuntu.

The Yocto 3.4 release (fall 2021), also codenamed “Honister” introduces a couple of 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, prefferably 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

from poky-container.

grahas avatar grahas commented on July 17, 2024

Not helpful but I am having the same issue, did you find a work around?

from poky-container.

grahas avatar grahas commented on July 17, 2024

I ended up checking out the dunfell branch instead of the master to get it to work. I hadn’t realized it needed to be versioned back.

from poky-container.

moto-timo avatar moto-timo commented on July 17, 2024

This should be resolved with:
crops/yocto-dockerfiles@ac7b37b

Please pull the latest poky containers and test.
https://hub.docker.com/repository/docker/crops/poky#

from poky-container.

moto-timo avatar moto-timo commented on July 17, 2024

Fixed in:
crops/yocto-dockerfiles#57

from poky-container.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.