Skip to content

sdl3: 3.2.20 -> 3.2.22; disable runtime library loading - #439652

Merged
GrimmTheShrimp merged 3 commits into
NixOS:stagingfrom
marcin-serwin:push-lpoozmnzzlnp
Sep 3, 2025
Merged

GrimmTheShrimp merged 3 commits into
NixOS:stagingfrom
marcin-serwin:push-lpoozmnzzlnp

Conversation

@marcin-serwin

@marcin-serwin marcin-serwin commented Sep 2, 2025 •

Copy link
Copy Markdown
Contributor

It turns out that SDL3 always supported dynamic linking to its dependencies, so the rpath shenanigans were not necessary.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. labels Sep 2, 2025
@nixpkgs-ci nixpkgs-ci Bot added 9.needs: reviewer This PR currently has no reviewers requested and needs attention. and removed 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Sep 2, 2025
@GrimmTheShrimp

Copy link
Copy Markdown
Contributor
image This even fixes sdl with renderdoc, which was previously broken (renderoc would make dlopen break somehow). Nice work!! Doing the last few tests, but this is looking great so far.

@GrimmTheShrimp GrimmTheShrimp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • passthru.tests pass on x86_64-linux
  • renderdoc now actually works
  • the tests in $installedTests work, including dbus and zenity calls
  • builds on aarch64-darwin
  • actual games work (tested widelands on x86_64-linux

However, on aarch64-darwin, two things broke:

  • sdl3-imgage now has test fails
  • dosbox fails to build due to linker errors

Not sure how relevant / blocking these issues are. Imo not very bad, but maybe worth looking into (and enough for me to not feel confident immediately hitting the merge button without another set of eyes)

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Sep 2, 2025

@getchoo getchoo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and all packages tests pass with x86_64-linux on my end as well. Thanks for getting rid of all this RPATH stuff too! It was a pain....

dosbox fails to build due to linker errors

It seems this is an existing failure

sdl3-imgage now has test fails

I'm not able to reproduce this one locally. Maybe it's a sandboxing issue?

@getchoo getchoo added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Sep 2, 2025
@GrimmTheShrimp

Copy link
Copy Markdown
Contributor

I'm not able to reproduce this one locally. Maybe it's a sandboxing issue?

looked more like weird compile inconsistencies due to aarch64 more than darwin, but i am no darwin expert.

Comment thread pkgs/by-name/sd/sdl3/package.nix Resolved
@marcin-serwin

Copy link
Copy Markdown
Contributor Author
* `sdl3-imgage` now has test fails

I can reproduce on the community builder but I think this is the same issue as in #400078 (comment)

@GrimmTheShrimp
GrimmTheShrimp merged commit 610c93f into NixOS:staging Sep 3, 2025
@getchoo getchoo added the 8.has: port to stable This PR already has a backport to the stable release. label Oct 16, 2025
@marcin-serwin
marcin-serwin deleted the push-lpoozmnzzlnp branch October 16, 2025 16:41
marcin-serwin added a commit to marcin-serwin/nixpkgs that referenced this pull request Jan 11, 2026
Vulkan support broke after NixOS#439652
due to libsdl-org/SDL#14805.

Fixes: NixOS#478908
Signed-off-by: Marcin Serwin <[email protected]>
@marcin-serwin marcin-serwin mentioned this pull request Jan 11, 2026
3 of 13 tasks
nixpkgs-ci Bot pushed a commit that referenced this pull request Jan 11, 2026
Vulkan support broke after #439652
due to libsdl-org/SDL#14805.

Fixes: #478908
Signed-off-by: Marcin Serwin <[email protected]>
(cherry picked from commit f91cf26)
marcin-serwin added a commit to marcin-serwin/nixpkgs that referenced this pull request Jan 11, 2026
Vulkan support broke after NixOS#439652
due to libsdl-org/SDL#14805.

Fixes: NixOS#478908
Signed-off-by: Marcin Serwin <[email protected]>
(cherry picked from commit f91cf26)
pythonpoet pushed a commit to pythonpoet/nixpkgs that referenced this pull request Jan 24, 2026
Vulkan support broke after NixOS#439652
due to libsdl-org/SDL#14805.

Fixes: NixOS#478908
Signed-off-by: Marcin Serwin <[email protected]>
Mic92 pushed a commit to TUM-DSE/nixpkgs that referenced this pull request Feb 10, 2026
Vulkan support broke after NixOS#439652
due to libsdl-org/SDL#14805.

Fixes: NixOS#478908
Signed-off-by: Marcin Serwin <[email protected]>
(cherry picked from commit f91cf26)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants