build(release): include X11 development headers #5396
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5396"
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?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T18:45:25Z.
What
The release workflow's Linux job installs
libxrandr-devbut omitslibx11-devandlibxext-dev. The project forces SDL's X11 video backend on and Wayland off, and the build guide lists those X11 headers as requirements. Add both packages to the Linux release build so the packaged SDL-backed libraries can include the X11 driver instead of being built offscreen-only.Tested
tools/check_conventions.py --base upstream/mainandgit diff --checkpass..github/workflows/release.ymlwith PyYAML.Checklist
main; no open PR implements this release dependency fixImported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-14T01:57:53Z.
Review: COMMENTED
Listing the two packages explicitly is fine and matches
docs/dev/BUILD.md, but I don't think the current release build is missing them. On Debian and Ubuntu,libxrandr-devdepends onlibx11-dev,libxext-devandlibxrender-dev.--no-install-recommendsdrops only Recommends, not Depends, so the existing step already installs both header sets. The build also couldn't be offscreen-only today:CMakeLists.txtforcesSDL_X11 ONand fails configuration when SDL reports noHAVE_X11_XRANDR, and that can't happen without the X11 headers.So I'd describe this as making the dependency explicit (for example
build(release): list the X11 headers SDL needs) rather than as a fix. The release log'sapt-getoutput for the current step would confirm whetherlibx11-devandlibxext-devare already being installed.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-14T06:13:22Z.
Thanks for checking this. You are right: Ubuntu Noble lists
libx11-devandlibxext-devas dependencies oflibxrandr-dev(package metadata); Debian reports the same. I also confirmed this tree forcesSDL_X11=ON, and the build guide says configuration fails when its X11 headers are unavailable. So these extra apt packages do not change the current resolved package set, and this does not explain the v0.1.1 artifact. I should not present this as the cause fix; the remaining question is which tagged source/workflow produced that artifact.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T19:12:48Z.
Closing: as you and @CnRJay established,
libxrandr-devalready depends onlibx11-devandlibxext-dev, so this does not change the resolved package set, and the PR description ("omits") doesn't match that. It also conflicts withmainnow (the apt line gained the Wayland packages in #3664).If the real cause of the v0.1.1 artifact turns out to be the tagged source or workflow, feel free to open a PR for that, or reopen this one rebased with an accurate description.
Pull request closed