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

eclipse-mosquitto:2 Docker Official image based on libressl fails to build on s390x #3055

Open
yosifkit opened this issue May 22, 2024 · 0 comments

Comments

@yosifkit
Copy link

Since Alpine Linux has stopped building the libressl package for s390x, the eclipse-mosquitto:2 image has failed to build on that architecture. Since I don't know if they'll add it back, I'd suggest dropping s390x for those images. Perhaps even moving to make the openssl based images the default in future releases?

I'm happy to make a PR to adjust the library/eclipse-mosquitto file in Official Images but wanted to make you aware of the issue before doing so.

Logs from the build server:

libressl-dev (no such package):

docker ["build" "--tag" "bashbrew/cache:578c5dd0c9677c63785db444e0f20175acbbe647be11a455a86c668bf92113a1" "--tag" "eclipse-mosquitto:2.0.18" "--tag" "eclipse-mosquitto:2.0" "--tag" "eclipse-mosquitto:2" "--tag" "eclipse-mosquitto:latest" "--file" "Dockerfile" "--rm" "--force-rm" "-"] output:
...
Step 4/9 : RUN set -x && apk --no-cache add --virtual build-deps ...
+ apk --no-cache add --virtual build-deps build-base cmake cjson-dev gnupg libressl-dev linux-headers util-linux-dev
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/s390x/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/s390x/APKINDEX.tar.gz
ERROR: unable to select packages:
  build-deps-20240522.185134:
    masked in: cache
    satisfies: world[build-deps=20240522.185134]
  libressl-dev (no such package):
    required by: build-deps-20240522.185134[libressl-dev]
+ echo 'Fetching GPG key A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7 from hkps:https://keys.openpgp.org'
+ gpg --keyserver hkps:https://keys.openpgp.org --keyserver-options 'timeout=10' --recv-keys A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7
Fetching GPG key A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7 from hkps:https://keys.openpgp.org
/bin/sh: gpg: not found
+ echo 'Fetching GPG key A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7 from hkp:https://keyserver.ubuntu.com:80'
+ gpg --keyserver hkp:https://keyserver.ubuntu.com:80 --keyserver-options 'timeout=10' --recv-keys A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7
/bin/sh: gpg: not found
+ echo 'Fetching GPG key A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7 from pgp.mit.edu'
+ gpg --keyserver pgp.mit.edu --keyserver-options 'timeout=10' --recv-keys A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7
Fetching GPG key A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7 from hkp:https://keyserver.ubuntu.com:80
Fetching GPG key A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7 from pgp.mit.edu
/bin/sh: gpg: not found
+ test -z 
+ echo 'error: failed to fetch GPG key A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7'
error: failed to fetch GPG key A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7
+ exit 1
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