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

Debian docker image now requires GLIBC 2.35 #1375

Closed
devongovett opened this issue Nov 27, 2022 · 5 comments
Closed

Debian docker image now requires GLIBC 2.35 #1375

devongovett opened this issue Nov 27, 2022 · 5 comments

Comments

@devongovett
Copy link
Contributor

After our last release, we've received some reports that lightningcss and parcel won't load anymore on ARM systems (or docker containers) with Ubuntu 20.04 LTS (e.g. parcel-bundler/lightningcss#335). I think this is because of this commit in the base docker image rust-cross/manylinux-cross@76f1031, where Ubuntu was upgrade to 22.04. When loading a binary that is compiled using this image, an error occurs if using an older version of Ubuntu/GLIBC.

For now I've pinned us to an older version of the docker image: parcel-bundler/lightningcss#342.

Should the base image be pinned to a specific version so that the Ubuntu version doesn't change without warning? Ideally LTS versions would continue to be supported by default for binaries compiled using napi-rs images.

@yisibl
Copy link
Collaborator

yisibl commented Dec 12, 2022

I guess it's settled here: #1384

@AlCalzone
Copy link
Contributor

The same happens for the nodejs:aarch64-${{ matrix.node }} and nodejs:armhf-${{ matrix.node }} images. Both fail due to missing GLIBC 2.33.

@devongovett can you describe how you figured out which container version worked for you?

@devongovett
Copy link
Contributor Author

If you look in an old GitHub actions run that passed, it'll print out the container it's running.

@AlCalzone
Copy link
Contributor

Unfortunately this is a new project, where I've yet to produce a passing build.

@AlCalzone
Copy link
Contributor

Looks like I had an outdated version of the napi-rs cli. After recreating the project boilerplate including CI.yml, the builds are working now.

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

4 participants