ci(release): build the Linux libraries on Ubuntu 24.04 #25818

Merged
GeremC merged 1 commit from upstream-pr/25818 into main 2026-11-22 21:19:45 +00:00
GeremC commented 2026-11-22 18:20:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by GeremC on 2026-11-22T18:20:38Z.


What

The Linux job of the Release workflow runs on ubuntu-latest, which GitHub moved to the ubuntu-26.04 image (glibc 2.43) between v0.1.3 and v0.1.4. The v0.1.4 and v0.1.5 Linux libraries therefore link against GLIBC_2.43 symbol versions and cannot be loaded on any distribution with an older glibc, including Ubuntu 24.04 LTS (glibc 2.39) and Debian:

$ python3 -c "import ctypes; ctypes.CDLL('./libc.prx')"
OSError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.43' not found (required by ./libc.prx)

The v0.1.5 run (Build and test (linux), job 130556661311) logs Image: ubuntu-26.04. 20 of the 407 libraries in prx-linux-v0.1.5.tar.gz need GLIBC_2.43, among them libc.prx, libSceAgcDriver.prx, libSceVideoOut.prx and libSceAudioOut.prx, so no converted title starts on these hosts. The symbols are the float math functions that glibc 2.43 versioned again: sqrtf, atan2f, log10f, asinf, acosf, remainderf, remainder.

prx-linux archive newest glibc symbol version
v0.1.3 GLIBC_2.38
v0.1.4 GLIBC_2.43
v0.1.5 GLIBC_2.43

