镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

GitHub CodeQL extractor seems incompatible with hosted runner #17945

Description

@jsoref

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)

Activity

  1. jsoref commented on Nov 8, 2024

    @jsoref
    ContributorAuthor

    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...

  2. jketema commented on Nov 8, 2024

    @jketema
    Contributor

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

  3. jsoref commented on Nov 10, 2024

    @jsoref
    ContributorAuthor

    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
  4. jketema commented on Nov 10, 2024

    @jketema
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions