Skip to content

Rust 1.47.0 snapshot binaries not working with pypa/manylinux1 #77760

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

Closed
n1t0 opened this issue Oct 9, 2020 · 4 comments
Closed

Rust 1.47.0 snapshot binaries not working with pypa/manylinux1 #77760

n1t0 opened this issue Oct 9, 2020 · 4 comments
Labels
regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-release Relevant to the release subteam, which will review and decide on the PR/issue.

Comments

@n1t0
Copy link

n1t0 commented Oct 9, 2020

I have a CI automatic deployment that builds wheels for a Python package built with Rust. Everything used to work fine until the 1.47.0 stable. Now I can't get rust installed on the pypa/manylinux1 docker image which is based on CentOS5 (cf https://github.com/pypa/manylinux)

Here is the output while trying to install rust:

info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2020-10-08, rust version 1.47.0 (18bf6b4f0 2020-10-07)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: Defaulting to 500.0 MiB unpack ram
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc: error while loading shared libraries: /root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-ff4ec557f69b94a7.so: ELF file OS ABI invalid

Related to #1345

@n1t0 n1t0 added the C-bug Category: This is a bug. label Oct 9, 2020
@Mark-Simulacrum
Copy link
Member

cc @cuviper

My guess this is "linux-gnu targets now require minimum kernel 2.6.32 and glibc 2.11." and is unlikely to be fixed.

@Mark-Simulacrum Mark-Simulacrum added regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-release Relevant to the release subteam, which will review and decide on the PR/issue. and removed C-bug Category: This is a bug. labels Oct 9, 2020
@cuviper
Copy link
Member

cuviper commented Oct 9, 2020

Yes, this is expected. It looks like manylinux acknowledges the support state too:

PEP 513 defined manylinux1_x86_64 and manylinux1_i686 platform tags and the wheels were built on Centos5. Centos5 reached End of Life (EOL) on March 31st, 2017 and thus PEP 571 was proposed.

... where PEP 571 defines manylinux2010 based on CentOS 6. Even that will be done with maintenance support soon (November 30), but I expect to keep Rust support for a while yet.

@n1t0
Copy link
Author

n1t0 commented Oct 9, 2020

Got it, thank you! Guess it's time to migrate to manylinux2010 then 😄

@cuviper
Copy link
Member

cuviper commented Oct 9, 2020

OK, great, hope that goes well for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-release Relevant to the release subteam, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants