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

Rescript fails to run with GLIB error #5868

Closed
3 of 5 tasks
kohlivarun5 opened this issue Dec 1, 2022 · 6 comments · Fixed by #5871
Closed
3 of 5 tasks

Rescript fails to run with GLIB error #5868

kohlivarun5 opened this issue Dec 1, 2022 · 6 comments · Fixed by #5871

Comments

@kohlivarun5
Copy link

Thank you for filing! Check list:

  • Is it a bug?
    This is something that worked previously, and just broke, presumably due to a change in how the package is build and released

  • Concise, focused, friendly issue title & description.

Using rescript build -w now gives the following error, and exits:

./node_modules/rescript/linux/ninja.exe: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./node_modules/rescript/linux/ninja.exe)
./node_modules/rescript/linux/ninja.exe: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./node_modules/rescript/linux/ninja.exe)
./node_modules/rescript/linux/ninja.exe: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./rescript/linux/ninja.exe)
Failure: ./node_modules/rescript/linux/ninja.exe 
  • A minimal, reproducible example.
    Use rescript on RHEL7 distribution ?

  • OS and browser versions, if relevant.
    RHEL7

  • Is it already fixed in master?

@kohlivarun5
Copy link
Author

Seems an issue introduced in version 10.1.0, as 10.0.1 works fine

@cknitt
Copy link
Member

cknitt commented Dec 2, 2022

This is because of #5626. The problem is that Github is removing support for the Ubuntu 18.04 Github action runners.

See also the discussion in #5834.

@kohlivarun5
Copy link
Author

Is there an alternative/workaround ? I have ninja available in a systemwide installation. Can that be picked by rescript ?
When I cp the systemwide ninja into ./node_modules/rescript/linux/ninja.exe, we get an error Finished (exit) without any log on what errored

@cknitt
Copy link
Member

cknitt commented Dec 3, 2022

We will revert this change for 10.1.1.
For 11.x, I hope to be able to provide statically linked Linux binaries.

@cknitt cknitt linked a pull request Dec 3, 2022 that will close this issue
@kohlivarun5
Copy link
Author

Can you create a release for 10.1.1 ?

@cknitt
Copy link
Member

cknitt commented Jan 30, 2023

10.1.1 and 10.1.2 have been released with the change reverted. 11.x will provide statically linked Linux binaries.

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

Successfully merging a pull request may close this issue.

2 participants