Building balenaOs Image for raspberry pi 4 failed

Hi,

i’m trying to build an balenaOS image for raspberry pi 4 and it fails. I’m using ubuntu 18.04

git clone --recursive https://github.com/balena-os/balena-raspberrypi.git

./balena-yocto-scripts/build/barys

Log file : cl1p.net - The internet clipboard

Should I build on another operating system than ubuntu 18.04?

Hey @codingecho, a number of us are using Ubuntu 18.04 for building and haven’t experienced these errors. Have you tried a fresh checkout in a clean workspace, or in a new Ubuntu virtual machine?

There are also non-official docker containers to build balenaOS in Docker, like GitHub - alexgg/docker-balena: A balena OS docker image builder. It’s not well documented as we are planning to improve the build process with containers in future releases of balenaOS.

1 Like

Thanks it worked fine whit clean workspace.