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 3.13 build failure on arm32v7 by moving to Ubuntu 24.04 #746

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

yosifkit
Copy link
Member

@yosifkit yosifkit commented Dec 13, 2024

The gosu from Ubuntu 22.04 was recently rebuilt with go 1.18.1. And on arm32v7 happens to hit a regression in go (golang/go#51776, golang/go@4f45424). So, the build fails when it tries to gosu nobody true.

If we move to Ubuntu 24.04, then gosu will be built by a much newer golang (~1.22) and not have the regression from golang 1.18.1.

Fixes #745 (This is just one option to fix it. I am open to an alternative.)

+ apt-get install --yes --no-install-recommends ca-certificates gosu tzdata ...
...
+ gosu nobody true panic: unaligned 64-bit atomic operation
preempt off reason: doAllThreadsSyscall
fatal error: panic during preemptoff

+ apt-get install --yes --no-install-recommends ca-certificates gosu tzdata
...
+ gosu nobody true
panic: unaligned 64-bit atomic operation
preempt off reason: doAllThreadsSyscall
fatal error: panic during preemptoff
@tianon tianon merged commit 1978d63 into docker-library:master Dec 13, 2024
11 checks passed
@tianon tianon deleted the all-24.04 branch December 13, 2024 23:29
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Dec 13, 2024
Changes:

- docker-library/rabbitmq@1978d63: Merge pull request docker-library/rabbitmq#746 from infosiftr/all-24.04
- docker-library/rabbitmq@a8a529b: Simplify and update `verify-templating.yml`
- docker-library/rabbitmq@55d4ee3: Fix 3.13 build failure on arm32v7 by moving to Ubuntu 24.04
- docker-library/rabbitmq@f792f92: Merge pull request docker-library/rabbitmq#744 from infosiftr/alpine3.21
- docker-library/rabbitmq@0584c9d: Update to Alpine 3.21
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.13 build failing on arm32v7
2 participants