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

GitHub CodeQL extractor seems incompatible with hosted runner #17945

Closed
jsoref opened this issue Nov 8, 2024 · 4 comments
Closed

GitHub CodeQL extractor seems incompatible with hosted runner #17945

jsoref opened this issue Nov 8, 2024 · 4 comments
Labels
question Further information is requested

Comments

@jsoref
Copy link
Contributor

jsoref commented Nov 8, 2024

Description of the issue

I just pushed a random commit to my codeql-action fork, and the https://github.com/check-spelling-sandbox/github-codeql-action/actions/runs/11748775946/workflow failed https://github.com/check-spelling-sandbox/github-codeql-action/actions/runs/11748775946/job/32733592636

Current runner version: '2.320.0'
Operating System

  • Ubuntu
  • 22.04.5
  • LTS

Runner Image

/opt/hostedtoolcache/CodeQL/0.0.0-20241108/x64/codeql/swift/tools/linux64/extractor: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /opt/hostedtoolcache/CodeQL/0.0.0-20241108/x64/codeql/swift/tools/linux64/extractor)
/opt/hostedtoolcache/CodeQL/0.0.0-20241108/x64/codeql/swift/tools/linux64/extractor: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by /opt/hostedtoolcache/CodeQL/0.0.0-20241108/x64/codeql/swift/tools/linux64/extractor)
/opt/hostedtoolcache/CodeQL/0.0.0-20241108/x64/codeql/swift/tools/linux64/extractor: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /opt/hostedtoolcache/CodeQL/0.0.0-20241108/x64/codeql/swift/tools/linux64/extractor)
@jsoref jsoref added the question Further information is requested label Nov 8, 2024
@jsoref
Copy link
Contributor Author

jsoref commented Nov 8, 2024

A previous build succeeded: https://github.com/check-spelling-sandbox/github-codeql-action/actions/runs/11697919997/job/32577384551
It was using CodeQL Action Bundle 2.19.1

So this feels like a regression from the release...

@jketema
Copy link
Contributor

jketema commented Nov 8, 2024

We no longer support Swift on Linux. github/codeql-action#2588 is probably relevant here.

@jsoref
Copy link
Contributor Author

jsoref commented Nov 10, 2024

If it isn't supported, the binaries should be removed instead of leaving things that will just crash when run. Slightly preferably would be something which just does the equivalent of:

echo 'codeql no longer supports Swift on Linux see ...' >&2
exit 1

@jketema
Copy link
Contributor

jketema commented Nov 10, 2024

Thanks for the suggestion. We'll take this in consideration. Closing this as completed, as the situation seems to have been clarified.

@jketema jketema closed this as completed Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants