user@computer:/mnt/c/Programs/source/juicysfplugin$ DOCKER_BUILDKIT=0 docker build . -f win32.Dockerfile --tag=llvm-mingw DEPRECATED: The legacy builder is deprecated and will be removed in a future release. BuildKit is currently disabled; enable it by removing the DOCKER_BUILDKIT=0 environment-variable. Sending build context to Docker daemon 591.9kB Step 1/80 : ARG UBUNTU_VER=22.04 Step 2/80 : FROM ubuntu:$UBUNTU_VER AS wgetter 22.04: Pulling from library/ubuntu 3153aa388d02: Pull complete Digest: sha256:0bced47fffa3361afa981854fcabcd4577cd43cebbb808cea2b1f33a3dd7f508 Status: Downloaded newer image for ubuntu:22.04 ---> 5a81c4b8502e Step 3/80 : RUN apt-get update -qq && apt-get install -qqy --no-install-recommends wget ca-certificates && apt-get clean -y && rm -rf /var/lib/apt/lists/* ---> Running in 72f10b77ea76 debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package openssl. (Reading database ... 4395 files and directories currently installed.) Preparing to unpack .../openssl_3.0.2-0ubuntu1.10_amd64.deb ... Unpacking openssl (3.0.2-0ubuntu1.10) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../ca-certificates_20230311ubuntu0.22.04.1_all.deb ... Unpacking ca-certificates (20230311ubuntu0.22.04.1) ... Selecting previously unselected package libpsl5:amd64. Preparing to unpack .../libpsl5_0.21.0-1.2build2_amd64.deb ... Unpacking libpsl5:amd64 (0.21.0-1.2build2) ... Selecting previously unselected package wget. Preparing to unpack .../wget_1.21.2-2ubuntu1_amd64.deb ... Unpacking wget (1.21.2-2ubuntu1) ... Setting up libpsl5:amd64 (0.21.0-1.2build2) ... Setting up wget (1.21.2-2ubuntu1) ... Setting up openssl (3.0.2-0ubuntu1.10) ... Setting up ca-certificates (20230311ubuntu0.22.04.1) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Updating certificates in /etc/ssl/certs... 137 added, 0 removed; done. Processing triggers for libc-bin (2.35-0ubuntu3.1) ... Processing triggers for ca-certificates (20230311ubuntu0.22.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Removing intermediate container 72f10b77ea76 ---> be9a7fd5656b Step 4/80 : FROM wgetter AS get_llvm_mingw ---> be9a7fd5656b Step 5/80 : COPY win32_cross_compile/download_llvm_mingw.sh download_llvm_mingw.sh ---> fe80dd85077f Step 6/80 : ARG LLVM_MINGW_VER=20220209 ---> Running in 0e392cf60cab Removing intermediate container 0e392cf60cab ---> bb12e30ec5e8 Step 7/80 : RUN LLVM_MINGW_VER=$LLVM_MINGW_VER ./download_llvm_mingw.sh download_llvm_mingw.sh ---> Running in 3b9fe63036d0 /usr/bin/env: 'bash\r': No such file or directory The command '/bin/sh -c LLVM_MINGW_VER=$LLVM_MINGW_VER ./download_llvm_mingw.sh download_llvm_mingw.sh' returned a non-zero code: 127