-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
@parcel/rust v2.13.0 now appears to require GLIBC_2.29 #10023
Comments
While I agree that supporting a variety of OS versions is tricky, it's probably worth noting that Rocky 8 (a very widely used CentOS replacement / equivalent) is still in security support for another 4.5 years. If you'd like any help replacing your CentOS image with some other RedHat Enterprise Linux 8 equivalent then do let me know. |
Getting same issue on |
Vercel is suddenly giving me this error when I deploy a project to it… Full error:
|
Our project is now having issues as well, and we have to use newer parcel because the parcel library bundler requires a newer version of parcel, so we are stuck. |
Any movement or plans to try and resolve this? It can be quite difficult for some people to get their companies to upgrade base OSes. |
I'd like to, we just need to find a docker image with an older glibc that we can build on |
@devongovett Happy to assist with that, what other requirements would the docker image need? |
it needs to be basically the same as the official Nodejs images but on an OS that uses an older glibc. I'm not sure if any of these already do that, or if we need to create a new one with a different distro. https://github.com/nodejs/docker-node/tree/main/22 |
It looks like Debian 10 (Buster) uses glibc 2.28. Buster isn't available in any of the official Node images though. I would imagine we'd have to update the github action to build from a Dockerfile with debian:buster as the base, then install Node 22 on it. Is Node22 a requirement? |
An alternative solution would be https://github.com/corsix/polyfill-glibc |
🐛 bug report
With
@parcel/rust
v2.12.0parcel
runs fine on an OS that uses GLIBC_2.28 (e.g. Rocky Linux 8)With
@parcel/rust
v2.13.0parcel
fails with the following error:🎛 Configuration (.babelrc, package.json, cli command)
No
babel
or other special configuration required🤔 Expected Behavior
Within a major semver version,
parcel
should continue to run in a given environment (GLIBC_2.28).😯 Current Behavior
Parcel fails with a GLIBC version error on environments that use GLIBC_2.28
🔦 Context
We are unable to run
parcel
on our build environment💻 Code Sample
Steps to reproduce:
docker run -it rockylinux:8 /bin/bash
dnf module -y enable nodejs:18
dnf install -y nodejs
cd /tmp
npm init -y
parcel
:npm install parcel
parcel
:node_modules/.bin/parcel
Error: /lib64/libm.so.6: version
GLIBC_2.29' not found`@parcel/rust
by adding:"overrides": { "@parcel/rust": "2.12.0" }
to thepackage.json
filenpm install
parcel
:node_modules/.bin/parcel
🌍 Your Environment
The text was updated successfully, but these errors were encountered: