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

Fix OpenSSL platform detection, especially for 32bit arches #657

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

tianon
Copy link
Member

@tianon tianon commented Aug 1, 2023

Thanks to a bug in buildx/buildkit (see docker-library/bashbrew#80, docker/buildx#1886), our CI failed to catch that i386 has been failing to build (for some reason, OpenSSL was detecting it as linux-x32 instead of linux-x86), and our arm32v7 builds were failing for a similar reason (assuming "armv4" instead of v7).

This makes the detection explicit based on the userspace architecture instead.

Thanks to a bug in buildx/buildkit, our CI failed to catch that i386 has been failing to build (for some reason, OpenSSL was detecting it as `linux-x32` instead of `linux-x86`), and our arm32v7 builds were failing for a similar reason (assuming "armv4" instead of v7).

This makes the detection explicit based on the userspace architecture instead.
Copy link
Collaborator

@lukebakken lukebakken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, hopefully that wasn't too much of a pain to figure out.

@yosifkit yosifkit merged commit ffecd69 into docker-library:master Aug 1, 2023
17 checks passed
@yosifkit yosifkit deleted the i386-arm32 branch August 1, 2023 15:59
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Aug 1, 2023
Changes:

- docker-library/rabbitmq@ffecd69: Merge pull request docker-library/rabbitmq#657 from infosiftr/i386-arm32
- docker-library/rabbitmq@23170d7: Fix OpenSSL platform detection, especially for 32bit arches
- docker-library/rabbitmq@0720727: Update 3.9 to otp 25.3.2.5
- docker-library/rabbitmq@a52f4d1: Update 3.12 to otp 25.3.2.5
- docker-library/rabbitmq@ccccce7: Update 3.11 to otp 25.3.2.5
- docker-library/rabbitmq@8ce2bd3: Update 3.10 to otp 25.3.2.5
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

Successfully merging this pull request may close these issues.

3 participants