mac-physical-10:Documents teppotestaaja$ mv poky-glibc-x86_64-meta-toolchain-qt6-aarch64-qemuarm64-toolchain-3.1.sh toolchain.sh
mac-physical-10:Documents teppotestaaja$ ./build.sh
sed: -i may not be used with stdin
Sending build context to Docker daemon   1.96GB
Step 1/9 : FROM ubuntu:20.04
 ---> 74435f89ab78
Step 2/9 : RUN apt-get update     && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends     curl file xz-utils locales git-core make cmake gcc g++ python3     vim less     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> ba71c9e86fc2
Step 3/9 : RUN locale-gen en_US.UTF-8
 ---> Using cache
 ---> 6f32362d98e6
Step 4/9 : ENV LC_ALL en_US.UTF-8
 ---> Using cache
 ---> 3e65138b418e
Step 5/9 : COPY toolchain.sh toolchain.sh
 ---> 951e50056135
Step 6/9 : RUN chmod +x toolchain.sh &&     ./toolchain.sh -d /opt/toolchain -y &&     rm toolchain.sh &&     chown -R qt:qt /opt/toolchain
 ---> Running in ccd3c8bc87ee
Poky (Yocto Project Reference Distro) SDK installer version 3.1
===============================================================
You are about to install the SDK to "/opt/toolchain". Proceed [Y/n]? Y
Extracting SDK................................................................................................................................................................................................................................................................................................................................................................................................................................................................done
Setting it up...done
SDK has been successfully set up and is ready to be used.
Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
 $ . /opt/toolchain/environment-setup-aarch64-poky-linux
chown: invalid user: ‘qt:qt’
The command '/bin/sh -c chmod +x toolchain.sh &&     ./toolchain.sh -d /opt/toolchain -y &&     rm toolchain.sh &&     chown -R qt:qt /opt/toolchain' returned a non-zero code: 1
mac-physical-10:Documents teppotestaaja$