ktock / container2wasm

Container to WASM converter
https://ktock.github.io/container2wasm-demo/
Apache License 2.0
2.07k stars 85 forks source link

When building using the package download, it fails on bochs download #321

Open lanmower opened 2 months ago

lanmower commented 2 months ago

When running the debian instruction at the top of the readme, on amd64, with the downloaded prebuilt package, using c2w

It failed on the Bochs github download with the following output

0.292 Cloning into '/Bochs'...
60.81 error: RPC failed; curl 16 Error in the HTTP2 framing layer
60.81 error: 160 bytes of body are still expected
60.82 fetch-pack: unexpected disconnect while reading sideband packet
60.82 fatal: early EOF
60.82 fatal: fetch-pack: invalid index-pack output

The same instruction works when just running it, bochs downloads and selects a checkout

./c2w ubuntu:22.04 out.wasm
2024/09/18 13:57:38 saving "ubuntu:22.04" to "/tmp/container2wasm3549373830/img"
2024/09/18 13:57:39 buildx args: [buildx build --progress=plain --build-arg TARGETARCH=amd64 --build-arg TARGETPLATFORM=linux/amd64 --platform=linux/amd64 -f /tmp/container2wasm2093687865 --output type=local,dest=/home/user/container2wasm --build-arg OUTPUT_NAME=out.wasm --build-arg LINUX_LOGLEVEL=0 --build-arg INIT_DEBUG=false /tmp/container2wasm3549373830/img]
#0 building with "default" instance using docker driver

#1 [internal] load build definition from container2wasm2093687865
#1 transferring dockerfile: 24.36kB done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s

#3 resolve image config for docker.io/docker/dockerfile:1.5
#3 DONE 3.8s

#4 docker-image://docker.io/docker/dockerfile:1.5@sha256:39b85bbfa7536a5feceb7372a0817649ecb2724562a38360f4d6a7782a409b14
#4 CACHED

#5 [internal] load metadata for docker.io/library/ubuntu:22.04
#5 DONE 0.0s

#6 [internal] load metadata for docker.io/library/rust:1.74.1-buster
#6 ...

#7 [internal] load metadata for docker.io/library/golang:1.21-bullseye
#7 DONE 3.7s

#6 [internal] load metadata for docker.io/library/rust:1.74.1-buster
#6 DONE 3.7s

#8 [internal] load metadata for docker.io/library/ubuntu:latest
#8 DONE 3.7s

#9 [internal] load metadata for docker.io/library/golang:1.22-bullseye
#9 DONE 3.7s

#10 [rootfs-amd64-dev  2/10] RUN apt-get update -y && apt-get install -y mkisofs
#10 CACHED

#11 [bochs-config-dev 2/4] RUN apt-get update && apt-get install -y gettext-base && mkdir /out
#11 CACHED

#12 [assets-base 2/3] RUN apt-get update && apt-get install -y git
#12 CACHED

#13 [bochs-config-dev 3/4] COPY --link --from=assets ./config/bochs/bochsrc.template /
#13 CACHED

#14 [bochs-config-dev 4/4] RUN cat /bochsrc.template | MEMORY_SIZE=128 envsubst > /out/bochsrc
#14 CACHED

#15 [rootfs-amd64-dev  1/10] FROM docker.io/library/ubuntu:22.04
#15 CACHED

#16 [assets-base 3/3] RUN git clone -b v0.6.5 https://github.com/ktock/container2wasm /assets
#16 CACHED

#17 [assets 1/1] COPY --link --from=assets-base /assets /
#17 CACHED

#18 [bochs-repo-base 2/3] RUN apt-get update && apt-get install -y git
#18 CACHED

#19 [bios-amd64-dev 1/7] FROM docker.io/library/ubuntu@sha256:dfc10878be8d8fc9c61cbff33166cb1d1fe44391539243703c72766894fa834a
#19 resolve docker.io/library/ubuntu@sha256:dfc10878be8d8fc9c61cbff33166cb1d1fe44391539243703c72766894fa834a 0.0s done
#19 CACHED

#20 [bochs-dev-common  1/25] FROM docker.io/library/rust:1.74.1-buster@sha256:69a9eff032b76f79418e8451c156b7124e0cd89da841554fcde39e9ea0a5e882
#20 resolve docker.io/library/rust:1.74.1-buster@sha256:69a9eff032b76f79418e8451c156b7124e0cd89da841554fcde39e9ea0a5e882 0.0s done
#20 sha256:69a9eff032b76f79418e8451c156b7124e0cd89da841554fcde39e9ea0a5e882 988B / 988B done
#20 sha256:ca1dad9de65e57a6032fc6cf443e9e1d42a09ef8c4ec11c9fdc11cf58fa44260 1.38kB / 1.38kB done
#20 sha256:80e14f4aaa4adf2875939a88de1ac63d82b6862086ff99dde6873fc695675a6a 6.09kB / 6.09kB done
#20 ...

#21 [internal] load build context
#21 transferring context: 80.44MB 0.3s done
#21 DONE 0.3s

#22 [oci-image-src 1/1] COPY . .
#22 CACHED

#23 [golang-base 1/1] FROM docker.io/library/golang:1.22-bullseye@sha256:fafd203dccbe662bd2a95d47aff611146ce33a1543561a0b490c68ee48adc4f5
#23 resolve docker.io/library/golang:1.22-bullseye@sha256:fafd203dccbe662bd2a95d47aff611146ce33a1543561a0b490c68ee48adc4f5 0.0s done
#23 sha256:24d9acec509d635827636a0cd2629af78f32d4a89866d7e78ac16cfe8a7d5a58 2.32kB / 2.32kB done
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 0B / 55.08MB 0.5s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 0B / 15.76MB 0.5s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 0B / 54.73MB 0.5s
#23 sha256:fafd203dccbe662bd2a95d47aff611146ce33a1543561a0b490c68ee48adc4f5 9.10kB / 9.10kB done
#23 sha256:24069500f2280097ef9da06d4d8b1819ed58337d63616ad6d978eda2de368712 2.85kB / 2.85kB done
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 0B / 55.08MB 5.5s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 0B / 15.76MB 5.5s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 0B / 54.73MB 5.5s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 1.05MB / 15.76MB 8.8s
#23 ...

#24 [bios-amd64-dev 2/7] RUN apt-get update && apt-get install -y build-essential git
#24 1.239 Get:1 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]
#24 1.426 Get:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
#24 3.560 Get:3 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [469 kB]
#24 4.126 Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
#24 7.244 Get:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
#24 ...

#25 [golang-1.21-base 1/1] FROM docker.io/library/golang:1.21-bullseye@sha256:40a67e6626bead90d5c7957bd0354cfeb8400e61acc3adc256e03252630014a6
#25 resolve docker.io/library/golang:1.21-bullseye@sha256:40a67e6626bead90d5c7957bd0354cfeb8400e61acc3adc256e03252630014a6 0.0s done
#25 sha256:301b0f36ff74f5b3b0fcae9a158b6338fd6b6d1ed8231b0fff6460a065cebeb3 2.32kB / 2.32kB done
#25 sha256:3e3b31e004ade9e39bbdc18008b0494ba3c06533cb1f48949e868602249c555b 2.81kB / 2.81kB done
#25 sha256:40a67e6626bead90d5c7957bd0354cfeb8400e61acc3adc256e03252630014a6 9.10kB / 9.10kB done
#25 ...

#26 [bochs-repo-base 3/3] RUN git clone https://github.com/ktock/Bochs /Bochs &&     cd /Bochs &&     git checkout a88d1f687ec83ff82b5318f59dcecb8dab44fc83
#26 0.230 Cloning into '/Bochs'...
#26 ...

#27 [gcc-x86-64-linux-gnu-base 2/2] RUN apt-get update && apt-get install -y gcc-x86-64-linux-gnu linux-libc-dev-amd64-cross git make
#27 1.278 Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
#27 1.466 Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
#27 3.378 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
#27 3.599 Get:4 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1150 kB]
#27 5.521 Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
#27 ...

#23 [golang-base 1/1] FROM docker.io/library/golang:1.22-bullseye@sha256:fafd203dccbe662bd2a95d47aff611146ce33a1543561a0b490c68ee48adc4f5
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 1.05MB / 55.08MB 10.7s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 1.05MB / 54.73MB 10.6s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 1.05MB / 15.76MB 13.9s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 1.05MB / 54.73MB 15.7s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 1.05MB / 55.08MB 15.8s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 1.05MB / 15.76MB 19.0s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 1.05MB / 55.08MB 20.8s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 1.05MB / 54.73MB 20.8s
#23 ...

#27 [gcc-x86-64-linux-gnu-base 2/2] RUN apt-get update && apt-get install -y gcc-x86-64-linux-gnu linux-libc-dev-amd64-cross git make
#27 10.78 Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
#27 ...

#23 [golang-base 1/1] FROM docker.io/library/golang:1.22-bullseye@sha256:fafd203dccbe662bd2a95d47aff611146ce33a1543561a0b490c68ee48adc4f5
#23 ...

#24 [bios-amd64-dev 2/7] RUN apt-get update && apt-get install -y build-essential git
#24 13.03 Get:6 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [442 kB]
#24 13.48 Get:7 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [117 kB]
#24 15.18 Get:8 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [331 kB]
#24 15.77 Get:9 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [13.7 kB]
#24 16.14 Get:10 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [360 kB]
#24 17.10 Get:11 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [19.3 MB]
#24 ...

#23 [golang-base 1/1] FROM docker.io/library/golang:1.22-bullseye@sha256:fafd203dccbe662bd2a95d47aff611146ce33a1543561a0b490c68ee48adc4f5
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 1.05MB / 15.76MB 24.1s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 2.10MB / 55.08MB 25.9s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 2.10MB / 54.73MB 25.9s
#23 ...

#27 [gcc-x86-64-linux-gnu-base 2/2] RUN apt-get update && apt-get install -y gcc-x86-64-linux-gnu linux-libc-dev-amd64-cross git make
#27 28.68 Get:7 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.7 kB]
#27 29.64 Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2308 kB]
#27 ...

#23 [golang-base 1/1] FROM docker.io/library/golang:1.22-bullseye@sha256:fafd203dccbe662bd2a95d47aff611146ce33a1543561a0b490c68ee48adc4f5
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 2.10MB / 55.08MB 33.7s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 2.10MB / 15.76MB 33.7s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 2.10MB / 54.73MB 33.7s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 2.10MB / 55.08MB 38.8s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 2.10MB / 15.76MB 38.8s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 2.10MB / 54.73MB 38.8s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 2.10MB / 55.08MB 43.8s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 2.10MB / 15.76MB 43.8s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 2.10MB / 54.73MB 43.8s
#23 ...

#27 [gcc-x86-64-linux-gnu-base 2/2] RUN apt-get update && apt-get install -y gcc-x86-64-linux-gnu linux-libc-dev-amd64-cross git make
#27 45.38 Get:9 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
#27 48.64 Get:10 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
#27 49.78 Get:11 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3097 kB]
#27 ...

