Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build fails in Umbrel App Framework document #380

Closed
yzernik opened this issue Dec 30, 2020 · 1 comment
Closed

Docker build fails in Umbrel App Framework document #380

yzernik opened this issue Dec 30, 2020 · 1 comment

Comments

@yzernik
Copy link
Contributor

yzernik commented Dec 30, 2020

I am trying to follow the instructions in:
https://github.com/getumbrel/umbrel/blob/master/apps/README.md#1-containerizing-the-app-using-docker

When I run the buildx command in step 1.3, the build fails and I get the following error:

$ docker buildx build --platform linux/arm64,linux/amd64 --tag getumbrel/btc-rpc-explorer:v2.0.2 --output "type=registry" .
[+] Building 114.9s (18/22)                                                                                                                
 => [internal] load build definition from Dockerfile                                                                                  0.1s
 => => transferring dockerfile: 308B                                                                                                  0.0s
 => [internal] load .dockerignore                                                                                                     0.1s
 => => transferring context: 34B                                                                                                      0.0s
 => [linux/amd64 internal] load metadata for docker.io/library/node:12-buster-slim                                                    2.4s
 => [linux/arm64 internal] load metadata for docker.io/library/node:12-buster-slim                                                    2.4s
 => [auth] library/node:pull token for registry-1.docker.io                                                                           0.0s
 => [linux/amd64 builder 1/6] FROM docker.io/library/node:12-buster-slim@sha256:d2af32554187830c342ef91aacd0a310f9ce7ec19e2ccae1701  19.3s
 => => resolve docker.io/library/node:12-buster-slim@sha256:d2af32554187830c342ef91aacd0a310f9ce7ec19e2ccae1701a13e7ac2a7f8b          0.1s
 => => sha256:480c54d0520af6301497d629b309cb5f4542f7a329b425570a63f0e89d33a0a9 283B / 283B                                            0.2s
 => => sha256:c088bf444358ec129c7ca51c870612fa6bce4e26c67dc4553a7b2152042fd99d 2.76MB / 2.76MB                                        3.0s
 => => sha256:7f7ae962364f5cb1d6c867054ba385f310f63fa0ce150c2c3dd02715458876f3 24.38MB / 24.38MB                                     17.5s
 => => sha256:a9b9cd2e4e69a236b187f9a7818ff5cc11ec01799d36d5925a1ac5cb76b3a954 4.15kB / 4.15kB                                        0.7s
 => => extracting sha256:a9b9cd2e4e69a236b187f9a7818ff5cc11ec01799d36d5925a1ac5cb76b3a954                                             0.1s
 => => extracting sha256:7f7ae962364f5cb1d6c867054ba385f310f63fa0ce150c2c3dd02715458876f3                                             1.2s
 => => extracting sha256:c088bf444358ec129c7ca51c870612fa6bce4e26c67dc4553a7b2152042fd99d                                             0.2s
 => => extracting sha256:480c54d0520af6301497d629b309cb5f4542f7a329b425570a63f0e89d33a0a9                                             0.2s
 => [internal] load build context                                                                                                    10.6s
 => => transferring context: 1.09GB                                                                                                  10.5s
 => [linux/arm64 builder 1/6] FROM docker.io/library/node:12-buster-slim@sha256:d2af32554187830c342ef91aacd0a310f9ce7ec19e2ccae1701  19.7s
 => => resolve docker.io/library/node:12-buster-slim@sha256:d2af32554187830c342ef91aacd0a310f9ce7ec19e2ccae1701a13e7ac2a7f8b          0.1s
 => => sha256:c3c4dd42f42aeeeca4e46d59fc859d57616774d8e6a43db1271e4f14cd4f2cca 284B / 284B                                            0.4s
 => => sha256:7029e4bdc6e201c8ed3cffcb1195d3fcc1b5a8c61fd11b621b407f2894287069 2.76MB / 2.76MB                                        3.6s
 => => sha256:1e8c049b6dbaba407c0145b2f59f1a7dbdffca3928037a738b8714744f87d13e 24.33MB / 24.33MB                                     17.4s
 => => sha256:d438896b2cb2c7e0932f36caa48a5f3cc48b9a7576a3cb425d62b8d0ab5ccbce 4.19kB / 4.19kB                                        0.4s
 => => extracting sha256:d438896b2cb2c7e0932f36caa48a5f3cc48b9a7576a3cb425d62b8d0ab5ccbce                                             0.1s
 => => extracting sha256:1e8c049b6dbaba407c0145b2f59f1a7dbdffca3928037a738b8714744f87d13e                                             1.4s
 => => extracting sha256:7029e4bdc6e201c8ed3cffcb1195d3fcc1b5a8c61fd11b621b407f2894287069                                             0.3s
 => => extracting sha256:c3c4dd42f42aeeeca4e46d59fc859d57616774d8e6a43db1271e4f14cd4f2cca                                             0.5s
 => [linux/amd64 stage-1 2/3] WORKDIR /build                                                                                          4.7s
 => [linux/amd64 builder 2/6] WORKDIR /build                                                                                          4.9s
 => [linux/arm64 builder 2/6] WORKDIR /build                                                                                          3.8s
 => [linux/arm64 stage-1 2/3] WORKDIR /build                                                                                          3.9s
 => [linux/arm64 builder 3/6] COPY . .                                                                                               21.0s
 => [linux/amd64 builder 3/6] COPY . .                                                                                               20.8s
 => [linux/arm64 builder 4/6] RUN apt-get update                                                                                     18.7s
 => [linux/amd64 builder 4/6] RUN apt-get update                                                                                      6.2s
 => CANCELED [linux/amd64 builder 5/6] RUN apt-get install -y git python3 build-essential                                            59.9s
 => ERROR [linux/arm64 builder 5/6] RUN apt-get install -y git python3 build-essential                                               47.2s
