Skip to content

Update build pipeline to use older distro for compatibility #373

@bcantoni

Description

@bcantoni

As a developer, I want to update the Tabcmd v2 build pipeline to use an older distribution (RHEL 8 or equivalent) for building the Linux binary artifacts, so that the binaries are compatible with a wider range of user systems.

Context:

  • The current build pipeline uses ubuntu-latest which builds against glibc 2.38.
  • Most users cannot use this binary because their systems do not have glibc 2.38.
  • RHEL 8 has glibc 2.28, which is the oldest distro supported by Tableau Server and will work on more systems.

Acceptance Criteria:

  1. Update the build pipeline to use RHEL 8 or an equivalent distribution (e.g., Rocky 8, Alma 8, CentOS 8 Stream) for building Linux binaries.
  2. Ensure the updated pipeline can successfully build and produce artifacts.
  3. Verify that the produced artifacts are compatible with systems running RHEL 8 and similar distributions.
  4. Investigate and address any similar compatibility issues for Windows and Mac builds.

Additional Notes:

  • The current oldest available image for GitHub Actions is Ubuntu 20.04, which uses glibc 2.31. Switching to this may partially mitigate the issue but will not fully resolve it for RHEL 8 users.
  • Example error encountered on a 22.04 Linux desktop: Error loading Python lib '/tmp/_MEIhs73Zp/libpython3.12.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version 'GLIBC_2.38' not found (required by /tmp/_MEIhs73Zp/libpython3.12.so.1.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions