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

pre-commit error in github workflows: `GLIBC_2.39' not found #74

Open
thiagowfx opened this issue Jan 16, 2025 · 0 comments
Open

pre-commit error in github workflows: `GLIBC_2.39' not found #74

thiagowfx opened this issue Jan 16, 2025 · 0 comments

Comments

@thiagowfx
Copy link

thiagowfx commented Jan 16, 2025

Recently:

mdsh.......................................................................................Failed
- hook id: mdsh
- exit code: 1

/home/runner/.cache/pre-commit/repok__zx1xb/rustenv-system/bin/mdsh: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by /home/runner/.cache/pre-commit/repok__zx1xb/rustenv-system/bin/mdsh)

This is in a github workflow that runs the mdsh pre-commit hook:

# https://github.com/pre-commit/action
name: Pre-commit

permissions: read-all

on:
  pull_request:
  push:
    branches: [master]

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  pre-commit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
      - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

This is our pre-commit config: (snippet)

repos:
  - repo: https://github.com/zimbatm/mdsh.git
    rev: v0.9.0
    hooks:
      - id: mdsh
        types_or:
          - markdown
          - yaml
        always_run: true

I suspect this is related to actions/runner-images#10636 ("Ubuntu-latest workflows will use Ubuntu-24.04 image"), because this setup was working fine for months until 2 days ago.

I couldn't find anything related in the bug tracker: https://github.com/zimbatm/mdsh/issues?q=GLIBC%20

Workarounds are welcome.

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

1 participant