Measured with objdump -T libs/*.prx | grep -o 'GLIBC_[0-9.]*' | sort -uV | tail -1.

This pins the Linux release runner to ubuntu-24.04, so the release libraries keep loading on glibc 2.38 and newer.

Tested

Linux Mint 22.3, based on Ubuntu 24.04 (glibc 2.39, GCC 13.3.0, Mesa 25.2.8 from the Ubuntu 24.04 archive, the versions the ubuntu-24.04 image installs), main at 485d38cc84, the release job's configure line without ccache:

  • cmake --build build --target libs: 413 libraries, newest symbol version GLIBC_2.38; libc.prx, libSceAgcDriver.prx, libSceAudioOut.prx and libSceVideoOut.prx load with dlopen. The v0.1.5 release files fail to load on the same machine.
  • cmake --build build and the release job's ctest command on lavapipe (ANYPS5_REQUIRE_VULKAN=1, GALLIUM_OVERRIDE_CPU_CAPS=avx, -E '^precise_wait$'), run with -j 12: 6609 of 6616 passed. Rerun alone, 6 of the 7 failures passed (agc_driver_indirect_draw_pending_producer, agc_driver_runtime_buffer_spans_x{2,3,4}_spans, agc_driver_runtime_buffer_spans_x4_reference, guest_libc_internal_atomic_wait_deadline; four of them were timeouts under the parallel load). agc_driver_scattered_runs still fails with the second run's GPU write did not land at its scattered file offset. That is the failure #24834 tracks on the anyps5-2 runners with the same llvmpipe (LLVM 20.1.2, Mesa 25.2.8); the test only runs when /dev/udmabuf is accessible, which it is on this machine. I could not check whether it is accessible on the GitHub-hosted ubuntu-24.04 image; if it is, this test would stop the release job at --stop-on-failure until #24834 is fixed.

The workflow itself only runs on a tag, so it was not run.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5441920364 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/25818). Originally posted by [GeremC](https://github.com/GeremC) on 2026-11-22T18:20:38Z. --- ### What The Linux job of the Release workflow runs on `ubuntu-latest`, which GitHub moved to the `ubuntu-26.04` image (glibc 2.43) between v0.1.3 and v0.1.4. The v0.1.4 and v0.1.5 Linux libraries therefore link against `GLIBC_2.43` symbol versions and cannot be loaded on any distribution with an older glibc, including Ubuntu 24.04 LTS (glibc 2.39) and Debian: ``` $ python3 -c "import ctypes; ctypes.CDLL('./libc.prx')" OSError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.43' not found (required by ./libc.prx) ``` The v0.1.5 run (`Build and test (linux)`, job 130556661311) logs `Image: ubuntu-26.04`. 20 of the 407 libraries in `prx-linux-v0.1.5.tar.gz` need `GLIBC_2.43`, among them `libc.prx`, `libSceAgcDriver.prx`, `libSceVideoOut.prx` and `libSceAudioOut.prx`, so no converted title starts on these hosts. The symbols are the float math functions that glibc 2.43 versioned again: `sqrtf`, `atan2f`, `log10f`, `asinf`, `acosf`, `remainderf`, `remainder`. | `prx-linux` archive | newest glibc symbol version | |---|---| | v0.1.3 | `GLIBC_2.38` | | v0.1.4 | `GLIBC_2.43` | | v0.1.5 | `GLIBC_2.43` | Measured with `objdump -T libs/*.prx | grep -o 'GLIBC_[0-9.]*' | sort -uV | tail -1`. This pins the Linux release runner to `ubuntu-24.04`, so the release libraries keep loading on glibc 2.38 and newer. ### Tested Linux Mint 22.3, based on Ubuntu 24.04 (glibc 2.39, GCC 13.3.0, Mesa 25.2.8 from the Ubuntu 24.04 archive, the versions the `ubuntu-24.04` image installs), `main` at 485d38cc84, the release job's configure line without ccache: - `cmake --build build --target libs`: 413 libraries, newest symbol version `GLIBC_2.38`; `libc.prx`, `libSceAgcDriver.prx`, `libSceAudioOut.prx` and `libSceVideoOut.prx` load with `dlopen`. The v0.1.5 release files fail to load on the same machine. - `cmake --build build` and the release job's `ctest` command on lavapipe (`ANYPS5_REQUIRE_VULKAN=1`, `GALLIUM_OVERRIDE_CPU_CAPS=avx`, `-E '^precise_wait$'`), run with `-j 12`: 6609 of 6616 passed. Rerun alone, 6 of the 7 failures passed (`agc_driver_indirect_draw_pending_producer`, `agc_driver_runtime_buffer_spans_x{2,3,4}_spans`, `agc_driver_runtime_buffer_spans_x4_reference`, `guest_libc_internal_atomic_wait_deadline`; four of them were timeouts under the parallel load). `agc_driver_scattered_runs` still fails with `the second run's GPU write did not land at its scattered file offset`. That is the failure #24834 tracks on the `anyps5-2` runners with the same llvmpipe (LLVM 20.1.2, Mesa 25.2.8); the test only runs when `/dev/udmabuf` is accessible, which it is on this machine. I could not check whether it is accessible on the GitHub-hosted `ubuntu-24.04` image; if it is, this test would stop the release job at `--stop-on-failure` until #24834 is fixed. The workflow itself only runs on a tag, so it was not run. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
MarcZX10 commented 2026-11-22 19:04:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T19:04:22Z.

Review: APPROVED


Reviewed — looks good

The change pins the Linux release job to Ubuntu 24.04 to keep its libraries compatible with older glibc versions.

What I ran

Reviewed head 9e61ab0c5e83c21eb83b9b945455aad8ed72e6b5. Read description.md, commits.md, manifest.json, diff.patch, and the changed workflow lines 25–38 through repo_read.py. No commands or tests were run.

Results

Check Result Note
Workflow runner change passed Linux runner is pinned
Tests and release workflow not run Workflow runs only on a tag

Findings

Blocking

None.

Non-blocking

None.

Not verified

The prepared files.json and full changed-file text were not accessible by the supplied reader paths. The workflow was not executed, so compatibility and release-job behavior were not independently tested. The description reports Ubuntu 24.04 build and compatibility results; those were not run by this review.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6013895075 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/25818#pullrequestreview-6013895075). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T19:04:22Z. **Review:** APPROVED --- # Reviewed — looks good The change pins the Linux release job to Ubuntu 24.04 to keep its libraries compatible with older glibc versions. ## What I ran Reviewed head `9e61ab0c5e83c21eb83b9b945455aad8ed72e6b5`. Read `description.md`, `commits.md`, `manifest.json`, `diff.patch`, and the changed workflow lines 25–38 through `repo_read.py`. No commands or tests were run. ## Results | Check | Result | Note | |---|---|---| | Workflow runner change | passed | Linux runner is pinned | | Tests and release workflow | not run | Workflow runs only on a tag | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The prepared `files.json` and full changed-file text were not accessible by the supplied reader paths. The workflow was not executed, so compatibility and release-job behavior were not independently tested. The description reports Ubuntu 24.04 build and compatibility results; those were not run by this review. ## To get this to a good state Nothing is required.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!25818
No description provided.