#23 [golang-base 1/1] FROM docker.io/library/golang:1.22-bullseye@sha256:fafd203dccbe662bd2a95d47aff611146ce33a1543561a0b490c68ee48adc4f5
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 3.15MB / 55.08MB 50.6s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 2.10MB / 15.76MB 50.6s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 2.10MB / 54.73MB 50.6s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 3.15MB / 15.76MB 54.1s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 3.15MB / 55.08MB 55.6s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 3.15MB / 54.73MB 55.6s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 3.15MB / 15.76MB 59.1s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 3.15MB / 55.08MB 60.7s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 3.15MB / 54.73MB 60.7s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 3.15MB / 15.76MB 64.2s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 3.15MB / 55.08MB 65.8s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 3.15MB / 54.73MB 65.8s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 3.15MB / 15.76MB 69.3s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 3.15MB / 55.08MB 71.0s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 3.15MB / 54.73MB 71.0s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 3.15MB / 15.76MB 74.4s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 4.19MB / 55.08MB 76.0s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 4.19MB / 54.73MB 76.0s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 4.19MB / 15.76MB 79.4s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 4.19MB / 55.08MB 81.0s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 4.19MB / 54.73MB 81.0s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 4.19MB / 15.76MB 84.4s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 4.19MB / 55.08MB 86.1s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 4.19MB / 54.73MB 86.1s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 4.19MB / 15.76MB 89.5s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 4.19MB / 55.08MB 91.2s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 4.19MB / 54.73MB 91.2s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 4.19MB / 15.76MB 94.6s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 5.24MB / 55.08MB 96.3s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 5.24MB / 54.73MB 96.3s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 4.19MB / 15.76MB 99.7s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 5.24MB / 55.08MB 101.4s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 5.24MB / 54.73MB 101.4s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 5.24MB / 15.76MB 101.9s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 5.24MB / 55.08MB 106.5s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 5.24MB / 54.73MB 106.5s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 5.24MB / 15.76MB 106.9s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 5.24MB / 55.08MB 111.6s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 5.24MB / 54.73MB 111.6s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 5.24MB / 15.76MB 112.0s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 5.24MB / 55.08MB 116.7s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 5.24MB / 54.73MB 116.7s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 5.24MB / 15.76MB 117.0s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 6.29MB / 55.08MB 121.8s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 5.24MB / 54.73MB 121.8s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 5.24MB / 15.76MB 122.1s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 6.29MB / 55.08MB 126.9s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 6.29MB / 54.73MB 126.9s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 5.24MB / 15.76MB 127.2s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 6.29MB / 15.76MB 130.7s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 6.29MB / 55.08MB 132.0s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 6.29MB / 54.73MB 132.0s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 6.29MB / 15.76MB 135.8s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 6.29MB / 55.08MB 137.1s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 6.29MB / 54.73MB 137.1s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 6.29MB / 15.76MB 140.9s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 7.34MB / 55.08MB 142.2s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 6.29MB / 54.73MB 142.2s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 6.29MB / 15.76MB 146.0s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 7.34MB / 55.08MB 147.2s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 7.34MB / 54.73MB 147.2s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 6.29MB / 15.76MB 151.1s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 7.34MB / 55.08MB 152.3s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 7.34MB / 15.76MB 152.3s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 7.34MB / 54.73MB 152.3s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 7.34MB / 55.08MB 157.4s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 7.34MB / 15.76MB 157.4s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 7.34MB / 54.73MB 157.4s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 7.34MB / 55.08MB 162.6s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 7.34MB / 15.76MB 162.6s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 7.34MB / 54.73MB 162.6s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 8.39MB / 55.08MB 167.6s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 7.34MB / 15.76MB 167.6s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 7.34MB / 54.73MB 167.6s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 8.39MB / 55.08MB 172.7s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 7.34MB / 15.76MB 172.7s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 8.39MB / 54.73MB 172.7s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 8.39MB / 15.76MB 175.9s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 8.39MB / 55.08MB 177.7s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 8.39MB / 54.73MB 177.7s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 8.39MB / 15.76MB 181.0s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 8.39MB / 55.08MB 182.8s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 8.39MB / 54.73MB 182.8s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 8.39MB / 15.76MB 186.1s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 9.44MB / 55.08MB 187.9s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 8.39MB / 54.73MB 187.9s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 8.39MB / 15.76MB 191.2s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 9.44MB / 55.08MB 193.0s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 9.44MB / 54.73MB 193.0s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 8.39MB / 15.76MB 196.4s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 9.44MB / 55.08MB 198.0s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 9.44MB / 54.73MB 198.0s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 8.39MB / 15.76MB 201.4s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 9.44MB / 55.08MB 203.2s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 9.44MB / 54.73MB 203.2s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 9.44MB / 15.76MB 203.8s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 9.44MB / 55.08MB 208.2s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 9.44MB / 54.73MB 208.2s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 9.44MB / 15.76MB 208.9s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 9.44MB / 55.08MB 213.4s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 9.44MB / 54.73MB 213.4s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 9.44MB / 15.76MB 214.0s
#23 sha256:ba83bbfca9443648a883d1404b33faa0f5e096a99a2b683e3bbaee8912bca845 10.49MB / 55.08MB 218.5s
#23 sha256:6d691dff6d17d00b0cbbc4772eb805d97e02504d89ea3e5857cb97c943b74462 10.49MB / 54.73MB 218.5s
#23 sha256:48e779000ed269823143d5ce9acd3ef6f6ff7465222482f7b02c10ba21f448cc 9.44MB / 15.76MB 219.1s
#23 ...

#26 [bochs-repo-base 3/3] RUN git clone https://github.com/ktock/Bochs /Bochs &&     cd /Bochs &&     git checkout a88d1f687ec83ff82b5318f59dcecb8dab44fc83
#26 222.7 error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
#26 222.7 error: 1343 bytes of body are still expected
#26 222.7 fetch-pack: unexpected disconnect while reading sideband packet
#26 222.7 fatal: early EOF
#26 222.7 fatal: fetch-pack: invalid index-pack output
#26 ERROR: process "/bin/sh -c git clone ${BOCHS_REPO} /Bochs &&     cd /Bochs &&     git checkout ${BOCHS_REPO_VERSION}" did not complete successfully: exit code: 128

#20 [bochs-dev-common  1/25] FROM docker.io/library/rust:1.74.1-buster@sha256:69a9eff032b76f79418e8451c156b7124e0cd89da841554fcde39e9ea0a5e882
#20 CANCELED

#23 [golang-base 1/1] FROM docker.io/library/golang:1.22-bullseye@sha256:fafd203dccbe662bd2a95d47aff611146ce33a1543561a0b490c68ee48adc4f5
#23 CANCELED

#25 [golang-1.21-base 1/1] FROM docker.io/library/golang:1.21-bullseye@sha256:40a67e6626bead90d5c7957bd0354cfeb8400e61acc3adc256e03252630014a6
#25 CANCELED

#27 [gcc-x86-64-linux-gnu-base 2/2] RUN apt-get update && apt-get install -y gcc-x86-64-linux-gnu linux-libc-dev-amd64-cross git make
#27 CANCELED

#24 [bios-amd64-dev 2/7] RUN apt-get update && apt-get install -y build-essential git
#24 CANCELED
------
 > [bochs-repo-base 3/3] RUN git clone https://github.com/ktock/Bochs /Bochs &&     cd /Bochs &&     git checkout a88d1f687ec83ff82b5318f59dcecb8dab44fc83:
0.230 Cloning into '/Bochs'...
222.7 error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
222.7 error: 1343 bytes of body are still expected
222.7 fetch-pack: unexpected disconnect while reading sideband packet
222.7 fatal: early EOF
222.7 fatal: fetch-pack: invalid index-pack output
------
container2wasm2093687865:60
--------------------
  59 |     RUN apt-get update && apt-get install -y git
  60 | >>> RUN git clone ${BOCHS_REPO} /Bochs && \
  61 | >>>     cd /Bochs && \
  62 | >>>     git checkout ${BOCHS_REPO_VERSION}
  63 |     FROM scratch AS bochs-repo
--------------------
ERROR: failed to solve: process "/bin/sh -c git clone ${BOCHS_REPO} /Bochs &&     cd /Bochs &&     git checkout ${BOCHS_REPO_VERSION}" did not complete successfully: exit code: 128
exit status 1
ktock commented 2 months ago

What version are you using? And how can we reproduce this error?

lanmower commented 2 months ago

v0.6.5

should I be using the net proxy or something?

lanmower commented 2 months ago

I took the demo project and built it using CI on github, stragely that worked no problem