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

rustup fails on manylinux2014_i686 #2305

Open
frank1010111 opened this issue Mar 6, 2025 · 2 comments
Open

rustup fails on manylinux2014_i686 #2305

frank1010111 opened this issue Mar 6, 2025 · 2 comments

Comments

@frank1010111
Copy link

Description

Using the quay.io/pypa/manylinux2014_i686:2025.02.28 container, the recommended rustup setup command put in CIBW_BEFORE_LINUX,, sh -c 'curl -sSf https://sh.rustup.rs | sh -s -- -y' fails.

The error is

  /tmp/tmp.FQo0uNj5uv/rustup-init: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

It can be fixed through running

yum install libatomic -y

inside the container, but this is not exactly ideal.

Thank you for any suggestions.

Build log

https://github.com/frank1010111/pywaterflood/actions/runs/13689180655/job/38279095967?pr=112

CI config

https://github.com/frank1010111/pywaterflood/blob/098a0981894ae973418d601d843d11d2e3699b6b/.github/workflows/publish-to-pypi.yml

@frank1010111 frank1010111 changed the title rustup fails on manylinux2014 rustup fails on manylinux2014_i686 Mar 6, 2025
mayeut added a commit to mayeut/manylinux that referenced this issue Mar 6, 2025
This makes installing rust easier.
xref pypa/cibuildwheel#2305
mayeut added a commit to pypa/manylinux that referenced this issue Mar 7, 2025
This makes installing rust easier.
xref pypa/cibuildwheel#2305
@mayeut
Copy link
Member

mayeut commented Mar 7, 2025

libatomic has been added to the manylinux images, cibuildwheel will pick up the updates on monday on main.
Maybe it's worth a patch release for 2.x ?

@joerick
Copy link
Contributor

joerick commented Mar 7, 2025

Yeah, that sounds good to me.

Btw, I did a little googling around and this appears to be the root cause: rust-lang/cargo#13546 (comment)

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

3 participants