Closed williamspatrick closed 1 year ago
The crops/yocto:ubuntu-18.04
container installs the buildtools-tarball 4.1.x which has python3.10:
$ docker run --rm -it crops/poky:latest
pokyuser@65e0ba4337c0:~$ python3
Python 3.10.6 (main, Aug 1 2022, 20:38:21) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
We have a lot of users on older Yocto Project releases, so we try to hold back a little bit. We have been contemplating bumping to Ubuntu 20.04 as the base container, but Ubuntu 22.04 is too new for the poor souls trying to build older products. Some folks have already complained about too new of a buildtools-tarball.
Also, are you running docker pull crops/poky:latest
before you try to run your builds? The containers rebuild every Friday with package updates from the base distros.
You are also welcome to use one of the other distro/version combinations, e.g. crops/poky:ubuntu-22.04
Some folks have already complained about too new of a buildtools-tarball.
Understood. I use to be using crops/poky to build some Rocko-based systems and that doesn't work anymore for me either. Unfortunately our Rocko-based systems are stuck there due to using a 4.x kernel vintage and way too much effort to try to upgrade them.
Also, are you running docker pull crops/poky:latest before you try to run your builds? The containers rebuild every Friday with package updates from the base distros.
Hmm. I thought we did. We are using CircleCI for building with the crops/poky image and I saw everything was busted when using the Yocto master branch due to old unsupported Python versions. Maybe I have something misconfigured that it isn't pulling on launch like it should. I'll investigate.
Feel free to close the PR.
Closing. We will move from Ubuntu-18.04 as default, but we will not move all the way to Ubuntu-22.04 just yet.
Ubuntu 18.04 can no longer build the poky/master branch because it requires Python 3.8+. Switch the
DEFAULT_DISTRO
to a later Ubuntu release so thatcrops/poky:latest
becomes something usable.Signed-off-by: Patrick Williams patrick@stwcx.xyz