ARM-software / arm-systemready

Arm SystemReady
Apache License 2.0
54 stars 62 forks source link

IR: build-scripts: add some missing dependencies #204

Closed daniel-thompson closed 3 months ago

daniel-thompson commented 3 months ago

When attempting to build ACS in a relatively spartan environment (such as a container image) then get_source.sh does not install all the required prerequisites.

cpio, gawk and wget are all listed in HOSTTOOLS so the fix for these is obvious.

locales in a little more subtle. bitbake forcefully adopts the en_US.utf8 locale to ensure that locale-skew cannot cause different build results on different machine. That requires the US locale to exist. We can make that happen by installing locales (if needed) and then running locale-gen. Note that locale-gen will not change the user or system-wide locale preferences, it will just generates the required locale. See: https://www.unix.com/man-page/linux/8/locale-gen/

daniel-thompson commented 3 months ago

There's nothing in the logs to debug here so I'm just going to have to blindly push a few different version (basically bisecting my changes) to figure out what provoked the error:

The hosted runner: GitHub Actions 16 lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.