question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

javascript action not usable for Python C extensions

See original GitHub issue

checkout@v2 fails when using Docker image:

quay.io/pypa/manylinux2010_x86_64

with the following error

Running JavaScript Action with default external tool: node12
/__e/node12/bin/node: /usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.14' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.18' not found (required by /__e/node12/bin/node
/__e/node12/bin/node: /usr/lib64/libstdc++.so.6: version 'CXXABI_1.3.5' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /lib64/libc.so.6: version 'GLIBC_2.16' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /lib64/libc.so.6: version 'GLIBC_2.17' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /lib64/libc.so.6: version 'GLIBC_2.14' not found (required by /__e/node12/bin/node)
##[error]Node run failed with exit code 1

The above image is the official Docker image for building and distributing Python extensions. The newer version (quay.io/pypa/manylinux2014_x86_64) does not have this problem, but the majority still uses the manylinux1 and manylinux2010 images.

checkout@v1 does not have this problem. Maybe it is using an older version of node that has lower requirements in terms of GLIBC version?

Sadly, some other actions on GitHub are also using node (?!) and fail with the manylinux2010 image (e.g., the setup-python action).

Thank you.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bryanmacfarlanecommented, Feb 13, 2020

The problem is also not scoped to checkout right? It would be any action, correct? If that’s correct, we should transfer the issue to the runner.

0reactions
sighingnowcommented, Aug 30, 2022

Hi @thboop We’re still blocked by this issue that the default external tool “node12” cannot run within the manylinux2010 environment.

Is it possible to specifiy a customized node executable to run the javascript action in the yaml configuration?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can I create VS Code extensions in Python/C++?
Can I create VS Code extensions in Python/C++? · No. VSC is an electron app and runs JavaScript. TypeScript needs to be compiled...
Read more >
1. Extending Python with C or C++
In many cases, it is possible to avoid writing C extensions and preserve portability to other implementations.
Read more >
Debugging Python C extensions with GDB
Before showing how debugging works better with the new Python 3.9 debug build, let's start with the release build, which is not usable...
Read more >
Ctrl + Click go to definition not working. : r/vscode
I'm using Python with the Python extension. A bunch of stuff (including go to definition) is missing from the right click menu, intellisense...
Read more >
A "Jumping Off Point" for Writing C Extensions and Why ...
Hello r/Python! I've seen several posts lately asking for help with performance issues with Python, along with a number of brilliant ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found