Skip to content

E2E dependency install fails compiling the R odbc package on engines without the database stack enabled #18704

Closed

Description

@ronblum

System details

Workflow        : Test: E2E Playwright RStudio (Scheduled Rotation and Run-All, Open Source)
Affected step   : Install e2e test dependencies (.github/actions/os-e2e-deps)
Affected engines: ubuntu-22-arm64, fedora-43-arm64, fedora-44-arm64

Steps to reproduce the problem

  1. Run the scheduled E2E rotation for an engine whose .github/e2e-linux/<os>.json does not set install_database_stack: true and whose distro/arch has no Posit Package Manager binary for the R odbc package, for example ubuntu-22-arm64.
    • The "Install e2e test dependencies" step fails while compiling odbc from source.
    • The log shows fatal error: sql.h: No such file or directory followed by ERROR: configuration failed for package 'odbc'.
  2. See the failed run at https://github.com/rstudio/rstudio/actions/runs/33310537121, jobs "Ubuntu 22 (arm64)", "Fedora 43 (arm64)", and "Fedora 44 (arm64)".

Describe the problem in detail

odbc is listed in e2e/rstudio/required-packages.txt, which every E2E engine installs unconditionally. Compiling odbc from source needs the unixODBC headers (unixodbc-dev on Debian/Ubuntu, unixODBC-devel on Fedora/RHEL/Rocky), but those headers are only installed by the os-e2e-deps action when an engine's config sets install_database_stack: true (used to provision the fuller Connections pane test stack). An engine that leaves that flag unset and lands on a distro/arch where PPM has no odbc binary hits this failure. It doesn't affect every engine without the flag: several others (e.g. rocky-9-arm64, ubuntu-26-arm64) also leave it unset but currently get a PPM binary for odbc, so they aren't affected today.

Describe the behavior you expected

The dependency-install step should succeed regardless of whether install_database_stack is set, since odbc is now a hard requirement for every engine, not just the ones testing Connections.

Activity

  1. self-assigned this
    on Aug 31, 2026
  2. ronblum commented on Aug 31, 2026

    @ronblum
    ContributorAuthor

    Completed with #18705.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions