missing packages in 3.14 / ppc64le
I have a container image build workflow in GitHub actions, that uses docker/setup-qemu-action
and docker/setup-buildx-action
to build an image for all of linux/amd64
, linux/arm/v7
, linux/arm/v6
, linux/arm64
and linux/ppc64le
at once.
The build for ppc64le
fails since bumping the base image of the first stage to alpine:3.14.0
because it fails to find a few packages with errors like package mentioned in index not found
. The workflow logs don't appear to be public, so here's an excerpt:
#51 [linux/ppc64le compiler 2/4] RUN apk add --no-cache alpine-sdk cmake curl-dev libxml2-dev
#51 sha256:cd677a2155847e1cdc2f7b5dd92123318f6895b165b6b132645eed37d42ea16a
#51 0.761 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/ppc64le/APKINDEX.tar.gz
#51 4.407 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/ppc64le/APKINDEX.tar.gz
#51 8.031 (1/55) Installing fakeroot (1.25.3-r3)
#51 8.083 (2/55) Installing openssl (1.1.1k-r0)
#51 8.584 (3/55) Installing libattr (2.5.1-r0)
#51 8.603 (4/55) Installing attr (2.5.1-r0)
#51 8.624 (5/55) Installing libacl (2.2.53-r0)
#51 8.659 (6/55) Installing tar (1.34-r0)
#51 8.993 (7/55) Installing pkgconf (1.7.4-r0)
#51 9.061 (8/55) Installing patch (2.7.6-r6)
#51 9.199 (9/55) Installing libgcc (10.3.1_git20210424-r0)
#51 9.316 ERROR: libgcc-10.3.1_git20210424-r0: package mentioned in index not found (try 'apk update')
#51 9.326 (10/55) Installing libstdc++ (10.3.1_git20210424-r0)
#51 9.839 ERROR: libstdc++-10.3.1_git20210424-r0: package mentioned in index not found (try 'apk update')
#51 9.839 (11/55) Installing lzip (1.22-r0)
#51 ...
In particular, I am missing libgcc-10.3.1_git20210424-r0
, libstdc++-10.3.1_git20210424-r0
, libcurl-7.77.0-r0
, libgomp-10.3.1_git20210424-r0
, libatomic-10.3.1_git20210424-r0
, gcc-10.3.1_git20210424-r0
, g++-10.3.1_git20210424-r0
, ncurses-terminfo-base-6.2_p20210605-r0
, ncurses-libs-6.2_p20210605-r0
and curl-dev-7.77.0-r0
.
Checking https://dl-cdn.alpinelinux.org/alpine/v3.14/main/ppc64le/, at least g++
and libcurl
are indeed completely missing. I have added an apk update
before the apk add
but that did not resolve the problem either.