Skip to content

PXB-3795: Build PXB on Amazon Linux 2023 (x86_64 + aarch64) - #4094

Open
nogueiraanderson wants to merge 1 commit into
masterfrom
PXB-3745-al2023-install-deps
Open

PXB-3795: Build PXB on Amazon Linux 2023 (x86_64 + aarch64)#4094
nogueiraanderson wants to merge 1 commit into
masterfrom
PXB-3745-al2023-install-deps

Conversation

@nogueiraanderson

@nogueiraanderson nogueiraanderson commented May 18, 2026

Copy link
Copy Markdown
Contributor

Feature

  • Enables AL2023 (x86_64 + aarch64) in pxc-build, the image PXB compiles inside on Jenkins.

Why

  • PXB must build on every platform PS releases packages for, to validate backup/restore against released PS binaries.
  • AL2023 had no pxc-build image at all; without it PXB cannot ship AL2023 backups.
  • One of the ECR tags requested by PXB-3745; unblocks PXB-3613.

Tickets

nogueiraanderson added a commit that referenced this pull request May 19, 2026
Now that pxc/docker/install-deps handles AL2023, light up the
matrix row so the prepare-pxc-build-docker-ecr job emits
- pxc-build:amazonlinux-2023 (when run with ARCH=x86_64)
- pxc-build:amazonlinux-2023-aarch64 (when run with ARCH=aarch64)

Round-trip safe: the entry runs in parallel with the existing
distros and reuses the same `build()` helper. The aarch64 branch
inherits the ARCH_SUFFIX from prepare-docker.

Depends on PR PXB-3745-arm-plumbing (#4093) and
PXB-3745-al2023-install-deps (#4094).
Comment thread pxc/docker/install-deps Outdated
Comment thread pxc/docker/install-deps Outdated
Comment thread pxc/docker/install-deps
Comment thread pxc/docker/install-deps Outdated
Comment thread pxc/docker/install-deps Outdated
Comment thread pxb/v2/local/build-binary
@nogueiraanderson
nogueiraanderson marked this pull request as draft May 20, 2026 16:29
@nogueiraanderson
nogueiraanderson force-pushed the PXB-3745-al2023-install-deps branch from ed59d06 to 8852988 Compare May 20, 2026 18:52
@nogueiraanderson
nogueiraanderson marked this pull request as ready for review May 20, 2026 20:41
@nogueiraanderson nogueiraanderson changed the title PXB-3745: AL2023 branch in pxc/docker/install-deps PXB-3795: Build PXB on Amazon Linux 2023 (x86_64 + aarch64) May 20, 2026
@nogueiraanderson

Copy link
Copy Markdown
Contributor Author

@satya-bodapati All review points are addressed on the current head (e15b753d); the changes-requested flag is still pinned to the superseded ed59d06. What changed since then:

  • The gcc-toolset-12 shim is gone; AL2023 installs gcc14/gcc14-c++ directly and build-binary uses them without pretending to be toolset-12. On your build-binary note about newer GCC per PXB version: agreed, that is the direction; this PR keeps the existing per-version toolset matrix untouched and applies the force-gcc-14 idea to the AL2023 path only.
  • RHVER/DIST are computed once at the top (with the AL2023 normalization), and e15b753d removes the leftover recompute in the sphinx block your comment pointed at.
  • scons, qpress, and asio-devel are not installed on AL2023. They stay on the existing distros for now because pxc-build is shared with PXC builds (build-binary-pxc still calls scons unconditionally); validated broad removal is a follow-up, details on the asio thread.

Validated today by building images from this branch on both architectures: amazonlinux:2023 completes install-deps cleanly on x86_64 and aarch64 (gcc14 toolchain present, sphinx 5.3.0, the excluded packages confirmed absent), and an oraclelinux:9 x86_64 regression build confirms scons, qpress, and asio-devel still install there.

Could you re-review or dismiss the stale review when you get a chance?

Comment thread pxc/docker/install-deps Outdated
Comment thread pxc/docker/install-deps
Comment thread pxc/docker/install-deps Outdated
Comment thread pxc/docker/install-deps Outdated
Comment thread pxc/docker/install-deps Outdated
Comment thread pxc/docker/install-deps
Comment thread pxc/docker/install-deps Outdated
- Add the .amzn2023 branch: RHVER sentinel, base-repo-only package set,
  word-wise skip list for packages AL2023 does not ship, nmap-ncat for
  netcat, no scons (modern builds use cmake)
- Skip the deprecated tools repo and EPEL on AL2023 and OL10; qpress
  stays limited to the 8.0 platforms that require it
- gcc14 toolchain for AL2023 in build-binary
- Fix PGKLIST typo so libsasl2-modules-gssapi-mit and libgnutls28-dev
  install on deb images (were appended to a dead variable)
@nogueiraanderson
nogueiraanderson force-pushed the PXB-3745-al2023-install-deps branch from f8ff22e to d7e2ad2 Compare July 28, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants