arm32v6/golang:1.10-alpine is broken for qemu 2.8 on MacOS cross-compilation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
FROM arm32v6/
docker build -t openhorizon/
Sending build context to Docker daemon 110.6kB
Step 1/12 : FROM arm32v6/
1.10-alpine: Pulling from arm32v6/golang
05276f4299f2: Pull complete
5657e63df536: Pull complete
febca98d0249: Pull complete
5053a7aa5dea: Pull complete
d048463a3701: Pull complete
b628c679d668: Pull complete
Digest: sha256:
Status: Downloaded newer image for arm32v6/
---> 3110964e8c9a
Step 2/12 : RUN apk --no-cache update && apk add git
---> Running in 14ffb11506bb
fetch http://
fetch http://
v3.9.4-
v3.9.4-
OK: 9547 distinct packages available
fetch http://
fetch http://
(1/7) Installing nghttp2-libs (1.35.1-r0)
(2/7) Installing libssh2 (1.8.2-r0)
(3/7) Installing libcurl (7.64.0-r2)
(4/7) Installing libgcc (8.3.0-r0)
(5/7) Installing expat (2.2.6-r0)
(6/7) Installing pcre2 (10.32-r1)
(7/7) Installing git (2.20.1-r0)
Executing busybox-
OK: 18 MiB in 22 packages
Removing intermediate container 14ffb11506bb
---> 6890ea7ed09b
Step 3/12 : RUN mkdir -p /build/bin
---> Running in 44e52d78d7b4
Removing intermediate container 44e52d78d7b4
---> 0763afda41d1
Step 4/12 : COPY src /build/src
---> 05bab9a72a34
Step 5/12 : WORKDIR /build
---> Running in 5a663caff249
Removing intermediate container 5a663caff249
---> 5a6ca53c00de
Step 6/12 : RUN env GOPATH=/build GOOPTIONS_
---> Running in 05b09ee0c206
Removing intermediate container 05b09ee0c206
---> e68c6e222e51
Step 7/12 : RUN env GOPATH=/build GOOPTIONS_
---> Running in ea6d2707e35f
qemu-arm: /build/
qemu-arm: /build/
The command '/bin/sh -c env GOPATH=/build GOOPTIONS_
make: *** [build] Error 139
Changed in qemu: | |
status: | New → Incomplete |
Please can you try with a more recent version of QEMU? 2.8 is pretty old, and there are definitely some bugs involving Alpine Linux glibc and also go that we've fixed in later versions.