------
 > [linux/arm64 builder 5/6] RUN apt-get install -y git python3 build-essential:
#20 0.515 Reading package lists...
#20 4.345 Building dependency tree...
#20 4.970 Reading state information...
#20 5.626 The following additional packages will be installed:
#20 5.626   binutils binutils-aarch64-linux-gnu binutils-common bzip2 ca-certificates
#20 5.627   cpp cpp-8 dirmngr dpkg-dev fakeroot file g++ g++-8 gcc gcc-8 git-man gnupg
#20 5.627   gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf
#20 5.627   gpgsm krb5-locales less libalgorithm-diff-perl libalgorithm-diff-xs-perl
#20 5.628   libalgorithm-merge-perl libasan5 libassuan0 libatomic1 libbinutils libbsd0
#20 5.628   libc-dev-bin libc6-dev libcc1-0 libcurl3-gnutls libdpkg-perl libedit2
#20 5.628   liberror-perl libexpat1 libfakeroot libfile-fcntllock-perl libgcc-8-dev
#20 5.628   libgdbm-compat4 libgdbm6 libgomp1 libgssapi-krb5-2 libisl19 libitm1
#20 5.628   libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2
#20 5.629   libldap-common liblocale-gettext-perl liblsan0 libmagic-mgc libmagic1
#20 5.629   libmpc3 libmpdec2 libmpfr6 libnghttp2-14 libnpth0 libpcre2-8-0 libperl5.28
#20 5.629   libpsl5 libpython3-stdlib libpython3.7-minimal libpython3.7-stdlib
#20 5.629   libreadline7 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db
#20 5.630   libsqlite3-0 libssh2-1 libssl1.1 libstdc++-8-dev libtsan0 libubsan1 libx11-6
#20 5.630   libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 linux-libc-dev make
#20 5.630   manpages manpages-dev mime-support netbase openssh-client openssl patch perl
#20 5.631   perl-modules-5.28 pinentry-curses publicsuffix python3-minimal python3.7
#20 5.632   python3.7-minimal readline-common xauth xz-utils
#20 5.639 Suggested packages:
#20 5.639   binutils-doc bzip2-doc cpp-doc gcc-8-locales dbus-user-session
#20 5.639   libpam-systemd pinentry-gnome3 tor debian-keyring gcc-8-doc libstdc++6-8-dbg
#20 5.639   gcc-multilib autoconf automake libtool flex bison gdb gcc-doc libgcc1-dbg
#20 5.639   libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg liblsan0-dbg
#20 5.639   libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg gettext-base
#20 5.639   git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
#20 5.639   gitweb git-cvs git-mediawiki git-svn parcimonie xloadimage scdaemon
#20 5.639   glibc-doc sensible-utils bzr gdbm-l10n krb5-doc krb5-user
#20 5.639   libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
#20 5.639   libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql
#20 5.639   libstdc++-8-doc make-doc man-browser keychain libpam-ssh monkeysphere
#20 5.639   ssh-askpass ed diffutils-doc perl-doc libterm-readline-gnu-perl
#20 5.639   | libterm-readline-perl-perl libb-debug-perl liblocale-codes-perl
#20 5.639   pinentry-doc python3-doc python3-tk python3-venv python3.7-venv
#20 5.639   python3.7-doc binfmt-support readline-doc
#20 8.329 The following NEW packages will be installed:
#20 8.329   binutils binutils-aarch64-linux-gnu binutils-common build-essential bzip2
#20 8.330   ca-certificates cpp cpp-8 dirmngr dpkg-dev fakeroot file g++ g++-8 gcc gcc-8
#20 8.330   git git-man gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
#20 8.330   gpg-wks-server gpgconf gpgsm krb5-locales less libalgorithm-diff-perl
#20 8.330   libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libassuan0
#20 8.330   libatomic1 libbinutils libbsd0 libc-dev-bin libc6-dev libcc1-0
#20 8.331   libcurl3-gnutls libdpkg-perl libedit2 liberror-perl libexpat1 libfakeroot
#20 8.331   libfile-fcntllock-perl libgcc-8-dev libgdbm-compat4 libgdbm6 libgomp1
#20 8.331   libgssapi-krb5-2 libisl19 libitm1 libk5crypto3 libkeyutils1 libkrb5-3
#20 8.331   libkrb5support0 libksba8 libldap-2.4-2 libldap-common liblocale-gettext-perl
#20 8.331   liblsan0 libmagic-mgc libmagic1 libmpc3 libmpdec2 libmpfr6 libnghttp2-14
#20 8.332   libnpth0 libpcre2-8-0 libperl5.28 libpsl5 libpython3-stdlib
#20 8.332   libpython3.7-minimal libpython3.7-stdlib libreadline7 librtmp1 libsasl2-2
#20 8.332   libsasl2-modules libsasl2-modules-db libsqlite3-0 libssh2-1 libssl1.1
#20 8.332   libstdc++-8-dev libtsan0 libubsan1 libx11-6 libx11-data libxau6 libxcb1
#20 8.332   libxdmcp6 libxext6 libxmuu1 linux-libc-dev make manpages manpages-dev
#20 8.333   mime-support netbase openssh-client openssl patch perl perl-modules-5.28
#20 8.333   pinentry-curses publicsuffix python3 python3-minimal python3.7
#20 8.334   python3.7-minimal readline-common xauth xz-utils
#20 8.633 0 upgraded, 114 newly installed, 0 to remove and 1 not upgraded.
#20 8.633 Need to get 78.0 MB of archives.
#20 8.633 After this operation, 313 MB of additional disk space will be used.
#20 8.633 Get:1 http://deb.debian.org/debian buster/main arm64 perl-modules-5.28 all 5.28.1-6+deb10u1 [2873 kB]
#20 8.639 Get:2 http://security.debian.org/debian-security buster/updates/main arm64 libssl1.1 arm64 1.1.1d-0+deb10u4 [1382 kB]
#20 9.968 Get:3 http://security.debian.org/debian-security buster/updates/main arm64 openssl arm64 1.1.1d-0+deb10u4 [823 kB]
#20 11.21 Get:4 http://deb.debian.org/debian buster/main arm64 libgdbm6 arm64 1.18.1-4 [63.4 kB]
#20 11.24 Get:5 http://deb.debian.org/debian buster/main arm64 libgdbm-compat4 arm64 1.18.1-4 [44.0 kB]
#20 11.27 Get:6 http://deb.debian.org/debian buster/main arm64 libperl5.28 arm64 5.28.1-6+deb10u1 [3727 kB]
#20 13.67 Get:7 http://deb.debian.org/debian buster/main arm64 perl arm64 5.28.1-6+deb10u1 [204 kB]
#20 13.80 Get:8 http://deb.debian.org/debian buster/main arm64 liblocale-gettext-perl arm64 1.07-3+b4 [18.8 kB]
#20 13.81 Get:9 http://deb.debian.org/debian buster/main arm64 libpython3.7-minimal arm64 3.7.3-2+deb10u2 [588 kB]
#20 14.19 Get:10 http://deb.debian.org/debian buster/main arm64 libexpat1 arm64 2.2.6-2+deb10u1 [85.4 kB]
#20 14.27 Get:11 http://deb.debian.org/debian buster/main arm64 python3.7-minimal arm64 3.7.3-2+deb10u2 [1404 kB]
#20 15.16 Get:12 http://deb.debian.org/debian buster/main arm64 python3-minimal arm64 3.7.3-1 [36.6 kB]
#20 15.18 Get:13 http://deb.debian.org/debian buster/main arm64 mime-support all 3.62 [37.2 kB]
#20 15.20 Get:14 http://deb.debian.org/debian buster/main arm64 libmpdec2 arm64 2.4.2-2 [77.7 kB]
#20 15.25 Get:15 http://deb.debian.org/debian buster/main arm64 readline-common all 7.0-5 [70.6 kB]
#20 15.30 Get:16 http://deb.debian.org/debian buster/main arm64 libreadline7 arm64 7.0-5 [134 kB]
#20 15.39 Get:17 http://deb.debian.org/debian buster/main arm64 libsqlite3-0 arm64 3.27.2-3+deb10u1 [603 kB]
#20 15.77 Get:18 http://deb.debian.org/debian buster/main arm64 libpython3.7-stdlib arm64 3.7.3-2+deb10u2 [1641 kB]
#20 16.83 Get:19 http://deb.debian.org/debian buster/main arm64 python3.7 arm64 3.7.3-2+deb10u2 [330 kB]
#20 17.05 Get:20 http://deb.debian.org/debian buster/main arm64 libpython3-stdlib arm64 3.7.3-1 [20.0 kB]
#20 17.06 Get:21 http://deb.debian.org/debian buster/main arm64 python3 arm64 3.7.3-1 [61.5 kB]
#20 17.10 Get:22 http://deb.debian.org/debian buster/main arm64 less arm64 487-0.1+b1 [117 kB]
#20 17.17 Get:23 http://deb.debian.org/debian buster/main arm64 netbase all 5.6 [19.4 kB]
#20 17.19 Get:24 http://deb.debian.org/debian buster/main arm64 bzip2 arm64 1.0.6-9.2~deb10u1 [47.7 kB]
#20 17.22 Get:25 http://deb.debian.org/debian buster/main arm64 libmagic-mgc arm64 1:5.35-4+deb10u1 [242 kB]
#20 17.41 Get:26 http://deb.debian.org/debian buster/main arm64 libmagic1 arm64 1:5.35-4+deb10u1 [115 kB]
#20 17.45 Get:27 http://deb.debian.org/debian buster/main arm64 file arm64 1:5.35-4+deb10u1 [66.4 kB]
#20 17.49 Get:28 http://deb.debian.org/debian buster/main arm64 krb5-locales all 1.17-3+deb10u1 [95.4 kB]
#20 17.55 Get:29 http://deb.debian.org/debian buster/main arm64 manpages all 4.16-2 [1295 kB]
#20 18.39 Get:30 http://deb.debian.org/debian buster/main arm64 libbsd0 arm64 0.9.1-2 [97.4 kB]
#20 18.45 Get:31 http://deb.debian.org/debian buster/main arm64 libedit2 arm64 3.1-20181209-1 [91.2 kB]
#20 18.51 Get:32 http://deb.debian.org/debian buster/main arm64 libkeyutils1 arm64 1.6-6 [14.9 kB]
#20 18.52 Get:33 http://deb.debian.org/debian buster/main arm64 libkrb5support0 arm64 1.17-3+deb10u1 [64.9 kB]
#20 18.56 Get:34 http://deb.debian.org/debian buster/main arm64 libk5crypto3 arm64 1.17-3+deb10u1 [123 kB]
#20 18.64 Get:35 http://deb.debian.org/debian buster/main arm64 libkrb5-3 arm64 1.17-3+deb10u1 [351 kB]
#20 18.87 Get:36 http://deb.debian.org/debian buster/main arm64 libgssapi-krb5-2 arm64 1.17-3+deb10u1 [150 kB]
#20 18.97 Get:37 http://deb.debian.org/debian buster/main arm64 openssh-client arm64 1:7.9p1-10+deb10u2 [757 kB]
#20 19.46 Get:38 http://deb.debian.org/debian buster/main arm64 xz-utils arm64 5.2.4-1 [182 kB]
#20 19.58 Get:39 http://deb.debian.org/debian buster/main arm64 binutils-common arm64 2.31.1-16 [2073 kB]
#20 20.91 Get:40 http://deb.debian.org/debian buster/main arm64 libbinutils arm64 2.31.1-16 [455 kB]
#20 21.21 Get:41 http://deb.debian.org/debian buster/main arm64 binutils-aarch64-linux-gnu arm64 2.31.1-16 [2129 kB]
#20 22.57 Get:42 http://deb.debian.org/debian buster/main arm64 binutils arm64 2.31.1-16 [56.7 kB]
#20 22.61 Get:43 http://deb.debian.org/debian buster/main arm64 libc-dev-bin arm64 2.28-10 [270 kB]
#20 22.82 Get:44 http://deb.debian.org/debian buster/main arm64 linux-libc-dev arm64 4.19.160-2 [1396 kB]
#20 23.68 Get:45 http://deb.debian.org/debian buster/main arm64 libc6-dev arm64 2.28-10 [2324 kB]
#20 25.20 Get:46 http://deb.debian.org/debian buster/main arm64 libisl19 arm64 0.20-2 [535 kB]
#20 25.55 Get:47 http://deb.debian.org/debian buster/main arm64 libmpfr6 arm64 4.0.2-1 [746 kB]
#20 26.03 Get:48 http://deb.debian.org/debian buster/main arm64 libmpc3 arm64 1.1.0-1 [38.0 kB]
#20 26.06 Get:49 http://deb.debian.org/debian buster/main arm64 cpp-8 arm64 8.3.0-6 [7400 kB]
#20 30.19 Get:50 http://deb.debian.org/debian buster/main arm64 cpp arm64 4:8.3.0-1 [19.4 kB]
#20 30.20 Get:51 http://deb.debian.org/debian buster/main arm64 libcc1-0 arm64 8.3.0-6 [45.0 kB]
#20 30.20 Get:52 http://deb.debian.org/debian buster/main arm64 libgomp1 arm64 8.3.0-6 [67.8 kB]
#20 30.23 Get:53 http://deb.debian.org/debian buster/main arm64 libitm1 arm64 8.3.0-6 [24.0 kB]
#20 30.24 Get:54 http://deb.debian.org/debian buster/main arm64 libatomic1 arm64 8.3.0-6 [8820 B]
#20 30.25 Get:55 http://deb.debian.org/debian buster/main arm64 libasan5 arm64 8.3.0-6 [327 kB]
#20 30.35 Get:56 http://deb.debian.org/debian buster/main arm64 liblsan0 arm64 8.3.0-6 [118 kB]
#20 30.39 Get:57 http://deb.debian.org/debian buster/main arm64 libtsan0 arm64 8.3.0-6 [262 kB]
#20 30.47 Get:58 http://deb.debian.org/debian buster/main arm64 libubsan1 arm64 8.3.0-6 [111 kB]
#20 30.51 Get:59 http://deb.debian.org/debian buster/main arm64 libgcc-8-dev arm64 8.3.0-6 [835 kB]
#20 30.77 Get:60 http://deb.debian.org/debian buster/main arm64 gcc-8 arm64 8.3.0-6 [7879 kB]
#20 33.32 Get:61 http://deb.debian.org/debian buster/main arm64 gcc arm64 4:8.3.0-1 [5212 B]
#20 33.32 Get:62 http://deb.debian.org/debian buster/main arm64 libstdc++-8-dev arm64 8.3.0-6 [1502 kB]
#20 33.80 Get:63 http://deb.debian.org/debian buster/main arm64 g++-8 arm64 8.3.0-6 [8176 kB]
#20 36.45 Get:64 http://deb.debian.org/debian buster/main arm64 g++ arm64 4:8.3.0-1 [1624 B]
#20 36.45 Get:65 http://deb.debian.org/debian buster/main arm64 make arm64 4.2.1-1.2 [333 kB]
#20 36.55 Get:66 http://deb.debian.org/debian buster/main arm64 libdpkg-perl all 1.19.7 [1414 kB]
#20 37.02 Get:67 http://deb.debian.org/debian buster/main arm64 patch arm64 2.7.6-3+deb10u1 [122 kB]
#20 37.04 Get:68 http://deb.debian.org/debian buster/main arm64 dpkg-dev all 1.19.7 [1773 kB]
#20 37.61 Get:69 http://deb.debian.org/debian buster/main arm64 build-essential arm64 12.6 [7576 B]
#20 37.62 Get:70 http://deb.debian.org/debian buster-updates/main arm64 ca-certificates all 20200601~deb10u1 [158 kB]
#20 37.67 Get:71 http://deb.debian.org/debian buster/main arm64 libassuan0 arm64 2.5.2-1 [47.1 kB]
#20 37.68 Get:72 http://deb.debian.org/debian buster/main arm64 gpgconf arm64 2.2.12-1+deb10u1 [503 kB]
#20 37.84 Get:73 http://deb.debian.org/debian buster/main arm64 libksba8 arm64 1.3.5-2 [84.7 kB]
#20 37.87 Get:74 http://deb.debian.org/debian buster/main arm64 libsasl2-modules-db arm64 2.1.27+dfsg-1+deb10u1 [69.3 kB]
#20 37.89 Get:75 http://deb.debian.org/debian buster/main arm64 libsasl2-2 arm64 2.1.27+dfsg-1+deb10u1 [105 kB]
#20 37.93 Get:76 http://deb.debian.org/debian buster/main arm64 libldap-common all 2.4.47+dfsg-3+deb10u4 [89.8 kB]
#20 37.96 Get:77 http://deb.debian.org/debian buster/main arm64 libldap-2.4-2 arm64 2.4.47+dfsg-3+deb10u4 [216 kB]
#20 38.03 Get:78 http://deb.debian.org/debian buster/main arm64 libnpth0 arm64 1.6-1 [17.6 kB]
#20 38.03 Get:79 http://deb.debian.org/debian buster/main arm64 dirmngr arm64 2.2.12-1+deb10u1 [694 kB]
#20 38.26 Get:80 http://deb.debian.org/debian buster/main arm64 libfakeroot arm64 1.23-1 [42.1 kB]
#20 38.27 Get:81 http://deb.debian.org/debian buster/main arm64 fakeroot arm64 1.23-1 [83.3 kB]
#20 38.30 Get:82 http://deb.debian.org/debian buster/main arm64 libnghttp2-14 arm64 1.36.0-2+deb10u1 [81.9 kB]
#20 38.33 Get:83 http://deb.debian.org/debian buster/main arm64 libpsl5 arm64 0.20.2-2 [53.6 kB]
#20 38.34 Get:84 http://deb.debian.org/debian buster/main arm64 librtmp1 arm64 2.4+20151223.gitfa8646d.1-2 [55.7 kB]
#20 38.37 Get:85 http://deb.debian.org/debian buster/main arm64 libssh2-1 arm64 1.8.0-2.1 [135 kB]
#20 38.40 Get:86 http://deb.debian.org/debian buster/main arm64 libcurl3-gnutls arm64 7.64.0-4+deb10u1 [310 kB]
#20 38.50 Get:87 http://deb.debian.org/debian buster/main arm64 libpcre2-8-0 arm64 10.32-5 [186 kB]
#20 38.56 Get:88 http://deb.debian.org/debian buster/main arm64 liberror-perl all 0.17027-2 [30.9 kB]
#20 38.57 Get:89 http://deb.debian.org/debian buster/main arm64 git-man all 1:2.20.1-2+deb10u3 [1620 kB]
#20 39.09 Get:90 http://deb.debian.org/debian buster/main arm64 git arm64 1:2.20.1-2+deb10u3 [5509 kB]
#20 40.88 Get:91 http://deb.debian.org/debian buster/main arm64 gnupg-l10n all 2.2.12-1+deb10u1 [1010 kB]
#20 41.20 Get:92 http://deb.debian.org/debian buster/main arm64 gnupg-utils arm64 2.2.12-1+deb10u1 [824 kB]
#20 41.48 Get:93 http://deb.debian.org/debian buster/main arm64 gpg arm64 2.2.12-1+deb10u1 [827 kB]
#20 41.74 Get:94 http://deb.debian.org/debian buster/main arm64 pinentry-curses arm64 1.1.0-2 [62.7 kB]
#20 41.76 Get:95 http://deb.debian.org/debian buster/main arm64 gpg-agent arm64 2.2.12-1+deb10u1 [601 kB]
#20 41.96 Get:96 http://deb.debian.org/debian buster/main arm64 gpg-wks-client arm64 2.2.12-1+deb10u1 [478 kB]
#20 42.11 Get:97 http://deb.debian.org/debian buster/main arm64 gpg-wks-server arm64 2.2.12-1+deb10u1 [472 kB]
#20 42.27 Get:98 http://deb.debian.org/debian buster/main arm64 gpgsm arm64 2.2.12-1+deb10u1 [587 kB]
#20 42.45 Get:99 http://deb.debian.org/debian buster/main arm64 gnupg all 2.2.12-1+deb10u1 [715 kB]
#20 42.74 Get:100 http://deb.debian.org/debian buster/main arm64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB]
#20 42.75 Get:101 http://deb.debian.org/debian buster/main arm64 libalgorithm-diff-xs-perl arm64 0.04-5+b1 [11.6 kB]
#20 42.75 Get:102 http://deb.debian.org/debian buster/main arm64 libalgorithm-merge-perl all 0.08-3 [12.7 kB]
#20 42.76 Get:103 http://deb.debian.org/debian buster/main arm64 libfile-fcntllock-perl arm64 0.22-3+b5 [35.5 kB]
#20 42.77 Get:104 http://deb.debian.org/debian buster/main arm64 libsasl2-modules arm64 2.1.27+dfsg-1+deb10u1 [102 kB]
#20 42.80 Get:105 http://deb.debian.org/debian buster/main arm64 libxau6 arm64 1:1.0.8-1+b2 [19.3 kB]
#20 42.81 Get:106 http://deb.debian.org/debian buster/main arm64 libxdmcp6 arm64 1:1.1.2-3 [25.4 kB]
#20 42.82 Get:107 http://deb.debian.org/debian buster/main arm64 libxcb1 arm64 1.13.1-2 [135 kB]
#20 42.86 Get:108 http://deb.debian.org/debian buster/main arm64 libx11-data all 2:1.6.7-1+deb10u1 [294 kB]
#20 42.96 Get:109 http://deb.debian.org/debian buster/main arm64 libx11-6 arm64 2:1.6.7-1+deb10u1 [734 kB]
#20 43.19 Get:110 http://deb.debian.org/debian buster/main arm64 libxext6 arm64 2:1.3.3-1+b2 [48.6 kB]
#20 43.21 Get:111 http://deb.debian.org/debian buster/main arm64 libxmuu1 arm64 2:1.1.2-2+b3 [24.1 kB]
#20 43.22 Get:112 http://deb.debian.org/debian buster/main arm64 manpages-dev all 4.16-2 [2232 kB]
#20 43.95 Get:113 http://deb.debian.org/debian buster/main arm64 publicsuffix all 20190415.1030-1 [116 kB]
#20 43.99 Get:114 http://deb.debian.org/debian buster/main arm64 xauth arm64 1:1.0.10-1 [38.2 kB]
#20 45.40 debconf: delaying package configuration, since apt-utils is not installed
#20 45.58 Fetched 78.0 MB in 36s (2198 kB/s)
#20 45.66 Error while loading /usr/sbin/dpkg-split: No such file or directory
#20 45.67 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#20 45.67 dpkg: error processing archive /tmp/apt-dpkg-install-RYGIHl/0-perl-modules-5.28_5.28.1-6+deb10u1_all.deb (--unpack):
#20 45.67  dpkg-deb --control subprocess returned error exit status 1
#20 45.67 Error while loading /usr/sbin/dpkg-split: No such file or directory
#20 45.67 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#20 45.67 dpkg: error processing archive /tmp/apt-dpkg-install-RYGIHl/1-libgdbm6_1.18.1-4_arm64.deb (--unpack):
#20 45.67  dpkg-deb --control subprocess returned error exit status 1
#20 45.68 Error while loading /usr/sbin/dpkg-split: No such file or directory
#20 45.68 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#20 45.68 dpkg: error processing archive /tmp/apt-dpkg-install-RYGIHl/2-libgdbm-compat4_1.18.1-4_arm64.deb (--unpack):
#20 45.68  dpkg-deb --control subprocess returned error exit status 1
#20 45.68 Error while loading /usr/sbin/dpkg-split: No such file or directory
#20 45.68 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#20 45.68 dpkg: error processing archive /tmp/apt-dpkg-install-RYGIHl/3-libperl5.28_5.28.1-6+deb10u1_arm64.deb (--unpack):
#20 45.68  dpkg-deb --control subprocess returned error exit status 1
#20 45.69 Error while loading /usr/sbin/dpkg-split: No such file or directory
#20 45.69 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#20 45.69 dpkg: error processing archive /tmp/apt-dpkg-install-RYGIHl/4-perl_5.28.1-6+deb10u1_arm64.deb (--unpack):
#20 45.69  dpkg-deb --control subprocess returned error exit status 1
#20 45.69 Error while loading /usr/sbin/dpkg-split: No such file or directory
#20 45.70 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#20 45.70 dpkg: error processing archive /tmp/apt-dpkg-install-RYGIHl/5-liblocale-gettext-perl_1.07-3+b4_arm64.deb (--unpack):
#20 45.70  dpkg-deb --control subprocess returned error exit status 1
#20 45.70 Error while loading /usr/sbin/dpkg-split: No such file or directory
#20 45.70 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#20 45.70 dpkg: error processing archive /tmp/apt-dpkg-install-RYGIHl/6-libssl1.1_1.1.1d-0+deb10u4_arm64.deb (--unpack):
#20 45.70  dpkg-deb --control subprocess returned error exit status 1
#20 45.70 Error while loading /usr/sbin/dpkg-split: No such file or directory
#20 45.71 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#20 45.71 dpkg: error processing archive /tmp/apt-dpkg-install-RYGIHl/7-libpython3.7-minimal_3.7.3-2+deb10u2_arm64.deb (--unpack):
#20 45.71  dpkg-deb --control subprocess returned error exit status 1
#20 45.71 Error while loading /usr/sbin/dpkg-split: No such file or directory
#20 45.71 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#20 45.71 dpkg: error processing archive /tmp/apt-dpkg-install-RYGIHl/8-libexpat1_2.2.6-2+deb10u1_arm64.deb (--unpack):
#20 45.71  dpkg-deb --control subprocess returned error exit status 1
#20 45.72 Error while loading /usr/sbin/dpkg-split: No such file or directory
#20 45.72 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#20 45.72 dpkg: error processing archive /tmp/apt-dpkg-install-RYGIHl/9-python3.7-minimal_3.7.3-2+deb10u2_arm64.deb (--unpack):
#20 45.72  dpkg-deb --control subprocess returned error exit status 1
#20 45.81 Errors were encountered while processing:
#20 45.81  /tmp/apt-dpkg-install-RYGIHl/0-perl-modules-5.28_5.28.1-6+deb10u1_all.deb
#20 45.81  /tmp/apt-dpkg-install-RYGIHl/1-libgdbm6_1.18.1-4_arm64.deb
#20 45.81  /tmp/apt-dpkg-install-RYGIHl/2-libgdbm-compat4_1.18.1-4_arm64.deb
#20 45.81  /tmp/apt-dpkg-install-RYGIHl/3-libperl5.28_5.28.1-6+deb10u1_arm64.deb
#20 45.81  /tmp/apt-dpkg-install-RYGIHl/4-perl_5.28.1-6+deb10u1_arm64.deb
#20 45.81  /tmp/apt-dpkg-install-RYGIHl/5-liblocale-gettext-perl_1.07-3+b4_arm64.deb
#20 45.81  /tmp/apt-dpkg-install-RYGIHl/6-libssl1.1_1.1.1d-0+deb10u4_arm64.deb
#20 45.81  /tmp/apt-dpkg-install-RYGIHl/7-libpython3.7-minimal_3.7.3-2+deb10u2_arm64.deb
#20 45.81  /tmp/apt-dpkg-install-RYGIHl/8-libexpat1_2.2.6-2+deb10u1_arm64.deb
#20 45.81  /tmp/apt-dpkg-install-RYGIHl/9-python3.7-minimal_3.7.3-2+deb10u2_arm64.deb
#20 45.92 E: Sub-process /usr/bin/dpkg returned an error code (1)
------
Dockerfile:6
--------------------
   4 |     COPY . .
   5 |     RUN apt-get update
   6 | >>> RUN apt-get install -y git python3 build-essential
   7 |     RUN npm ci --production
   8 |     
--------------------
error: failed to solve: rpc error: code = Unknown desc = executor failed running [/dev/.buildkit_qemu_emulator /bin/sh -c apt-get install -y git python3 build-essential]: exit code: 100
@yzernik
Copy link
Contributor Author

yzernik commented Dec 30, 2020

This appears to be an issue with the QEMU emulator on my old Macbook. When I switched to a different laptop, the docker build worked.

docker/buildx#495

I'm closing the issue.

@yzernik yzernik closed this as completed Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant