Skip to content

[BUG] Linux x86_64 binary requires glibc 2.35, breaks on AL2023 distro #737

Description

@enochlo

Describe the bug
The codecovcli_linux binary at https://cli.codecov.io/latest/linux/codecov (and the same path for v11.3.0) fails to run on any host with glibc < 2.35, including: Amazon Linux 2023 (glibc 2.34, LTS through 2028-06-30)

This was working before the 11.3.0 release (11.2.8 is working).

I'm seeing this error:

 [PYI-*:ERROR] Failed to load Python shared library
    '/tmp/_MEI*/libpython3.11.so.1.0':
    /lib64/libm.so.6: version `GLIBC_2.35' not found
  ==> Failed to run upload-coverage

This affects any GHA workflow using codecov/codecov-action with default settings, when the runner does not have glibc 2.35.

To Reproduce

  1. Run the codecov/codecov-action on an AL2023 runner (or any runner without glibc 2.35)

Expected behavior
Coverage is uploaded to Codecov via the codecov-cli.

Regression
This is a regression, the previous 11.2.8 release was working.

Screenshots
n/a: error log

Product Area
coverage upload

Versions

  • OS: Amazon Linux 2023
  • Git Host: Github Enterprise
  • CI/CD: Github Actions
  • Uploader:codecov-action@v5

Commit and CI link
Provide the commit SHA and CI link. If applicable, provide the entire Codecov output from CI.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions