Gitea Ubuntu workflows fail against OpenJPEG 2.5.0 #113
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Restore the Gitea Actions builds on ubuntu-latest. The installed system OpenJPEG package reports libopenjp2 2.5.0, while libremetaverse-openjpeg/build.rs currently requires >= 2.5.4 and panics before Rust compilation begins.
Evidence
Deliverables
Validation
Implemented in
cf98152(Fix Ubuntu OpenJPEG provisioning (#113)).The fix adds a shared installer that builds OpenJPEG 2.5.4 from its pinned upstream commit into an isolated prefix, verifies the tag/commit and exact pkg-config version, and exports
PKG_CONFIG_PATH/LD_LIBRARY_PATHthroughGITHUB_ENVwhile preserving paths established by later actions such assetup-python. All four affected Ubuntu-only workflows now use the same provisioning path.Verification:
GITHUB_ENVpath preservation checked locally.cargo check --workspace --all-targets --locked -j 1: passed with the provisioned library.Review against the issue found no remaining workflow that enables
jpeg2000without provisioning the pinned compatible OpenJPEG version.