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

@parcel/rust v2.13.0 now appears to require GLIBC_2.29 #10023

Open
paulbrimicombe opened this issue Nov 26, 2024 · 2 comments
Open

@parcel/rust v2.13.0 now appears to require GLIBC_2.29 #10023

paulbrimicombe opened this issue Nov 26, 2024 · 2 comments

Comments

@paulbrimicombe
Copy link

paulbrimicombe commented Nov 26, 2024

🐛 bug report

  • With @parcel/rust v2.12.0 parcel runs fine on an OS that uses GLIBC_2.28 (e.g. Rocky Linux 8)

  • With @parcel/rust v2.13.0 parcel fails with the following error:

    Error: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /<SNIP>/node_modules/@parcel/rust/parcel-node-bindings.linux-x64-gnu.node)

🎛 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:

  • Start a Docker container that uses GLIBC_2.28: docker run -it rockylinux:8 /bin/bash
  • Enable Node 18: dnf module -y enable nodejs:18
  • Install Node 18: dnf install -y nodejs
  • Navigate to a temporary directory: cd /tmp
  • Initialise an NPM package: npm init -y
  • Install parcel: npm install parcel
  • Run parcel: node_modules/.bin/parcel
    • This will error with Error: /lib64/libm.so.6: version GLIBC_2.29' not found`
  • Forcibly downgrade @parcel/rust by adding: "overrides": { "@parcel/rust": "2.12.0" } to the package.json file
  • Run npm install
  • Run parcel: node_modules/.bin/parcel
    • No errors related to GLIBC versions

🌍 Your Environment

Software Version(s)
Parcel 2.13.2
Node 18
npm/Yarn 9
Operating System Rocky Linux 8
@devongovett
Copy link
Member

Probably due to #9849 and #9841. I believe the CentOS image we used to compile on no longer builds (CentOS is defunct). It is getting much harder to support these super old versions...

@paulbrimicombe
Copy link
Author

It is getting much harder to support these super old versions...

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.

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

2 participants